I made a LocalScript which moves the players arm and a Remote Event which should make the arm move to other players too. But I don't know how to move it for other players. The LocalScript moves the Motor6D (Shoulder) via CFrame.
Server script:
1 | game.ReplicatedStorage.ArmMovement.OnServerEvent:Connect( function (player) |
2 |
3 | --Here is the problem. What script do I have to use to move the arm? |
4 |
5 | end ) |
I tried adding
1 | Shoulder.C 0 = Shoulder.C 0 * * CFrame.Angles(math.rad(- 90 ), 0 , 0 ) |
but it didn't work.
maybe change it to
1 | Shoulder.C 0 = Shoulder.C 0 * CFrame.Angles(math.rad(- 90 ), 0 , 0 ) |