Tool position not replicating to the server in an animation

I’ve animated a idle animation for a pistol tool that uses a motor6d welding it to the left arm instead of the right arm (for animating purposes), and it looks fine on the client. On the server however the tool stays in the right arm. weldscript Here is the weld script

Heres what it looks like
If anyone knows whats wrong and has a fix for it then let me know

1 Like

Try setting every part in the tool’s network ownership to the player holding the gun.

Example:

-- setting network owners must be done on the server
for i,v in pairs(tool:GetDescendants()) do
   if v:IsA("BasePart") then
      v:SetNetworkOwner(player) -- player holding the gun (not the character model)
   end
end

Just tried it, but that didn’t fix the issue. Thanks anyways though

Update, apparently it shows up if the players are super close https://gyazo.com/4eafe372a03d30598cf762330b747fa2
but if unequipped and reequipped when farther away it’ll go back to the left arm until you get close enough again

I’ve read up on other posts about this issue too, and it said to have the Motor6D already made, but empty. and to just set the appropriate values from there instead of making a new one. I hope this helps!

Do you delete the old motor6D?

This worked, thank you so much

1 Like