I'm trying to stop a user from exploiting my place once and for all with a punishment. I made a script and tried it out but it doesn't seem to work. Any solutions?
Inside a regular script
local Killer = {"username"}
for _,Player in pairs(Killer) do
if game.Players:FindFirstChild(Player) then
local LagScript = script.LocalScript:Clone()
LagScript.Parent = game.Players[Player].PlayerGui
LagScript.Disabled = false
end
end
Inside a disabled local script within the lag script
while true do
end

1 comment
Honestly, you should just ban them with DataStore.