function PressH(G)if G=="\104"then if Activate==false then for G,E in ipairs(game.Players.LocalPlayer.Character.Helmet:GetChildren())do if E.ClassName=="\080\097\114\116"or E.ClassName=="\085\110\105\111\110\079\112\101\114\097\116\105\111\110"or E.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"E.Transparency=1 end end for G,E in ipairs(game.Players.LocalPlayer.Character:GetChildren())do if E.ClassName=="\072\097\116"then E.Handle.Transparency=0 end end game.Players.LocalPlayer.Character.Head.Transparency=0 Activate=true elseif Activate==true then for G,E in ipairs(game.Players.LocalPlayer.Character:GetChildren())do if E.ClassName=="\072\097\116"then E.Handle.Transparency=1 end end for G,E in ipairs(game.Players.LocalPlayer.Character.Helmet:GetChildren())do if E.ClassName=="\080\097\114\116"or E.ClassName=="\085\110\105\111\110\079\112\101\114\097\116\105\111\110"or E.ClassName=="\087\101\100\103\101\080\097\114\116"then E.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)