Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

admin wont heckin load? [closed]

Asked by 3 years ago
Edited 3 years ago

i cant seem to get hd admin to work. i dont think its loading right. anyways heres the script "settings"

--[[

--------------| ABOUT RANKS |--------------

RANK    | DEFAULT NAME  | COMMANDS  | EXTRA DETAILS
-------------------------------------------------------------------------------------------------------------------
5       | Owner         | All       | Is automtically set. The Owner has full access to commands and features.
-------------------------------------------------------------------------------------------------------------------
4       | HeadAdmin     | 1,2,3,4   | 
3       | Admin         | 1,2,3     | 
2       | Mod           | 1,2       | Can only use commands on one person at a time. 
1       | VIP           | 1         | Can only use commands on theirself.
-------------------------------------------------------------------------------------------------------------------
0       | NonAdmin      | 0         | The default rank. Players are limited to basic features.




--------------| SETUP RANKS |--------------                                                                                                                          ]] return{

-- RANK, RANK NAMES & SPECIFIC USERS
Ranks = {
    {5, "Owner",        };
    {4, "HeadAdmin",    {"",4}, };
    {3, "Admin",        {"",5}, };
    {2, "Mod",      {"",4}, };
    {1, "VIP",      {"",0}, };
    {0, "NonAdmin", };
};



-- GAMEPASSES
Gamepasses = {
    [011878265 = "Admin";
};
    [11878051] = "VIP";
};
    [11869467] = "VIP";
};
    [12234785] = "HeadAdmin";
};
    [11878471] = "HeadAdmin";
};
    [0] = "HeadAdmin";
};
    [11869571] = "Owner";
};
-- ASSETS
Assets = {
    [0] = "VIP";
};


-- GROUPS
Groups = {
    [0] = {
        [0] = "Admin";
        [0] = "VIP";
        };
};


-- FRIENDS
Friends = "NonAdmin";


-- VIP SERVER OWNER
VipServerOwner = "HeadAdmin";


-- FREE ADMIN
FreeAdmin = "NonAdmin";








--------------| BANLAND |--------------
Banned = {"",0};








--------------| SYSTEM SETTINGS |--------------
Prefix              = ";";          -- The character you use before every command (e.g. ';jump me').
SplitKey            = " ";          -- The character inbetween command arguments (e.g. setting it to '/' would change ';jump me' to ';jump/me').
BatchKey            = "";           -- The character inbetween batch commands (e.g. setting it to '|' would change ';jump me ;fire me ;smoke me' to ';jump me | ;fire me | ;smoke me'
QualifierBatchKey   = ",";          -- The character used to split up qualifiers (e.g. ;jump player1,player2,player3)

Theme               = "Blue";       -- The default UI theme.
NoticeSoundId       = 2865227271;   -- The SoundId for notices.
NoticeVolume        = 0.1;          -- The Volume for notices.
NoticePitch         = 1;            -- The Pitch/PlaybackSpeed for notices.
ErrorSoundId        = 2865228021;   -- The SoundId for error notifications.
ErrorVolume         = 0.1;          -- The Volume for error notifications.
ErrorPitch          = 1;            -- The Pitch/PlaybackSpeed for error notifications.
AlertSoundId        = 3140355872;   -- The SoundId for alerts.
AlertVolume         = 0.5;          -- The Volume for alerts.
AlertPitch          = 1;            -- The Pitch/PlaybackSpeed for alerts.

WelcomeBadgeId      = 0;            -- Award new players a badge, such as 'Welcome to the game!'. Set to 0 for no badge.

CommandDebounce     = true;         -- Wait until the command effect is over to use again. Helps to limit abuse & lag. Set to 'false' to disable.
SaveRank            = true;         -- Saves a player's rank in the server they received it. (e.g. ;rank plrName rank). Use ';permRank plrName rank' to permanently save a rank. Set to 'false' to disable.
LoopCommands        = 3;            -- The minimum rank required to use LoopCommands.
MusicList           = {505757009,}; -- Songs which automatically appear in a user's radio. Type '!radio' to display the radio.

ThemeColors = {                     -- The colours players can set their HD Admin UI (in the 'Settings' menu). | Format: {ThemeName, ThemeColor3Value};
    {"Red",     Color3.fromRGB(150, 0, 0),      };
    {"Orange",  Color3.fromRGB(150, 75, 0),     };
    {"Brown",   Color3.fromRGB(120, 80, 30),    };
    {"Yellow",  Color3.fromRGB(130, 120, 0),    };
    {"Green",   Color3.fromRGB(0, 120, 0),      };
    {"Blue",    Color3.fromRGB(0, 100, 150),    };
    {"Purple",  Color3.fromRGB(100, 0, 150),    };
    {"Pink",    Color3.fromRGB(150, 0, 100),    };
    {"Black",   Color3.fromRGB(60, 60, 60),     };
};

Colors = {                          -- The colours for ChatColors and command arguments. | Format: {"ShortName", "FullName", Color3Value};
    {"r",       "Red",              Color3.fromRGB(255, 0, 0)       };
    {"o",       "Orange",           Color3.fromRGB(250, 100, 0)     };
    {"y",       "Yellow",           Color3.fromRGB(255, 255, 0)     };
    {"g",       "Green" ,           Color3.fromRGB(0, 255, 0)       };
    {"dg",      "DarkGreen" ,       Color3.fromRGB(0, 125, 0)       };
    {"b",       "Blue",             Color3.fromRGB(0, 255, 255)     };
    {"db",      "DarkBlue",         Color3.fromRGB(0, 50, 255)      };
    {"p",       "Purple",           Color3.fromRGB(150, 0, 255)     };
    {"pk",      "Pink",             Color3.fromRGB(255, 85, 185)    };
    {"bk",      "Black",            Color3.fromRGB(0, 0, 0)         };
    {"w",       "White",            Color3.fromRGB(255, 255, 255)   };
};
ChatColors = {                      -- The colour a player's chat will appear depending on their rank. '["Owner"] = "Yellow";' makes the owner's chat yellow.
    [5]         = "Yellow";
};

Cmdbar                      = 1;            -- The minimum rank required to use the Cmdbar.
Cmdbar2                     = 3;            -- The minimum rank required to use the Cmdbar2.
ViewBanland                 = 3;            -- The minimum rank required to view the banland.
OnlyShowUsableCommands      = false;        -- Only display commands equal to or below the user's rank on the Commands page.
RankRequiredToViewPage      = {             -- || The pages on the main menu ||
    ["Commands"]        = 0;
    ["Admin"]           = 0;
    ["Settings"]        = 0;
};
RankRequiredToViewRank      = {             -- || The rank categories on the 'Ranks' subPage under Admin ||
    ["Owner"]           = 0;
    ["HeadAdmin"]       = 0;
    ["Admin"]           = 0;
    ["Mod"]             = 0;
    ["VIP"]             = 0;
};
RankRequiredToViewRankType  = {             -- || The collection of loader-rank-rewarders on the 'Ranks' subPage under Admin ||
    ["Owner"]           = 0;
    ["SpecificUsers"]   = 5;
    ["Gamepasses"]      = 0;
    ["Assets"]          = 0;
    ["Groups"]          = 0;
    ["Friends"]         = 0;
    ["FreeAdmin"]       = 0;
    ["VipServerOwner"]  = 0;
};
RankRequiredToViewIcon      = 0;

WelcomeRankNotice           = true;         -- The 'You're a [rankName]' notice that appears when you join the game. Set to false to disable.
WelcomeDonorNotice          = true;         -- The 'You're a Donor' notice that appears when you join the game. Set to false to disable.
WarnIncorrectPrefix         = true;         -- Warn the user if using the wrong prefix | "Invalid prefix! Try using [correctPrefix][commandName] instead!"
DisableAllNotices           = false;        -- Set to true to disable all HD Admin notices.

ScaleLimit                  = 4;            -- The maximum size players with a rank lower than 'IgnoreScaleLimit' can scale theirself. For example, players will be limited to ;size me 4 (if limit is 4) - any number above is blocked.
IgnoreScaleLimit            = 3;            -- Any ranks equal or above this value will ignore 'ScaleLimit'
CommandLimits               = {             -- Enables you to set limits for commands which have a number argument. Ranks equal to or higher than 'IgnoreLimit' will not be affected by Limit.
    ["fly"] = {
        Limit               = 10000;
        IgnoreLimit         = 3;
    };
    ["fly2"]    = {
        Limit               = 10000;
        IgnoreLimit         = 3;
    };
    ["noclip"]  = {
        Limit               = 10000;
        IgnoreLimit         = 3;
    };
    ["noclip2"] = {
        Limit               = 10000;
        IgnoreLimit         = 3;
    };
    ["speed"]   = {
        Limit               = 10000;
        IgnoreLimit         = 3;
    };
    ["jumpPower"]   = {
        Limit               = 10000;
        IgnoreLimit         = 3;
    };
};

VIPServerCommandBlacklist   = {"permRank", "permBan", "globalAnnouncement"};    -- Commands players are probihited from using in VIP Servers.
GearBlacklist               = {67798397};   -- The IDs of gear items to block when using the ;gear command.
IgnoreGearBlacklist         = 4;            -- The minimum rank required to ignore the gear blacklist.

PlayerDataStoreVersion      = "V1.0";       -- Data about the player (i.e. permRanks, custom settings, etc). Changing the Version name will reset all PlayerData.
SystemDataStoreVersion      = "V1.0";       -- Data about the game (i.e. the banland, universal message system, etc). Changing the Version name will reset all SystemData.

CoreNotices                 = {             -- Modify core notices. You can find a table of all CoreNotices under [MainModule > Client > SharedModules > CoreNotices]
    --NoticeName = NoticeDetails;
};




--------------| MODIFY COMMANDS |--------------
SetCommandRankByName = {
    --["jump"] = "VIP";
};  
    SetCommandRankByName = {
        --["Rank"] = "Owner";
};
    SetCommandRankByName = {
        --["permRank"] = "Owner";

    SetCommandRankByName = {
        --["Ban"] = "Owner";
};

    SetCommandRankByName = {
        --["tempBan"] = "Owner";
        };






};

"loader"

--[[
    This loads HD Admin into your game.

    Require the 'HD Admin MainModule' by the HD Admin group for automatic updates.

    You can view the HD Admin Main Module here:
    https://www.roblox.com/library/3239236979/HD

--]]

local loaderFolder = script.Parent.Parent
local mainModule = require(3239236979)
mainModule:Initialize(loaderFolder)
loaderFolder:Destroy()
0
if you need more info post a comment steel_apples 58 — 3y

Closed as Not Constructive by Optikk, OhManXDXD, and killerbrenden

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?