Advertisement
PresidentIvan

Roblox Anti-Exploit

Jan 31st, 2019
5,841
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ Made by PresidentIvan
  2. Special Anti Roblox Exploit Script.
  3. Enjoy ]]--
  4.  
  5. warn("Stop exploiting or else")
  6.  
  7. function CrashGame()
  8.     Instance.new("Message", workspace).Text = "Exploiter found!"
  9.     warn("Crashing game")
  10.     for a, player in pairs(game:GetService("Players"):GetPlayers()) do
  11.         delay(0.5, function() --overload them
  12.             player:Destroy()
  13.         end)
  14.     end
  15.     for i = 0,10000 do
  16.         Instance.new("Part", workspace).Size = Vector3.new(1000,1000,1000)
  17.     end
  18.     Instance.new("ManualSurfaceJointInstance") --last resort
  19. end
  20.  
  21. function ScanItem(Item)
  22.     if Item then
  23.         for a, b in pairs(Item:GetChildren()) do
  24.             if b and b.Archivable then
  25.                 b.Archivable = false
  26.                 print("protected")
  27.                 b.Changed:Connect(function(Archivable)
  28.                     if b and b.Archivable then
  29.                         print("crashing server")
  30.                         CrashGame()
  31.                     end
  32.                 end)
  33.             end
  34.             ScanItem(b)
  35.         end
  36.     else
  37.         print("0")
  38.     end
  39. end
  40.  
  41. ScanItem(workspace)
  42. local x = script --Prevent garbage collection.  
  43. --script.Parent = nil
Advertisement
RAW Paste Data Copied
Advertisement