RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Create a script where the camera rotates with Player head"
-- local script local player = game.Players.LocalPlayer local camera = workspace.CurrentCamera player.CharacterAdded:Connect(function(character) character.Humanoid.Died:Connect(function() camera.CameraType = Enum.CameraType.Follow end) end) player.Character.Humanoid.Changed:Connect(function(property) if property == "Sit" then if player.Character.Humanoid.Sit then camera.CameraType = Enum.CameraType.Track camera.CameraSubject = player.Character.Head else camera.CameraType = Enum.CameraType.Follow end end end)