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


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)

