RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Realistic head turning."
-- local script local player = game:GetService("Players").LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local head = character:WaitForChild("Head") local humanoid = character:WaitForChild("Humanoid") local neck = head:WaitForChild("Neck") local function turnHead() local camera = workspace.CurrentCamera local lookVector = camera.CFrame.lookVector local angle = math.atan2(lookVector.X, lookVector.Z) neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(0, angle, 0) end while true do turnHead() wait() end