local counter = 0 local function test(toBreak) While true do If toBreak == false then break end
counter = counter + 1 If counter >= 1 then break
Wait(1) end end BindableEvent. Event:Connect(test) ………………………………………….. counter changing to 1 will break the while loop. Sending toBreak = false via event will not . Does anyone understand why and how to fix this? Thank you .