--------------------------------------------------------------------------------------------------------------------------------------

function PressL(key)				
	if (key== "l") then
if (Activate==false) then
game.Players.LocalPlayer.Character.Helm.LS.Light.Enabled=true
game.Players.LocalPlayer.Character.Helm.Flashlight.Material = "Neon"
game.Players.LocalPlayer.Character.Helm.Flashlight.BrickColor = BrickColor.new("Brick yellow")
Activate = true
elseif (Activate==true) then
	
game.Players.LocalPlayer.Character.Helm.LS.Light.Enabled=false	
game.Players.LocalPlayer.Character.Helm.Flashlight.Material = "SmoothPlastic"
game.Players.LocalPlayer.Character.Helm.Flashlight.BrickColor = BrickColor.new("Black")
	Activate=false
		end
	end
end
Mouse.KeyDown:connect(PressL)