How to Secure your Game Against Exploiters

There's no such thing as the perfect anti-cheat/exploit system but this video explores how to go about patching some common vulnerabilities.
MERCH ► shop.gnome.codes/
DISCORD ► / discord
TWITCH ► / gnomecode
TWITTER ► / gnomecoderblx
WEBSITE ► gnome.codes/
TIMESTAMPS ►
0:00 Intro
1:19 Protecting Remotes
5:12 Network Ownership
8:35 Magnitude checks
10:46 Speed hacks
15:55 Fly hacks
26:22 Demo
28:02 Outro

Пікірлер: 420

  • @AxmPlays
    @AxmPlays Жыл бұрын

    I am a former exploiter and own synapse. Most exploiters are children so you only need to really worry about speed and fly hacks, however, there are more experienced exploiters that can manipulate remotes and network ownership which will completely ruin your game. Thanks for publishing this video because I myself did not know about the network ownership one.

  • @MarxismOfficial

    @MarxismOfficial

    Жыл бұрын

    s

  • @OggySpelar

    @OggySpelar

    Жыл бұрын

    it is true most exploiters are script kiddies

  • @billybobjankens12

    @billybobjankens12

    Жыл бұрын

    I also own a couple of exploits including Synapse X (sadly my router blocked it :sad_face:) and I know about network ownership and how it works. I don't know how an exploiter would forget about part:SetNetworkOwner(nil) because devs use that alot.

  • @pato_do_lago

    @pato_do_lago

    Жыл бұрын

    Ye that's what I was thinking, but maybe it's better to make a strong anti-cheat because experienced exploiters will eventually get in your game.

  • @BennydoesstuffYT

    @BennydoesstuffYT

    Жыл бұрын

    Ur cringe 😂

  • @zachsewell1257
    @zachsewell125710 ай бұрын

    In my experience a solid portion of exploiters are teens/adults with depressing lives who waste their disposable income gaining unfair advantages over children because it gives them some semblance of control and power in their worthless lives. The reason I know this is because I was there once when I was 18-20 and I am still in many of their communities on Discord. NEVER underestimate the passion of greed and toxicity behind the exploit community. Imagine your defensive layers around your game are like a cheese grater, and the exploits are the cheese. No matter how small you make those holes in the defense, the exploiters will tirelessly work towards squeezing through the cracks and microscopic holes. Never stop updating your game, and always stay in the loop and keep up with exploit communities. Stay safe gamers, peace.

  • @Official_uoi5553_Channel

    @Official_uoi5553_Channel

    10 ай бұрын

    Wow you motivated me to secure my scripts even more now. Danke!

  • @40kq

    @40kq

    9 ай бұрын

    A majority of exploiters who do script their own stuff and know what they're doing are definitely an older audience (Older teens to adults). They also make up like 0.1% of the general roblox exploiting community as a whole. Although a huge number of them are not living depressing lives at all. Often times we just exploited because we liked trolling. Another thing to note is a lot of games player bases are entirely built upon exploiters. For example Fencing, Dollhouse Roleplay, Twisted Murderer, Jailbreak, Etc. I primarily scripted because it was a fun way to see how roblox's engine works and how to exploit that. I totally agree that exploiters will find any little thing to exploit and bring destruction to any game. I quit exploiting earlier this year due to personal reasons and of-course, the upbringing of byfron.

  • @LogoDev
    @LogoDev Жыл бұрын

    It's good to note that you can actually throw in dummy args in your remotes. Catches a LOT of people. E.G. Instead of completely removing the item price argument here, we could catch exploiters by keeping it, and comparing it to the itemPrices table. If the price isn't the same, then obviously, someone messed with the remotes. Little things like this add up a LOT. In one of my games, I caught a few people just by letting them think they could manipulate the force behind knockback. And, as the game gets more complex, the anticheat becomes easier to bypass. Be prepared to look through a lot of randomly released scripts when you make a release! Note: Exploiters will happen. Don't spend too long fighting them, your game's release is more important!

  • @unded1827

    @unded1827

    Жыл бұрын

    Now im curious what you did with those exploiters.

  • @rumory

    @rumory

    Жыл бұрын

    once you catch them you can do whatever you want until you ban them...

  • @yesil_hiyar7335

    @yesil_hiyar7335

    Жыл бұрын

    this is a minor inconvenience for whoever is trying to exploit in your game - to be honest i dont think this is a good idea as you'd have to actively update 2 scripts and one mistake in one could cause your some of your playerbase to be flagged - in my opinion its never right to kick the cheater as to restricting their access.

  • @LogoDev

    @LogoDev

    Жыл бұрын

    @@yesil_hiyar7335 I mean, I'd never kick an exploiter either. Also, it may be a minor inconvenience but it has always flagged hundreds of exploiters on my end.

  • @yesil_hiyar7335

    @yesil_hiyar7335

    Жыл бұрын

    @@LogoDev that’s fair enough but it just seems like it’d be more messy to send dummy arguments

  • @PogoDigitalism
    @PogoDigitalism Жыл бұрын

    Experienced coder here, great way of explaining a not all too easy subject for learners in a funny story. Keep it up

  • @40kq

    @40kq

    Жыл бұрын

    I totally agree, he turned this scenario from a big and scary thing into a simple and easy thing. I hope I start seeing less of these remote vulnerabilities in good games.

  • @wouf_

    @wouf_

    Жыл бұрын

    It’s kinda the most easy type of anticheat to make I’ve ever seen lmao and it never was hard to do something like that tf ?

  • @_Sickk

    @_Sickk

    11 ай бұрын

    You mean scripting?

  • @wouf_

    @wouf_

    11 ай бұрын

    @@_Sickk scripting = coding in this case

  • @doncomputer5931

    @doncomputer5931

    10 ай бұрын

    Exploiters are easy to deal with when I am in the game, I just delete them from the game and run a script on the server that will constantly check if they are in game and delete them from it, But if I am not in the game, Those filthy exploiters can get into mischief. This tutorial was useful for child-proofing my games from the fifthly darn kids who try to exploit.

  • @Dadwar_Dev
    @Dadwar_Dev Жыл бұрын

    you have outdone yourself once again, while most "hackers" are just script kiddies there are a few you gotta worry about so this video of yours is perfect to make games safer while also teaching new coders how it happens in the first place, well done and great job, keep it up.

  • @fitmotheyap

    @fitmotheyap

    Жыл бұрын

    Yeah, as someone who has never touched roblox studio and exploiting it's interesting

  • @uzidayo

    @uzidayo

    Жыл бұрын

    Yeah all it takes is one experienced programmer to reverse engineer your game and release a script for the masses

  • @_pengwin
    @_pengwin Жыл бұрын

    These do work, but the floating check will flag on high ping players, yes you can whitelist that but then cheaters can use blink to hold network packets, another problem is if the player's game is like tower of hell, falling down will flag, vehicles will flag it. There is also a very knew method that it overpowered, but I won't mention it as most regular exploiters don't have access to this method.

  • @40kq

    @40kq

    Жыл бұрын

    Simple way to check to see if someone is falling or not! VELOCITY and CFRAMES! Both on the Y axis. Check if they are floating using racyast and then time that. If they're hovering over a part longer than a couple seconds and their velocity behavior is acting off then kick them for suspicious client behavior.

  • @_pengwin

    @_pengwin

    Жыл бұрын

    @@40kq hey that means i place a high down velocity and teleport boom or tween.

  • @realtitedog
    @realtitedog Жыл бұрын

    I'm glad you made this video for people who don't really know how exploiting works. I used to not understand but once I started using exploits in my own game I realized that a lot of my games were insecure and had remotes that could manipulate datastores, spawn admin-only items, etc.

  • @flowckey

    @flowckey

    10 ай бұрын

    He forgot to talk about teleporting

  • @flowckey

    @flowckey

    10 ай бұрын

    And spawning instances on client

  • @Blade3337R

    @Blade3337R

    9 ай бұрын

    @@flowckey well the anti speed cheat part of the script easily removes teleporting off the list, and if you do spawn instances on the client side, the server wont count it because the script is server-side. sorry that im responding after 2 weeks.

  • @flowckey

    @flowckey

    9 ай бұрын

    @@Blade3337R I do believe that spawning instances on client would be counted as in Jail Break but I think the falling mechanism would take that in charge. No worries, I also don't check my notifications often.

  • @primharley9586
    @primharley9586 Жыл бұрын

    To fix the issue with the jumping issue for the speed hacks you could only check the distance on the x and z axis with this formula: dist = sqrt(abs(dist.X) + abs(dist.Z)) where dist is the old point minus the new point or the other way around (doesn’t matter because I used abs().

  • @legendarykatar

    @legendarykatar

    Жыл бұрын

    why sqrt?

  • @10F2C

    @10F2C

    Жыл бұрын

    ​@@legendarykatarEuclidean.

  • @VileKronecker
    @VileKronecker Жыл бұрын

    Your tutorials that go over various aspects of lua scripting are the most helpful that I could find and I've learned a lot through your previous tutorials to where I am confident that I could start a little project with the knowledge I have gathered. Thank you so much.

  • @GnomeCode

    @GnomeCode

    Жыл бұрын

    Thank you, that's great to hear. Best of luck with your future developing!

  • @VileKronecker

    @VileKronecker

    Жыл бұрын

    @@GnomeCode Thanks! I will keep the luck with me!

  • @Rizzzzzzzzzzzzzzzzzzzzzzzzzzzz
    @Rizzzzzzzzzzzzzzzzzzzzzzzzzzzz Жыл бұрын

    I really wish he would make a seried expanding on this anti-cheat system, id love to hang around and learn more about it and also create one along the way

  • @RosemaryWebs
    @RosemaryWebs11 ай бұрын

    bookmarking for later on in my development; thank ya for pointing these things out! i had a relative grip on how speed/fly exploitation prevention worked, but never knew about Network Ownership and such. genuinely helpful, dude!

  • @40kq

    @40kq

    11 ай бұрын

    Network ownership manipulation is pretty much patched for the most part.

  • @PioVerdi28
    @PioVerdi28 Жыл бұрын

    Hello gnomecode! Currently at tower defense serie, ur tutorials are so good! Keep it up!

  • @7cogj
    @7cogj Жыл бұрын

    you make the best development content gnomecode!

  • @firebird6238

    @firebird6238

    Жыл бұрын

    there is suphi kaner too that does in depths tutorials. You should totally check it out

  • @nopfp416
    @nopfp4169 ай бұрын

    you can create 2 new positions and ignore the y value in the speed check completely like local v1 = Vector3.new(root.Position.X,0,root.Position.Z) local v2 = Vector3.new(lpos.Position.X,0,lpos.Position.Z) And get the distance with those (this will fix the spikes in speed when jumping/falling and allows for lower walkspeed detection)

  • @HaileyStudios1213
    @HaileyStudios1213Ай бұрын

    Thanks man this helped in my doors recreation you made a tutorial for :)

  • @paulstrobeck8947
    @paulstrobeck8947 Жыл бұрын

    Hey, I have a tip for you Gnome: when making functions and declaring variables, use a colon to set its data type. That way, the autocorrect works.

  • @Smurfis
    @Smurfis Жыл бұрын

    As someone that has been building a game, this system is absolutely amazing as a case study and something to build upon and I am highly supportive of this video except for in the case of reverse engineering. Wouldn’t it be better to host this in a module and pass a script to the player so then if they remove it you can import it again with a small loop and a check?

  • @ajusy1884
    @ajusy1884 Жыл бұрын

    Yessss I needed this

  • @timme_
    @timme_ Жыл бұрын

    Thank you this is pretty useful keep up the work.

  • @noobikgaming6452
    @noobikgaming6452 Жыл бұрын

    Gnomecode is the real legend that will always make us happy :)

  • @agggamingofficial
    @agggamingofficial Жыл бұрын

    Thanks gnome code! I'm working on a SCP horror game with acp's! I'm still working on it. I hope it's good!

  • @AdrianMiakowski-uk4yw
    @AdrianMiakowski-uk4yw Жыл бұрын

    I was doing an anticheat for my game today ima add some of this thx gnome!!!

  • @HeyShattered
    @HeyShattered2 ай бұрын

    9:50 "Billy *clicks* all of these *balls* and moves them towards *him* " what is bro on about 💀

  • @noblebuild2550
    @noblebuild2550 Жыл бұрын

    Damn excellency as always

  • @oranskiii
    @oranskiii Жыл бұрын

    Great video as normal man! 😀

  • @user-ep1gz3fk1l
    @user-ep1gz3fk1l Жыл бұрын

    About Anti "fly". If player froze client or get lag spike, he/she will tagged as cheater

  • @alexskorpik11play79

    @alexskorpik11play79

    Жыл бұрын

    I mean , we dont want tab glitchers

  • @creationsdolly

    @creationsdolly

    Жыл бұрын

    yeah. plus, roblox is not exactly notorious for having great server connections. i think the best solution would be to not serve any bans for it, but rather save the position where they last made contact with the ground and if it goes over that 3 second buffer then set them back to the ground.

  • @NorbYyY_GG
    @NorbYyY_GG10 ай бұрын

    billy mc'mischief is a piece of work

  • @NeedToDev
    @NeedToDev Жыл бұрын

    That's awesome. Thank you for informing me about the network owner stuff, didn't know that, will certainly be useful!

  • @chanzeyuan
    @chanzeyuan Жыл бұрын

    I develop hack clients as a way of learning (not distributing) and although I sometimes use it in some games to check if it works, I send it to the game owners once I'm done with it to get it patched.

  • @TheMaxGuy

    @TheMaxGuy

    Жыл бұрын

    one of the few cases where i'm okay with exploiting

  • @40kq

    @40kq

    9 ай бұрын

    It's okay to admit that you just make Ui and use public API's. We all know you don't know how to properly construct an actual executor.

  • @420a.
    @420a. Жыл бұрын

    interesting... thank you for your tutorials, they helped me alot.

  • @GnomeCode

    @GnomeCode

    Жыл бұрын

    Cheers!

  • @TheMarketingGuru1422
    @TheMarketingGuru1422 Жыл бұрын

    Thanks for the tutorial keep up the good work love your vids man

  • @thathistorykaiser
    @thathistorykaiser10 ай бұрын

    Hello GnomeCode! I really appreciate all the resources that you've provided to us, and it's definitely helping me become more of a seasoned developer, but I wanted to ask about an issue that comes with the AntiExploit. All the tutorials from this series have gone into one game I have made where I test and store these scripts for reference in future projects. In the video "The Dark Arts of Troubleshooting," you go over fixing and explaining out the process of finding and troubleshooting errors within a trampoline script. Well with that same trampoline, I am testing the AIR TIME feature and have found that I am getting rubber banded to my originalGoodPosition. If there is any way that I could overcome this, then I would greatly appreciate it as I am still learning and do not have a solution yet for on-the-spot problems. Thank you!

  • @YourBeingBeingTrolled
    @YourBeingBeingTrolled9 ай бұрын

    As a former member of rblx modding & exploiting community with the roles of “pen tester” traditional exploits can be very dangerous but a lot of traditional exploiters that manipulate the client are “script kiddies” with either no or very little knowledge of lua and how the environment works when unloaded or loaded/running, more experienced exploiters tend to exploit things like back doors (despite back doors not being considered exploits under Roblox’s TOS we will refer to them as exploits), backdoors can’t be very harmful too a game for reasons that likely don’t need to be explained

  • @epik2204
    @epik2204 Жыл бұрын

    been subbed since 20k!

  • @StarWatcher13
    @StarWatcher13 Жыл бұрын

    Yet again gnomecode knows just what we need at the right time, thanks gnomecode :) (I actually really needed this so thanks)

  • @templars44
    @templars44 Жыл бұрын

    Curse you, Billy McMischief!

  • @guywitha_sword

    @guywitha_sword

    Жыл бұрын

    this made me laugh too much

  • @lord_nom_conquersall2093
    @lord_nom_conquersall2093 Жыл бұрын

    GnomeCode delivers!

  • @MinkSquared
    @MinkSquared Жыл бұрын

    something i always do is sorta double check, once on the server, once on the client. its a pretty efficient way to weed out basic script kiddies

  • @boogs7190
    @boogs7190 Жыл бұрын

    You can simplify this by just checking the humanoids floor material instead of raycasting, if it ~= air then they are touching the ground.

  • @abuziyadgaming

    @abuziyadgaming

    10 ай бұрын

    But what about if they are jumping

  • @caz0gamz
    @caz0gamz Жыл бұрын

    I saw someone talk about this on your discord server. And you even responded. I wonder if that’s why you made the video

  • @mobilepro9263
    @mobilepro9263 Жыл бұрын

    I clicked on the video as soon as I saw it thank you

  • @eee_eee
    @eee_eee9 ай бұрын

    alternative title : how to not become prison life

  • @stavros222

    @stavros222

    7 ай бұрын

    Thats accurate. This game suffers

  • @thomasdixon6476
    @thomasdixon6476 Жыл бұрын

    I'll definitely use this video, but can you also make a video on console compatibility please. If not do you know any videos that would help me.

  • @pneum7932
    @pneum7932 Жыл бұрын

    Gnome code!!!@ Love your tutorials man

  • @Profeshinal
    @Profeshinal Жыл бұрын

    Woah teaching people how to script and teaching people how to defend their games from scripters, never thought I’d see such luxury

  • @K4NT0KU
    @K4NT0KU7 ай бұрын

    Oh, my head hurts😵‍💫

  • @dhaloi
    @dhaloi Жыл бұрын

    damn you Billy McMischief!

  • @furchad3574
    @furchad3574 Жыл бұрын

    How to secure your game against exploiters Make the game a “exploit simulator” with a built in “exploit” which mimics most actual exploits so everyone is always at equal starting level

  • @thesovereigngentleman2336
    @thesovereigngentleman2336 Жыл бұрын

    I'm just commenting for the algorithm. Another great video!

  • @GnomeCode

    @GnomeCode

    Жыл бұрын

    Thanks for that!

  • @abadgurl2010
    @abadgurl2010 Жыл бұрын

    Billy McMischief is the hero I never knew I needed, lol. Too bad I'm on mobile and can't do anything he did.

  • @abadgurl2010

    @abadgurl2010

    Жыл бұрын

    If I could I would just 100% the American Girl event game because I swear some of those Doll Stars aren't even placed into the world yet so it's literally impossible to find them all to get the badge for doing so. Plus the in-game clothes are cute and I want more despite not getting to have them outside of the game.

  • @ZachToasted

    @ZachToasted

    Жыл бұрын

    well uhm actually there are mobile exploits 🤓

  • @fmczmc4869
    @fmczmc4869 Жыл бұрын

    i use a custom system called CID and CMSG. cid just stands for client id, and cmsg is custom message.

  • @AlexDavidson-pm5qc
    @AlexDavidson-pm5qc Жыл бұрын

    also one way they can do something is trough grabbing themselves and going lightspeed since they are always network ownership of themselves

  • @b4con321
    @b4con32111 ай бұрын

    pov: u tp 2 times at 0.1 delay and u get teleported back where u actually wanted to tp or the anticheat just has an delay so u still can grab all coins XD

  • @TheMaxGuy
    @TheMaxGuy Жыл бұрын

    another way you can replicate exploits with studio is using the command bar (in view tab)

  • @Baburun-Sama
    @Baburun-Sama Жыл бұрын

    Byfron Update seems made this Tutorial High-Priority

  • @kianshepherd8932
    @kianshepherd8932 Жыл бұрын

    Hey just wondering when you are gonna make part 8 of your doors series?

  • @Chip95
    @Chip95 Жыл бұрын

    I know this is a big ask but could you make a video about redoing some of the tower Defense code as I cannot get past a certain part in the tutorial as the collision group code and body gyro keeps saying it is deprecated

  • @IslamicWaves104
    @IslamicWaves104 Жыл бұрын

    cool one gnome!

  • @jasoncebereros2057
    @jasoncebereros2057 Жыл бұрын

    this is still exploitable since you use :getcharacter and use primary parts, the exploiter can touch it then immediantly delete their humanoidrootpart (primarypart) or set the primarypart of their character to nil which will completely break your script

  • @jasoncebereros2057

    @jasoncebereros2057

    Жыл бұрын

    also you could do player:CharacterAppearanceLoaded to wait until the player character loads

  • @jasoncebereros2057

    @jasoncebereros2057

    Жыл бұрын

    AND the anti-speed can still be exploitable since there are certain exploits that detach your hmr and replace it with a fake one that still allows your character to move then it slowly brings the hmr towards it kinda like a lag-back

  • @bolekinds

    @bolekinds

    Жыл бұрын

    didn't roblox add an option where deleting any parts of your character would not register to the server? that would be useful to include in the video, since the thing you just said would not work anymore

  • @jasoncebereros2057

    @jasoncebereros2057

    Жыл бұрын

    @@bolekinds no, since its your character you can control it delete any of your bodyparts and such and will replicate to the server since you own your character all of the time until you die, and no detaching your rootjoint wont kill you

  • @XaneMyers

    @XaneMyers

    Жыл бұрын

    @@bolekinds I'm not sure what that change did, but I do know that "invis-flinging" was patched sometime recently by Roblox. Try it and the spinning brick doesn't spin and just…falls to the floor.

  • @GigaGnome
    @GigaGnome Жыл бұрын

    Thanks. Not like I have players in my game for there to be hackers though.

  • @MarxismOfficial
    @MarxismOfficial Жыл бұрын

    thanks bro

  • @plasmatic1440
    @plasmatic1440 Жыл бұрын

    I have a request for a series what about a game similar to Pokémon because most games get banned so a customized theme similar to Pokémon?

  • @minecraftperson8412
    @minecraftperson841211 ай бұрын

    Imagine writing certain code so that if some kid uses speed hack scripts, he gets a cinematic cutscene shown to the whole server that he cheated and that he's bad at cheating, blows him up and then bans him permanently. Not too good with code so dunno if it's possible.

  • @justmrkoala
    @justmrkoala Жыл бұрын

    a good punishment would be after u tp them back to the good pos then there will increase a value called warning and then if they have 3 warnings and do it again you ban them

  • @XaneMyers

    @XaneMyers

    Жыл бұрын

    I think increasing the number of warnings (to 5 or something) would be a good idea, in case there are any false positives. I've read about a genius way to punish players on the DevForum; After an exploiter sets off the anti-cheat enough times, rather than banning them (since they can easily return on an alt. account), instead mess with them. Add random delays to remote events, disable collisions at random, and make their experience frustrating. 😈

  • @alexskorpik11play79

    @alexskorpik11play79

    Жыл бұрын

    @@XaneMyers i mean, delayed remote events, and collisions are client sided, unless the collisions are for a single player game, which then can still be avoided by just turning it back on constantly So like, yeaaaaaaaaaa

  • @Nebula_Protogen752
    @Nebula_Protogen7528 ай бұрын

    Imma add Billy Mischief to my game lmao

  • @MajesticUC
    @MajesticUC Жыл бұрын

    For the speed check, surely you could just ignore the y axis when checking the distance moved. You do DistanceMoved = (Vector3.new(lastposition.x, 0, lastposition.z - Vector3.new(root.position.x, 0, root.position.z)).magnitude?

  • @BunnyMasterRBLX
    @BunnyMasterRBLX Жыл бұрын

    the doors tutorial: imma go get some milk real quick

  • @IRWNum1
    @IRWNum1 Жыл бұрын

    Gnome code, are you still doing the Doors series, if so, can you add screech

  • @Funnis_stuffOFFICIAL
    @Funnis_stuffOFFICIAL Жыл бұрын

    can you make some sort of ai that grabs you and damages you? (comes with a animaton) i want a ai like that for a zombie game like biting zombies or whatever

  • @theofficiaIsteve
    @theofficiaIsteve Жыл бұрын

    "casually gives a descriptions for exploiters to debunk"

  • @krielol2743
    @krielol2743 Жыл бұрын

    the only issue here is that you used a raycast continuously on the server which can be expensive, a much easier way is Humanoid.FloorMaterial == Enum.Material.Air

  • @bojjguppBSS
    @bojjguppBSS Жыл бұрын

    @GnomeCode I was just wondering are you done with the doors game

  • @Gort_the_warcriminal
    @Gort_the_warcriminal Жыл бұрын

    hey i've been trying to find like a video for a jump pad that changes your gravity and you can walk on ceiling but none has made a video plus i had to remove couple items from my game like a jump orb for a obby and devforum is no help bc i cant post at all it could really help my game and which you already did with the 2d camera

  • @madbliss9238
    @madbliss9238 Жыл бұрын

    *Lumber tycoon owner taking notes*

  • @Giuyo
    @Giuyo Жыл бұрын

    Hi thanks I will try this soon

  • @yousefsaleh3562
    @yousefsaleh35624 ай бұрын

    For npcs how would I go to manage make it smooth / not exploitable should I just make a part on the server and for every other client I render for them

  • @icallchoco
    @icallchoco7 ай бұрын

    amazing Video

  • @zodopi6
    @zodopi69 ай бұрын

    thanks for the advices. i also applied the first one while spawning cars it sure fire server the car name but the server will verify if the player really also owns the cars to spawn it if the server knows that the player doesn't then it isn't gonna spawn so the player is just gonna have a lil piece of gui in front of their face but cannot spawn anything lol but i do need more help because this game uses paychecks to pay the players and i can't seem to find a way to make the paycheck relay on the server instead of firing a server even tho for now it has a little security cause it doesn't fire server any amount but the player can still set the timing for the paycheck to appear anyone here can help me please?

  • @Archivezs
    @Archivezs16 күн бұрын

    Things you should never add in your game: firing remotes from the client, instead you could use server scripts if you're using the playergui for example cuz you can make server scripts work like local scripts if they are placed inside startergui or inside the player instance, character or backpack.

  • @3dcreator737
    @3dcreator737 Жыл бұрын

    As an experienced roblox coder and former exploiter I agree fully with this video, This is probably one of the most accurate tutorials on yours clearly explained abusing remotes and pretty much everything. Because it's mainly the cause of remotevents which cause games to have vunerability.

  • @ensarkrl
    @ensarkrl Жыл бұрын

    Hey Gnome code , will you continue the Doors series?

  • @teenspider
    @teenspider Жыл бұрын

    Hey that game looks fun! I wanna play it

  • @springtrap456_yt4
    @springtrap456_yt4 Жыл бұрын

    Hello! I have one question, If I hide a client script in server script service, exploiters will see the script by using dark dex or orther explorer? Also great video!

  • @horse_loyal9740

    @horse_loyal9740

    Жыл бұрын

    If you put a local script on the server it's no longer a local script and won't work

  • @springtrap456_yt4

    @springtrap456_yt4

    Жыл бұрын

    @@horse_loyal9740 ok, tyyy

  • @alexskorpik11play79

    @alexskorpik11play79

    Жыл бұрын

    local scripts only work when: they're inside replicatedfirst/player_character/playergui/backpack and or is triggered by remoteevent.OnClientFired

  • @HeyShattered
    @HeyShattered2 ай бұрын

    I understand the speed anticheat but what if your game has some ability which lets you go like 100 s/ps? How will the script detect exploiters in that situation?

  • @JStarGamerYT
    @JStarGamerYT Жыл бұрын

    hey Gnome, can you make a anti-cheat for no-clipping detection? and can you make these scripts bypass owners/admins of the game?

  • @mob1len00b3
    @mob1len00b32 ай бұрын

    i was an exploiter for the last 2 years but i realized its ruining other people's fun so i just decided to quit. but as a dev now i realized that you can look at some scripts because most of them are a long local script creating a gui, so what i recommend doing is searching for the scripts gui name and if the gui exists then you kick the player.

  • @nidaabarakat9276
    @nidaabarakat9276 Жыл бұрын

    hey gnomecode I want from you to continue the doors tutorial for ep8

  • @kaiomarmoldamasio5548
    @kaiomarmoldamasio5548 Жыл бұрын

    Series ideia: How to make a my restaurant game

  • @campplayz11
    @campplayz11 Жыл бұрын

    @GnomeCode di you make this video because of that one guy who complained about hackers?

  • @mepletv3022
    @mepletv3022 Жыл бұрын

    Exploits work via a script being injected into the remote control system. Clients like krnal use this

  • @Fl4meez
    @Fl4meez9 ай бұрын

    how can you keep the speed hack prevention in your game if you have teleports? whenever my character uses a teleporter in my game it says "cheating".

  • @valnfriiz

    @valnfriiz

    9 ай бұрын

    maybe make a variable that doesn’t let the speed hacking anti-exploit if statement block of code run when you’re being teleported

  • @phantomfills3833
    @phantomfills3833 Жыл бұрын

    You can set the player's network ownership to nil to make it server-owned and more difficult to move

  • @wedoalittletrolling723

    @wedoalittletrolling723

    Жыл бұрын

    For server-owned player character, does the client send movement data to the server? If so would it be possible to tween the character or have a fake-simulated client character that lerps with the server-character and have the actual player character be a invisible part?

  • @alexskorpik11play79

    @alexskorpik11play79

    Жыл бұрын

    @@wedoalittletrolling723 The client is only able to send W,A,S,D,Spacebar,etc movements, Anything other, like physics handling, is what server does. oh and server does the movement itself, Thats whatever it does

  • @wedoalittletrolling723

    @wedoalittletrolling723

    Жыл бұрын

    @@alexskorpik11play79 wait so it is server authoritive, it just roblox gives network ownership to the client so movement is smooth/there isn't delay when server checking physics, it just goes: oh, player moved, updating it's position to every client

  • @alexskorpik11play79

    @alexskorpik11play79

    Жыл бұрын

    @@wedoalittletrolling723 let me explain: so its basiclly like client moved so it fires sort of a remote event [no it doesnt , im just lazy to dig into the client files] which tells the ser ver to update it, thats why sometimes players complain about hitbox, because theres a small delay between client and server updating. client handles physics,etc basiclly.

  • @wedoalittletrolling723

    @wedoalittletrolling723

    Жыл бұрын

    ​@@alexskorpik11play79 if you force the network owner of the player's character to server, client can still move (since it sends input data after all) but will wait more because server needs to check if physics are correct, vs if it was client owned physics, then server doesn't do much validating. No idea about Hitboxes tho, thought those we're just .Touched events

  • @notlogic5694
    @notlogic5694 Жыл бұрын

    are you still going to do tutorials on how to make games ?

  • @goofyahhhhbubba
    @goofyahhhhbubba3 ай бұрын

    As a noob dev, I ain't even put any arguments in my remotes, so I'm totaly safe 😎

  • @silvianizzolini816
    @silvianizzolini816 Жыл бұрын

    Is the DOORS Tutorial abandoned?

  • @RealLava
    @RealLava Жыл бұрын

    most anti ws anticheats are like while task.wait() do if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed ~= 16 then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 end end works but you can just delete local script or use hookmetamethod so

  • @40kq

    @40kq

    11 ай бұрын

    Theres multiple ways to bypass this; Delete script (if workspace RejectCharacterDeletions is disabled), Disabling the script (not sure if it still works with RejectCharacterDeletions enabled), Cloning humanoid and setting that cloned humanoid to the wanted walkspeed, spoofing humanoid walkspeed, and a whole lot more I wont leak.

  • @RealLava

    @RealLava

    11 ай бұрын

    @@40kq when in the world does rcd block scripts it just cant

  • @40kq

    @40kq

    11 ай бұрын

    @@RealLava it can lol in order for a client script to work it has to exist. Making that script not exist on client prevents the local script from working.

  • @RealLava

    @RealLava

    11 ай бұрын

    @@40kq deleting a client script will never replicate even before rcd because its a client script

  • @I_I_I_I_I713
    @I_I_I_I_I713 Жыл бұрын

    can't I just use the x/z speed than total speed to counter-act the cheat detection when jumping or falling?

  • @40kq

    @40kq

    Жыл бұрын

    Best way to detect if someone is jumping or falling is to check the character primarypart velocity. For example when you jump your velocity on the Y axis changes, same with falling.

  • @sesocell
    @sesocell Жыл бұрын

    When falling speed is going to like 200-300

  • @Bl_ckMatt
    @Bl_ckMatt Жыл бұрын

    to test it well add HD admin into game and use the fly and speed to test it if you dont have exploits, and congfig the script matching into your game to make sure they dont keep falling and going back to PivotTo (lastGoodPosition) lol

  • @AIO0110
    @AIO0110 Жыл бұрын

    NOOO!!! Billy!! you was suppossed to be the good kid who always does not use /e claim On every roblox marketplace ítem!!!