Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how to stop someone from executing an exploit in my Roblox game?

How would i stop an exploiter from using a kill all script in my game and if they tried it would kick them from the game.I honestly don`t even know how to compile it in a script i have ban scripts but i want it were they can make a new account and still cant use the exploit again my game?

so prisman the creator of Assassin went to me and wanted to know if it was possible to kick someone who used a kill all script i just dont even know were to start he has FE and most exploits don`t work he just doesnt know how to do this so he wanted me to figure it out because hes really busy.

3 comments

0

try to make a script that blocks a script when it enters your place

1

Enabling "FilteringEnabled" under Workspace in studio will prevent client changes from being made to the server. That said, exploiters wont have the ability to "kill all". They would still have client abilities (EX: Upgraded Walkspeed). You could easily check if some of these client properties have been changes, and kick them, however, this is not a request forum and I will not treat it as one.

0

Edit: thetacah beat me to the punch.  might seem like an odd question but: have you ever ACTUALLY HAD someone use a kill script in your game? Most often, security concerns can be handled by learning how to script with experimental mode off. It's much harder for an exploiter to use a kill script when filteringenabled is on.

3 answers

✓ Accepted answer

It is quite easy making your game harder to exploit. Here's how you do it.

game.Players.PlayerAdded:connect(function(plr)
	plr.ChildAdded:connect(function(c)
        if c:IsA('LocalScript') and c.Parent == plr then
			print(plr.Name .. ' was caught exploiting, kicking...')
			plr:Kick('Kick: Do not Exploit')
		end
	end)
end)

If you are unaware on how this works, here's how it works.

So, when a player executes a script they get kicked. Trust me, I know how level 7s work. I had actually downloaded one so I can prevent exploiters from exploiting.

Keep in mind that exploiters at the moment are unable to execute Server scripts, so this cannot be deleted most of the time.

You would have to use FilteringEnabled so they can’t “exploit”. (Send arbitrary code to the server and other clients) I recommend researching how to use Remote Events and Functions, because some things might break in your game after you enable Filtering that have to be fixed with Remote Events and Functions.

1 comment

0

If your unaware it is quite easy making scripts unable to be executed.

wertfdhqearthbaeqr3hb5aheh

3 comments

0

FUCKER

0

That is not a valid answer. Stop posting answers that have nothing to do with the question.

0

If you keep posting irrelevant information then you'll be suspended.

This discussion is preserved as it was. New answers, comments, and votes are closed.