So, I made this basketball game thingy, and I was just thinking to test something out, but then I noticed that all the animations aren’t playing for other players. I also tested it with my friends on a published game too.
Here’s a clip:
I run all the animations on local, and this used to work, also saves alot of work for server I believe.
The scripts I’m using for the player’s normal movements(running, walking etc.) are the Roblox default ones, where I just copy those and put them in, so I don’t really know what’s the problem. My only assumption is that I’m using custom models, and the animations are played through the Animation Controllers and that’s causing the issue. But how should I fix this then? Or is it not possible? I should just run all the animations on Server?
I’m not quite sure what the other guy said to you but I can think of many reasons for this:
It’s local sided so its might not be active in some players.
Could also just be a Roblox issue since animations not loading are a common issue.
Answer:
Just use server side animations it’s better for the players and for Roblox since they set up the system to hold stress and counter DDOS attacks if they occur, among other things.
A good rule of thumb is to just have everything non Gui related be server sided, of course it depends on the situation but servers are more secure, run better, and are better for the players themselves
(Though like I said there are situations where things need to be local sided so take what I said with a grain of salt)
Animation should show if you were to use it on a local script, but if you enable the animation loop on the client side, the animation on the server side doesn’t know that, resulting in the animation to stop when finish.