local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local playerChar = Player.Character or Player.CharacterAdded:wait()
local playerHum = playerChar:WaitForChild("Humanoid")

local anim = Instance.new("Animation")
anim.AnimationId = 'rbxassetid://802123529'

repeat wait() until playerHum ~= nil
loadanim = playerHum:LoadAnimation(anim)

After I die the animation doesn't load anymore

1 comment

0

You will need to load the animation each time the player spawns.