local M=0 script.Parent.ClickDetector.MouseClick:Connect(function(V)if V then M=M+1 if M==1 then script.Parent.Light.PointLight.Enabled=true elseif M==2 then script.Parent.Light.PointLight.Enabled=false M=M-2 end end end)
-- 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)
