Hello, i need help with motor6D

--Problem - I wanted to make player's arm looks at Y property of mouse


mouse = game.Players.LocalPlayer:GetMouse() -- that script is located in starterGui
motor = workspace.Dummy.Torso:WaitForChild("Left Shoulder")


mouse.Move:Connect(function()
	motor.C0 = motor.C0 * CFrame.Angles(0,0,mouse.Y)
	
end)

Video https://youtu.be/DPN0sSjJUuY

12 comments

0

dose it have hinge?

0

@helleric No it does not and what hinge does do? (sorry for my bad english)

0

it is OK and let me try out the script

0

also it that the full script?

0

yeah thats full script helleric

0

ok i think i know

0

try getting rid of Torso

0

The Y axis of the mouse is the Z axis of the CFrame?

0

yep

0

helleric JointInstance is Not Creatable

0

incapaz idk when i set it at Y axis then it rotates in X axis if i set X axis then it rotates in y axes