local z=game.Players.LocalPlayer:GetMouse()function Light()local z=game.Players.LocalPlayer local p=z.Character local u=p.Head:FindFirstChild("\076\105\103\104\116")if u then u:Destroy()else local z=Instance.new("\083\117\114\102\097\099\101\076\105\103\104\116",p:FindFirstChild("\072\101\097\100"))z.Name="\076\105\103\104\116"z.Range=60 z.Angle=50 z.Shadows=true z.Brigtness=3 end end z.KeyDown:connect(function(z)z=z:lower()if z=="\102"then script.FlashLightSound:Play()Light()end end)


local mouse = game.Players.LocalPlayer:GetMouse()

function Light()
	local player = game.Players.LocalPlayer
	local playerChar = player.Character
	local playerLight = playerChar.Head:FindFirstChild("Light")

	if playerLight then
		playerLight:Destroy()
	else
		local light = Instance.new("SurfaceLight",playerChar:FindFirstChild("Head"))
		light.Name = "Light"
		light.Range = 60 -- Change lighting range / Изменение диапозона освещения
		light.Angle = 50 -- Change lighting angle / Изменение угла освещения
		light.Shadows = true
		light.Brigtness = 3 -- Change lighting brigtness / Изменение яркости освещения
	end
end

mouse.KeyDown:connect(function(key)

	key = key:lower()
	if key == "f" then
		script.FlashLightSound:Play()
		Light()
	end
end)
