Is it possible to distribute group funds to a player from a roblox game using Noblox.js?

The title says everything. I don’t know almost anything of JavaScript, but I think Noblox.js is like a JavaScript module to manage roblox stuff using the .ROBLOSECURITY cookie. Is this even possible?

Taking into consideration this isnt the right channel, one look at the documentation tells me this

const noblox = require('noblox.js');

async function distributeGroupFunds(groupId, playerUserId, amount) {
  await noblox.setCookie('.ROBLOSECURITY=your_roblox_cookie');

  try {
    await noblox.groupPayout(groupId, playerUserId, amount);
    console.log(`Successfully distributed ${amount} Robux to player ${playerUserId}.`);
  } catch (error) {
    console.error('Failed to distribute group funds:', error);
  }
}

distributeGroupFunds(groupId, playerUserId, amount);
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.