Animations wont show on other players?

My animations will only load on current players, and will not be visible for others. However, sometimes you can see other players with animations?

wait()

local RunService = game:GetService(“RunService”)

local Player = game.Players.LocalPlayer
local Character = workspace:WaitForChild(Player.Name)
local Humanoid = Character:WaitForChild(“Humanoid”)
local Root = Character:WaitForChild(“HumanoidRootPart”)

local animsFolder = script:WaitForChild("AnimsFolder")
function newAnim(name)
	local a = Humanoid:LoadAnimation(animsFolder:WaitForChild(name))
	a.Priority = Enum.AnimationPriority.Core
	return a
end

local anims = {
	Run = 			newAnim("Run");
	WalkForward =	newAnim("WalkForward");
	WalkBackward =	newAnim("WalkBackward");
	WalkLeft =	 	newAnim("WalkLeft");
	WalkRight =	 	newAnim("WalkRight");
	Jump =			newAnim("Jump");
	Fall = 			newAnim("Fall");
	Climb = 		newAnim("Climb");
	Idle = 			newAnim("Idle");
	Seated = 		newAnim("Seated");
}

sadas

Am I doing something wrong? I’ve never had this replication issue before.

https://gyazo.com/e2dcf5eee0cfe7ae5cf6b92f8d1e5826

5 Likes

A similar issue happened to my friend and this is the post that Roblox staff replied with. It may also be happening on your game.

2 Likes

It appears to be played in a LocalScript, which means only the LocalPlayer can see the animation. I suggest a RemoteEvent to play the animation on the client side.

2 Likes

That doesn’t make sense, you could always play animations via the client that can’t be the problem. 20+ players running around firing events for animations that are meant to replicate anyway is just not worth it.

4 Likes

seems like a simple answer but would you mind changing the animation priority to movement or higher? test it out

2 Likes

No, it is something to do with the math as im being told by the person who sent me a sample of it, however I cannot test because I am banned :slight_smile:

2 Likes

Fixed, was to do with end lines crossing to 0 which cancels replication.

2 Likes