Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 2 years ago

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.

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. climethestair 1663 — 2y
0
thanks this worked. djcraft1237 4 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

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

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. djcraft1237 4 — 2y
0
it's ok Blueturtle8908 79 — 2y
Ad

Answer this question