I have a block with 3 scripts in it, labeled A, AA, and AAA I'm trying to program AA so it will not work while A is active, so it's Debounce script will not fire while A is still active
A = script.Parent.A
AA = script
AAA = script.Parent.AAA
local debounce = false --Creates a bool value named debounce
AA.Disabled = false
A.Disabled = false
script.Parent.TopSurface = "Studs"
script.Parent.Touched:connect(function(part)
if not debounce then --Only runs if debounce is equal to false
if A.Disabled = true
debounce = true --Makes debounce true
What should I do?
