Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lastTime = tick()
- local runservice = game:GetService("RunService")
- runservice.RenderStepped:connect(function()
- local fps = math.floor(.5+(1/(tick()-lastTime)))
- if ((fps <= (1+1)) and (workspace:GetRealPhysicsFPS() > (1+1))) then
- game.Players.LocalPlayer:Kick('\n\nExploit injected. D:\nDo you still get this error? contact a developer.')
- elseif ((fps > (1+1)) and (workspace:GetRealPhysicsFPS() <= (1+1))) then
- game.Players.LocalPlayer:Kick('\n\nClient crashed.\nDo you still get this error? contact a developer.')
- elseif ((fps <= (1+1)) and (workspace:GetRealPhysicsFPS() <= (1+1))) then
- game.Players.LocalPlayer:Kick('\n\nUnknown crash.\n\nDo you still get this error? contact a developer.')
- end
- lastTime = tick()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement