

Returns the corresponding rankId from the given rankName. Example: local rankName = hd:GetRankName(1) hd:GetRankId(rankName) Returns the corresponding rankName from the given rankId. Hides and disables the HD Topbar when set to false. Example: hd:SetTopbarTransparency(0.5) hd:SetTopbarEnabled(boolean) Example: hd:DisableCommands(player, true) Example: local rankId, rankName, rankType = hd:GetRank(player) hd:DisableCommands(player, boolean)ĭisables the ability to use commands for the specified player when set to true. Returns the rankId, rankName and rankType for the specified player. Example: hd:UnRank(player) hd:GetRank(player) Sets the Rank to 0 (NonAdmin) and clears the RankType for the specified player.

Example: hd:SetRank(player, "Mod", "Perm") hd:UnRank(player) Sets the Rank and RankType for the specified player. Methods Server hd:SetRank(player, rank, rankType) "Temp" - for the server the rank is given in until the player leaves."Server" - for the server the rank is given in until the server ends."Perm" - for all servers for an infinite period of time.rankType - determines the duration the player keeps their rank for:.local player = game:GetService("Players").ForeverHD) Local hd = hdMain: GetModule( "API ") Key Parameters

Local hdMain = require(game: GetService( "ReplicatedStorage "): WaitForChild( "HDAdminSetup ")): GetMain()
