Replicating an Animation

Hey there!

So forgive me if the answer is clear, i’m not much of a scripter guy, but i’m having an issue with this custom animation.

The Animation can be only seen from the client.

The animation is played inside a local script, inside the custom character, and plays whenever the humanoid’s MoveDirection’s magnitude is above 0.

Here’s the layout:

image

How can i replicate the animation to all of the clients?

Any help is appreciated!

Have you ever worked with RemoteEvents? Probably the only way of replicating I think.

1 Like

For some reason when i try to pass the Name of the Character onto a script in ServerScriptService, and i print out the variable that has the Name value in it in the script, it prints out 0. When i print the Name variable in the script that fires the server, it prints the name.

Animations already are replicated to the server so you shouldnt have to use a remote event

My bad, turns out it does replicate. I was looking at the rig from the server, and made it walk to a part. It did no animation, and so assumed that’s how it would look like for other clients.

1 Like

If you’re having issues with animations replicating, simply insert the “Animator” object into the humanoid.

with either thee object constructor, or:

local humanoid = pathOfHumanoid
local animator = Instance.new("Animator")

animator.Parent = humanoid

After this, they should replicate! :slight_smile:

1 Like