local V=workspace.Camera local K=game.Players.LocalPlayer repeat wait()until K.Character local q=K.Character local I=q:WaitForChild("\072\117\109\097\110\111\105\100");(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped:Connect(function()local K,y,S=V.CFrame:ToOrientation()y=math.rad(math.clamp(math.deg(y),-60,60))if I.Sit==true then V.CFrame=V.CFrame:Lerp((CFrame.new(q.PrimaryPart.Position)*CFrame.Angles(0,y,0))*CFrame.Angles(K,0,S),.3)end end)
--

local camera = workspace.Camera

local player = game.Players.LocalPlayer
repeat wait() until player.Character
local character = player.Character
local humanoid = character:WaitForChild("Humanoid")

game:GetService("RunService").RenderStepped:Connect(function()
	local rx, ry, rz = camera.CFrame:ToOrientation()
	ry = math.rad( math.clamp(math.deg(ry), -60, 60) )

	if humanoid.Sit == true then
		camera.CFrame = camera.CFrame:Lerp(CFrame.new(character.PrimaryPart.Position) *
			CFrame.Angles(0, ry, 0) * CFrame.Angles(rx, 0, rz), 0.3) -- limited Y rotation
	end
end)
