my games have been getting hacked recently and i want to stop them the only problem is i have no idea how to make a script for that
✓ ANSWER ACCEPTED
how do i make a script that will stop hacking?
2 answers
✓ Accepted answer
You could make a ban script for the people you suspect that hacked your game,I don't want to waste my time so I will give you a short script
While true do
Workspace.PlayerName.MaxHealth = 0 --In PlayerName put the person you suspect that hacked your game, I might give you a script that let's you ban multiple of people
end
Hope this helps :|
if game.Players.LocalPlayer.MaxHealth ==0 then --If the player godded
game.Players.LocalPlayer:Kick()
end
If someone gods their self, they will get kicked.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Just to tell you unless someone exploited your place somehow then it's no one hacked if it's slow it could be your internet connection. If it has to do with player points then it could be the fact that load string is enabled