Basically, everytime you click it updates where your left arm is pointing.
This depends on where you click. Aka.
You click somewhere and your left arm facing towards it.
But, it faces the wrong direction.
local m = game.Players.LocalPlayer:GetMouse()
local debounce = false
m.Button1Down:connect(function(k)
script.Parent["Left Arm"].Orientation = m.Hit.Position
end)
--top of script--
local originalOffset = shoulder.C0
-----------------
--put this in the event--
local look = CFrame.new(shoulder.Part0.Position,mouse.Hit.p)
shoulder.C0 = shoulder.Part0.
CFrame:Inverse() * look * originalOffset
-------------------------
This should work but I didnt test it, so I guess put any problems if you need help with them