Open in the app to sign in, vote and reply

Help · Done

How to assign roles via Roblox Studio?

· · 2 votes · 9 comments · marked done by on 2026-10-09

Well.. the title is pretty self explanatory, lol :P

I'm currently trying to setup V2, and i can't seem to find where i can connect my group, or where to put usernames/ IDs for the roles. :,)

Also while i'm at it.... what's the "giveToUsers" for in the Owner roles script?
I tried to put my username is there... but that didn't work, little bit of a stupid moment, lol.

Solved by Team · See the solution

Comments

Team ·

Oh hey! I just want to quickly mention that you need to copy an individual UserID from somebody's profile.
Which you can do by navigating over on the Roblox website, and copying over a specific userID.
Which you can also go ahead and convert somebody's username into a UserID using the API but I think copying it from the website is just easier. :')

image.png

· · in reply to Mavreis

Haii, thank you for your reply! :)

Where can I put in the UserID so the user receives the roles?
Is there a way to do this inside of Roblox Studio? (Assigning roles inside of Roblox Studio)

(Hopefully this makes sense :P)

Team · · in reply to Tice3DSolution

Yup it does very much make sense no worries! Was taking a look at some other posts.
Which I am unsure if the issue with Owner not being able to be individually ranked has been fixed, however I believe something like this should work.
Remember to paste in your desired UserID instead of number, please reach back out if there's any more issues!

image.png

· · in reply to Mavreis

Thank you so much, I will try this ASAP!! :D

· · in reply to Mavreis

Haii 1 last question (i think lol :p)

Am i able to do this for other roles aswell? Do i just put this part inside the scripts of the roles? :)

Team · · in reply to Tice3D

Yes, you can!! :')

· · in reply to Mavreis

Totally forgot to say i figured it out :,D
But tysm for your help!! Much appreciated!

· · in reply to Mavreis

This doesnt work for me , could it be because i wasnt the one who added it and the fact that it is a group game?

Team · · in reply to UtdJayTester

It's because you use the Group Name and not the Group ID yes.