local ToastQueue = {} function ToastQueue.New(label) local queue = {} local active = false label.Visible = false local function worker() while label.Parent and #queue > 0 do label.Text = table.remove(queue, 1) label.Visible = true task.wait(2) end if label.Parent then label.Visible = false end active = false end local function push(message) if typeof(message) ~= "string" or not label.Parent or #queue >= 8 then return false end table.insert(queue, message) if not active then active = true; task.spawn(worker) end return true end return {Push = push} end return ToastQueue