Can anyone give me some examples on this?

I want to make character look at a mouse cursor, but i need some examples on how to make it.

Here is the example of this:

I have tried doing it like this, but it doesnt really work.

local mousePos = mouse.Hit.Position
local mouseTarget = mouse.Target
		
local RootPart = Char:WaitForChild("HumanoidRootPart")
			
RootPart.Rotation = Vector3.new(0,mouse.Y,0)

This should probably help you with ur accomplishment.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.