My animation does not play on player

i have an animation , the animations length is 3 secs , the animation does play on a npc , but it does not play on me(player) , i also use an animator to load the animation , not humanoid

please provide your code, spare no detail.

library.OnServerEvent:Connect(function(plr)
	local anime=Instance.new('Animation')
	anime.AnimationId='rbxassetid://84310466049961'
	plr.Character.Humanoid:WaitForChild'Animator':LoadAnimation(anime):Play()

Does the library event even get fired? do a print below it like this.

library.OnServerEvent:Connect(function(plr)
print("IVE BEEN FRIED")
	local anime=Instance.new('Animation')
	anime.AnimationId='rbxassetid://84310466049961'
	plr.Character.Humanoid:WaitForChild'Animator':LoadAnimation(anime):Play()

Check the output after making sure.

yes it does get fired , and opens the library’s door , but the animation does not play ,

uh what is the animation type? also make sure ur using the right rig, like is ur game r6 or r15, and what rig type is ur anim

1 Like

r6 , and npc is r6 also , also animations Priority is action , rig type is block

oh i found the error try this line:

plr.Character.Humanoid:WaitForChild("Animator"):LoadAnimation(anime):Play()
2 Likes

error ? i dont think so but i did use it and yet still doesnt play

show ur full script now? might be another problem

i did think of that so i just made a normal tool and used the code in activated event , does not play

No parent was found. Set it to Humanoid. Edit: No edit

ye what he said just try loading anim on humanoid

wdym? animation does not need parent ig because i did test it on rig without that

2 Likes

can u show the anim like a video

lets ge the obvious out the way, any errors im going to assume not, because you don’t need the animation parented at all.
You don’t need to use (", ’ suffices.

Like the animaion editor rig? Im pretty sure when insert an animation in script, it needs to be parented to something.

Is the event being fired to the client only or all the clients?

it gets fired from a local script