On Subscriber

API -

function yourEvent(user, cumulativeCount, tier)
    runEvent('Thanks for subbing ' .. user.displayName .. '! x' .. tier);
end

return function()
    addEvent('subscriber', 'yourEvent');
    keepAlive();
end

Events are asynchronous coroutines.

Last updated