Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Display group funds in game?

Asked by 5 years ago

Hello, I was wondering if there is any way to display groups funds in my game?

2
Due to privacy of groups, I believe group funds can not be displayed. If this was available it could lead to groups being targeted so that users could claim the funds. Unless the function only worked in games created by the owner of the group. xXTouchOfFrostXx 125 — 5y

1 answer

Log in to vote
2
Answered by 5 years ago
Edited 5 years ago

Unfortunately, I don't think Roblox has a function that is intended to do that. That would just be a waste of time, because people can already go to your group page. So, I am not sure if it not possible or it is. It is most likely not though. Although, I know for a fact that you can display how many Robux get donate to you by people who play your game. I know this because I played games that show the amount of Robux donated. If you would like to search deeper and see for yourself, look at this api reference for GroupService here. Below are some functions you can do with groups.

Functions Instance
GetAlliesAsync ( int64 groupId ) [yields] Returns a StandardPages object including information on all of the specified group’s allies.

Instance
GetEnemiesAsync ( int64 groupId ) [yields] Returns a StandardPages object including information on all of the specified group’s enemies.

Variant
GetGroupInfoAsync ( int64 groupId ) [yields] Returns a table containing information about the given group.

Array
GetGroupsAsync ( int64 userId ) [yields] Returns a list of tables containing information on all of the groups a given player is a member of.

0
So would that just be a count on how many people bought a product? CrazyCorrs 98 — 5y
0
well, you can count how many people have purchased something OR you can take the robux from one product bought by X amount of people and multiply x by the amount of people to find the robux spent by all of the people in total. RetroGalacticGamer 331 — 5y
Ad

Answer this question