Open in the app to sign in, vote and reply

Help · Done

Hi I don’t know how to configure roles in studio

· · 2 votes · 2 comments · marked done by on 2026-11-14

As the title says please can I have help because I do not understand

Solved by Team · See the solution

Comments

Team · Solution

Hey! Generally roles are added via the different modules you can see in the workspace. You can see all the different attributes in the defaultRole visible in Roblox Studio. (HD Admin -> Core -> Modules -> References -> defaultRole) As there is no current documentation on the way roles are created, I will use that reference as an example for this. Which do note that these are ALL of the available attributes, you don't need to input all of them. Which here's an example Co-Owner role I made as an example:

return {

	-- About
	key = "coowner",
	name = "Co-Owner",
	rank = 6,
	
	-- Display
	color = Color3.fromRGB(255, 164, 6),

	-- Give To
	giveToProducts = {},

	-- Commands
	inheritCommandsWithTags = {"Owner"},
	inheritCommandsFromJuniorRoles = true,

	-- Command Permissions
	permitAll = true,

	-- View Permissions
	mayViewAll = true,

	-- Edit Permissions
	mayEditRoles = true,
	mayEditTasks = true,
	mayEditSettingsYou = true,
	mayEditSettingsGame = true,

	-- Role Permissions
	mayPreviewRoles = true,

	-- Prompt
	promptAll = true,

}

I will also put where you need to put the initial role and how it looks ingame.

image.png
image.png

Additional comment: I reference the MainModule, however kindly ask to not modify it without explicitly stated permission.
Hope this helps!! :')

· · in reply to Mavreis

This helps thanks !