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

Anti Speed Exploit script?

Asked by
lomo0987 250 Moderation Voter
10 years ago

Here is the script...

local Player = game.Players.LocalPlayer
while wait(0.5) do
    if Workspace:GetRealPhysicsFPS() > 61 then
        Player:Kick()
    end
end

I currently have it placed in workspace, but it seems to not work. I went to my alt to test the script to make sure it works but it doesn't. Is there something wrong/missing with the script? (Btw, it is a local script)

1 answer

Log in to vote
0
Answered by 10 years ago

Its all right you have to place it in StarterGUI.

0
simple as that. lol digitalzer3 123 — 10y
0
:/ Lol. I don't understand why it has to be in the StarterGUI :/ lomo0987 250 — 10y
0
FPS digitalzer3 123 — 10y
0
This must be a LocalScript, because it is a client-based script. LocalScripts will only run in client directories, such as StarterGui (which is really put into PlayerGui when the player spawns). User#11893 186 — 10y
Ad

Answer this question