local function L()local L=player.Character if L then humanoidRootPart=L:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116",true)if humanoidRootPart then local L=GetCameraRotation(humanoidRootPart)local c=humanoidRootPart.CFrame camera.CoordinateFrame=GetViewCFrame(c,L)camera.Focus=humanoidRootPart.CFrame end end end

local function onRenderStep()
	-- Check if the player's character exists and if that character'script
	-- HumanoidRootPart exists
	local character = player.Character
	if character then
		humanoidRootPart = character:FindFirstChild("HumanoidRootPart", true)
		if humanoidRootPart then
			-- Update the position of the camera
			local camRotation = GetCameraRotation(humanoidRootPart)
			local camPosition = humanoidRootPart.CFrame
			camera.CoordinateFrame = GetViewCFrame(camPosition, camRotation)
 
			-- Update the focus of the camera to follow the character
			camera.Focus = humanoidRootPart.CFrame
		end
	end
end -- onRenderStep()