Open in the app to sign in, vote and reply

Help · Done

How do I change roles needed for commands?

· · 4 votes · 3 comments · from in-game · marked done by Team on 2026-10-18

I haven't found a way to move internal commands from role to role. For Example, changing the role required to fly to Owner so only Owner can use it.

Solved by Team · See the solution

Comments

·

Settings - via your robloxstudio app. Open your game open hd admin and in cmds -> mod change fly rank id -> 7

Team · Solution

Hey! You can go ahead and go to HD Admin -> Config -> `Commands' -> Specific Rank (In this case I chose Admin.)

--!strict
local modules = script:FindFirstAncestor("HD Admin").Core.MainModule.Value.Modules
local Internal = require(modules.Internal)
return Internal.loadCommands({
	modules = {"AdminPack"},
	tag = script.Name,
	tagOrder = 3,
	exclude = {"fly"},
	onlyInclude = {},
	modify = {
	},
})

Which if you want this for a more specific scenario, please do let us know! (You can also modify some aspects of commands via modify.)

Team · · in reply to MUSTAFu14

This is the solution from the v1 version of HD Admin, whilst I do think it's correct I do believe this required you to modify the MainModule which is a bit of a can of worms.