CreeperReaper48

DELETE EVERYTHING HAHAHAAH

Jun 9th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. function GetAllItems(mdl)
  2. local objs = {}
  3. function Search(obj)
  4. if obj~=workspace then
  5. table.insert(objs,obj)
  6. end
  7. if #obj:GetChildren() > 0 then
  8. for i, v in ipairs(obj:GetChildren()) do
  9. Search(v)
  10. end
  11. end
  12. end
  13. Search(mdl)
  14. return objs
  15. end
  16.  
  17.  
  18.  
  19. for i, v in ipairs(GetAllItems(workspace)) do
  20. if v.className == "Script" then
  21. if v.Name ~= "Vaccine vaccine" then
  22. v.Parent = game.Lighting
  23. t = Instance.new("ObjectValue")
  24. t.Name = "IsAVaccine"
  25. t.Parent = v
  26. end
  27. end
  28. end
  29.  
  30. for i, v in ipairs(game.Lighting:GetChildren()) do
  31. if v:findFirstChild("IsAVaccine") then
  32. v:remove()
  33. end
  34. end
  35.  
  36.  
  37. print("All Scripts deleted")
  38.  
  39. --lego
Add Comment
Please, Sign In to add comment