Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why my Animation plays on Play Test, but not in Roblox Player?

Hi. I'm trying to make NPC Animations, and for some reason they just play when i test play on Roblox Studio, but when i try playing it in Roblox Player it wont work.

I have no idea how to fix this. Here is the code

script.Parent.Humanoid:LoadAnimation(script.Parent.Animation):Play()

Now, this Script is placed inside the NPC, and using a Normal Script. Along with the Animation being placed as the child of the NPC as well.

Would appreciate a fix! Thanks.

2 comments

0

Usually when this happens it's because you're using an animation that was uploaded under a different owner than the game you're testing in in. Example: Uploaded under group, won't work in your game. Example 2: Uploaded by you, won't work in a group game. It will however work in studio, just not live servers.

0

thanks this worked.

1 answer

What do you mean by roblox player? What one roblox studio or roblox. Because if it doesn't load on roblox studio but it loads on test that's okay because test is what it would be like on roblox

2 comments

0

I mean Roblox Player by playing the actual game. The animation loads on Roblox Studio when i play it there, but the problem is it doesn't load when i actually play it. I'm bad at explaining, Sorry.

0

it's ok

This discussion is preserved as it was. New answers, comments, and votes are closed.