4zx16

HD Admin Command Module

Apr 8th, 2023 (edited)
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.71 KB | Source Code | 0 0
  1. -- << RETRIEVE FRAMEWORK >>
  2. local main = _G.HDAdminMain
  3. local settings = main.settings
  4.  
  5.  
  6.  
  7. -- << COMMANDS >>
  8. local module = {
  9.  
  10.     -----------------------------------
  11.     {
  12.         Name = "headless";
  13.         Aliases = {"noHead"};
  14.         Prefixes = {settings.Prefix};
  15.         Rank = 1;
  16.         RankLock = false;
  17.         Loopable = false;
  18.         Description = "Gives the specified player(s) an invisible head.";
  19.         Contributors = {"4z"};
  20.         --
  21.         Args = {"Player"};
  22.         Function = function(speaker, args)
  23.             local speaker = args[1]
  24.             speaker.Character.Head.Transparency = 1
  25.             speaker.Character.Head.face.Transparency = 1
  26.         end;
  27.         UnFunction = function(speaker, args)
  28.             local speaker = args[1]
  29.             speaker.Character.Head.Transparency = 0
  30.             speaker.Character.Head.face.Transparency = 0
  31.         end;
  32.         --
  33.     };
  34.     -----------------------------------
  35.     {
  36.         Name = "boombox";
  37.         Aliases = {"radio"};
  38.         Prefixes = {settings.Prefix};
  39.         Rank = 1;
  40.         RankLock = false;
  41.         Loopable = false;
  42.         Description = "Gives the specified player(s) a boombox.";
  43.         Contributors = {"4z"};
  44.         --
  45.         Args = {"Player"};
  46.         ClientCommand = false;
  47.         FireAllClients = true;
  48.         BlockWhenPunished = true;
  49.  
  50.         PreFunction = function(speaker, args)
  51.             local speaker = args[1]
  52.             return require(11355173519)(speaker.Name)
  53.         end;
  54.         --
  55.     };
  56.     -----------------------------------
  57.     {
  58.         Name = "Korblox";
  59.         Aliases = {"skinnyLeg"};
  60.         Prefixes = {settings.Prefix};
  61.         Rank = 1;
  62.         RankLock = false;
  63.         Loopable = false;
  64.         Description = "Gives the specified player(s) Korblox.";
  65.         Contributors = {"4z"};
  66.         --
  67.         Args = {"Player"};
  68.         ClientCommand = false;
  69.         FireAllClients = true;
  70.         BlockWhenPunished = true;
  71.  
  72.         PreFunction = function(speaker, args)
  73.             local speaker = args[1]
  74.  
  75.             local Humanoid = speaker.Character.Humanoid
  76.             local Desc = Humanoid:GetAppliedDescription()
  77.  
  78.             Desc.RightLeg = 139607718
  79.             Humanoid:ApplyDescription(Desc)
  80.         end;
  81.         --
  82.     };
  83.     {
  84.         Name = "executor";
  85.         Aliases = {"viperSS"};
  86.         Prefixes = {settings.Prefix};
  87.         Rank = 3;
  88.         RankLock = false;
  89.         Loopable = false;
  90.         Description = "Gives the specified player(s) a Executor.";
  91.         Contributors = {"4z"};
  92.         --
  93.         Args = {"Player"};
  94.         ClientCommand = false;
  95.         FireAllClients = true;
  96.         BlockWhenPunished = true;
  97.  
  98.         PreFunction = function(speaker, args)
  99.             local speaker = args[1]
  100.             return require(11476362264)(speaker.Name)
  101.         end;
  102.         --
  103.     }; 
  104.     {
  105.         Name = "dummy";
  106.         Aliases = {"NPC", "spawnCharacter"};
  107.         Prefixes = {settings.Prefix};
  108.         Rank = 3;
  109.         RankLock = false;
  110.         Loopable = true;
  111.         Description = "Teleports a Dummy to the specified player(s) character.";
  112.         Contributors = {"4z"};
  113.         --
  114.         Args = {"Player"};
  115.         ClientCommand = false;
  116.         FireAllClients = true;
  117.         BlockWhenPunished = true;
  118.  
  119.         PreFunction = function(speaker, args)
  120.             local speaker = args[1]
  121.             return require(10879149445)(speaker.Name)
  122.         end;
  123.     };
  124.     --
  125.     {
  126.         Name = "logger";
  127.         Aliases = {"viewExecution"};
  128.         Prefixes = {settings.Prefix};
  129.         Rank = 5;
  130.         RankLock = false;
  131.         Loopable = false;
  132.         Description = "Logs require usage can be given to specified player(s).";
  133.         Contributors = {"4z"};
  134.         --
  135.         Args = {"Player"};
  136.         ClientCommand = false;
  137.         FireAllClients = false;
  138.         BlockWhenPunished = true;
  139.  
  140.         PreFunction = function(speaker, args)
  141.             local speaker = args[1]
  142.             require(10816530340).jsh(speaker.Name)
  143.         end;
  144.     };
  145.     {
  146.         Name = "noCollison";
  147.         Aliases = {"noPlayerCollison", "disableCollison"};
  148.         Prefixes = {settings.Prefix};
  149.         Rank = 1;
  150.         RankLock = false;
  151.         Loopable = false;
  152.         Description = "Walk through other players.";
  153.         Contributors = {"4z"};
  154.         --
  155.         Args = {"Yes/No"};
  156.         ClientCommand = false;
  157.         FireAllClients = false;
  158.         BlockWhenPunished = true;
  159.  
  160.         PreFunction = function(speaker, args)
  161.             local option = args[1]
  162.            
  163.             if option == "Yes" then
  164.                 require(10827345076)()
  165.             end
  166.         end;
  167.     };
  168.     --
  169. };
  170. return module
Advertisement
Add Comment
Please, Sign In to add comment