Animation don't replicate to server

So i have LocalScript that require ModuleScript and inside module script i do something like this:

local Players = game:GetService("Players")
local plr = Players.LocalPlayer
local Characterr = plr.Character or plr.CharacterAdded:Wait()

local currentAnimTrack = Character.Humanoid.Animator:LoadAnimation(game.ReplicatedStorage.Animations.PunchAnimation)

Also tried to LoadAnimation for Humanoid and not Animator, but still nothing.
So player plays animation for his own character and it should replicate to others, but it don’t.

Note: For me animation plays, but when i switch to server, in studio, it don’t play an animation thus not showing it to other players.

How to fix this? Or this is roblox bug?

1 Like


Local scripts are local. This means they only appear on a single client.
If you want to fix this, move to a server script.

P.S: You accidentally added an extra r on character.

no you are wrong, you can animate animation in local when using animator they will replicated through the server its more effective to animate in client

1 Like

Is the animation an Instance?

Like what StudioNovaHolder said you added extra r to character.



Thats just a typo. Its not my actual code. I just wrote this example on phone so sorry for mistake.

Animations work fine. It shows animation for Client i do it on, but don’t replicate to server for some reason.

1 Like