camera follow head IN TEST
Key RequiredUniversal

camera follow head IN TEST

Universal ScriptTWgambleTWgamble 2.1K views 94 executesUpdated Jul 13, 2025
Unrated
00
Lua Script•19 lines (631 chars)
-- Camera Lock to Head Movement
-- Put this in a LocalScript (StarterPlayerScripts)

local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
local runService = game:GetService("RunService")

local function updateCamera()
    local character = player.Character
    if not character or not character:FindFirstChild("Head") then return end

    local head = character.Head

    -- Position camera at the head + slight offset
    camera.CFrame = CFrame.new(head.Position) * CFrame.Angles(head.Rotation.X, head.Rotation.Y, head.Rotation.Z)
end

-- Update every frame
runService.RenderStepped:Connect(updateCamera)

Features & Information

im gonna test it to make sure it work

Community Comments (3)

GuyWhoScriptsGuyWhoScriptsJul 13, 2025

uhh why is this chatgpt?

zxcvzxcvJul 13, 2025

@godspeedgtag62 im chatgpt

ewewewe11111ewewewe11111Jan 18, 2026

+ epilepsy😭🥀

More Scripts for Universal Scripts