So when I use the wiki's tutorial for replacing default animations, it works just fine. However, upon death, it resets to default.
How would I fix this?
Game.Players.PlayerAdded:connect(function(player)
while not player.Character do wait() end
local character = player.Character
local animateScript = character.Animate
animateScript.jump.JumpAnim.AnimationId = 'http://www.roblox.com/Asset?ID=287905058'
end)
Game.Players.PlayerAdded:connect(function(player)
while not player.Character do wait() end
local character = player.Character
local animateScript = character.Animate
animateScript.fall.FallAnim.AnimationId = 'http://www.roblox.com/Assest?ID=287912301'
end)
Game.Players.PlayerAdded:connect(function(player)
while not player.Character do wait() end
local character = player.Character
local animateScript = character.Animate
animateScript.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=287926677'
end)
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=287939240'
end)
