Scorz-Root

Roblox Anti Exploit

Dec 16th, 2017
1,532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. Anti Exploit Instructions.
  2. Make a Script inside Workspace.
  3.  
  4. Insert this into the script.
  5.  
  6. WITHOUT QUOTES
  7. "local no_no = {
  8. ".Parent = ";
  9. ".Name = ";
  10. ".Value = ";
  11. ".parent = ";
  12. "workspace.";
  13. ":GetService";
  14. ":GetPlayers()";
  15. "children()";
  16. ":Destroy()";
  17. ":Remove()";
  18. ":GetObjects";
  19. }
  20.  
  21. local data_name = "Ban_Times"
  22.  
  23. local disable_ = script["Disable_"]:clone()
  24.  
  25. function scan_nono(str)
  26. for _, v in pairs(no_no) do
  27. if string.find(str, v) then
  28. return true
  29. end
  30. end
  31. 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
  32. return true
  33. end
  34. return false
  35. end
  36.  
  37. game.Players.PlayerAdded:connect(function(plr)
  38. plr:WaitForDataReady()
  39.  
  40. local data = plr:LoadNumber(data_name)
  41. if data and tonumber(data) and data >= 3 then
  42. plr:Kick()
  43. elseif data and (not tonumber(data)) then
  44. data = 0
  45. plr:SaveNumber(data_name, 0)
  46. elseif (not data) then
  47. data = 0
  48. plr:SaveNumber(data_name, 0)
  49. end
  50.  
  51. plr.Chatted:connect(function(msg)
  52. if scan_nono(msg) then
  53. plr:SaveNumber(data_name, (data+1))
  54.  
  55. if plr:FindFirstChild("PlayerGui") then
  56. disable_:clone().Parent = plr.PlayerGui
  57. end
  58. if plr:FindFirstChild("Backpack") then
  59. disable_:clone().Parent = plr.Backpack
  60. end
  61.  
  62. plr:Kick()
  63. end
  64. end)
  65. end)
  66. "
  67.  
  68. Insert a local script into that script. Name is "Disable_" EXACTLY HOW THAT IS.
  69.  
  70. Insert this into the localscript.
  71.  
  72.  
  73. "wait(0)
  74.  
  75. local plr = game:GetService("Players").LocalPlayer
  76. game:GetService("StarterGui"):SetCoreGuiEnabled("All", false)
  77.  
  78. game:GetService("Debris"):AddItem(plr, .5)
  79. "
  80. And bam, You're done.
Add Comment
Please, Sign In to add comment