How do I change roles needed for commands?
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.
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.
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.)
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.
@MUSTAFu14 ·
Settings - via your robloxstudio app. Open your game open hd admin and in cmds -> mod change fly rank id -> 7