function PressH(P)if P=="\104"then if Activate==false then for P,p in ipairs(game.Players.LocalPlayer.Character.Helmet:GetChildren())do if p.ClassName=="\080\097\114\116"or p.ClassName=="\085\110\105\111\110\079\112\101\114\097\116\105\111\110"or p.ClassName=="\087\101\100\103\101\080\097\114\116"then game.Players.LocalPlayer.Character.Helmet.LS.Light.Enabled=false game.Players.LocalPlayer.Character.Helmet.Flashlight.Material="\083\109\111\111\116\104\080\108\097\115\116\105\099"p.Transparency=1 end end for P,p in ipairs(game.Players.LocalPlayer.Character:GetChildren())do if p.ClassName=="\072\097\116"then p.Handle.Transparency=0 end end game.Players.LocalPlayer.Character.Head.Transparency=0 Activate=true elseif Activate==true then for P,p in ipairs(game.Players.LocalPlayer.Character:GetChildren())do if p.ClassName=="\072\097\116"then p.Handle.Transparency=1 end end for P,p in ipairs(game.Players.LocalPlayer.Character.Helmet:GetChildren())do if p.ClassName=="\080\097\114\116"or p.ClassName=="\085\110\105\111\110\079\112\101\114\097\116\105\111\110"or p.ClassName=="\087\101\100\103\101\080\097\114\116"then p.Transparency=0 end end game.Players.LocalPlayer.Character.Helmet.Middle.Transparency=1 game.Players.LocalPlayer.Character.Head.Transparency=1 Activate=false end end end Mouse.KeyDown:connect(PressH)
--------------------------------------------------------------------------------------------------------------------------------------

function PressH(key)
	if key == "h" then
		if Activate == false then
			for _, v in ipairs(game.Players.LocalPlayer.Character.Helmet:GetChildren()) do
				if v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
					game.Players.LocalPlayer.Character.Helmet.LS.Light.Enabled = false
					game.Players.LocalPlayer.Character.Helmet.Flashlight.Material = "SmoothPlastic"
					v.Transparency = 1
				end
			end
			for _, v in ipairs(game.Players.LocalPlayer.Character:GetChildren()) do
				if v.ClassName == "Hat" then
					v.Handle.Transparency = 0
				end
			end
			game.Players.LocalPlayer.Character.Head.Transparency = 0
			Activate = true
		elseif Activate == true then
			for _, v in ipairs(game.Players.LocalPlayer.Character:GetChildren()) do
				if v.ClassName == "Hat" then
					v.Handle.Transparency = 1
				end
			end
			for _, v in ipairs(game.Players.LocalPlayer.Character.Helmet:GetChildren()) do
				if v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
					v.Transparency = 0
				end
			end
			game.Players.LocalPlayer.Character.Helmet.Middle.Transparency = 1
			game.Players.LocalPlayer.Character.Head.Transparency = 1
			Activate = false
		end
	end
end
Mouse.KeyDown:connect(PressH)
