Animation on fbx model not working

So I made a model, but the animation doesn’t show when im play testing, but it does show when I run on client, any help?

it’s a server script.

local animation = script:WaitForChild('Animation')
local humanoid = script.Parent:WaitForChild('Humanoid')
local dance = humanoid:LoadAnimation(animation)
dance:Play()
dance.Looped = true

image

1 Like

try animating with a local script instead, some animations aren’t replicated from the server to the client if I can remember correctly

Changed it to a local script, still nothing :confused:

Have you tried to use the animation ID for the local animation?
I’m not very good in these types of situations, but I can try to help with what I can think of!

did you move the localscript to the playergui

Why? The animation is in the script?

image

I did this
image

LocalScripts only run in the playergui or startercharacterscripts

Hi!

It’s not a local script, it’s only a serverscript.

can you try using it in a LocalScript? some animationpriorities like core if I can remember do not play on the client if played on the server, if you really want to use the server then Action should work OK

A local script in workspace? Is that okay? I did that, but still no change

Bump, can anyone help with this?