Animation stops for client but doesnt replicate to server/other players - not replicating animation properly

Title

is this a known Issue? is there a common cause for this ?

im using a varaible for the current animation playing and it swaps between walking, running and crouching

this is a piece of the code

	if Pose ~= "Idle" then
		--print("RunningFunctionForOtherAnimations")
		if Humanoid.MoveDirection.Magnitude > .4 then
			if CurrentAnimationInstance.AnimationId ~= MovementDictionary[Pose].Animation.id then
				CurrentAnimationInstance.AnimationId = MovementDictionary[Pose].Animation.id

				if currentAnimTrack then
					currentAnimTrack:Stop()
					currentAnimTrack = nil
				end
				
				currentAnimTrack = Humanoid:LoadAnimation(CurrentAnimationInstance)
				
				
				currentAnimTrack:Play(.7, .3)
				--currentAnimTrack.TimePosition = 0
			
			end
		end	
	end
end

fixed it
Stop the animation then change id

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