Use this code for the OnScheduleTick function:
If you want to post it on github privately you have to pay for it.
function OnScheduleTick(Time) for Idx, ScheduleTask in pairs(ScheduleTable) do ScheduleTable[Idx][3] = ScheduleTable[Idx][3] - 1 -- Countdown if ScheduleTask[3] < 1 then ScheduleTask[1](ScheduleTask[2]) ScheduleTable[Idx] = nil end end end
If you want to post it on github privately you have to pay for it.