Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i make a script that will stop hacking?

Asked by
shui64 5
10 years ago

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

0
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 DragonSkyye 517 — 10y

2 answers

Log in to vote
-1
Answered by
istiyak 13
10 years ago

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

Ad
Log in to vote
2
Answered by 10 years ago
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.

Answer this question