Animation Instance Not Working?

So I have a model that I got from the Toolbox/Library that has animation instances in it, but I can’t get them to play. Here’s my script:

local function trigger(player)
	script.Parent.Triggered.Value = true
	local animationTrack = script.Parent.Humanoid.Animator:LoadAnimation(script.Parent.Angry)
	animationTrack:Play()
end
script.Parent.RemoteEvent.OnServerEvent:Connect(trigger)

and the value inside the animation is

rbxassetid://5842018438

I don’t know why the animation won’t play as I’m not getting any errors. I’ve tried it on just the Humanoid and that didn’t work either.

local character = script.Parent

local function trigger(plr)
	local char = plr.Character
	local humanoid = char.Humanoid
	local animator = humanoid.Animator
	script.Parent.Triggered.Value = true
	local animationTrack = animator:LoadAnimation(script.Parent.Angry)
	repeat task.wait() until animationTrack.Length > 0
	animationTrack:Play()
end

script.Parent.RemoteEvent.OnServerEvent:Connect(trigger)

He still doesn’t seem to want to do anything. I’ll try it with a different animation
Edit: No he just doesn’t want to

I think we need to use our own animation :no_mouth:

scp-096-classic-panic-anim.rbxm (2.1 KB)

Try reuploading the animation to your own account/group and then use the ID of that instead.

Could you tell me how to get those so I can do it with all the animations?

https://assetdelivery.roblox.com/v1/asset/?id=

Then just paste the ID of the animation after the “=” sign.

Thank you! . . . . . . . . . .