So I’ve got some animations playing on the client with their weights being adjusted inside a renderstepped, when I first join everything works fine on the client.
Then I switch over to server and the animations are not playing (sometimes they might but it’s totally random), if I switch back to the client then one animation might also stop playing on the client.
The script type you’re using is wrong if you want to make it server sided. You’re supposed to use a “script” not a “local script” for global operations
Animations replicate from the client to the server. As mentioned sometimes it might play on the server, but it appears to be very random when it does and will break again if switching to client and then back to server.
I’m trying to figure out why my animations, which I play on the client in a localscript inside StarterCharacterScripts, don’t replicate/play on the server properly.
What I think the issue could be is the :AdjustWeight(). I’m no expert but I am not sure towards if you can actually replicate it to the server with what you are trying to accomplish.
Or alternatively it could be also the fact that you start the animation instantly as the script loads in. Possible that the server cannot load it in time, but these are just my theories.
First reply: The adjustweight fully replicates along with the animation and as mentioned, the animations do work at times.
Second reply: I’ve thought about this too by putting a task.wait(2) in first line of the localscript. Sadly this didn’t change anything, I still find my animations not playing on the server.