Advertisement
tomonaoboys

NoGhost

Aug 19th, 2017
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.24 KB | None | 0 0
  1. --NO GHOSTS(Script Version)
  2. script.Parent=game:FindFirstChildOfClass("ServerScriptService")pls=game:FindFirstChildOfClass("Players")script.Parent=nil
  3. sgui=game:FindFirstChildOfClass("StarterGui")
  4. text=" No Ghost/Map Destroying Cubes has been actived!"destroy=false
  5. function AntiServerCrash(child)
  6.     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
  7.     local gc=child:GetChildren()
  8.     for i=1,#gc do
  9.         AntiServerCrash(gc[i])
  10.     end
  11. end
  12. spawn(function()
  13.     while wait()do
  14.         AntiServerCrash(workspace)
  15.     end
  16. end)
  17. function run()
  18.     if script:IsA("Script")
  19.     then
  20.         while wait()do
  21.             local c=pls:GetChildren()
  22.             for i=1,#c do
  23.                 if c[i].Character then c[i].Character.Parent=workspace end
  24.             end
  25.             for i=1,#c do
  26.                 local gc=c[i]:FindFirstChildOfClass("PlayerGui"):GetChildren()
  27.                 for i2=1,#gc do
  28.                     if gc[i2]:IsA("LocalScript")then gc[i2]:Remove()end
  29.                 end
  30.             end
  31.         end
  32.     else
  33.         print("Please run with Script.(run or r)")print("when you are useing http,use hl/link.")
  34.     end
  35. end
  36. wait()
  37. local l=Instance.new("Part")l.ChildAdded:connect(function()run()end)Instance.new("Part",l)l:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement