local F=game.Players.LocalPlayer:GetMouse()function Light()player=game.Players.LocalPlayer playerChar=player.Character playerLight=playerChar.Torso:FindFirstChild("\076\105\103\104\116")if playerLight then playerLight:Destroy()else light=Instance.new("\083\117\114\102\097\099\101\076\105\103\104\116",playerChar:FindFirstChild("\084\111\114\115\111"))light.Name="\076\105\103\104\116"light.Range=180 light.Brightness=60 light.Shadows=true end end F.KeyDown:connect(function(F)F=F:lower()if F=="\102"then Light()end end)
--This is my first time scripting something! :D
--It's good for horror games too!

local mouse = game.Players.LocalPlayer:GetMouse()
function Light()
	player = game.Players.LocalPlayer
	playerChar = player.Character
	playerLight = playerChar.Torso:FindFirstChild("Light")
	if playerLight then
		playerLight:Destroy()
	else
		light = Instance.new("SurfaceLight", playerChar:FindFirstChild("Torso"))
		light.Name = "Light"
		light.Range = 180 -- Change to distance ofthe Light.
		light.Brightness = 60 -- Change to how much.
		light.Shadows = true -- Change it to True/False.
	end
end
mouse.KeyDown:connect(function(key)
	key = key:lower()
	if key == "f" then -- Change this to any Keys but I reccomand leaving it as [F] key.
		Light()
	end
end)
