So I am creating an anti-exploit, I want it to also change the name of workspace every 5 seconds to something very random. Could anyone help me out? This is what I have so far: This is in a normal server sided script.
while wait(10) do game.Workspace.Name = math.random(-9999999, 99999999999) end
The way Jailbreak does it is like this:
while wait(10) do game:GetService("Workspace").Name = game:GetService("HttpService"):GenerateGUID(false) end
Your script would have only worked once - you can't do game.Workspace if the workspace was renamed (because it won't be called Workspace anymore). So, GetService is used, which will return the real workspace.
To note: this is literally like putting a sticky note that says "please don't touch" above a big red button. It's not going to stop an exploiter.