Make a parts rotation and direction follow the mouse

Hello!

How would I go about making a part face and rotate, based on where the player’s mouse is? as if a mountable mini gun where it would follow the mouse

3 Likes
Part.CFrame = CFrame.new(Part.Position, Mouse.Hit.Position)

hope this helps out

3 Likes