I'm making it so when the mouse moves move the Character watch it.
It works fine but it keep jumping
I tried this :
local player = game.Players.LocalPlayer
local character = player.Character
local head = character.Head
local Joint0 = Instance.new("Attachment",head)
local Joint1 = Instance.new("Attachment",character.HumanoidRootPart)
local Hinge = Instance.new("HingeConstraint",head)
Hinge.Attachment0 = Joint0
Hinge.Attachment1 = Joint1
local bodyGyro = head
local mouse = player:GetMouse()
game:GetService("RunService").RenderStepped:Connect(function()
bodyGyro.CFrame = CFrame.new(head.Position, Vector3.new(0,-mouse.hit.p.Y,-mouse.hit.p.Z))
end)
Sorry for my bad english
