-- light script


local clicks = 0

script.Parent.ClickDetector.MouseClick:Connect(function(clicked)
	if clicked then
		clicks = clicks + 1
		if clicks == 1 then
			script.Parent.Light.PointLight.Enabled = true
			elseif clicks == 2 then
			script.Parent.Light.PointLight.Enabled = false
			clicks = clicks - 2
		end
	end
end)

