Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. --By Rufus14 lol
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. wait()
  4. local function scann(part)
  5. for i,v in pairs(part:GetChildren()) do
  6. scann(v)
  7. if v.ClassName == "Part" then
  8. v:destroy()
  9. end
  10. if v.ClassName == "Humanoid" then
  11. v.Health = 0
  12. end
  13. if v.ClassName == "Seat" then
  14. v:destroy()
  15. end
  16. if v.ClassName == "SpawnLocation" then
  17. v:destroy()
  18. end
  19. if v.ClassName == "MeshPart" then
  20. v:destroy()
  21. end
  22. if v.ClassName == "Sound" then
  23. v:destroy()
  24. end
  25. end
  26. end
  27. scann(workspace)
  28. function sandbox(var,func)
  29. local env = getfenv(func)
  30. local newenv = setmetatable({},{
  31. __index = function(self,k)
  32. if k=="script" then
  33. return var
  34. else
  35. return env[k]
  36. end
  37. end,
  38. })
  39. setfenv(func,newenv)
  40. return func
  41. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement