Hi, I am trying to make a part face the mouse position but I only know how to make the Front face of the part face the mouse position but I am trying to make the Top face of the part face the mouse position instead.
local startPosition = Humrp.Position + Vector3.new(0, 10, 0)
local targetPosition = mousehit.Position
firespear.CFrame = CFrame.new(startPosition, targetPosition)
Just add * CFrame.Angles(0,0,0) at the end of the new CFrame and start adjusting the values until you get the proper result.
I think this one requires math.rad. From the looks of it you only need to mess with either 90 or -90 for math.rad just find the right slot to put it in.