Animations work correctly on client but not on server/other clients

So I’m making a combat focused game and I’m adding a downed feature and I have everything ready but the animations aren’t working on other clients/the server.

(top is other clients and bottom image is how it should look and does look on the client who is downed)
image
image

Any reasons on why this is happening??? Thanks!

Try setting the AnimationTrack’s Enum.AnimationPriority to a higher value. It might be trying to blend the standing animation with the downed animation.

AnimationTrack | Documentation - Roblox Creator Hub

Just tried that and it didn’t seem to work(I moved it from idle to movement and then even up to action4)

Got this fixed! Just had to stop all current playing animation tracks and now it works great!

Code for stopping animation tracks in case anyone needs it:

local player: Player? = game:GetService("Players").LocalPlayer
local character: Model? = player.Character or player.CharacterAdded:Wait()
local Humanoid: Humanoid = character:WaitForChild("Humanoid")
local Animator: Animator = Humanoid:WaitForChild("Animator")

local function stopPlayingAnimations()
	for _, track: AnimationTrack in Animator:GetPlayingAnimationTracks() do
		track:Stop()
	end
end
return stopPlayingAnimations

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.