Animation not working

		local anim = Instance.new("Animation")
		anim.AnimationId = "5584725317"
		local animLoad = humanoid:LoadAnimation(anim)
		animLoad:Play()

My code is getting an error the error is image

The ID might be wrong. thats the issue

I didn’t see your post but I figured it out but this was the solution so I’ll still give a solution

Hello!
Try this out:

local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://5584725317"
local animLoad = humanoid:LoadAnimation(anim)
animLoad:Play()

Hope it helps :smiley:

Yea I already gave him the solution but I didnt know i needed to use rbxassetid