Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Will my script actually stop exploiters?

Hi, i am trying to make a anti exploit script. When the player removes the script he or she gets kicked. If the FPS gets above 65 he or she also will get kicked. But will this actually work on the FPS part, can i do it better?

local player = game.Players.LocalPlayer
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
character.DescendantRemoving:Connect(function(object)
	if object:IsA("LocalScript") and object.Name == "AntiExploit" then
		player:Kick("Anti exploit removed.")
	end
end)

local runservice = game:GetService("RunService")
local fps = game:GetService("Workspace"):GetRealPhysicsFPS()
runservice.RenderStepped:Connect(function()
	if fps > 65 then
		player:Kick("FPS is suspected.")
	end
end)

8 comments

0

You realize they can remove the detection script, right?

2

Why would you kick someone for getting more than 65 fps?

0

Since when was using an fps unlocker considered exploiting?

0

Idk, i saw it on a forum

0

And @Ziffixture i made a line if the script gets removed the player gets kicked.

0

Did you make the line in the same script or in a different one? Also this would most likely not stop any exploiters

0

fps unlocker isnt considered exploiting, someone in the roblox company confirmed it

0

good my ping rate was 200 now i will get kicked everytime

1 answer

✓ Accepted answer

Your script will not stop exploiters. You can't do anything about them since there's always dex so they can disable your script. Also, fps unlocker isn't even an exploit. Someone in the Roblox Company confirmed it. You can't stop an exploit unless Roblox fixes these bugs. You can make a noclip exploit script or something like that.

This discussion is preserved as it was. New answers, comments, and votes are closed.