Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Anti Exploit Instructions.
- --Make a Script inside Workspace.
- --Insert this into the script.
- WITHOUT QUOTES
- "local no_no = {
- ".Parent = ";
- ".Name = ";
- ".Value = ";
- ".parent = ";
- "workspace.";
- ":GetService";
- ":GetPlayers()";
- "children()";
- ":Destroy()";
- ":Remove()";
- ":GetObjects";
- }
- local data_name = "Ban_Times"
- local disable_ = script["Disable_"]:clone()
- function scan_nono(str)
- for _, v in pairs(no_no) do
- if string.find(str, v) then
- return true
- end
- end
- if (string.find(str,"function ") and string.find(str,"end")) or (string.find(str,"if") and string.find(str,"end") and string.find(str,"==")) then
- return true
- end
- return false
- end
- game.Players.PlayerAdded:connect(function(plr)
- plr:WaitForDataReady()
- local data = plr:LoadNumber(data_name)
- if data and tonumber(data) and data >= 3 then
- plr:Kick()
- elseif data and (not tonumber(data)) then
- data = 0
- plr:SaveNumber(data_name, 0)
- elseif (not data) then
- data = 0
- plr:SaveNumber(data_name, 0)
- end
- plr.Chatted:connect(function(msg)
- if scan_nono(msg) then
- plr:SaveNumber(data_name, (data+1))
- if plr:FindFirstChild("PlayerGui") then
- disable_:clone().Parent = plr.PlayerGui
- end
- if plr:FindFirstChild("Backpack") then
- disable_:clone().Parent = plr.Backpack
- end
- plr:Kick()
- end
- end)
- end)
- "
- --Insert a local script into that script. Name is "Disable_" EXACTLY HOW THAT IS.
- --Insert this into the localscript.
- "wait(0)
- local plr = game:GetService("Players").LocalPlayer
- game:GetService("StarterGui"):SetCoreGuiEnabled("All", false)
- game:GetService("Debris"):AddItem(plr, .5)
- "
- --And bam, You're done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement