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
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.