Open Masken8 opened 7 years ago
This feature exists in the base library roblox-js. If you know how to program you can just use it on your own server: https://github.com/sentanos/roblox-js/wiki/Group-Functions#grouppayout
As for this project, for now it is still an example and new functions will not be added, at least by me, in favor of people simply using roblox-js directly.
k
will this work
function groupPayout (opt) { var group = opt.group; var target = opt.target; var robux = opt.robux return rbx.groupPayout(group,target,robux) .then(function (robux) { if (robux < 1) { throw new Error('Robux amount needs to be 1 or more') } if rbx.getRankInGroup(group, target) === 0 { throw new Error('Target User ' + target + ' is not in group ' + group) } } }
@sentanos
Please add onetime group payout