Mode=1 local k=Vector2.new()Camera=workspace.CurrentCamera Player=game.Players.LocalPlayer;(UserSettings()).GameSettings.Changed:Connect(function(k)print(k)if k=="\077\111\117\115\101\083\101\110\115\105\116\105\118\105\116\121"then Sensitivity=(UserSettings()).GameSettings.MouseSensitivity end end)function HidePlayer()if Player.Character then for k,f in ipairs(Player.Character:GetChildren())do if f:IsA("\066\097\115\101\080\097\114\116")then f.Transparency=1 if f.Name=="\072\101\097\100"then f.face.Transparency=1 end elseif f:IsA("\065\099\099\101\115\115\111\114\121")then f.Handle.Transparency=1 end end end end function ShowPlayer()if Player.Character then for k,f in ipairs(Player.Character:GetChildren())do if f:IsA("\066\097\115\101\080\097\114\116")and f.Name~="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116"then f.Transparency=0 if f.Name=="\072\101\097\100"then f.face.Transparency=0 end elseif f:IsA("\065\099\099\101\115\115\111\114\121")then f.Handle.Transparency=0 end end end end function CharacterRespawn()Player.CharacterAdded:Wait()local k=Player.Character repeat k=Player.Character if k then HRP=k:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")end until k;(k:WaitForChild("\072\117\109\097\110\111\105\100")).Died:Connect(function()Mode=1 end)end CharacterRespawn()
--[[   Modes
    1 - Normal
    2 - First Person
--]]
Mode = 1

local Look = Vector2.new()

Camera = workspace.CurrentCamera
Player = game.Players.LocalPlayer

UserSettings().GameSettings.Changed:Connect(function(ch)
	print(ch)
	if ch == "MouseSensitivity" then
		Sensitivity = UserSettings().GameSettings.MouseSensitivity
	end
end)

function HidePlayer()
	if Player.Character then
		for i, k in ipairs(Player.Character:GetChildren()) do
			if k:IsA("BasePart") then
				k.Transparency = 1
				if k.Name == "Head" then
					k.face.Transparency = 1
				end
			elseif k:IsA("Accessory") then
				k.Handle.Transparency = 1
			end
		end
	end
end

function ShowPlayer()
	if Player.Character then
		for i, k in ipairs(Player.Character:GetChildren()) do
			if k:IsA("BasePart") and k.Name ~= "HumanoidRootPart" then
				k.Transparency = 0
				if k.Name == "Head" then
					k.face.Transparency = 0
				end
			elseif k:IsA("Accessory") then
				k.Handle.Transparency = 0
			end
		end
	end
end

function CharacterRespawn()
	Player.CharacterAdded:Wait()
	local Character = Player.Character
	repeat
		Character = Player.Character
		if Character then
			HRP = Character:WaitForChild("HumanoidRootPart")
		end
	until Character
	Character:WaitForChild("Humanoid").Died:Connect(function()
		Mode = 1
	end)
end

CharacterRespawn()
