I'm trying to make it so the character's upper torso follows the player's mouse and I've gotten the angle but I just don't know how to rotate the upper torso without rotating the lower one.

Here's the code

local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local Character = script.Parent

Mouse.Move:Connect(function()
	local Angle = math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y)
	-- Rotate the torso here
end)

4 comments

0

Ah yeah, Post your code first

0

Are you rotating it by a script or by your self?

0

I just don't know how to rotate it without rotating the lower torso because of the attachment.

0

Actually I think it's because of the Motor6D