Stop exploiters setting humanoid states - Roblox Scripting Tutorial

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 95

  • @umamidayo
    @umamidayo Год назад +38

    Ahh, the sweet nectar of knowledge from Suphi Kaner.

  • @zavaled
    @zavaled Год назад +29

    Didn't know exploiters could do things like that, thank you for showing us about network ownerships

  • @nikthedrought
    @nikthedrought Год назад +8

    damn... suphi you got a new upload schedule? that was fast! love ur vids man

  • @Christian-wl8kn
    @Christian-wl8kn Год назад +4

    u have been uploading a lot and helping in the discord thank u

  • @MasterBroNetwork
    @MasterBroNetwork Год назад +13

    Network ownership is infuriating to deal with if you don't know how it works, these videos are great for learning how to deal with network ownership correctly.

  • @admissivecloud189
    @admissivecloud189 Год назад +3

    you're a legend, suphi. these uploads are awesome, glad you found some motivation. keep it up, brother.

    • @5uphi
      @5uphi  Год назад +6

      I never lost motivation I was just not well

  • @StickCannon
    @StickCannon Год назад +29

    Something to note for solution 1 is that after setting the network owner to nil, anchoring and unanchoring the hrp from the server will allow the user to claim the npc ownership again.

  • @whoskwabi
    @whoskwabi Год назад +3

    Had no idea exploiters could even do that. Thank you for sharing a counter!

  • @alperenaydin8376
    @alperenaydin8376 Год назад

    You are so underrated, hope to see you pop off soon!

  • @noon1263
    @noon1263 Год назад +1

    I think you should make this as its own series or the main content on your channel. How to do this or do that to stop exploiters doing this or doing that. your way of preventing exploiters from doing this or that is very good and i think you should make this a series or make it your main content or whatever, up to you, thanks mate! :D

  • @revwya
    @revwya Год назад

    Another very well explained video by you!!!! Thank you bro keep going with these!! 😁😁

  • @KebeMaro
    @KebeMaro Год назад

    Very useful , always love to learn ways of preventing exploiters from exploiting.

  • @wverbrug1
    @wverbrug1 Год назад +3

    How do you type so fast? 4:03 I firstly thought it was sped up but the rest of the game runs at normal speed😅

    • @5uphi
      @5uphi  Год назад +4

      AutoHotKey

    • @wverbrug1
      @wverbrug1 Год назад

      @@5uphi but doesn’t that take more time then just typing it normally?

    • @5uphi
      @5uphi  Год назад +3

      for me yes, for you no. ill make a video soon showing my AutoHotKey setup

  • @blastxx7628
    @blastxx7628 Год назад +10

    Hey, I was wondering if you can make a video explaining how to do some sort of chunk rendering? For big maps, being able to render only pieces of it at a time I would feel could be very beneficial.

  • @ShadowClaw_Dev
    @ShadowClaw_Dev Год назад

    OMG, you made it thank you so much!

  • @ScriptedAlmeida
    @ScriptedAlmeida Год назад +1

    ngl idk how exploiters even found that "vulnerability", but yeah i always anchored my NPCs so W for me, W video btw. Im interesed in more videos, btw if you should make a video about detecting saveinstance or players trying to view scripts, i already know detections for these but i would like to see how u would detect it, to see if u use a different method thats more optimized yk.

  • @BepuCaT
    @BepuCaT Год назад

    Thanks for the video

  • @ValentinoAfton
    @ValentinoAfton Год назад +1

    ty for showing me what do I need to do, now Ill make a script that when gets executed it will announce who the exploiter is and reset them infinitely

  • @neut_ro
    @neut_ro Год назад +2

    You code very good. How long did it take you to gain all that knowledge?

    • @5uphi
      @5uphi  Год назад +5

      iv been programming since I was a child

    • @neut_ro
      @neut_ro Год назад

      @@5uphi dam! And from ur voice you seem like in college or smth. That's a long time. But me, am still young and just started programming

  • @GoodGuyIrish
    @GoodGuyIrish Год назад

    at 3:02 how in the fucking culmination of god on earth did you just type that command with ease, absolute butter, quick strip instantanoeus no errors nothing absolutely pure madness. that was the best part of the video hands down. i have never seen something typed instantly with so much ease. it was like cutting butter with a warm hot knife

  • @El_kimen
    @El_kimen 8 месяцев назад

    The second option is peak fr

  • @BaklierServerSide
    @BaklierServerSide Год назад

    The fourth solution is so exploitable, I could either: Set the health of the humanoid to 0, or just teleport the dummy in the void.

    • @5uphi
      @5uphi  Год назад

      Setting the health to 0 will not replicate but your correct that the client has network ownership so they can position the humanoid

  • @SuperGotgames
    @SuperGotgames Год назад

    @sSuphi Kaner these are very good tutorials coming from working with unreal engine for over 10 years was looking for some info like this very good thank you. Can clients edit scripts and open projects in Roblox just heard of that before and what's your take on that if you don't mind?

    • @5uphi
      @5uphi  Год назад +1

      You should always assume that the client can do anything to there local computer

  • @AdoedlebrukailSenggaBriAliKaur

    Thats pretty cool

  • @Taylor-ht2wo
    @Taylor-ht2wo Год назад

    what is the music? nice upload

  • @potat369
    @potat369 Год назад

    300 WPM, seriously? Dude, you are insane!

    • @5uphi
      @5uphi  Год назад

      AutoHotKey

    • @potat369
      @potat369 Год назад

      @@5uphi wow, pretty impressive trick

  • @waffelpi
    @waffelpi Год назад

    dawg you make videos about everything that most needs that are well explained how do you only have 8k

  • @uglyburrito_
    @uglyburrito_ Год назад +4

    also to note, in first person or shiftlock your character won't rotate but will locally appear that way when the NetworkOwnership is set to the server(nil)

  • @TheChair610
    @TheChair610 Год назад

    Could you set the network owner of a part to a client and compare it with the server would have done? Something like this could detect if the player was attempting to change the properties of an object. This way, you could detect if a client is trusted enough to handle physics for a part. If they aren't trusted, either make a different player the owner or the server the owner.

  • @HowToMake_RobloxStudio
    @HowToMake_RobloxStudio 10 месяцев назад

    How the heck do u type so fast... unless its recorded and u explain it btw nice vid

  • @yellowgreg3535
    @yellowgreg3535 Год назад

    pretty good tutorial from a exploiter perspective :) but there are many ways to bypass or spoof it or have a workaround for it

    • @kxi
      @kxi 8 месяцев назад

      how is pal gonna spoof ownership when its set to server

  • @Planteron1
    @Planteron1 Год назад

    can you make more videos on things like stopping exploits because I want to create games but its hard thinking about exploiters

  • @NimaDot
    @NimaDot Год назад

    Hey Suphi! Could you make a tutorial about OOP (object-oriented programming) with metatables? this is something I kinda struggle to understand and work with and I'd really appreciate it? I did search through your channel but I couldn't find any tutorials regarding it, but you did make a tutorial about metatables which was amazing and helpful.
    Thanks.

    • @5uphi
      @5uphi  Год назад

      The closest things I have are ruclips.net/video/bk8UVm-gxBs/видео.html and ruclips.net/video/YsXijBUUmmM/видео.html

    • @NimaDot
      @NimaDot Год назад

      @@5uphi Oh, I didn't realize you talked about it in the second video which you mentioned, I'll check it out! Thanks

  • @Mario-dc5ge
    @Mario-dc5ge Год назад

    1:39 this guy has 500 wpm

    • @5uphi
      @5uphi  Год назад

      AutoHotKey

  • @nooraldin7048
    @nooraldin7048 Год назад +1

    Why did you written "return end" especially in line 11
    Whats thats do?

    • @5uphi
      @5uphi  Год назад +1

      when you use a if statement you must end it and return will return out of a function so in short we are cancelling the function from continuing

  • @admissivecloud189
    @admissivecloud189 Год назад

    when do you think you'll make the video of how to make a game using the modulescript structure from your previous video

    • @5uphi
      @5uphi  Год назад +1

      Unfortunately I can't give you a date but it's on my to-do list

  • @akzholtosamaeva117
    @akzholtosamaeva117 Год назад

    ♥️♥️♥️

  • @baconfbi2142
    @baconfbi2142 Год назад

    You could make a video about steering cars using gyroscope on mobile

  • @sirmin9798
    @sirmin9798 Год назад +1

    Hi , Suphi Kaner ! I really like your videos , you are so good in explaining all of this complex stuff . What are you think about to make a video , where you can show how and what ChatGPT will be able to write , or is he capable to recreate some of your previous creations ( tool that can cut and etc. ) ?

    • @5uphi
      @5uphi  Год назад +2

      ChatGPT might be able to create some simple things but wont be able to create things in my style

    • @sirmin9798
      @sirmin9798 Год назад

      @@5uphi are you working on some projects or games ? Or it's just a hobby? Where you practice and for what purposes ?

    • @5uphi
      @5uphi  Год назад

      I do have some projects I work on when I have some extra free time

  • @Smurfis
    @Smurfis Год назад

    So this is how people were able to deploy hacks in game and on script builders. All you had to do was replicate the server harder said than done or to find a way to access live servers as Roblox studio.
    Do you know why ownership occurs! It is a strange system to have in place and is very vulnerable? Maybe It’s due to monsters and how they die and interact with players so strange

    • @5uphi
      @5uphi  Год назад

      Roblox servers are not powerful enough to handle all physics simulations in the game so it offloads the work to clients

  • @araphis836
    @araphis836 Год назад

    One of the problems i have with solution 4 is that exploiters can get around it by setting the npcs health to 0 instead of changing it's state
    Still pretty helpful in most cases
    Edit: i just did some testing and quickly realized that setting it's health to 0 has the same effect as setting it's state as the server will still think the npc isn't dead so ignore what i just said

    • @5uphi
      @5uphi  Год назад

      Health does not replicate so it's not a problem

    • @araphis836
      @araphis836 Год назад

      @@5uphi yea i figured that out pretty quickly
      but is there a way to fix the npc sinking to the ground when it's dead on the client because if the client owns that npc it'll just fall down for the whole server

    • @5uphi
      @5uphi  Год назад

      When a client has network ownership they can set any position they like the only way to stop that is to remove network ownership

    • @araphis836
      @araphis836 Год назад

      @@5uphi so when should i use network ownership when it comes to npcs?

    • @5uphi
      @5uphi  Год назад

      It's up to you I personally have npcs created locally so I don't have this problem if you watch my path finding video you will see how I do my NPC's

  • @cis625
    @cis625 2 месяца назад

    since all players have humanoids, can a client set the humanoid state of another client and then dies on the server?

    • @5uphi
      @5uphi  2 месяца назад

      They must have network ownership

  • @alex342gwsturk8
    @alex342gwsturk8 Год назад

    huh, i thought if you changed values from client it would only be on client, i didnt know cheaters could do more than just position a physics part

    • @5uphi
      @5uphi  Год назад

      Correct if you watch my replication video I show some other examples of what the client can replicate to the server ruclips.net/video/Ng1uYpFcpOA/видео.html

    • @alex342gwsturk8
      @alex342gwsturk8 Год назад

      @@5uphi thanks

  • @OfficialXVideos
    @OfficialXVideos 9 месяцев назад

    UNFATHOMABLY fast typing speed, christ.

  • @JamesSmith-ju9ig
    @JamesSmith-ju9ig Год назад

    Doesn't this allow exploiters to basically trip npcs aslong as they are in the region? Which can still ruin a game

    • @5uphi
      @5uphi  Год назад

      exploiters can position anything they have network ownership of check out this video ruclips.net/video/Ng1uYpFcpOA/видео.html

  • @caesq_r
    @caesq_r Год назад

    what if the client sets the dummy's health to 0? does it die on server side?

    • @5uphi
      @5uphi  Год назад +1

      no health does not replicate from client to server

  • @Phantom89021
    @Phantom89021 Год назад

    Why does the radius of the network ownership increase as shown at around 2-3 minutes.

    • @5uphi
      @5uphi  Год назад +1

      Player.SimulationRadius starts at 10 studs and grows at a rate of 5% per second until it reaches Player.MaximumSimulationRadius

    • @Phantom89021
      @Phantom89021 Год назад

      @@5uphi I see, but whats the point of the network ownership increasing and not having it like set already.

    • @5uphi
      @5uphi  Год назад +1

      Roblox does not want to give new players permission to a large area when they first log in and if Roblox detects a player exploiting it will decrease the radius but its not very effective it also might be to not flood new players will many physics calculations while there still loading the game

  • @chrisneverwas
    @chrisneverwas Год назад

    couldn't you just... set the HRP pos to the void?

  • @fhudufin
    @fhudufin Год назад

    how do you visualize network ownership?

    • @5uphi
      @5uphi  Год назад

      0:40

    • @fhudufin
      @fhudufin Год назад

      @@5uphi ah i didint catch that, thank you!

  • @wheelmonstermemes3603
    @wheelmonstermemes3603 Год назад

    you sound like peasfactory

  • @itsazerty9493
    @itsazerty9493 Год назад

    first

  • @miffclick3358
    @miffclick3358 Год назад +1

    Hey suphi it would be awesome if you can do a video showing how you go about structuring and developing a game from nothing to something. Just to show some insight into how a professional developer thinks when making a game