I have been noticing this issue for a while and I wanted to adress it today, but I cant seem to get around it.
Basically, this is how I play animations:
I load all the animations and put them in to a table so I can use them later (Something like Animations.Punch:Play())
But when my summoning animation plays, this happens.
This is how it looks on the client. Everything is perfect here.
but this is how everyone else including the server sees it.
local function LoadAnim(anim, notwaitLoad)
repeat wait() until player.Character:IsDescendantOf(workspace)
local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://"..anim;
print(Anim.AnimationId)
local Track = player.Character.Stand.AL:LoadAnimation(Anim);
if not notwaitLoad then repeat wait() until Track.Length > 0 end
return Track
end
This is how I load an animation. I am sorry the code may be really messy
Any help would be really appriciated as I do not think I can fix this myself
(Sorry if I have not been clear as I could have, After all it is my first post)
1 Like
Do you load the animations on the server or the client? Iβm guessing the client
Ok, what does your entire code look like?
It is extremely long but ill try to give you the animation parts
So basically I do
local Animations = {
Summon = LoadAnim("XXXXXXXXX");
}
And then on the key detection I play it with
Animations.Summon:Play()
I know you said that the animations are loaded onto the server, but do you do:
Player Pressed key β Send data to the server β Server loads the animation and plays it
or
Player Pressed Key β Animation Plays
I do Player Pressed key β Send data to the server β Server loads the animation and plays it
Ok, I have one last question so I can draw a possible issue I may know: Did you make the animation? If so, did you try it in-game?
The animator did which was uploaded to the group I work on (afaik) and he gave me the id which i used
Every other animation behaves like its suppose to. And we also use custom rigs.
Unfortunately, I canβt draw a conclusion to why itβs not working. I hope you find the solution though!
Thanks to this post: Animation NOT Replicating - #15 by TomsGames I fixed it (Saved me hours of stress)
2 Likes
how do u replicate it im not good with animations
The answer is literally on the linked post?
I got there but idk how to get the animations from server side i readed it all and i am still confused