I've been trying to get this script to work, but since i'm only a beginner, I have absolutely no idea whats wrong with it. I am animating a Dummy/NPC with this script to play an animation that allowed my NPC to play the violin, and it only seems to work in studio in play/run mode. When playing from the site, the animation just doesn't load. Any help?


local animation = game.Workspace.Animation


local anim = script.Parent.Humanoid:LoadAnimation(animation)

anim:Play()

4 comments

0

Do you have FE enabled? Also, is that in a localscript or server script?

0

Yes, and it's a server script.

0

I tried converting it to a local script, but it doesn't work at all after.

0

rip