BattleRoyale Outcome

API -

function yourEvent(winner, earnings)
     log('the winner is: ' .. winner.displayName);
     log('earnings: ' .. earnings); --earnings does not include lootbox
end

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

Events are asynchronous coroutines.

Last updated