Why aren't my animations playing?

The animation is posted to my account, and the game that has the animation is also posted to my account aswell.

The animation works when i am playing it in studio, but it doesn’t appear to be working when im in the game on the site, does anyone know the fix for this?

also, i took the animation id and pasted it into idle animation.

2 Likes

Hello! First off I am going to assume you have a script written that plays the animation, so yeah just wanted to say that before I write my actual response which is… May I see the script? :slight_smile:

1 Like

https://gyazo.com/d18fe2ab18374d35f1f14f4c325a3ddb

i just changed the idle animation id, its playing in studio but not in the actual game on roblox

1 Like

Alright! One thing that might work is going in to studio, going to Game Settings, which is located on the top of your screen in home, and to the far right with the Coil image, (sorry if it isn’t a coil.) Then you want to go to options, enable HTTP Requests, and lastly enable studio access to API services.

(Be sure to shut down all servers and migrate to latest update on the game before you do your test!)

5 Likes

unfortunately this has not worked, thank you for your time though.

2 Likes

Ah that truly is disappointing, this may have something to do with the filtering enabled portion of Roblox Game Development, just a theory though, good luck on your journey!

2 Likes

These permissions are unrelated to animations. Any asset that needs to be downloaded from the CDN can be done so. There’s another underlying problem here.

The HTTP requests permission permits a Studio test server to send requests to external sites (GetAsync, PostAsync and RequestAsync). Studio Access to API Services permits use of DataStoreService as well as I believe some parts of AssetService.

The first thing to ensure is that the animation is properly uploaded (checking that it has keyframes, the priority level, all that). After that is to look at the code being used to play the animation at all, which none has been supplied here. @Skoliage, could you supply the code you are using to try and get animations running in your game so we can see if it’s an implementation issue?

1 Like

https://gyazo.com/d18fe2ab18374d35f1f14f4c325a3ddb

i simply replaced the idle animation with my own custom animation

1 Like

When editing the animations script for a players character, from my experience you also have multiple values that are children of this script, Before I’ve came across a bug in which nothing changed however after editing the values within my Animation script I didn’t see any faults.

1 Like

i dont comepletely understand because the animations work perfectly on roblox studio, but when i upload it onto roblox, its just the regular animations/ not working

1 Like

i still cant seem to make it work

1 Like

There should also be an ‘idle’ StringValue with 2 Animation instances that you need to change. If I recall correctly, I also had the same issue which was resolved after I used group animations for my group game (but you already have personal animations for your personal game) and after I changed these Animation instances.

image
You can change these Animation instances without changing the actual ‘Animate’ code and it should work.

Also just some friendly advice but you can post code using 3 ` keys (not the ’ key).
Example:

function Animate()
end
6 Likes