local n=game:GetService("\080\108\097\121\101\114\115")local T=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")n.PlayerAdded:Connect(function(n)n.CharacterAdded:wait()T.InputBegan:Connect(function(T)if T.KeyCode==Enum.KeyCode.F then n.CameraMode=Enum.CameraMode.Classic elseif T.KeyCode==Enum.KeyCode.Z then n.CameraMode=Enum.CameraMode.LockFirstPerson end end)end)

local playerService = game:GetService("Players")

local i = game:GetService("UserInputService")

playerService.PlayerAdded:Connect(function (plr)
	plr.CharacterAdded:wait()
	i.InputBegan:Connect(function(a)
		if a.KeyCode == Enum.KeyCode.F then
			plr.CameraMode = Enum.CameraMode.Classic
		elseif a.KeyCode == Enum.KeyCode.Z then
			plr.CameraMode = Enum.CameraMode.LockFirstPerson
		end
	end)
end)
