Hi, I have problems with exploiters in my game, so I have to create some antiexploit. But I have problem that some things are happening just locally. So, can an exploiter disable or delete localscript? ( I would make localscript that would kick the player.. )
Can exploiter disable localscript?
1 answer
Explanation
Exploits are usually client sided, I highly doubt that exploiters could disable local scripts through some kind of heavy exploit but you should be fine as it will not affect the player but the exploiter itself. An example would be if an exploiter is using Btools for glitching through walls, other players would not see the affects of the exploiter as it will be client sided.
What you can do is make a script that will check the player's humanoid or character for anything sketchy, if it does then it will kick that certain player.
Solution
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(Character)
if player.Backpack:FindFirstChild("Btools") then -- You change Btools to the name of the exploit..
player:kick()
end
end)
end)
Solution 2
game.Players.PlayerAdded:Connect(function(player)
if player.Name == "ShedletSky" then -- Change ShedletSky to the name of the exploiter
player:kick()
end
end)
I hope this helps and please up vote this answer if it did so..
5 comments
ok thanks
Yes but the Btools tool can be names anything, so the name in that ("Btools") wont work
For that. You will need to check for the player's backpack :)
And the name of the exploit in the player's backpack..
You can also check for abnormalities and use a whitelist for their backpack, if something is in there that's not supposed to be, then kick them.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Anything that happens on the client side will not have an affect on other player's or the server. Just the player that is exploiting. A way to fix this is to have a server script run everytime a player joins and use a while loop checking for abnormalities in their character or player's behavior.
I just need to know that if a client-side antiexploit can be disabled by the exploiter
If it is in the Workspace, you can enable "FilteringEnabled" which makes it not able for the player to access and change stuff in the Workspace