I have a button that stops what all of the other buttons can turn on so it basically turns everything off:

local bb = game.Workspace.BrightBlue.Beam
local dr = game.Workspace.DustyRose.Beam
local b = game.Workspace.Blue.Beam
local hp = game.Workspace.Hotpink.Beam
local bl = game.Workspace.Black.Beam
local r = game.Workspace.Red.Beam
local pu = game.Workspace.Purple.Beam
local ye = game.Workspace.Yellow.Beam
local ora = game.Workspace.Orange.Beam
local to = game.Workspace.Toothpaste.Beam
local bbp = game.Workspace.BrightBlue.Beam.PointLight
local drp = game.Workspace.DustyRose.Beam.PointLight
local bp = game.Workspace.Blue.Beam.PointLight
local hpp = game.Workspace.Hotpink.Beam.PointLight
local blp = game.Workspace.Black.Beam.PointLight
local rp = game.Workspace.Red.Beam.PointLight
local pup = game.Workspace.Purple.Beam.PointLight
local yep = game.Workspace.Yellow.Beam.PointLight
local orap = game.Workspace.Orange.Beam.PointLight
local top = game.Workspace.Toothpaste.Beam.PointLight
local bbs = game.Workspace.BrightBlue.Beam.Script
local drs = game.Workspace.DustyRose.Beam.Script
local bs = game.Workspace.Blue.Beam.Script
local hps = game.Workspace.Hotpink.Beam.Script
local bls = game.Workspace.Black.Beam.Script
local rs = game.Workspace.Red.Beam.Script
local pus = game.Workspace.Purple.Beam.Script
local yes = game.Workspace.Yellow.Beam.Script
local oras = game.Workspace.Orange.Beam.Script
local tos = game.Workspace.Toothpaste.Beam.Script

function onClicked()
	wait()
	bb.Transparency = 1
	dr.Transparency = 1
	b.Transparency = 1
	hp.Transparency = 1
	bl.Transparency = 1
	r.Transparency = 1
	pu.Transparency = 1
	ye.Transparency = 1
	ora.Transparency = 1
	to.Transparency = 1
	wait(.1)
	bbp.Brightness = 0
	bbp.Range = 0
	drp.Brightness = 0
	drp.Range = 0
	bp.Brightness = 0
	bp.Range = 0
	hpp.Brightness = 0
	hpp.Range = 0
	blp.Brightness = 0
	blp.Range = 0
	rp.Brightness = 0
	rp.Range = 0
	pup.Brightness = 0
	pup.Range = 0
	yep.Brightness = 0
	yep.Range = 0
	orap.Brightness = 0
	orap.Range = 0
	top.Brightness = 0
	top.Range = 0
	wait(.1)
	bbs.Disabled = true
	drs.Disabled = true
	bs.Disabled = true
	hps.Disabled = true
	bls.Disabled = true
	rs.Disabled = true
	pus.Disabled = true
	yes.Disabled = true
	oras.Disabled = true
	toss.Disabled = true
		
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

but when I start it up again one of the on buttons work but the other one doesnt work after I press the off button (whats in the one that doesnt work):

local bbs = game.Workspace.BrightBlue.Beam.Script
local drs = game.Workspace.DustyRose.Beam.Script
local bs = game.Workspace.Blue.Beam.Script
local hps = game.Workspace.Hotpink.Beam.Script
local bls = game.Workspace.Black.Beam.Script
local rs = game.Workspace.Red.Beam.Script
local pus = game.Workspace.Purple.Beam.Script
local yes = game.Workspace.Yellow.Beam.Script
local oras = game.Workspace.Orange.Beam.Script
local tos = game.Workspace.Toothpaste.Beam.Script

function onClicked()
bbs.Disabled = false
drs.Disabled = false
bs.Disabled = false
hps.Disabled = false
bls.Disabled = false
rs.Disabled = false
pus.Disabled = false
yes.Disabled = false
oras.Disabled = false
toss.Disabled = false
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

Any help please?