function yourEvent(user, donationInfo)
log(user.displayName .. ' donated: ' .. donationInfo.amount_donated .. ' total: ' .. donationInfo.lifeTime_donated);
end
return function()
log('starting up func')
addEvent('platformDonation', 'yourEvent'); -- attaches the event to yourEvent()
keepAlive();
end