Advertisement
Chxp

Untitled

Aug 5th, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. function onPlayerRespawned(newPlayer)
  2. while true do
  3. if newPlayer.Character:findFirstChild("Animate")~=nil then break end
  4. wait()
  5. end
  6. newPlayer.Character.Animate.Disabled = true
  7. local c = script.Anima:Clone()
  8. c.Parent = newPlayer.Character
  9. c.Disabled = false
  10. end
  11.  
  12. function onPlayerEntered(newPlayer)
  13. newPlayer.
  14. onPlayerRespawned(newPlayer)
  15. end
  16. end)
  17. end
  18.  
  19. game.Players.PlayerAdded:connect(onPlayerEntered) --TalentGoesBy made this script.Changed:connect(function (property)
  20. if (property == "Character") then
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement