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

Trying to input a group id through the textbox and it shows the group info and ect please help me?

Asked by 8 years ago
Edited 8 years ago

I am trying basically input a group id through the textbox and it shows group info on the text label if it is possible showing the leader would be nice too on the right u input the userid and it shows user information and it shows their rank in the group on the left, I want it to be shown on the Brick Gui Textbox don't tell me how to display that I know I want it to be displayed on a textbox like on this: https://gyazo.com/110a91bea2048ba2f6c4c447a3574054

https://gyazo.com/68f03807f55b42441c972284cd0e8d24

local groupId = 123
print(game.Players.Vecaxo:GetRankInGroup(groupId)) -- Outputs the name of the rank.
   -- 255 is the number of the highest role set in group terms. It's the
  --  owner basically.
--   Guests are 0.
if game.Players.Vecaxo:GetRoleInGroup(groupId) < 255 then
    print('vecaxo is not the owner of the group 123')
end

Please tell me why this script doesn't print it on the textbox

2 answers

Log in to vote
0
Answered by
GShocked 150
8 years ago

I'm not familiar with built in group functions to Rbx.Lua, such as :GetRoleInGroup() as you mentioned, but I do know Roblox has provided useful web APIs for some of these things.

http://wiki.roblox.com/index.php/Web_APIs#Group_APIs

Although you would need a proxy because you can't use HttpService to directly access Roblox.com. https://rprxy.xyz/ might be of use as a proxy, but I've not used it myself so I wouldn't know for sure.

Ad
Log in to vote
0
Answered by 8 years ago

Didn't understand a thing, I asked for a script corrections or tutorials.

Answer this question