Get role name from role id? This possible?

Hello developers,

I am trying to make a script that sends an embed to discord and logs when someone is ranked. The problem is that I am only sending the role id and not the role name. I was wondering if there was any way to get the role name from the role id using any type of function or anything at all?

Have a look at GroupService | Documentation - Roblox Creator Hub
Let me know if you need a hand using it.
The 2nd example at the bottom of the page will help you.

2 Likes

I think this should help you, the function returns a string of the name.