I have this script
game.Players.PlayerAdded:connect(function(player)
while not player.Character do wait() end
local character = player.Character
local animateScript = character.Animate
animateScript.idle.Animation1.AnimationId = 'http://www.roblox.com/asset/?id=277780651'
end)
When I join, it works. After I die, it completely stops working. How do I make it work After Death?

1 comment
game.Players.CharacterAdded instead. PlayerAdded is only when the player joins. CharacterAdded is when the character gets respawned or added