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
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
1 | While true do |
2 | 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 |
3 | end |
Hope this helps :|
1 | if game.Players.LocalPlayer.MaxHealth = = 0 then --If the player godded |
2 | game.Players.LocalPlayer:Kick() |
3 | end |
If someone gods their self, they will get kicked.