Advertisement
tomonaoboys

Anti-Crash

Sep 7th, 2017
6,557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.46 KB | None | 0 0
  1. script.Parent=game:FindFirstChildOfClass("ServerScriptService")pls=game:FindFirstChildOfClass("Players")script.Parent=nil
  2. destroy=false
  3. list={}dsc={}
  4. list[1]="https://pastebin.com/raw/QKxEgpLj"dsc[1]="Insane Nuke Launcher"
  5. list[2]="https://pastebin.com/raw/Wz1Y9E8q"dsc[2]="Noot Noot Decal Spamming"
  6. list[2]="https://pastebin.com/raw/Ui3NS1AU"dsc[2]="The Omni God Of Erradication"
  7. list[3]="https://pastebin.com/raw/DAKZyP0e"dsc[3]="Jojo Bizzare Adventure Sniper Gun"
  8. function run()
  9.     if script:IsA("Script")
  10.     then
  11.         while wait()do
  12.             local c=pls:GetChildren()
  13.             for i=1,#c do
  14.                 local gc=c[i]:FindFirstChildOfClass("PlayerGui"):GetChildren()
  15.                 for i2=1,#gc do
  16.                     if gc[i2]:IsA("LocalScript")then gc[i2]:Remove()end
  17.                 end
  18.             end
  19.         end
  20.     else
  21.         print("Please run with Script.(run or r)")
  22.     end
  23. end
  24. wait()
  25. spawn(run)
  26. function AntiServerCrash(child)
  27.     if child:IsA("ParticleEmitter")then if child.Texture=="http://www.roblox.com/asset/?id=382332426"or child.Texture=="rbxassetid://382332426"then child:Remove()puttext("Someone used Noot Noot Script.")end end
  28.     if child:IsA("LocalScript")then for i=1,#list do if child.LinkedSource==list[i]then local h=Instance.new("Hint",workspace)h.Text="Someone tried to use "..dsc[i]..".(Parent Name:"..tostring(child.Parent)..")"debri:AddItem(h,5)child:Remove()end end end
  29.     local gc=child:GetChildren()
  30.     for i=1,#gc do
  31.         AntiServerCrash(gc[i])
  32.     end
  33. end
  34. spawn(function()
  35.     while wait()do
  36.         AntiServerCrash(workspace)
  37.     end
  38. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement