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

Mode = 1
local Look = Vector2.new()
Camera = workspace.CurrentCamera
Player = game.Players.LocalPlayer 

UserSettings().GameSettings.Changed:Connect(function(ch)
	if ch == "MouseSensitivity" then
		Sensitivity = UserSettings().GameSettings.MouseSensitivity/2
	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()
