#Why are debounces working together?

1 messages · Page 1 of 1 (latest)

meager jetty
#

The debounces are working together. How can i separate them? ```lua
for _, upgraders in upgradeFrame:GetChildren() do

local ConnectionUpgrader: RBXScriptConnection
if not upgraders:IsA("TextButton") then continue end
local levelValue, bar = upgraders.Level, upgraders.Bar

ConnectionUpgrader = upgraders.MouseButton1Click:Connect(function()

    if debounce == true then 

        return

    end

    debounce = true

--.....