So I have a localscript inside of a seat, and then when someone sits it moves it to the player's humanoid. I have a long function and an arguement for each direction the seat moves in, and I want the seat to rotate to look at the player's mouse when they click somewhere. Here is my code, I can't really figure out why it doesnt work. Everything else in the function is working fine, and the output shows no errors.
if input.UserInputType == Enum.UserInputType.MouseButton1 then bodygyro.CFrame = CFrame.new(seat.Position,mouse.hit.p) end