wait(1)
local RightArm = game.Players.LocalPlayer.Character:WaitForChild("Right Arm")
local Torso = game.Players.LocalPlayer.Character:WaitForChild("Torso")
local Weld = Instance.new("Weld")
local Mouse = game.Players.LocalPlayer:GetMouse()
Weld.Part1 = Torso
Weld.Part0 = RightArm
Weld.C1 = Torso.CFrame:inverse()
game:GetService("RunService").RenderStepped:connect(function()
Weld.C0 = CFrame.new(RightArm.Position,Mouse.hit.p):inverse()
end)
What am I doing wrong in this? I know it would involve the Weld.C0 but I'm not sure how to go along with it. I have no errors popping up either. |