Advertisement
Guest User

Untitled

a guest
Jun 14th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. function refit()
  2. Character.Parent = workspace
  3. for e = 1, #BODY do
  4. if BODY[e] ~= nil then
  5. local STUFF = BODY[e]
  6. local PART = STUFF[1]
  7. local PARENT = STUFF[2]
  8. PART.Parent = PARENT
  9. end
  10. end
  11. end
  12.  
  13. Robloxidleanimation.HealthChanged:connect(function()
  14. Robloxidleanimation.Parent = nil
  15. Robloxidleanimation.MaxHealth = "inf"
  16. Robloxidleanimation.Health = "inf"
  17. refit()
  18. Robloxidleanimation.Parent = Character
  19. end)
  20.  
  21. Robloxidleanimation.Died:connect(function()
  22. Robloxidleanimation.Parent = nil
  23. Robloxidleanimation.MaxHealth = "inf"
  24. Robloxidleanimation.Health = "inf"
  25. refit()
  26. Robloxidleanimation.Parent = Character
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement