function PressL(n)if n=="\108"then if Activate==false then game.Players.LocalPlayer.Character.Helmet.LS.Light.Enabled=true game.Players.LocalPlayer.Character.Helmet.Flashlight.Material="\078\101\111\110"game.Players.LocalPlayer.Character.Helmet.Flashlight.BrickColor=BrickColor.new("\066\114\105\099\107 \121\101\108\108\111\119")Activate=true elseif Activate==true 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"game.Players.LocalPlayer.Character.Helmet.Flashlight.BrickColor=BrickColor.new("\066\108\097\099\107")Activate=false end end end Mouse.KeyDown:connect(PressL)
--------------------------------------------------------------------------------------------------------------------------------------
function PressL(key)
	if key == "l" then
		if Activate == false then
			game.Players.LocalPlayer.Character.Helmet.LS.Light.Enabled = true
			game.Players.LocalPlayer.Character.Helmet.Flashlight.Material = "Neon"
			game.Players.LocalPlayer.Character.Helmet.Flashlight.BrickColor = BrickColor.new("Brick yellow")
			Activate = true
		elseif Activate == true then
			game.Players.LocalPlayer.Character.Helmet.LS.Light.Enabled = false
			game.Players.LocalPlayer.Character.Helmet.Flashlight.Material = "SmoothPlastic"
			game.Players.LocalPlayer.Character.Helmet.Flashlight.BrickColor = BrickColor.new("Black")
			Activate = false
		end
	end
end
Mouse.KeyDown:connect(PressL)
