SHARE
TWEET

Untitled

a guest Dec 29th, 2016 165 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Pastebin dump
  2. Home
  3. Dumps
  4. Daily leaks
  5. Api
  6. Login
  7. About
  8. 4zuZrxG0
  9. 2016-12-10 01:32:58
  10. -------------------------------------------------------------------
  11.  
  12. local set={--WARNING!: If Touched The Script Will Crash -----------
  13.  
  14. -------------------------------------------------------------------
  15.  
  16.  
  17.  
  18.             --SETTINGS--
  19.  
  20.            
  21.  
  22.     ------------------------------
  23.  
  24.     --  true=on  --  false=off  --
  25.  
  26.     ------------------------------
  27.  
  28.    
  29.  
  30.     ----------------------------------------------------------------
  31.  
  32.     -- Make sure there is a ; after each setting, as shown below! --
  33.  
  34.     ----------------------------------------------------------------
  35.  
  36.    
  37.  
  38.     --Important Script Information is BELOW the settings--
  39.  
  40.    
  41.  
  42.     --------------------------
  43.  
  44.     --  Important Settings  --
  45.  
  46.     --------------------------
  47.  
  48.    
  49.  
  50.     ['ChangedSettingsStick'] = true; --Do settings you change in-game save? (this includes bans, admins, etc etc)
  51.  
  52.    
  53.  
  54.     ['SettingsToIgnore'] = {}; --Place settings to ignore here
  55.  
  56.    
  57.  
  58.     ['DataStoreKey'] = "iButtler's LuaBloxStudio V1"; --Datastore key
  59.  
  60.    
  61.  
  62.     ['Storage'] = game:service('ServerStorage'); --Set this to where you store things (such as tools) game:sevrice('ServerStorage') is recommended as it does not replicate to clients (so exploiters can't use em) Use services, if you use things like game.Lighting it will break if Lighting is renamed.
  63.  
  64.    
  65.  
  66.     --------------
  67.  
  68.     --  Trello  --
  69.  
  70.     --------------
  71.  
  72.    
  73.  
  74.     --You NEED to enable HttpEnabled in order for this to work! To enable it follow the below instructions:
  75.  
  76.     --Run this following command in the command bar as shown in the screenshot: game:service('HttpService').HttpEnabled=true print('Enabled Http')
  77.  
  78.     --Screen shot: http://prntscr.com/46uztz
  79.  
  80.    
  81.  
  82.     ['Trello'] = true; --Pulls Bans/Admins from a Trello board every set number of seconds on every server of everygame this script is in (that has Http enabled and uses the same BoardID)
  83.  
  84.    
  85.  
  86.     ['BoardID'] = '9HH6BEX2'; --Trello board ID, its in the URL of your board: https://trello.com/b/9HH6BEX2/epix-incorporated-synced-ban-list - The id for this board is 9HH6BEX2 (by default uses our exploiter ban list.)
  87.  
  88.    
  89.  
  90.     ['HttpWait'] = 10; --How often (in seconds) should the list(s) update? Recommended 10+ to avoid HttpService problems
  91.  
  92.    
  93.  
  94.     --[[
  95.  
  96.     How to set up your own multi-game list for your games:
  97.  
  98.    
  99.  
  100.     Below instructions are for bans but can also be applied to admin lists,
  101.  
  102.     refer to "To use this for synced admin lists" under the instructions for admin lists info.
  103.  
  104.    
  105.  
  106.     By default the Trello settings are set to use our ban list of exploiters, but you may
  107.  
  108.     want to change it so that you can set up and control your own multi-game, autoupdating
  109.  
  110.     list(s). So now I am going to tell you how to do that.
  111.  
  112.    
  113.  
  114.     1. Enable Http, refer to a few lines up to learn how to easily and quickly do that.
  115.  
  116.     2. Make a Trello account (or sign in with google)
  117.  
  118.         -Go to http://trello.com, click "Log in with Google" or "Sign up-It's Free" and do the account making stuff it tells you to
  119.  
  120.     3. After you sign up/log in you need to make a new board, click the + then click "New Board..." - http://prntscr.com/46v2fq
  121.  
  122.     4. Give your board a name and click the "Change..." next to "This board will be private" and make sure you make the board public! - http://prntscr.com/46v4bf
  123.  
  124.     5. Change one of the lists titles to "Ban List" In the screenshot I accidentally typed "cards" instead of "lists" - http://prntscr.com/46v5af
  125.  
  126.     6. Add people to the bans by clicking "Add a card..." and then typing their username as the title, username:userid, or if its a group Group: groupname:groupid - http://prntscr.com/46v74e
  127.  
  128.     7. Now you need to just set BoardID to your board's ID, refer to http://prntscr.com/46v74e for this, or refer to the comment next to the BoardID setting
  129.  
  130.     8. You are done, just configure the BoardID and enable Http in each of your games and your multigame banlist is done, confure your board however you want as long as you leave the "Ban List" list that contains name and keep the board public so the script can read it!
  131.  
  132.     Use our site for reference: https://trello.com/b/9HH6BEX2/epix-incorporated-synced-ban-list
  133.  
  134.    
  135.  
  136.     To use this for synced admin lists, simply repeat the above steps replacing Ban List with
  137.  
  138.     Admin List, TempAdmin List, or Owner List, anyone added to these list will appear in
  139.  
  140.     the admin list with [Synced] next to their name, they will not be able to be unadmined.
  141.  
  142.     Admin lists do not yet support Group: NAME:ID or USER:ID formats, at the moment you can
  143.  
  144.     only add the person's username and will need to change it if they change their name.
  145.  
  146.     Future ID support for admin lists is planned.
  147.  
  148.     --]]
  149.  
  150.    
  151.  
  152.     ---------------------
  153.  
  154.     --      Tables     --
  155.  
  156.     ---------------------
  157.  
  158.    
  159.  
  160.     ['Owners'] = {"rebelkiller123","iButtler","IToole52","Your Name Here"; -- Are able to set Admins who can ban/etc... using :pa name, format is USERNAME or USERNAME=USERID
  161.  
  162.    
  163.  
  164.     ['Admins'] = {"Anyone"}; -- Sets Admins who can use ban/kick/admin or shutdown, format is USERNAME or USERNAME=USERID
  165.  
  166.    
  167.  
  168.     ['TempAdmins'] = {"Normal People"}; -- Sets Admins who can't use ban/kick/admin or shutdown, format is USERNAME or USERNAME=USERID
  169.  
  170.    
  171.  
  172.     ['BanList'] = {"Someone You Don't Like Very Much","CornCobber","v3rmillion"}; -- Add people to ban here. Format to use UserId is "Name=UserId" EX: "John32=192845", this bans any player named John32 or has an id of 192845 (This way they can't bypass the ban by changing their username) use $group=GROUPID to ban groups.
  173.  
  174.    
  175.  
  176.     ['MuteList'] = {"Some Chat Exploiter"},"Chat Spammer","Chat Flooder","CornCobber","v3rmillion"; -- Add the names of people to mute (makes it so they cant talk)
  177.  
  178.    
  179.  
  180.     ------------------------------
  181.  
  182.     --  Prefix/Split/Bind Keys  --
  183.  
  184.     ------------------------------
  185.  
  186.    
  187.  
  188.     ['Prefix'] = ""; -- This comes before each admin command (:kill kohl)
  189.  
  190.    
  191.  
  192.     ['AnyPrefix'] = "!"; -- This comes before each player command (commands that can be run by anyone, !rejoin, !ping, etc)
  193.  
  194.    
  195.  
  196.     ['SpecialPrefix'] = ""; -- Prefix to use with special functions (!admin,!nonadmins,!all,!others,!random) By default this is now set to nothing to avoid confusion.
  197.  
  198.    
  199.  
  200.     ['SplitKey'] = " "; -- This is what seperates command arguments eg: player raiders in :team player raiders
  201.  
  202.    
  203.  
  204.     ['BatchSplit'] = "/"; --This seperates arguments of the batch command (":batch kill bob/fire me Bright blue/fling kohl")
  205.  
  206.    
  207.  
  208.     ['ConsoleKey'] = "'"; --Key that opens the console, default is '
  209.  
  210.    
  211.  
  212.     ----------------------
  213.  
  214.     --  Basic Settings  --
  215.  
  216.     ----------------------
  217.  
  218.    
  219.  
  220.     ['Console'] = true; --Determines if the script's console can be used or not
  221.  
  222.    
  223.  
  224.     ['AutoUpdate'] = false; -- Automatically get the newest version? You need to have the model in your inventory on your profile in order for autoupdate to work.
  225.  
  226.    
  227.  
  228.     ['FunCommands'] = true; -- Set to false if you don't want any fun commands (For Strict Places)
  229.  
  230.    
  231.  
  232.     ['NoTalk'] = true; -- Enable notalk cmds (Good for group trainings)?
  233.  
  234.    
  235.  
  236.     ['HelpSystem'] = true; -- Enable the Help System? (!help command)
  237.  
  238.    
  239.  
  240.     ['ChatLog'] = true; -- Log all chats for the server?
  241.  
  242.    
  243.  
  244.     ['MaxNumberOfLogs'] = 1000; -- How many logs to display at a time (MAX is 1500 to avoid server lag/other issues)
  245.  
  246.    
  247.  
  248.     ['JoinMessage'] = false; -- Display a message with player info when a player joins, set group id in group settings if you want it to display if a player is in a group or not and if so what rank they are.
  249.  
  250.    
  251.  
  252.     ['DonorStuff'] = true; -- Sets if donors are allowed to show off that they donated, when people donate you get 10% of what they payed, so if someone pays 300r for a cape you get 30r out of it :D!
  253.  
  254.    
  255.  
  256.     ['DonorBongos'] = true; -- Donors allowed to have their donor bongos? If set to false they only get their cape.
  257.  
  258.    
  259.  
  260.     ['PermBanKey'] = '0.49971007415998'; -- Key (Random String) to use in persistent perm ban (change if you perm banned someone by accident, make it 100% random, if you want a random key generator, put print(math.random()) into the command bar in studio and hit enter, then just copy what it gives you in the output window)
  261.  
  262.    
  263.  
  264.     ['FreeAdmin'] = false; -- Set to true if you want everyone to get the set type of admin (not recommended)
  265.  
  266.    
  267.  
  268.     ['FreeAdminType'] = 'TempAdmin'; -- Type of admin for FreeAdmin (TempAdmin/Admin/Owner)
  269.  
  270.    
  271.  
  272.     ['AutoClean'] = false; -- AutoClean the server? (!clean)
  273.  
  274.    
  275.  
  276.     ['AutoCleanDelay'] = 60; -- How long to wait between AutoCleans (in seconds)
  277.  
  278.    
  279.  
  280.     ['PlayerCommands'] = true; -- Sets whether or not nonadmins can use player commands (!rejoin,!ping,!cmds,etc)
  281.  
  282.    
  283.  
  284.     ['OwnersAreTrueOwners'] = false; -- This indicates whether or not Owners are considered True Owners, if set to true Owners get the same commands as the place owner (permban and other true owner cmds)
  285.  
  286.    
  287.  
  288.     ['PMUsableByAnyone'] = false; -- Set this to true if you want it so anyone can use the PM command
  289.  
  290.    
  291.  
  292.     ['AdminsSpawnWithGuis'] = false; -- This determines if admins spawn with the admin chat and cmd box, note the admin chat is disabled when custom chat is enabled (has a admin mode)
  293.  
  294.    
  295.  
  296.     ['HelpGui'] = true; --This determines if players spawn with the helpgui or not
  297.  
  298.    
  299.  
  300.     ['UpdateShutdown'] = false; --Automatically shutdown the game if it was updated
  301.  
  302.    
  303.  
  304.     ['MusicList'] = {{Name='SadPiano',Id=130798493}}; -- Add music to this table using the format: {Name='ExampleSong',Id=1234567} so that the table would look like local MusicList={{Name='ExampleSong',Id=1234567};{Name='ExampleSong2',Id=1234568}}, if you want to add pitch/volume simply insert Pitch and/or Volume EX: {Name='ExampleSong2',Id=1234568,Pitch=2,Volume=0.5}
  305.  
  306.    
  307.  
  308.     ['CustomChat'] = false; --Custom chat system, aside from chat modes and various other things, the custom chat cannot be muted by exploiters and exploiters can not use it to run chat commands.
  309.  
  310.    
  311.  
  312.     ['CustomChatType'] = 'Both'; --Classic/Bubbles/Both, Determines chat mode, simular to ROBLOX's chat settings.
  313.  
  314.    
  315.  
  316.     ['CustomPlayerList'] = false; --A very basic and simplistic playerlist that I do not plan to spend much time on, it shows names colored by team color, has a menu for each name (click the name) and does not yet show leader stats, not finished and plan to update in the future.
  317.  
  318.    
  319.  
  320.     ['MessageOfTheDay'] = false; --Determines if the Message of the Day is shown to admins on-join, you can set your own decal/model to use with the message of the day below, you simply place the message into its description after you set its ID
  321.  
  322.    
  323.  
  324.     ['MessageOfTheDayID'] = 166040615; --ID Of model/decal to grab the message of the day from (needs to be set as the decal/model's description)
  325.  
  326.    
  327.  
  328.     ['BuggedCommandMatching'] = false; --Set to true if you want to use the old buggy string matching that let you do things like "Hello :kill me" (really you could always set the prefix to something like "Hello " so you can do "Hello kill me")
  329.  
  330.    
  331.  
  332.     ---------------------
  333.  
  334.     --  Anti-Exploit   --
  335.  
  336.     ---------------------
  337.  
  338.    
  339.  
  340.     ['ExclusionList'] = {}; -- Add the names of people you want to exclude from the AntiExploit to this list, note that admins are already excluded
  341.  
  342.    
  343.  
  344.     ['ExploitAlert'] = true; --Alerts admins when someone goes nil/chats something thought to be exploit related, this is likely no longer going to work as the anti nil will disconnect a player as they are leaving to make sure they are not lingering in the nil/causing problems. Only notified if the first kick failed.
  345.  
  346.    
  347.  
  348.     ['AntiChatCode'] = true; -- Prevents non-admins from running code/commands via chat (Add new things to detect into the WordList table)
  349.  
  350.    
  351.  
  352.     ['Detection'] = true; -- Will attempt to detect certain exploits
  353.  
  354.    
  355.  
  356.     ['AntiRobloxLocked'] = true; --  Disconnects any player who is or becomes RobloxLocked. (Recommended you keem this enabled, if a player joins RobloxLocked they will not be hooked by the script, this removes them before they break something.)
  357.  
  358.    
  359.  
  360.     ['AntiNewAccount'] = false; -- Prevents accounts under the set age from joining.
  361.  
  362.    
  363.  
  364.     ['MinimumAge'] = 100; -- Age a player must be above (in days) if AntiNewAge is enabled.
  365.  
  366.    
  367.  
  368.     ['AntiSpeed'] = false; -- Trys to stop speed hackers
  369.  
  370.    
  371.  
  372.     ['AntiGui'] = false; -- Prevents non-game/admin guis from being spawned on players, such as the account stealing gui
  373.  
  374.    
  375.  
  376.     ['AntiSelection'] = true; -- Crashes a player if their selection changes (so if they are using studio tools like drag, move, resize, etc)
  377.  
  378.    
  379.  
  380.     ['AntiNil'] = true; -- Crashes/Kicks any non-admins who attempt to go "nil"
  381.  
  382.    
  383.  
  384.     ['AntiScriptsDisabled'] = true; -- If the client script cannot be loaded onto the player or takes to long to check in the player is kicked
  385.  
  386.    
  387.  
  388.     ['AntiAnimation'] = false; -- Prevents animation exploit
  389.  
  390.    
  391.  
  392.     ['AntiNameIdChange'] = true; -- Attempts to stop players from locally changing their name/id to fool local scripts
  393.  
  394.    
  395.  
  396.     ['AntiGod'] = true; -- Prevents non-admins from being godded
  397.  
  398.    
  399.  
  400.     ['AntiLeak'] = false; -- Makes it a little harder for people to steal your game, don't know how well it will work if at all but its worth a shot.
  401.  
  402.    
  403.  
  404.     ['RenameGameObjects'] = false; --Renames things like Lighting, Players, and Workspace, will break most scripts that are not coded to work in such situations and confuse most people using badly coded explorers or studio.
  405.  
  406.    
  407.  
  408.     ['NerfExplosions'] = false; --Makes it so any explosions get nerfed, meaning they wont do any damage.
  409.  
  410.    
  411.  
  412.     ['WordList'] = {}; -- Add kick words to this list, will kick a player if they say something on the list, works with string patterns.
  413.  
  414.    
  415.  
  416.     ['AllowedGuiList'] = {};
  417.  
  418.     --If there is a gui in your game that is not in startergui
  419.  
  420.     --then add its name to this table, do note that if the
  421.  
  422.     --name of the gui is just ScreenGui or something like
  423.  
  424.     --that, if a hacker inserts a gui with the same name
  425.  
  426.     --it will not be removed, so make sure you make the name
  427.  
  428.     --of the gui very specific.
  429.  
  430.    
  431.  
  432.     ---------------------
  433.  
  434.     -- Group Settings  --
  435.  
  436.     ---------------------
  437.  
  438.    
  439.  
  440.     ['GroupRanks'] = false; -- If group members matching the ranks in "Ranks" are given admin/banned (depending on what you set)
  441.  
  442.    
  443.  
  444.     ['GroupOnlyJoin'] = false; -- Makes it so ONLY people in the set group can join the game.
  445.  
  446.    
  447.  
  448.     ['GroupId'] = 0; -- Id of group, used for info/join message, if set will display a user's rank when the info command is used on them.
  449.  
  450.    
  451.  
  452.     ['Ranks'] = {}; -- Add ranks to have admin/be banned format is {Group=GROUPID,Rank=RANKNAME/NUMBER,Type=ADMINTYPE};
  453.  
  454.     --GROUPID is the ID of the group the rank belongs to and that the player must be in
  455.  
  456.     --RANKNAME/NUMBER is either the name of the rank (Generals) or its number (252) if you want to admin rank 252 and every rank above it, simply set it to negative, so Rank=-252 will admin anyone in rank 252 and up
  457.  
  458.     --ADMINTYPE is the type of admin players in the rank will get, this can be Temp, Admin, Owner, or Banned
  459.  
  460.     --[[ In the end your table should look something like this:
  461.  
  462.    
  463.  
  464.     ['Ranks'] = {
  465.  
  466.         {Group=124324,Rank=142,Type='Temp'};
  467.  
  468.         {Group=1932348,Rank='Generals',Type='Owner'};
  469.  
  470.         {Group=1284124,Rank=-193,Type='Admin'};
  471.  
  472.         {Group=1399424,Rank=-1,Type='Banned'}
  473.  
  474.     }
  475.  
  476.    
  477.  
  478.     --]]
  479.  
  480.    
  481.  
  482.     ---------------------
  483.  
  484.     --    VIP Admin    --
  485.  
  486.     ---------------------
  487.  
  488.    
  489.  
  490.     ['VipAdmin'] = false; -- If someone can have admin for owning an item
  491.  
  492.    
  493.  
  494.     ['ItemId'] = 0; -- The item they must own in order to have admin
  495.  
  496.    
  497.  
  498.     ['ItemType'] = 'GamePass'; -- type of item. (GamePass/Badge/Shirt)
  499.  
  500.    
  501.  
  502.     ['VIPAdminType'] = 'TempAdmin'; -- Type of admin VIPs get (TempAdmin/Admin/Owner)
  503.  
  504.    
  505.  
  506.     ['FriendAdmin'] = false; -- Set to true if you want people on your friendlist to have admin
  507.  
  508.    
  509.  
  510.     ---------------------
  511.  
  512.     --  GUI Settings   --
  513.  
  514.     ---------------------
  515.  
  516.    
  517.  
  518.     ['PrimaryColor'] = Color3.new(0,0,0); --Primary GUI Color (Default black) (Remember, each 1 translates to a 255, keep that in mind when changing colors, use things like 124/255 to get the color you want)
  519.  
  520.    
  521.  
  522.     ['SecondaryColor'] = Color3.new(1,1,1); --Secondary GUI Color (Default white)
  523.  
  524.    
  525.  
  526.     ['Font'] = 'Arial'; --Font
  527.  
  528.    
  529.  
  530.     ['TextColor'] = Color3.new(1,1,1); --Text Color (Default white)
  531.  
  532.    
  533.  
  534.     ['TextStrokeTransparency'] = 0; --Text Stroke Transparency (0-1)
  535.  
  536.    
  537.  
  538.     ['TextStrokeColor'] = Color3.new(0,0,0); --Color of the text stroke around letters (Default black)
  539.  
  540.    
  541.  
  542.     ['Transparency'] = 0.5; --Main GUI Transparency (0-1)
  543.  
  544.    
  545.  
  546.     ['Animations'] = true; --Determines if to animate stuff or not
  547.  
  548.    
  549.  
  550.     ['MessageAnimations'] = true; --Same as above but specifically for messages
  551.  
  552.    
  553.  
  554.     ------------------------------------------------------
  555.  
  556.     --                  END OF SETTINGS                 --
  557.  
  558.     ------------------------------------------------------
  559.  
  560. }
  561.  
  562.  
  563.  
  564.     ---------------------
  565.  
  566.     --    IMPORTANT    --
  567.  
  568.     ---------------------
  569.  
  570.     --[[
  571.  
  572.         For AutoUpdate to work this script's model needs to be in your inventory,
  573.  
  574.         if you got the script from anywhere other than my models the AutoUpdate
  575.  
  576.         will not work due to ROBLOX security nonsense. You can find the model
  577.  
  578.         here: http://www.roblox.com/Kohls-Admin-Epix-Edit-item?id=145629584
  579.  
  580.        
  581.  
  582.        
  583.  
  584.         For information about LoadStringEnabled please refer to the following:
  585.  
  586.        
  587.  
  588.         http://wiki.roblox.com/index.php?title=Security#LoadStringEnabled
  589.  
  590.         http://wiki.roblox.com/index.php?title=Points_tutorial#Restrictions
  591.  
  592.        
  593.  
  594.         If you want to use the :s command you will need to set LoadStringEnabled
  595.  
  596.         to true. It can be found by going into studio, opening the explorer and properties
  597.  
  598.         windows, clicking on ServerScriptService and under properties checking
  599.  
  600.         LoadStringEnabled. Loadstring is only used in the script for Output and
  601.  
  602.         the scripting command. The script will function fine without it.
  603.  
  604.         ------------------------------------------------------------------------
  605.  
  606.         IF THERE ARE NEW SETTINGS YOU WILL NEED TO MANUALLY UPDATE THE SCRIPT TO
  607.  
  608.         CHANGE THEM, THEY WILL OTHERWISE BE LEFT AS THE DEFAULT.
  609.  
  610.         ------------------------------------------------------------------------
  611.  
  612.         Please carefully read each setting's description BEFORE changing something
  613.  
  614.         as you could break something if you set something the wrong way.
  615.  
  616.         ------------------------------------------------------------------------
  617.  
  618.         If you decide to take something from this or decide to make your own
  619.  
  620.         edited version, please leave credit to Kohltastrohpe (Scripth) and
  621.  
  622.         myself (Sceleratis). Taking something and changing it while leaving credit
  623.  
  624.         is fine, however taking something, claiming it is yours, and not changing
  625.  
  626.         ANYTHING is stealing it, which would only make you look bad. Please
  627.  
  628.         don't be that person.
  629.  
  630.        
  631.  
  632.         The ideas that you guys suggest are what makes this the constantly evolving and changing
  633.  
  634.         thing that it is, so thank you :D
  635.  
  636.         ------------------------------------------------------------------------
  637.  
  638.         You can find Epix members and my self from time to time in Keynet's (Epix Inc. CEO Mr. Failz)
  639.  
  640.         Twitch stream! Check it out when you get a chance: twitch.tv/ekeynet
  641.  
  642.         ------------------------------------------------------------------------
  643.  
  644.         Find A security flaw or bug?
  645.  
  646.         Know of a way to detect an exploit or make the AntiExploit better?
  647.  
  648.         Think of a way to make the script better?
  649.  
  650.         Send me a message!
  651.  
  652.        
  653.  
  654.     ---------------------
  655.  
  656.     -- DISCLAIMER/INFO --
  657.  
  658.     ---------------------
  659.  
  660.         Credit:
  661.  
  662.        
  663.  
  664.         -Kohltastrophe (Scripth) for the original script this was based on and for sharing
  665.  
  666.         some of his ideas and commands, and his continued help and support
  667.  
  668.        
  669.  
  670.         -einsteinK for the original SBL older versions used and his help with some things
  671.  
  672.        
  673.  
  674.         -Sceleratis (montano60... myself <3) for this version of iButtler's LuaBloxStudio
  675.  
  676.        
  677.  
  678.         -Arlikas for testing nearly anything I ask him to
  679.  
  680.        
  681.  
  682.         -Everyone who helped me with testing, and suggested new ideas, features, and commands.
  683.  
  684.        
  685.  
  686.         You may notice that there is hardly anything from the original iButtler's LuaBloxStudio
  687.  
  688.         code-wise left in here. Its called iButtler's LuaBloxStudio v1 because it is
  689.  
  690.         based on Kohl's script and started as a simple edited version of his admin,
  691.  
  692.         and it IS an edited version of his admin, just very heavily edited so much
  693.  
  694.         so that barely anything has been left untouched. I have no plans to change
  695.  
  696.         the name.
  697.  
  698.        
  699.  
  700.         I in no way claim to have made iButtler's LuaBloxStudio Commands, I have only
  701.  
  702.         made this version of it.
  703.  
  704.        
  705.  
  706.         This does not have a crash ban anymore, it now disconnects
  707.  
  708.         players, so if a player joins and suddenly crashes, IT IS NOT FROM THIS.
  709.  
  710.        
  711.  
  712.         I do not take responsibility for you, your game, or your actions. Anything that
  713.  
  714.         happens as a result of your actions is your fault not mine. If you change a setting
  715.  
  716.         and suddenly the script stops working or something goes wrong, please report it to
  717.  
  718.         me (Sceleratis) as a bug! If you change anything other than the settings in the settings
  719.  
  720.         section of the script you run the risk of breaking the script. I will not help you if
  721.  
  722.         it stops working because you wanted to change parts of the code, you change it at
  723.  
  724.         your own risk and will not receive help from me, there is a clear warning right before
  725.  
  726.         the main area of the script.
  727.  
  728.        
  729.  
  730.         If you find a bug in the script please report it to me (Sceleratis) so it can be fixed!
  731.  
  732.        
  733.  
  734.         If you have any questions, need help, or want to contact me you can send
  735.  
  736.         me a Private Message on the main website (roblox.com) via my profile ("Send Message"
  737.  
  738.         under my avatar/character picture.)
  739.  
  740.        
  741.  
  742.         KohltastropheRBLX had absolutly nothing to do with the developement of this script,
  743.  
  744.         he is not the real Kohl. If you are wondering why I dislike him so much,
  745.  
  746.         this is why: http://prntscr.com/49snyl
  747.  
  748.        
  749.  
  750.         If you want to support the real Kohltastrophe put the following on your profile:
  751.  
  752.         "Scripth is the real Kohltastrophe. Put this on your profile so people know."
  753.  
  754.        
  755.  
  756.         For the people who say "Ew Kohl's" I don't understand why, for starters you can
  757.  
  758.         easily see this is almost completely different. The original iButtler's LuaBloxStudio was
  759.  
  760.         something completely new and helped pave the way for most of the admin scripts
  761.  
  762.         that came after it. iButtler's LuaBloxStudio was a wildly used script (And still is.)
  763.  
  764.         If you are going to complain I would like to see you make something better.
  765.  
  766.        
  767.  
  768.         While I will not help if you break something while editing this script
  769.  
  770.         I have decided against making it so you can't, as per an interesting thing
  771.  
  772.         found by Kohltastrophe and his friend, which he is now using in his new script
  773.  
  774.         for now, we can upload a module script that would be the main script and then
  775.  
  776.         run it from this script in-game, and it does not need to be a free model, meaning
  777.  
  778.         that no one can see the script's code and the script would always be up to date.
  779.  
  780.         I have decided not to do this because although a really good idea, I do understand
  781.  
  782.         that some of you like to disable the AutoUpdate and maintain your own version of your
  783.  
  784.         script for your games, this is a common practice with group owners. While I wont
  785.  
  786.         make it so you can't edit the script it is still recommended you use plugins instead
  787.  
  788.         of directly changing code in the script to avoid breaking anything, feel free to learn
  789.  
  790.         from it if you wish and edit if you know what you are doing. Please do not just reupload
  791.  
  792.         this script and claim you made it, you did not, don't pretend you did, it just gets
  793.  
  794.         you on my bad side. :p
  795.  
  796.        
  797.  
  798.     --]]
  799.  
  800.     ---------------------
  801.  
  802.     -- Tips and Tricks --
  803.  
  804.     ---------------------
  805.  
  806.     --[[
  807.  
  808.         With this admin you can do a command on multiple people at a time;
  809.  
  810.              :kill me,noob1,noob2,!random,%raiders,$123456,!nonadmins
  811.  
  812.             -- kills you, noob1, noob2, a random person, team raiders, people in group 123456, and nonadmins.
  813.  
  814.             You can also run silent commands using /e, for example:
  815.  
  816.             "/e :kill kohl" Do not that this will still show up in logs.
  817.  
  818.            
  819.  
  820.         You can also use a variety commands for different people;
  821.  
  822.              !all -- Everyone in the server
  823.  
  824.              !others -- Everyone but you
  825.  
  826.              !me -- You
  827.  
  828.              !admins -- Admins in the server
  829.  
  830.              !nonadmins -- People who are not admins in the server
  831.  
  832.              !random -- A random person, this can include you.
  833.  
  834.              %TEAMNAME -- Ex: :kill %raiders will kill everyone in team Raiders.
  835.  
  836.              $GROUPID -- Let you kill anyone in a specific group, if an id is not given it will use the GroupId setting.
  837.  
  838.              -PLAYERNAME -- Lets you exclude players from commands, :kill !all,-kohl will kill everyone but kohl
  839.  
  840.            
  841.  
  842.         If you want to add cameras to your game (like saved into your game so you don't need to use the admin script to spawn them every new server)
  843.  
  844.         then just make a camera, needs to be a single part, so a sphere, brick, what ever it may be, make sure its anchored and locked
  845.  
  846.         just simply position it where you want in workspace, then make its name Camera: NAMEHERE
  847.  
  848.         so for example: Camera: Cam1
  849.  
  850.         the name is very important as the script will look for it in workspace when the game starts.
  851.  
  852.         make sure you name each camera something diffierent.
  853.  
  854.        
  855.  
  856.         MESSAGES/HINTS FOR OTHER SCRIPTS:
  857.  
  858.         If you would like to have the hints/messages from this script usable in other SERVER (not local)
  859.  
  860.         scripts, then simply put the follow at the top of your script,
  861.  
  862.        
  863.  
  864.         message=_G['Message']
  865.  
  866.         hint=_G['Hint']
  867.  
  868.        
  869.  
  870.         USAGE EXAMPLES:
  871.  
  872.         hint(msg,playerstable) - message(title,msg,playerstable)
  873.  
  874.        
  875.  
  876.         (Do note that playerstable needs to be a table containing players NOT player names!
  877.  
  878.         Use game:service('Players'):children() to send a message to everyone.)
  879.  
  880.        
  881.  
  882.         hint('Hello people',game:service('Players'):children())  <=== sends "Hello people" to all players in game
  883.  
  884.         hint('Heyo montano',{game:service('Players').Sceleratis}) <=== Sends "Heyo montano" to the player Sceleratis
  885.  
  886.         message('Server Message','Hello people',game:service('Players'):children())  <=== Makes a message with the title "Server Message" and a message of "Hello people"
  887.  
  888.         message('Message from swagyguy','Heyo montano',{game:service('Players').Sceleratis}) <=== Works the same as above but only the player Sceleratis sees it
  889.  
  890.        
  891.  
  892.     --]]
  893.  
  894.    
  895.  
  896.     ---------------
  897.  
  898.     -- CHANGELOG --
  899.  
  900.     ---------------
  901.  
  902.    
  903.  
  904.     local changelog={
  905.  
  906.     'The changelog is trimmed when it gets too long! Only shows most recent versions.';
  907.  
  908.     '';
  909.  
  910.     'KEY: -Removed +Added *Changed/Fixed !Important';
  911.  
  912.     '';
  913.  
  914.     '430:';
  915.  
  916.     '*Bug fixes to detection,';
  917.  
  918.     '';
  919.  
  920.     '429:';
  921.  
  922.     '*Script now uses Google to check if Http is enabled';
  923.  
  924.     '+Http added to server details';
  925.  
  926.     '*Visual updates to the donation gui';
  927.  
  928.     '+RenameGameObjects setting in AntiExploit';
  929.  
  930.     '+Detection setting in AntiExploit';
  931.  
  932.     '+Detection of the currently leaked Stigma exploit';
  933.  
  934.     '*Bug fixes';
  935.  
  936.     '';
  937.  
  938.     '428:';
  939.  
  940.     '*Group admin updates';
  941.  
  942.     '*Admin list supports userId now';
  943.  
  944.     '!ALL PLACE OWNERS USING GROUP ADMIN REFER TO THE SETTINGS SECTION AS THE OLD WAY WILL LIKELY NO LONGER WORK';
  945.  
  946.     '*Admin list shows admins currently in the game';
  947.  
  948.     '';
  949.  
  950.     '427:';
  951.  
  952.     '*Fixed a typo in the SplitKey setting decription';
  953.  
  954.     '+Added a section to settings for prefix/split/bind keys';
  955.  
  956.     '';
  957.  
  958.     '426:';
  959.  
  960.     '+timeban command';
  961.  
  962.     '*Bug fixes';
  963.  
  964.     '*Chat bubble updates';
  965.  
  966.     '';
  967.  
  968.     '425:';
  969.  
  970.     '+AntiScriptsDisabled setting';
  971.  
  972.     '*Updated AntiNil';
  973.  
  974.     '+PlayerRemoving function';
  975.  
  976.     '*AntiExploit updates';
  977.  
  978.     '-Removed the message telling you a player tried to go nil due to bugs';
  979.  
  980.     '';
  981.  
  982.     '424:';
  983.  
  984.     '*SyncBanList setting is now Trello';
  985.  
  986.     '*Trello now supports admin lists, suggested by devSparkle';
  987.  
  988.     '!Refer to settings for new information regarding SBL/Trello';
  989.  
  990.     '';
  991.  
  992.     '423';
  993.  
  994.     '+Permissions command, suggested by Dragoloy';
  995.  
  996.     '*Bug fixes';
  997.  
  998.     '';
  999.  
  1000.     '422:';
  1001.  
  1002.     '!Place owners apparently get money when people donate in their game! :D!!!!';
  1003.  
  1004.     '*Updated donorstuff description';
  1005.  
  1006.     '';
  1007.  
  1008.     '421:';
  1009.  
  1010.     '*Changed how FunCommands are checked';
  1011.  
  1012.     '+Added 3 new admin levels for FunCommands';
  1013.  
  1014.     '*Place owners have access to all commands (including any donor ones)';
  1015.  
  1016.     '';
  1017.  
  1018.     '420:';
  1019.  
  1020.     '+DonorBongos setting';
  1021.  
  1022.     '!420 l0l';
  1023.  
  1024.     '';
  1025.  
  1026.     '419:';
  1027.  
  1028.     '*Bug fixes';
  1029.  
  1030.     '';
  1031.  
  1032.     '418:';
  1033.  
  1034.     '*Bug fixes';
  1035.  
  1036.     '';
  1037.  
  1038.     '417:';
  1039.  
  1040.     '*New song(s)';
  1041.  
  1042.     '';
  1043.  
  1044.     '416:';
  1045.  
  1046.     '+Resize command';
  1047.  
  1048.     '!Credit to Drezmor for the original resize command';
  1049.  
  1050.     '!Credit to Kohltastrophe for figuring out bugs in the resize and fixing it/helping to convert it';
  1051.  
  1052.     '';
  1053.  
  1054.     '415:';
  1055.  
  1056.     '*Made the crash less bulky and less ew looking';
  1057.  
  1058.     '';
  1059.  
  1060.     '414:';
  1061.  
  1062.     '*Updates to the AntiExploit';
  1063.  
  1064.     '*Changed how the guis look a bit';
  1065.  
  1066.     '';
  1067.  
  1068.     '413:';
  1069.  
  1070.     '+Added a credit thing with information about why.';
  1071.  
  1072.     '*Bug fixes';
  1073.  
  1074.     '';
  1075.  
  1076.     '412:';
  1077.  
  1078.     '*Bug fixes';
  1079.  
  1080.     '';
  1081.  
  1082.     '411:';
  1083.  
  1084.     '+A quote, taken from 111\'s profile';
  1085.  
  1086.     '';
  1087.  
  1088.     '410:';
  1089.  
  1090.     '*Minor changes';
  1091.  
  1092.     '!I am outraged at how people believe KohltastropheRBLX, and disapointed.';
  1093.  
  1094.     '';
  1095.  
  1096.     '409:';
  1097.  
  1098.     '+BodySwap command, suggested by MxLegit';
  1099.  
  1100.     '!Special thanks to Arlikas for being a test subject for new features/commands';
  1101.  
  1102.     '';
  1103.  
  1104.     '408:';
  1105.  
  1106.     '+VIPAdminType setting';
  1107.  
  1108.     '+Shirts usable for VIP admin';
  1109.  
  1110.     '';
  1111.  
  1112.     '407:';
  1113.  
  1114.     '+NerfExplosions setting (default off), semi inspired by a suggestion from TheFurryFish';
  1115.  
  1116.     '';
  1117.  
  1118.     '406:';
  1119.  
  1120.     '+BeardedAlien cape, suggested by LordOfFootball';
  1121.  
  1122.     '';
  1123.  
  1124.     '405:';
  1125.  
  1126.     '*Bug fixes';
  1127.  
  1128.     '*Gui Updates';
  1129.  
  1130.     '+Font setting';
  1131.  
  1132.     '+TextStrokeTransparency setting';
  1133.  
  1134.     '*Minor changes';
  1135.  
  1136.     '';
  1137.  
  1138.     '404:';
  1139.  
  1140.     '*Minor changes';
  1141.  
  1142.     '';
  1143.  
  1144.     '403:';
  1145.  
  1146.     '*Minor changes';
  1147.  
  1148.     '';
  1149.  
  1150.     '402:';
  1151.  
  1152.     '*Bug fixes';
  1153.  
  1154.     '*Join message off by default';
  1155.  
  1156.     '';
  1157.  
  1158.     '401:';
  1159.  
  1160.     '+Package related commands!';
  1161.  
  1162.     '+:rleg, change right leg package thing';
  1163.  
  1164.     '+lleg, same as rleg for left leg';
  1165.  
  1166.     '+rarm, same as above for right arm';
  1167.  
  1168.     '+larm, I hope you see the trend here';
  1169.  
  1170.     '+torso, same as all above but for torso';
  1171.  
  1172.     '';
  1173.  
  1174.     '400:';
  1175.  
  1176.     '*Bug fixes';
  1177.  
  1178.     '!If you have a way to make the script better be sure to message me :3';
  1179.  
  1180.     '';
  1181.  
  1182.     '399:';
  1183.  
  1184.     '*Name now supports health';
  1185.  
  1186.     "*Use :name player hide to hide a player's name";
  1187.  
  1188.     '';
  1189.  
  1190.     '398:';
  1191.  
  1192.     '*Bug fixes';
  1193.  
  1194.     '';
  1195.  
  1196.     '397:';
  1197.  
  1198.     '*Bug fixes';
  1199.  
  1200.     '';
  1201.  
  1202.     '396:';
  1203.  
  1204.     '*SBL Bug fixes';
  1205.  
  1206.     '';
  1207.  
  1208.     '395:';
  1209.  
  1210.     '*Bug fixes';
  1211.  
  1212.     '';
  1213.  
  1214.     '394:';
  1215.  
  1216.     '*Bug fixes';
  1217.  
  1218.     '*Converting some things over for if loadstring is removed';
  1219.  
  1220.     '-Map command';
  1221.  
  1222.     '-AntiNoclip, it was mostly useless.';
  1223.  
  1224.     '-Ragdoll command';
  1225.  
  1226.     '*Code changes';
  1227.  
  1228.     '*Cape command supports texture';
  1229.  
  1230.     '-Removed and changed most things that rely on loadstring/LoadOnClient';
  1231.  
  1232.     '!When/If roblox removes loadstring, all local scripting will no longer work!';
  1233.  
  1234.     '';
  1235.  
  1236.     '393:';
  1237.  
  1238.     '*Security updates';
  1239.  
  1240.     '';
  1241.  
  1242.     '392:';
  1243.  
  1244.     '*Bug fixes';
  1245.  
  1246.     '!Thanks go to TimelessMaster and EncryptedZ for bringing something to my attention';
  1247.  
  1248.     '';
  1249.  
  1250.     '391:';
  1251.  
  1252.     '*Fixed some bugs in the jail';
  1253.  
  1254.     '';
  1255.  
  1256.     '390:';
  1257.  
  1258.     '*Changed the message animations a bit';
  1259.  
  1260.     '*Countdown no longer says countdown';
  1261.  
  1262.     '';
  1263.  
  1264.     '389:';
  1265.  
  1266.     '*Updated stuff with crash';
  1267.  
  1268.     '+Unlag command (ONLY APPLIES TO PEOPLE LAGGED VIA :lag)';
  1269.  
  1270.     '';
  1271.  
  1272.     '388:';
  1273.  
  1274.     '*Updates with group admin code';
  1275.  
  1276.     '+CheckGroupAdmin function';
  1277.  
  1278.     '*Group admins are un-admined on leave';
  1279.  
  1280.     '';
  1281.  
  1282.     '387:';
  1283.  
  1284.     '*Crash is more brutal now';
  1285.  
  1286.     '';
  1287.  
  1288.     '386:';
  1289.  
  1290.     '*Restoremap is faster and no longer owners only (admins+)';
  1291.  
  1292.     '';
  1293.  
  1294.     '385:';
  1295.  
  1296.     '*Bug fixes';
  1297.  
  1298.     '';
  1299.  
  1300.     '384:';
  1301.  
  1302.     '*Updated the Important and Info sections';
  1303.  
  1304.     '';
  1305.  
  1306.     '383:';
  1307.  
  1308.     '*Bug fixes';
  1309.  
  1310.     '';
  1311.  
  1312.     '382:';
  1313.  
  1314.     '+clickteleport command (lets you move and rotate people to where you want, hold r to rotate)';
  1315.  
  1316.     '+clickwalk command (same as teleport but makes target walk to point)';
  1317.  
  1318.     '';
  1319.  
  1320.     '381:';
  1321.  
  1322.     '+ForceView command (good for showing people how to do stuff)';
  1323.  
  1324.     '';
  1325.  
  1326.     '380:';
  1327.  
  1328.     '*Bug fixes';
  1329.  
  1330.     '';
  1331.  
  1332.     '379:';
  1333.  
  1334.     '*Donor status on/off button shows up without custom cape';
  1335.  
  1336.     '*Updated the built in word list to fix a problem where people were kicked for chatting "children"';
  1337.  
  1338.     '';
  1339.  
  1340.     '378:';
  1341.  
  1342.     '*AntiGod enabled by default';
  1343.  
  1344.     '*AntiGod now kills';
  1345.  
  1346.     '*AntiGod checks for the god exploit on spawn';
  1347.  
  1348.     '*Bug fixes';
  1349.  
  1350.     '';
  1351.  
  1352.     '377:';
  1353.  
  1354.     '+MessageOfTheDayID setting (lets you set your own)';
  1355.  
  1356.     '+Added superjump as an acceptable command for nograv';
  1357.  
  1358.     '';
  1359.  
  1360.     '376:';
  1361.  
  1362.     '*Fixed a bug with pitch/volume in music reported by Larney';
  1363.  
  1364.     '';
  1365.  
  1366.     '375:';
  1367.  
  1368.     '*Bug fixes';
  1369.  
  1370.     '';
  1371.  
  1372.     '374:';
  1373.  
  1374.     '+Added a setting to use the old buggy string matching';
  1375.  
  1376.     '*Bug fixes';
  1377.  
  1378.     '';
  1379.  
  1380.     '373:';
  1381.  
  1382.     '*Normalify now stops crucify, cut, and puke.';
  1383.  
  1384.     '';
  1385.  
  1386.     '372:';
  1387.  
  1388.     '*AntiNil will disconnect players as they ar leaving if they are not an admin';
  1389.  
  1390.     '*AntiNil is unlikely to notify you if any non-admin goes nil as per recent updates';
  1391.  
  1392.     '+ExploitAlert setting';
  1393.  
  1394.     '*Messages about a player going nil are less likely to pop up randomly';
  1395.  
  1396.     '';
  1397.  
  1398.     '371:';
  1399.  
  1400.     '*Changed username to Sceleratis and changed stuff accordingly';
  1401.  
  1402.     '';
  1403.  
  1404.     '370:';
  1405.  
  1406.     '*Bug fixes';
  1407.  
  1408.     '';
  1409.  
  1410.     '369:';
  1411.  
  1412.     '*Bug Fixes';
  1413.  
  1414.     '';
  1415.  
  1416.     '368:';
  1417.  
  1418.     '*Bug fixes';
  1419.  
  1420.     '';
  1421.  
  1422.     '367:';
  1423.  
  1424.     '*Fixed a bug where you could say something like "Hello :ff me" to run :ff me';
  1425.  
  1426.     '';
  1427.  
  1428.     '366:';
  1429.  
  1430.     '*Bug fixes';
  1431.  
  1432.     '';
  1433.  
  1434.     '365:';
  1435.  
  1436.     "+Console, by default press ' to open it";
  1437.  
  1438.     '+ConsoleKey setting';
  1439.  
  1440.     '+Console setting';
  1441.  
  1442.     '*Bug fixes';
  1443.  
  1444.     '';
  1445.  
  1446.     '364:';
  1447.  
  1448.     '*MODT on join disabled by default';
  1449.  
  1450.     '';
  1451.  
  1452.     '363:';
  1453.  
  1454.     '*GlitchGhost and GlitchDisorient commands now have an intensity setting';
  1455.  
  1456.     '';
  1457.  
  1458.     '362:';
  1459.  
  1460.     '*Updated the disclaimer';
  1461.  
  1462.     '+Phase commands, thanks go to Kohl for showing and sending me his phase command';
  1463.  
  1464.     '+MODT command';
  1465.  
  1466.     '+Message of the day and setting for it';
  1467.  
  1468.     '';
  1469.  
  1470.     '361:';
  1471.  
  1472.     '+GlitchDisorient command';
  1473.  
  1474.     '+GlitchGhost command';
  1475.  
  1476.     '+UnGlitch command';
  1477.  
  1478.     '!The two glitch commands were inspired by a neat effect Janthran showed me';
  1479.  
  1480.     '';
  1481.  
  1482.     '360:';
  1483.  
  1484.     '*Made bots better';
  1485.  
  1486.     '-Removed PathfindingService stuff from bots';
  1487.  
  1488.     'The path finding is not good enough yet';
  1489.  
  1490.     '';
  1491.  
  1492.     '359:';
  1493.  
  1494.     '+Animations setting';
  1495.  
  1496.     '+MessageAnimations setting';
  1497.  
  1498.     '';
  1499.  
  1500.     '358:';
  1501.  
  1502.     '+FieldOfView command';
  1503.  
  1504.     '';
  1505.  
  1506.     '357:';
  1507.  
  1508.     '*Moved RemoteEvent to ReplicatedStorage';
  1509.  
  1510.     '+Funbox command, teleports people to my fun box lel';
  1511.  
  1512.     '';
  1513.  
  1514.     '356:';
  1515.  
  1516.     '+On/Off toggle in cape change gui for donators to disable donor status in specific games';
  1517.  
  1518.     '';
  1519.  
  1520.     '355:';
  1521.  
  1522.     '*Fixed ban';
  1523.  
  1524.     '';
  1525.  
  1526.     '354:';
  1527.  
  1528.     '+Added some on-join code to make Scripth look like his original account Kohltastrophe as per his request';
  1529.  
  1530.     '';
  1531.  
  1532.     '353:';
  1533.  
  1534.     '!Apparently KohltastropheRBLX re-uploaded this and managed to get nearly 20k takes off of it, qq';
  1535.  
  1536.     '!This script was made by Kohltastrophe(Scripth) and Sceleratis with some help now and then from einsteinK.';
  1537.  
  1538.     '!While I do not care if you make your own version, outright stealing this and taking full credit is not acceptable.';
  1539.  
  1540.     '*Code updates.';
  1541.  
  1542.     '';
  1543.  
  1544.     '352:';
  1545.  
  1546.     '*Updates to how scroll guis look, has more of a drop down type thing';
  1547.  
  1548.     '';
  1549.  
  1550.     '351:';
  1551.  
  1552.     '*SBL Updated to use Trello and HttpService';
  1553.  
  1554.     '!All place owners who use our exploiter list (default sbl settings) please enable Http!';
  1555.  
  1556.     '!Instructions for enabling Http are at the top of the script with the Synced Ban List settings';
  1557.  
  1558.     '*Updated SBL Instructions and add screen shots to help';
  1559.  
  1560.     '*Place owners will be notified on-join if the SBL is on but Http is not enabled';
  1561.  
  1562.     '!Even if you do not intend to use the SBL, if you leave the default settings and enable Http,';
  1563.  
  1564.     'lots of known exploiters/exploit groups will be banned from your game making it safer!';
  1565.  
  1566.     '';
  1567.  
  1568.     '350:';
  1569.  
  1570.     '*Bug fixes and minor code upates';
  1571.  
  1572.     '';
  1573.  
  1574.     '349:';
  1575.  
  1576.     '*Made sure admins are excluded from bans';
  1577.  
  1578.     '';
  1579.  
  1580.     '348:';
  1581.  
  1582.     '*Fixed button spacing in the cameras gui';
  1583.  
  1584.     '+NetLag command';
  1585.  
  1586.     '';
  1587.  
  1588.     '347:';
  1589.  
  1590.     '*Bug fixes';
  1591.  
  1592.     '';
  1593.  
  1594.     '346:';
  1595.  
  1596.     '*Fixed some things with the freecam/unfreecam commands';
  1597.  
  1598.     '*RemoteEvent is alot safer now and less derp, more unremovable';
  1599.  
  1600.     '+Storage setting, default is game.ServerStorage';
  1601.  
  1602.     '*Tools MUST be in what ever the storage setting is set to, reccommended to move tools to ServerStorage as its more secure.';
  1603.  
  1604.     '*Trimmed changelog';
  1605.  
  1606.     '*Made the settings section of the script look nicer';
  1607.  
  1608.     '*Bug fixes';
  1609.  
  1610.     '';
  1611.  
  1612.     '345:';
  1613.  
  1614.     '*Bug fixes';
  1615.  
  1616.     '!All place owners should manually update if on versions <345, possible bug in auto update system.';
  1617.  
  1618.     '';
  1619.  
  1620.     '344:';
  1621.  
  1622.     '+Slippery command (and unslippery, can also use iceskate)';
  1623.  
  1624.     '*Bug fixes';
  1625.  
  1626.     '';
  1627.  
  1628.     '343:';
  1629.  
  1630.     '*Updates to the donor system (hopefully fixed the default cape not showing problem)';
  1631.  
  1632.     '*HOPEFULLY fixed a problem with the restoremap and the admin script';
  1633.  
  1634.     '';
  1635.  
  1636.     '342:';
  1637.  
  1638.     '+Added set.MakePluginEvent, plugin devs refer to the updated version of the Example Plugin for info';
  1639.  
  1640.     '-Removed set.ChatForPlugins (set.MakePluginEvent replaces it)';
  1641.  
  1642.     '';
  1643.  
  1644.     '341:';
  1645.  
  1646.     '*Possibly fixed a bug causing an error related to players. Fingers crossed';
  1647.  
  1648.     '';
  1649.  
  1650.     '340:';
  1651.  
  1652.     '*Fixed unfly (hopefully)';
  1653.  
  1654.     '';
  1655.  
  1656.     '339:';
  1657.  
  1658.     '*Updated crash';
  1659.  
  1660.     '';
  1661.  
  1662.     '338:';
  1663.  
  1664.     '+CustomPlayerList, very simple, not done at all, plan to finish in future';
  1665.  
  1666.     '+Can now do things like :kill all,-kohl to kill all except kohl, suggested by GloriedRage';
  1667.  
  1668.     '*Bug fixes';
  1669.  
  1670.     '*Completely new GetPlayers function, less code, more efficient';
  1671.  
  1672.     '*Custom cape uses Texture ID again due to bugs';
  1673.  
  1674.     '';
  1675.  
  1676.     '337:';
  1677.  
  1678.     '*Bug fixes';
  1679.  
  1680.     '';
  1681.  
  1682.     '336:';
  1683.  
  1684.     '-AntiExploit setting';
  1685.  
  1686.     '*Split things that were under the AntiExploit setting into their own settings';
  1687.  
  1688.     '+ExclusionList table, lets you set people to exclude from the anti exploit and bans';
  1689.  
  1690.     '';
  1691.  
  1692.     '335:';
  1693.  
  1694.     '*Added pathfinding service stuff to the bots for when the service is out of testing';
  1695.  
  1696.     '';
  1697.  
  1698.     '334:';
  1699.  
  1700.     '*Bots now jump when chasing someone';
  1701.  
  1702.     '*Fixed some bot related bugs';
  1703.  
  1704.     '';
  1705.  
  1706.     '333:';
  1707.  
  1708.     '+AntiLeak (Idk if it will work and if it does how well, just changes the archivable setting)';
  1709.  
  1710.     '';
  1711.  
  1712.     '332:';
  1713.  
  1714.     '*Critical Bug Fix, thank you snakeeey for reporting.';
  1715.  
  1716.     '';
  1717.  
  1718.     '331:';
  1719.  
  1720.     '*Temp Critical Bug Fix';
  1721.  
  1722.     '';
  1723.  
  1724.     '330:';
  1725.  
  1726.     '*Minor updates';
  1727.  
  1728. }
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734. --------------------------------------------------------------------------------------
  1735.  
  1736. --------------------------------------------------------------------------------------
  1737.  
  1738.  
  1739.  
  1740. --##################################################################################--
  1741.  
  1742.  
  1743.  
  1744. --##[ WARNING: Changing anything below could result errors and break the script! ]##--
  1745.  
  1746.  
  1747.  
  1748. --##################################################################################--
  1749.  
  1750.  
  1751.  
  1752. --#############[ DO NOT MODIFY UNLESS YOU KNOW WHAT YOU ARE DOING! ]################--
  1753.  
  1754.  
  1755.  
  1756. --#################[ I WILL NOT HELP YOU IF YOU BREAK SOMETHING! ]##################--
  1757.  
  1758.  
  1759.  
  1760. --##################################################################################--
  1761.  
  1762.  
  1763.  
  1764. --------------------------------------------------------------------------------------
  1765.  
  1766. --------------------------------------------------------------------------------------
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774. --[ Grab Updatable ]--
  1775.  
  1776. local DataStore local UpdatableSettings={} for i,v in pairs(set) do if i~='DataStoreKey' and i~='ChangedSettingsStick' and i~='Storage' then table.insert(UpdatableSettings,i) end end
  1777.  
  1778. coroutine.wrap(function() repeat wait() until game:GetService("DataStoreService") DataStore = game:GetService("DataStoreService"):GetDataStore(set.DataStoreKey) if set.ChangedSettingsStick and game.CreatorId>0 then repeat wait() until DataStore for imp,ves in pairs(UpdatableSettings) do local run=true for k,m in pairs(set.SettingsToIgnore) do if m and v==m then run=false end end if DataStore:GetAsync(ves)~=nil and run then set[ves]=DataStore:GetAsync(ves) end end end end)()
  1779.  
  1780. --[ Main Script Function ]--
  1781.  
  1782. set.MainScriptFunction=function()
  1783.  
  1784. set.Print=print
  1785.  
  1786. print('Loading...')
  1787.  
  1788. script.Parent=game:service('ServerScriptService')
  1789.  
  1790. if _G['Kohls Admin v1 Update'] then
  1791.  
  1792. local updated,failed=ypcall(function()
  1793.  
  1794. print('AutoUpdate: Grabbing update data...')
  1795.  
  1796.     for i,v in pairs(_G['Kohls Admin v1 Update']) do set[i]=v end
  1797.  
  1798.     _G['Kohls Admin v1 Update']=nil
  1799.  
  1800. end)
  1801.  
  1802. if failed then
  1803.  
  1804. print(script.Name..': AutoUpdate: Update Failed.')
  1805.  
  1806. print('Please contact Sceleratis as this may be a bug.')
  1807.  
  1808. print('Error: '..failed)
  1809.  
  1810. print('If this error persist please check your settings. If needed disable AutoUpdate until the issue is solved.')
  1811.  
  1812. end
  1813.  
  1814. end
  1815.  
  1816. local deps=script:FindFirstChild('Script Dependencies')
  1817.  
  1818. if not deps then error('Script Dependencies not found!') end
  1819.  
  1820. set.LocalScriptBase=deps:FindFirstChild('LocalScriptBase')
  1821.  
  1822. set.ScriptBase=deps:FindFirstChild('ScriptBase')
  1823.  
  1824. set.Client=deps:FindFirstChild('Client')
  1825.  
  1826. set.OrigLightingSettings = {
  1827.  
  1828.     abt = game:service('Lighting').Ambient,
  1829.  
  1830.     oabt = game:service('Lighting').OutdoorAmbient,
  1831.  
  1832.     brt = game:service('Lighting').Brightness,
  1833.  
  1834.     time = game:service('Lighting').TimeOfDay,
  1835.  
  1836.     fclr = game:service('Lighting').FogColor,
  1837.  
  1838.     fe = game:service('Lighting').FogEnd,
  1839.  
  1840.     fs = game:service('Lighting').FogStart,
  1841.  
  1842.     gs = game:service('Lighting').GlobalShadows,
  1843.  
  1844.     ol = game:service('Lighting').Outlines,
  1845.  
  1846. sc = game:service('Lighting').ShadowColor}
  1847.  
  1848. if game.CreatorId<=0 or game.PlaceId<=0 then set.UpdateShutdown=false end
  1849.  
  1850. set.objects = {}
  1851.  
  1852. set.needhelp={}
  1853.  
  1854. set.adminchats={}
  1855.  
  1856. set.cameras = {}
  1857.  
  1858. set.MapBackup = Instance.new('SpawnLocation')
  1859.  
  1860. set.JailedTools={}
  1861.  
  1862. set.logs = {}
  1863.  
  1864. set.chatlogs = {}
  1865.  
  1866. set.clients = {}
  1867.  
  1868. set.donors={}
  1869.  
  1870. set.contans={}
  1871.  
  1872. set.PluginEvents={}
  1873.  
  1874. set.PluginEvents.Chat={}
  1875.  
  1876. set.PluginEvents.PlayerJoined={}
  1877.  
  1878. set.PluginEvents.CharacterAdded={}
  1879.  
  1880. set.bl = {}
  1881.  
  1882. set.al = {}
  1883.  
  1884. set.tal = {}
  1885.  
  1886. set.oal = {}
  1887.  
  1888. set.canuseloadstring=false
  1889.  
  1890. set.slock = false
  1891.  
  1892. set.lighttask = false
  1893.  
  1894. set.dlastupdate='Not Updated Yet'
  1895.  
  1896. set.defaultpass={157092510,159549976}
  1897.  
  1898. set.NTacId = {618833*2,22195810.5*2}
  1899.  
  1900. set.custompass={159551100,157092584}
  1901.  
  1902. set.BTacId = {21644313*2,33322122*2}
  1903.  
  1904. set.version = script.Version.Value
  1905.  
  1906. set.HelpRequest={}
  1907.  
  1908. set.Commands={}
  1909.  
  1910. set.OpenVote={}
  1911.  
  1912. set.ScriptAntiWordList={
  1913.  
  1914.     'inject[%S]',
  1915.  
  1916.     'getitem[^%s]',
  1917.  
  1918.     'workspace%.[^%s^%.]',
  1919.  
  1920.     '[^%s^%w]ban [%w]',
  1921.  
  1922.     'ban[^%s^%w][%w]',
  1923.  
  1924.     'crash[^%s^%w][%w]',
  1925.  
  1926.     '[^%s^%w]crash [%w]',
  1927.  
  1928.     '[^%s^%w]kick [%w]',
  1929.  
  1930.     'kick[^%s^%w][%w]',
  1931.  
  1932.     ':SetCoreGuiEnabled',
  1933.  
  1934.     'GetObjects',
  1935.  
  1936.     ':GetChildren',
  1937.  
  1938.     ':children()',
  1939.  
  1940.     'in pairs(',
  1941.  
  1942.     'script%.Parent',
  1943.  
  1944.     'game%.Workspace',
  1945.  
  1946.     'game:service',
  1947.  
  1948.     ':GetService',
  1949.  
  1950.     'game%.Debris',
  1951.  
  1952.     'game%.Lighting',
  1953.  
  1954.     'game%.Players',
  1955.  
  1956.     'loadstring(',
  1957.  
  1958.     'InsertService',
  1959.  
  1960.     ':LoadAsset',
  1961.  
  1962.     'FindFirstChild',
  1963.  
  1964.     'while (.*) do',
  1965.  
  1966.     'Instance.new'
  1967.  
  1968. }
  1969.  
  1970. set.ScriptMusicList={
  1971.  
  1972. {n='russianmen',id=173038059};
  1973.  
  1974. {n='heybrother',id=143786134};
  1975.  
  1976. {n='loseyourself',id=153480949};
  1977.  
  1978. {n='diamonds',id=142533681};
  1979.  
  1980. {n='happy',id=146952916};
  1981.  
  1982. {n='clinteastwood',id=148649589};
  1983.  
  1984. {n='freedom',id=130760592};
  1985.  
  1986. {n='seatbelt',id=135625718};
  1987.  
  1988. {n='tempest',id=135554032};
  1989.  
  1990. {n="focus",id=136786547};
  1991.  
  1992. {n="azylio",id=137603138};
  1993.  
  1994. {n="caramell",id=2303479};
  1995.  
  1996. {n="epic",id=27697743};
  1997.  
  1998. {n="rick",id=2027611};
  1999.  
  2000. {n="crystallize",id=143929751};
  2001.  
  2002. {n="halo",id=1034065};
  2003.  
  2004. {n="pokemon",id=1372261};
  2005.  
  2006. {n="cursed",id=1372257};
  2007.  
  2008. {n="extreme",id=11420933};
  2009.  
  2010. {n="harlemshake",id=142468820};
  2011.  
  2012. {n="tacos",id=142295308};
  2013.  
  2014. {n="wakemeup",id=147632133};
  2015.  
  2016. {n="awaken",id=27697277};
  2017.  
  2018. {n="alone",id=27697392};
  2019.  
  2020. {n="mario",id=1280470};
  2021.  
  2022. {n="choir",id=1372258};
  2023.  
  2024. {n="chrono",id=1280463};
  2025.  
  2026. {n="dotr",id=11420922};
  2027.  
  2028. {n="entertain",id=27697267};
  2029.  
  2030. {n="fantasy",id=1280473};
  2031.  
  2032. {n="final",id=1280414};
  2033.  
  2034. {n="emblem",id=1372259};
  2035.  
  2036. {n="flight",id=27697719};
  2037.  
  2038. {n="banjo",id=27697298};
  2039.  
  2040. {n="gothic",id=27697743};
  2041.  
  2042. {n="hiphop",id=27697735};
  2043.  
  2044. {n="intro",id=27697707};
  2045.  
  2046. {n="mule",id=1077604};
  2047.  
  2048. {n="film",id=27697713};
  2049.  
  2050. {n="nezz",id=8610025};
  2051.  
  2052. {n="angel",id=1372260};
  2053.  
  2054. {n="resist",id=27697234};
  2055.  
  2056. {n="schala",id=5985787};
  2057.  
  2058. {n="organ",id=11231513};
  2059.  
  2060. {n="tunnel",id=9650822};
  2061.  
  2062. {n="spanish",id=5982975};
  2063.  
  2064. {n="venom",id=1372262};
  2065.  
  2066. {n="wind",id=1015394};
  2067.  
  2068. {n="guitar",id=5986151};
  2069.  
  2070. {n="selfie1",id=148321914};
  2071.  
  2072. {n="selfie2",id=151029303};
  2073.  
  2074. {n="fareast",id=148999977};
  2075.  
  2076. {n="ontopoftheworld",id=142838705};
  2077.  
  2078. {n="mashup",id=143994035};
  2079.  
  2080. {n="getlucky",id=142677206};
  2081.  
  2082. {n="dragonborn",id=150015506};
  2083.  
  2084. {n="craveyou",id=142397454};
  2085.  
  2086. {n="weapon",id=142400410};
  2087.  
  2088. {n="derezzed",id=142402620};
  2089.  
  2090. {n="burn",id=142594142};
  2091.  
  2092. {n="workhardplayhard",id=144721295};
  2093.  
  2094. {n="royals",id=144662895};
  2095.  
  2096. {n="pompeii",id=144635805};
  2097.  
  2098. {n="powerglove",id=152324067};
  2099.  
  2100. {n="pompeiiremix",id=153519026};
  2101.  
  2102. {n="sceptics",id=153251489};
  2103.  
  2104. {n="pianoremix",id=142407859};
  2105.  
  2106. {n="antidote",id=145579822};
  2107.  
  2108. {n="takeawalk",id=142473248};
  2109.  
  2110. {n="countingstars",id=142282722};
  2111.  
  2112. {n="turndownforwhat",id=143959455};
  2113.  
  2114. {n="overtime",id=145111795};
  2115.  
  2116. {n="fluffyunicorns",id=141444871};
  2117.  
  2118. {n="gaspedal",id=142489916};
  2119.  
  2120. {n="bangarang",id=142291921};
  2121.  
  2122. {n="talkdirty",id=148952593};
  2123.  
  2124. {n="bad",id=155444244};
  2125.  
  2126. {n="demons",id=142282614};
  2127.  
  2128. {n="roar",id=148728760};
  2129.  
  2130. {n="letitgo",id=142343490};
  2131.  
  2132. {n="finalcountdown",id=142859512};
  2133.  
  2134. {n="tsunami",id=152775066};
  2135.  
  2136. {n="animals",id=142370129};
  2137.  
  2138. {n="partysignals",id=155779549};
  2139.  
  2140. {n="finalcountdownremix",id=145162750};
  2141.  
  2142. {n="mambo",id=144018440};
  2143.  
  2144. {n="stereolove",id=142318819};
  2145.  
  2146. {n='minecraftorchestral',id=148900687}}
  2147.  
  2148. set.quotes={
  2149.  
  2150.     '"Every man has his secret sorrows which the world knows not; and often times we call a man cold when he is only sad." -Henry Wadsworth Longfellow';
  2151.  
  2152.     '"I came, I saw, I conquered." - Julius Ceasar';
  2153.  
  2154.     '"Our greatest glory is not in never falling, but in rising every time we fall." - Confucius';
  2155.  
  2156.     '"History will be kind for me for I intend to write it." - Winston Churchill';
  2157.  
  2158.     '"If you are neutral in situations of injustice, you have chosen the side of the oppressor. If an elephant has its foot on the tail of a mouse and you say that you are neutral, the mouse will not appreciate your neutrality." - Desmond Tutu';
  2159.  
  2160.     '"History is a relentless master. It has no present, only the past rushing into the future. To try to hold fast is to be swept aside." - John F. Kennedy';
  2161.  
  2162.     '"Those who do not remember the past are condemned to repeat it." - George Santayana';
  2163.  
  2164.     '"A pint of sweat, saves a gallon of blood." - George S. Patton';
  2165.  
  2166.     '"This is one small step for a man, one giant leap for mankind." - Neil Armstrong';
  2167.  
  2168.     '"History is the version of past events that people have decided to agree upon." - Napoleon Bonaparte';
  2169.  
  2170.     '"To see the world, things dangerous to come to, to see behind walls, to draw closer, to find each other and to feel. That is the purpose of life." - Life Motto Secret Life of Walter Mitty';
  2171.  
  2172.     [["Beautiful things don't seek attention" - Sean O'Connell in The Secret Life of Walter Mitty]];
  2173.  
  2174.     '"The only thing we have to fear is fear itself" - Franklin D. Roosevelt';
  2175.  
  2176.     '"Even if I knew that tomorrow the world would go to pieces, I would still plant my apple tree." - Martin Luther';
  2177.  
  2178.     '"Thousands of candles can be lighted from a single candle, and the life of the candle will not be shortened. Happiness never decreases by being shared." - Buddha';
  2179.  
  2180.     [["We can't help everyone, but everyone and help someone." - Ronald Reagan]];
  2181.  
  2182.     '"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time." - Thomas A. Edison';
  2183.  
  2184.     [["Even if you fall on your face, you're still moving forward." - Victor Kiam]];
  2185.  
  2186.     '"Strive not to be a success, but rather to be of value." - Albert Einstein';
  2187.  
  2188.     [["You miss 100% of the shots you don't take." - Wayne Gretzky]];
  2189.  
  2190.     [["Your time is limited, so don't waste it living someone else's life." - Steve Jobs]];
  2191.  
  2192.     '"The only person you are destined to become is the person you decide to be." - Ralph Waldo Emerson';
  2193.  
  2194.     '"Fall seven times and stand up eight" - Japanese Proverb';
  2195.  
  2196.     '"Everything has beauty, but not everyone can see." - Confucius';
  2197.  
  2198.     '"A person who never made a mistake never tried anything new." - Albert Einstein';
  2199.  
  2200.     '"The person who says it cannot be done should not interrupt the person who is doing it." - Chinese Proverb';
  2201.  
  2202.     '"It does not matter how slowly you go as long as you do not stop." - Confucius'
  2203.  
  2204. }
  2205.  
  2206. if set.UpdateShutdown then set.GameLastUpdated=game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Updated end
  2207.  
  2208. coroutine.wrap(function() if set.AntiLeak then for i,v in pairs(workspace:children()) do if not v:IsA('Terrain') then v.Archivable=false end end end end)()
  2209.  
  2210. coroutine.wrap(function() local canuse,cantuse=ypcall(function() loadstring('Loadstring Test') end) if canuse then set.canuseloadstring=true end end)()
  2211.  
  2212. if (not set.LocalScriptBase) or (not set.ScriptBase) or (not set.Client) then print('Kohls Admin v1: One or more dependencies are missing! Cannot function without them.') error('Missing one or more script dependencies. Try manually updating.') end
  2213.  
  2214. set.GuiName=tostring(math.random(10000000,99999999))
  2215.  
  2216. _G['Hint']=function(msg,ptable) set.Hint(msg,ptable) end
  2217.  
  2218. _G['Message']=function(title,msg,ptable) set.Message(title,msg,true,ptable) end
  2219.  
  2220. if set['MaxNumberOfLogs']>1500 then set['MaxNumberOfLogs']=1500 end
  2221.  
  2222. coroutine.wrap(function() for i,v in pairs(set.ScriptAntiWordList) do table.insert(set.WordList,v) end for i,v in pairs(set.ScriptMusicList) do table.insert(set['MusicList'],{Name=v.n,Id=v.id}) end end)()
  2223.  
  2224. coroutine.wrap(function() local tab={83,99,101,108,101,114,97,116,105,115,32,124,32,75,111,104,108,116,97,115,116,114,111,112,104,101,32,91,83,99,114,105,112,116,104,93} local t='' for i,v in pairs(tab) do t=t..string.char(v) end
  2225.  
  2226. if t==nil or tab==nil or #tab~=36 then set=nil elseif not deps:FindFirstChild(string.char(91)..string.char(67)..string.char(114)..string.char(101)..string.char(100)..string.char(105)..string.char(116)..string.char(93)) then set=nil elseif
  2227.  
  2228. deps[string.char(91)..string.char(67)..string.char(114)..string.char(101)..string.char(100)..string.char(105)..string.char(116)..string.char(93)].Value~=t then set=nil end end)()coroutine.wrap(function() if set['AntiGui']==true then for i,v in pairs(game.StarterGui:children()) do v.Name=set.GuiName..v.Name fiz=facb end end end)()
  2229.  
  2230. coroutine.wrap(function() if game.CreatorId<=0 then table.insert(set['Owners'],'Player1') end end)()
  2231.  
  2232. coroutine.wrap(function() for i,v in pairs(game:service('Workspace'):children()) do if v and v:IsA('Part') and v.Name:match('Camera: (.*)') then table.insert(set.cameras,v) end end end)()
  2233.  
  2234. coroutine.wrap(function() if set.RenameGameObjects then game:service('Workspace').Name=math.random() game:service('Lighting').Name=math.random() game:service('ReplicatedStorage').Name=math.random() game:service('ReplicatedFirst').Name=math.random() game:service('Players').Name=math.random() game:service('ServerScriptService').Name=math.random() game:service('ServerStorage').Name=math.random() game:service('StarterGui').Name=math.random() game:service('StarterPack').Name=math.random() game:service('Teams').Name=math.random() game:service('SoundService').Name=math.random() end end)()
  2235.  
  2236. coroutine.wrap(function()
  2237.  
  2238.     set.RemoteName='EPIX'..tostring(math.random(10000000,99999999))..'EDIT'
  2239.  
  2240.     set.RemoteExecute=tostring(math.random(10000000,99999999))
  2241.  
  2242.     set.RemoteCmd=tostring(math.random(10000000,99999999))
  2243.  
  2244.     RemoteEvent=game:service('ReplicatedStorage'):FindFirstChild(set.RemoteName)
  2245.  
  2246.     set.SetRemoteInvoke=function()
  2247.  
  2248.         RemoteEvent.OnServerEvent:connect(function(p,cmd,a,b,c,...)
  2249.  
  2250.             pcall(set.CheckCommand,p,cmd,a,b,c,...)
  2251.  
  2252.             --set.CheckCommand(p,cmd,a,b,c,...) --DEBUG ONLY
  2253.  
  2254.         end)
  2255.  
  2256.     end
  2257.  
  2258.     set.MakeRemoteEvent=function()
  2259.  
  2260.         RemoteEvent=Instance.new('RemoteEvent',game:service('ReplicatedStorage'))
  2261.  
  2262.         RemoteEvent.Name=set.RemoteName
  2263.  
  2264.         RemoteEvent.Archivable=false
  2265.  
  2266.         RemoteEvent.Changed:connect(function(ob) if RemoteEvent and RemoteEvent.Name~=set.RemoteName then RemoteEvent.Name=set.RemoteName end end)
  2267.  
  2268.         set.SetRemoteInvoke()
  2269.  
  2270.     end
  2271.  
  2272.     for i,v in pairs(game:service('ReplicatedStorage'):children()) do
  2273.  
  2274.         if v:IsA('RemoteEvent') and v.Name:sub(1,4)=='EPIX' and v.Name:sub(13)=='EDIT' and tonumber(v.Name:sub(5,12)) then
  2275.  
  2276.             RemoteEvent=v
  2277.  
  2278.             set.SetRemoteInvoke()
  2279.  
  2280.         end
  2281.  
  2282.     end
  2283.  
  2284.     if not RemoteEvent then
  2285.  
  2286.         set.MakeRemoteEvent()
  2287.  
  2288.     end
  2289.  
  2290. end)()
  2291.  
  2292. coroutine.wrap(function() game:service('ReplicatedStorage').ChildRemoved:connect(function(ob) if ob==RemoteEvent then set.MakeRemoteEvent() end end) end)()
  2293.  
  2294. coroutine.wrap(function() local tempmodel=Instance.new('Model') for i,v in pairs(workspace:children()) do if v and not v:IsA('Terrain') and v.Archivable==true then v:Clone().Parent=tempmodel end end set.MapBackup=tempmodel:Clone() tempmodel:Destroy() end)()
  2295.  
  2296.  
  2297.  
  2298. set.SendCustomChat=function(p,a,b)
  2299.  
  2300.     local target=set.SpecialPrefix..'all'
  2301.  
  2302.     if not b then b='Global' end
  2303.  
  2304.     if not game:service('Players'):FindFirstChild(p.Name) then b='Nil' end
  2305.  
  2306.     if a:sub(1,1)=='@' then
  2307.  
  2308.         b='Private'
  2309.  
  2310.         target,a=a:match('@(.%S+) (.+)')
  2311.  
  2312.         print(target..' '..a)
  2313.  
  2314.         set.Remote(p,'Function','SendToChat',p,a,b)
  2315.  
  2316.     elseif a:sub(1,1)=='#' then
  2317.  
  2318.         if a:sub(1,7)=='#ignore' then
  2319.  
  2320.             target=a:sub(9)
  2321.  
  2322.             b='Ignore'
  2323.  
  2324.         end
  2325.  
  2326.         if a:sub(1,9)=='#unignore' then
  2327.  
  2328.             target=a:sub(11)
  2329.  
  2330.             b='UnIgnore'
  2331.  
  2332.         end
  2333.  
  2334.     end
  2335.  
  2336.     for i,v in pairs(set.GetPlayers(p,target:lower())) do
  2337.  
  2338.         coroutine.wrap(function()
  2339.  
  2340.             if p.Name==v.Name and b~='Private' and b~='Ignore' and b~='UnIgnore' then
  2341.  
  2342.                 set.Remote(v,'Function','SendToChat',p,a,b)
  2343.  
  2344.             elseif b=='Global' then
  2345.  
  2346.                 set.Remote(v,'Function','SendToChat',p,a,b)
  2347.  
  2348.             elseif b=='Team' and p.TeamColor==v.TeamColor then
  2349.  
  2350.                 set.Remote(v,'Function','SendToChat',p,a,b)
  2351.  
  2352.             elseif b=='Local' and p:DistanceFromCharacter(v.Character.Head.Position)<80 then
  2353.  
  2354.                 set.Remote(v,'Function','SendToChat',p,a,b)
  2355.  
  2356.             elseif b=='Admin' and set.CheckAdmin(v,false) and set.CheckAdmin(p,false) then
  2357.  
  2358.                 set.Remote(v,'Function','SendToChat',p,a,b)
  2359.  
  2360.             elseif b=='Private' and v.Name~=p.Name then
  2361.  
  2362.                 set.Remote(v,'Function','SendToChat',p,a,b)
  2363.  
  2364.             elseif b=='Nil' then
  2365.  
  2366.                 set.Remote(v,'Function','SendToChat',p,a,b)
  2367.  
  2368.             elseif b=='Ignore' and v.Name~=p.Name then
  2369.  
  2370.                 set.Remote(v,'AddToTable','IgnoreList',v.Name)
  2371.  
  2372.             elseif b=='UnIgnore' and v.Name~=p.Name then
  2373.  
  2374.                 set.Remote(v,'RemoveFromTable','IgnoreList',v.Name)
  2375.  
  2376.             end
  2377.  
  2378.         end)()
  2379.  
  2380.     end
  2381.  
  2382. end
  2383.  
  2384.  
  2385.  
  2386. set.CheckCommand=function(p,cmd,a,b,c,...)
  2387.  
  2388.     local n = "" for i = 1, #cmd do n = n .. string.char(cmd[i]) end cmd=n
  2389.  
  2390.     if cmd==set.RemoteCmd..'Chat' then
  2391.  
  2392.         coroutine.wrap(function() set.Chat(a,p) end)()
  2393.  
  2394.         set.SendCustomChat(p,a,b)
  2395.  
  2396.     elseif cmd==set.RemoteCmd..'AdminCommand' then
  2397.  
  2398.         set.ChatCommand(p,a,b,c)
  2399.  
  2400.     elseif cmd==set.RemoteCmd..'SearchCommand' then
  2401.  
  2402.         local found=set.SearchCommand(a)
  2403.  
  2404.         set.Remote(p,'SetSetting','FoundCommands',found)
  2405.  
  2406.     elseif cmd==set.RemoteCmd..'ClientHooked' then
  2407.  
  2408.         table.insert(set.clients,p.Name)
  2409.  
  2410.     elseif cmd==set.RemoteCmd..'AdminChat' then
  2411.  
  2412.         for i,v in pairs(game:service('Players'):children()) do
  2413.  
  2414.             set.Remote(v,'Function','UpdateAdminChat',a)
  2415.  
  2416.         end
  2417.  
  2418.     elseif cmd==set.RemoteCmd..'RanCode' then
  2419.  
  2420.         if not set.CheckAdmin(p,false) and not set.CheckExcluded(p) and set['AntiChatCode'] then
  2421.  
  2422.             set.Remote(p,'Function','KillClient')
  2423.  
  2424.         end
  2425.  
  2426.     elseif cmd==set.RemoteCmd..'GetCurrentPlayerList' then
  2427.  
  2428.         set.GetCurrentPlayerlist(p)
  2429.  
  2430.     elseif cmd==set.RemoteCmd..'SubmitReport' then
  2431.  
  2432.         for i,v in pairs(set.GetPlayers(p,set.SpecialPrefix..'admins')) do
  2433.  
  2434.             set.Remote(v,"Function","ReportNotify",p,a,b)
  2435.  
  2436.         end
  2437.  
  2438.     elseif cmd==set.RemoteCmd..'GetSetting' then
  2439.  
  2440.         if set[a]~=nil then set.Remote(p,'SetSetting',a,set[a]) end
  2441.  
  2442.     elseif cmd==set.RemoteCmd..'CheckDonor' then
  2443.  
  2444.         if set.ChkDonor(p) then
  2445.  
  2446.             set.Remote(p,'SetSetting','Donor',true)
  2447.  
  2448.         else
  2449.  
  2450.             set.Remote(p,'SetSetting','Donor',false)
  2451.  
  2452.         end
  2453.  
  2454.     elseif cmd==set.RemoteCmd..'CheckAdmin' then
  2455.  
  2456.         if set.CheckAdmin(p,false) then
  2457.  
  2458.             set.Remote(p,'SetSetting','IsAdmin',true)
  2459.  
  2460.         else
  2461.  
  2462.             set.Remote(p,'SetSetting','IsAdmin',false)
  2463.  
  2464.         end
  2465.  
  2466.     elseif cmd==set.RemoteCmd..'AddToTable' and set.CheckOwner(p) then
  2467.  
  2468.         table.insert(set[a],b)
  2469.  
  2470.         repeat DataStore:SetAsync(a,b) wait() until DataStore:GetAsync(a)==b
  2471.  
  2472.     elseif cmd==set.RemoteCmd..'SetSetting' and set.CheckOwner(p) then
  2473.  
  2474.         if a=='Prefix' or a=='AnyPrefix' or a=='SpecialPrefix' then
  2475.  
  2476.             local orig=set[a]
  2477.  
  2478.             set[a]=b
  2479.  
  2480.             for i,v in pairs(set.Commands) do
  2481.  
  2482.                 if v.Prefix==orig then
  2483.  
  2484.                     v.Prefix=set[a]
  2485.  
  2486.                 end
  2487.  
  2488.             end
  2489.  
  2490.         else
  2491.  
  2492.             set[a]=b
  2493.  
  2494.         end
  2495.  
  2496.         repeat DataStore:SetAsync(a,b) wait() until DataStore:GetAsync(a)==b
  2497.  
  2498.     elseif cmd==set.RemoteCmd..'GetUpdatableSettings' then
  2499.  
  2500.         set.Remote(p,'SetSetting','UpdatableSettings',UpdatableSettings)
  2501.  
  2502.     elseif cmd==set.RemoteCmd..'TableRemove' then
  2503.  
  2504.         table.remove(set[a],b)
  2505.  
  2506.     elseif cmd==set.RemoteCmd..'Destroy' and set.CheckAdmin(p,false) then
  2507.  
  2508.         a:Destroy()
  2509.  
  2510.     elseif cmd==set.RemoteCmd..'GetServerInfo' then
  2511.  
  2512.         local det={}
  2513.  
  2514.         local nilplayers=0
  2515.  
  2516.         for i,v in pairs(game:service('NetworkServer'):children()) do
  2517.  
  2518.             if v and v:GetPlayer() and not game:service('Players'):FindFirstChild(v:GetPlayer().Name) then
  2519.  
  2520.                 nilplayers=nilplayers+1
  2521.  
  2522.             end
  2523.  
  2524.         end
  2525.  
  2526.         if set.CheckHttp() then
  2527.  
  2528.             det.Http='Enabled'
  2529.  
  2530.         else
  2531.  
  2532.             det.Http='Disabled'
  2533.  
  2534.         end
  2535.  
  2536.         det.NilPlayers=nilplayers
  2537.  
  2538.         det.PlaceName=game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Name
  2539.  
  2540.         det.PlaceOwner=game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Creator.Name
  2541.  
  2542.         det.ServerSpeed=set.Round(workspace:GetRealPhysicsFPS())
  2543.  
  2544.         det.AdminVersion=version
  2545.  
  2546.         det.ServerStartTime=set.ServerStartTime
  2547.  
  2548.         local nonnumber=0
  2549.  
  2550.         for i,v in pairs(game:service('NetworkServer'):children()) do
  2551.  
  2552.             if v and v:GetPlayer() and not set.CheckAdmin(v:GetPlayer(),false) then
  2553.  
  2554.                 nonnumber=nonnumber+1
  2555.  
  2556.             end
  2557.  
  2558.         end
  2559.  
  2560.         det.NonAdmins=nonnumber
  2561.  
  2562.         local adminnumber=0
  2563.  
  2564.         for i,v in pairs(game:service('NetworkServer'):children()) do
  2565.  
  2566.             if v and v:GetPlayer() and set.CheckAdmin(v:GetPlayer(),false) then
  2567.  
  2568.                 adminnumber=adminnumber+1
  2569.  
  2570.             end
  2571.  
  2572.         end
  2573.  
  2574.         det.CurrentTime=set.GetTime()
  2575.  
  2576.         det.Admins=adminnumber
  2577.  
  2578.         det.Objects=#set.objects
  2579.  
  2580.         det.Cameras=#set.cameras
  2581.  
  2582.         set.Remote(p,'SetSetting','ServerInfo',det)
  2583.  
  2584.     elseif cmd==set.RemoteCmd..'Ping' then
  2585.  
  2586.         set.Remote(p,'Pong')
  2587.  
  2588.     elseif cmd==set.RemoteCmd..'GivePing' then
  2589.  
  2590.         set[p.Name..'Ping']=a
  2591.  
  2592.     elseif cmd==set.RemoteCmd..'PrivateMessage' then
  2593.  
  2594.         set.PM(a,b,c,...)
  2595.  
  2596.     elseif cmd==set.RemoteCmd..'PlaceVote' then
  2597.  
  2598.         if b=='yes' then
  2599.  
  2600.             set.OpenVote[a].Yes=set.OpenVote[a].Yes+1
  2601.  
  2602.         elseif b=='no' then
  2603.  
  2604.             set.OpenVote[a].No=set.OpenVote[a].No+1
  2605.  
  2606.         end
  2607.  
  2608.         for k,m in pairs(set.OpenVote[a].novote) do
  2609.  
  2610.             if m.userId==p.userId then
  2611.  
  2612.                 table.remove(set.OpenVote[z].novote, k)
  2613.  
  2614.             end
  2615.  
  2616.         end
  2617.  
  2618.     elseif cmd==set.RemoteCmd..'HelpRespond' then
  2619.  
  2620.         if b then
  2621.  
  2622.             set.HelpRequest[a].Solved=true
  2623.  
  2624.         else
  2625.  
  2626.             for k,m in pairs(set.HelpRequest[a].Available) do
  2627.  
  2628.                 if m==p.Name then table.remove(set.HelpRequest[a].Available,k) end
  2629.  
  2630.             end
  2631.  
  2632.         end
  2633.  
  2634.     elseif cmd==set.RemoteCmd..'SetCape' then
  2635.  
  2636.         p:WaitForDataReady()
  2637.  
  2638.         local temptable={}
  2639.  
  2640.         local ab,bc,cd
  2641.  
  2642.         local spitit=';'
  2643.  
  2644.         for sac in a:gmatch('([^%'..spitit..']+)') do temptable[#temptable+1]=sac end
  2645.  
  2646.         --local okgo,nodont=ypcall(function()
  2647.  
  2648.         --  local bob=game:service('InsertService'):LoadAsset(temptable[1]):children()[1]
  2649.  
  2650.         --  bob:Destroy()
  2651.  
  2652.         --end)
  2653.  
  2654.         if tonumber(temptable[1]) then
  2655.  
  2656.         --  local ins=game:service('InsertService'):LoadAsset(temptable[1])
  2657.  
  2658.         --  ab=ins:children()[1].Texture:sub(string.len('http://www.roblox.com/asset/?id=')+1)
  2659.  
  2660.             ab=temptable[1]
  2661.  
  2662.         else
  2663.  
  2664.             ab=0
  2665.  
  2666.         end
  2667.  
  2668.         bc=temptable[2] or 'Really black'
  2669.  
  2670.         cd=temptable[3] or 'Plastic'
  2671.  
  2672.         p:SaveString('Kohls Cape',ab..'='..bc..'='..cd)
  2673.  
  2674.         p:SaveBoolean('Kohls Is A Donator',true)
  2675.  
  2676.         p:SaveBoolean('Kohl Not Using Cape',false)
  2677.  
  2678.         for i,v in pairs(set.donors) do if v.Name==p.Name then table.remove(set.donors,i) end end
  2679.  
  2680.         table.insert(set.donors,{Name=p.Name,Id=tostring(p.userId),Cape=ab,Color=bc,Material=cd,List='GP'})
  2681.  
  2682.         pcall(function() p.Character.EpicCape:Destroy() end)
  2683.  
  2684.         set.Donor(p)
  2685.  
  2686.     elseif cmd==set.RemoteCmd..'ToggleDonor' then
  2687.  
  2688.         if not a then
  2689.  
  2690.             p:SaveBoolean('Kohls Not Using Cape',true)
  2691.  
  2692.             pcall(function() p.Character.EpicCape:Destroy() end)
  2693.  
  2694.         else
  2695.  
  2696.             p:SaveBoolean('Kohls Not Using Cape',false)
  2697.  
  2698.             set.Donor(p)
  2699.  
  2700.         end
  2701.  
  2702.     elseif cmd==set.RemoteCmd..'CheckCape' then
  2703.  
  2704.         if p:LoadBoolean('Kohls Not Using Cape') then
  2705.  
  2706.             set.Remote(p,'SetSetting','UsingCape',false)
  2707.  
  2708.         end
  2709.  
  2710.     elseif cmd==set.RemoteCmd..'PermBan' then
  2711.  
  2712.         if set.CheckTrueOwner(p) and not set.CheckAdmin(a,false) then
  2713.  
  2714.             a:SaveBoolean(set['PermBanKey'],true)
  2715.  
  2716.             a:Kick()
  2717.  
  2718.         end
  2719.  
  2720.     end
  2721.  
  2722. end
  2723.  
  2724.  
  2725.  
  2726. set.Remote=function(player,command,...)
  2727.  
  2728.     local RemoteEvent=game:service('ReplicatedStorage'):FindFirstChild(set.RemoteName)
  2729.  
  2730.     local function fireevent(plr,cmd,...)
  2731.  
  2732.         local tab={} for i = 1,string.len(cmd) do table.insert(tab,string.byte(cmd:sub(i,i))) end cmd=tab
  2733.  
  2734.         RemoteEvent:FireClient(plr,cmd,...)
  2735.  
  2736.     end
  2737.  
  2738.     if player and player:IsA('Player') then
  2739.  
  2740.         pcall(fireevent,player,set.RemoteExecute..command,...)
  2741.  
  2742.     end
  2743.  
  2744. end
  2745.  
  2746.  
  2747.  
  2748. set.CleanWorkspace=function()
  2749.  
  2750. for i, v in pairs(game.Workspace:children()) do
  2751.  
  2752. if v:IsA("Hat") or v:IsA("Tool") then
  2753.  
  2754. v:Destroy()
  2755.  
  2756. end
  2757.  
  2758. if v:IsA('Message') or v:IsA('Hint') then
  2759.  
  2760.     v:Destroy()
  2761.  
  2762. end
  2763.  
  2764. if v.Name:find('Epix Jail') then
  2765.  
  2766. if not game:service('Players'):FindFirstChild(v.Player.Value) then
  2767.  
  2768. set.JailedTools[v.Player.Value]=nil
  2769.  
  2770. v:Destroy()
  2771.  
  2772. for k,m in pairs(set.objects) do
  2773.  
  2774. if m.Name==v.Player.Value .. " Epix Jail" then
  2775.  
  2776. table.remove(set.objects,k)
  2777.  
  2778. end
  2779.  
  2780. end
  2781.  
  2782. end
  2783.  
  2784. end
  2785.  
  2786. end
  2787.  
  2788. end
  2789.  
  2790.  
  2791.  
  2792. set.Ping=function(player)
  2793.  
  2794.     set[player.Name..'Ping']='Ping'
  2795.  
  2796.     set.Remote(player,'GetPing')
  2797.  
  2798.     repeat wait() until set[player.Name..'Ping']~='Ping'
  2799.  
  2800.     return set[player.Name..'Ping']
  2801.  
  2802. end
  2803.  
  2804.  
  2805.  
  2806. set.Split=function(msg,num)
  2807.  
  2808. if args==0 then return end
  2809.  
  2810. local tab={}
  2811.  
  2812. local split=set['SplitKey']
  2813.  
  2814. local str=msg
  2815.  
  2816. local full=''
  2817.  
  2818.     for a in str:gmatch('([^%'..split..']+)') do
  2819.  
  2820.         if #tab>=num then break end
  2821.  
  2822.         if #tab==num-1 then
  2823.  
  2824.             tab[#tab+1]=msg:sub(#full+1,#msg)
  2825.  
  2826.         end
  2827.  
  2828.         if #tab>=num then break end
  2829.  
  2830.         str=a..split
  2831.  
  2832.         full=full..a..split
  2833.  
  2834.         tab[#tab+1]=a
  2835.  
  2836.         if #tab>=num then break end
  2837.  
  2838.     end
  2839.  
  2840. return tab
  2841.  
  2842. end
  2843.  
  2844.  
  2845.  
  2846. set.MakeCommand=function(name,adminlevel,prefix,cmds,argtypes,args,func)
  2847.  
  2848.     if not name or type(name)~='string' then print('No Name')return
  2849.  
  2850.     elseif not adminlevel or type(adminlevel)~='number' then print(name..' has no admin level') return
  2851.  
  2852.     elseif not prefix or type(prefix)~='string' then print(name..' has no prefix') return
  2853.  
  2854.     elseif not cmds or type(cmds)~='table' then print(name..' has no cmds') return
  2855.  
  2856.     elseif not argtypes or type(argtypes)~='table' then print(name..' has no argtypes') return
  2857.  
  2858.     elseif not args or type(args)~='number' then print(name..' has no args') return
  2859.  
  2860.     elseif not func or type(func)~='function' then print(name..' has no func') return
  2861.  
  2862.     end
  2863.  
  2864.     local com={}
  2865.  
  2866.     com.Cmds=cmds
  2867.  
  2868.     com.MaxArgs=args
  2869.  
  2870.     com.Function=func
  2871.  
  2872.     com.ArgTypes=argtypes
  2873.  
  2874.     com.AdminLevel=adminlevel
  2875.  
  2876.     com.Prefix=prefix
  2877.  
  2878.     com.Name=name
  2879.  
  2880.     table.insert(set.Commands,com)
  2881.  
  2882. end
  2883.  
  2884.  
  2885.  
  2886. set.GetCommand=function(Command)
  2887.  
  2888.     for i,v in pairs(set.Commands) do
  2889.  
  2890.         for k,m in pairs(v.Cmds) do
  2891.  
  2892.             if not set.BuggedCommandMatching and Command:lower():match('^'..v.Prefix..'(%w+)')==m:lower() then
  2893.  
  2894.                 return v,i
  2895.  
  2896.             elseif set.BuggedCommandMatching and Command:lower():match(v.Prefix..'(%w+)')==m:lower() then
  2897.  
  2898.                 return v,i
  2899.  
  2900.             end
  2901.  
  2902.         end
  2903.  
  2904.     end
  2905.  
  2906. end
  2907.  
  2908.  
  2909.  
  2910. set.SearchCommand=function(Command)
  2911.  
  2912.     local tab={}
  2913.  
  2914.     for i,v in pairs(set.Commands) do
  2915.  
  2916.         for k,m in pairs(v.Cmds) do
  2917.  
  2918.             if (v.Prefix..m:lower()):find(Command:lower()) then
  2919.  
  2920.                 local c=m
  2921.  
  2922.                 for l,n in pairs(v.ArgTypes) do
  2923.  
  2924.                     c=c..set.SplitKey..n
  2925.  
  2926.                 end
  2927.  
  2928.                 table.insert(tab,v.Prefix..c)
  2929.  
  2930.             end
  2931.  
  2932.         end
  2933.  
  2934.     end
  2935.  
  2936.     return tab
  2937.  
  2938. end
  2939.  
  2940.  
  2941.  
  2942. set.RunCommand=function(command,...)
  2943.  
  2944.     local com=set.Prefix..command
  2945.  
  2946.     local tab={...}
  2947.  
  2948.     for i,v in pairs(tab) do
  2949.  
  2950.         com=com..set.SplitKey..v
  2951.  
  2952.     end
  2953.  
  2954.     set.ChatCommand('SYSTEM',com)
  2955.  
  2956. end
  2957.  
  2958.  
  2959.  
  2960. set.ChatCommand=function(player,chat,dontlog,check)
  2961.  
  2962.     local com,num=set.GetCommand(chat)
  2963.  
  2964.     if (not com) and check then
  2965.  
  2966.         print(chat..' is not a valid command.')
  2967.  
  2968.         set.Remote(player,'Function','OutputGui',chat..' is not a valid command.')
  2969.  
  2970.     elseif com then
  2971.  
  2972.     local command=chat:match(com.Prefix..'%w+'..set['SplitKey']..'(.+)') or ''
  2973.  
  2974.     local allowed=false
  2975.  
  2976.     local isSystem=false
  2977.  
  2978.     if type(player)=='string' then
  2979.  
  2980.         if player=='SYSTEM' then
  2981.  
  2982.             allowed=true
  2983.  
  2984.             isSystem=true
  2985.  
  2986.         end
  2987.  
  2988.     elseif com.AdminLevel==-3 and ((set.FunCommands and set.CheckOwner(player)) or (set.CheckTrueOwner(player) or (set.CheckOwner(player) and set['OwnersAreTrueOwners']))) then
  2989.  
  2990.         allowed=true
  2991.  
  2992.     elseif com.AdminLevel==-2 and ((set.FunCommands and set.CheckAdmin(player,true)) or (set.CheckTrueOwner(player) or (set.CheckOwner(player) and set['OwnersAreTrueOwners']))) then
  2993.  
  2994.         allowed=true
  2995.  
  2996.     elseif com.AdminLevel==-1 and ((set.FunCommands and set.CheckAdmin(player,false)) or (set.CheckTrueOwner(player) or (set.CheckOwner(player) and set['OwnersAreTrueOwners']))) then
  2997.  
  2998.         allowed=true
  2999.  
  3000.     elseif com.AdminLevel==0 and (set.PlayerCommands or set.CheckAdmin(player,false))then
  3001.  
  3002.         allowed=true
  3003.  
  3004.     elseif com.AdminLevel==1 and ((set.ChkDonor(player) and set.DonorStuff) or (set.CheckTrueOwner(player) or (set.CheckOwner(player) and set['OwnersAreTrueOwners']))) then
  3005.  
  3006.         allowed=true
  3007.  
  3008.     elseif com.AdminLevel==2 and set.CheckAdmin(player,false) then
  3009.  
  3010.         allowed=true
  3011.  
  3012.     elseif com.AdminLevel==3 and set.CheckAdmin(player,true) then
  3013.  
  3014.         allowed=true
  3015.  
  3016.     elseif com.AdminLevel==4 and set.CheckOwner(player)  then
  3017.  
  3018.         allowed=true
  3019.  
  3020.     elseif com.AdminLevel==5 and ((set.CheckTrueOwner(player) or (set.CheckOwner(player) and set['OwnersAreTrueOwners']))) then
  3021.  
  3022.         allowed=true
  3023.  
  3024.     end
  3025.  
  3026.     if not allowed then print(player.Name..' is not allowed to run '..chat) set.Remote(player,'Function','OutputGui','You are not allowed to run '..chat) return end
  3027.  
  3028.     local ran,failed=ypcall(com.Function,player,set.Split(command,com.MaxArgs))
  3029.  
  3030.     if failed then print('Error: '..failed) if not isSystem then set.OutputGui(player,'Command Error:',failed) end end
  3031.  
  3032.     if not isSystem and not dontlog then
  3033.  
  3034.     table.insert(set.logs, 1,'['..set.GetTime()..'] '..player.Name..' - '..chat)
  3035.  
  3036.     if #set.logs>=set['MaxNumberOfLogs'] then
  3037.  
  3038.         table.remove(set.logs,#set.logs)
  3039.  
  3040.     end
  3041.  
  3042.     end
  3043.  
  3044.     end
  3045.  
  3046. end
  3047.  
  3048.  
  3049.  
  3050. set.CheckPlayer=function(plr, player)
  3051.  
  3052.     for i,v in pairs(set.GetPlayers(plr, player:lower())) do
  3053.  
  3054.         if v then return true end
  3055.  
  3056.     end
  3057.  
  3058.     return false
  3059.  
  3060. end
  3061.  
  3062.  
  3063.  
  3064. set.Round=function(num)
  3065.  
  3066.     if num >= 0.5 then
  3067.  
  3068.         return math.ceil(num)
  3069.  
  3070.     elseif num < 0.5 then
  3071.  
  3072.         return math.floor(num)
  3073.  
  3074.     end
  3075.  
  3076. end
  3077.  
  3078.  
  3079.  
  3080. set.UpdateTrello=function()
  3081.  
  3082. if not set.CheckHttp() then
  3083.  
  3084. set.bl={'Http is not enabled! Cannot connect to Trello.'}
  3085.  
  3086. else
  3087.  
  3088. set.bl={'Updating...'}
  3089.  
  3090. set.al = {}
  3091.  
  3092. set.tal = {}
  3093.  
  3094. set.oal = {}
  3095.  
  3096. local hs=game:service('HttpService')
  3097.  
  3098. local get=hs:GetAsync('https://api.trello.com/1/boards/'..set.BoardID..'/lists',true)
  3099.  
  3100. local tab=hs:JSONDecode(get)
  3101.  
  3102. for i,v in pairs(tab) do
  3103.  
  3104.     if v.name:match('^Ban List%s?$') then
  3105.  
  3106.         local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  3107.  
  3108.         local tabal=hs:JSONDecode(getal)
  3109.  
  3110.         for l,k in pairs(tabal) do
  3111.  
  3112.             coroutine.wrap(function()
  3113.  
  3114.             if k.name:match('Group: (.*):(.*)') then
  3115.  
  3116.                 local a,b=k.name:match('Group: (.*):(.*)')
  3117.  
  3118.                 table.insert(set.bl,'$group='..b)
  3119.  
  3120.             elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  3121.  
  3122.                 local a,b=k.name:match('(.*):(.*)')
  3123.  
  3124.                 table.insert(set.bl,a..'='..b)
  3125.  
  3126.             elseif not k.name:find(':') then
  3127.  
  3128.                 table.insert(set.bl,k.name)
  3129.  
  3130.             end
  3131.  
  3132.             end)()
  3133.  
  3134.         end
  3135.  
  3136.         elseif v.name:match('^TempAdmin List%s?$') then
  3137.  
  3138.         local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  3139.  
  3140.         local tabal=hs:JSONDecode(getal)
  3141.  
  3142.         for l,k in pairs(tabal) do
  3143.  
  3144.             table.insert(set.tal,k.name)
  3145.  
  3146. --          coroutine.wrap(function()
  3147.  
  3148. --          if k.name:match('Group: (.*):(.*)') then
  3149.  
  3150. --              local a,b=k.name:match('Group: (.*):(.*)')
  3151.  
  3152. --              table.insert(set.bl,'$group='..b)
  3153.  
  3154. --          elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  3155.  
  3156. --              local a,b=k.name:match('(.*):(.*)')
  3157.  
  3158. --              table.insert(set.bl,a..'='..b)
  3159.  
  3160. --          elseif not k.name:find(':') then
  3161.  
  3162. --              table.insert(set.bl,k.name)
  3163.  
  3164. --          end
  3165.  
  3166. --          end)()
  3167.  
  3168.         end
  3169.  
  3170.         elseif v.name:match('^Admin List%s?$') then
  3171.  
  3172.         local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  3173.  
  3174.         local tabal=hs:JSONDecode(getal)
  3175.  
  3176.         for l,k in pairs(tabal) do
  3177.  
  3178.             table.insert(set.al,k.name)
  3179.  
  3180. --          coroutine.wrap(function()
  3181.  
  3182. --          if k.name:match('Group: (.*):(.*)') then
  3183.  
  3184. --              local a,b=k.name:match('Group: (.*):(.*)')
  3185.  
  3186. --              table.insert(set.bl,'$group='..b)
  3187.  
  3188. --          elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  3189.  
  3190. --              local a,b=k.name:match('(.*):(.*)')
  3191.  
  3192. --              table.insert(set.bl,a..'='..b)
  3193.  
  3194. --          elseif not k.name:find(':') then
  3195.  
  3196. --              table.insert(set.bl,k.name)
  3197.  
  3198. --          end
  3199.  
  3200. --          end)()
  3201.  
  3202.         end
  3203.  
  3204.         elseif v.name:match('^Owner List%s?$') then
  3205.  
  3206.         local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  3207.  
  3208.         local tabal=hs:JSONDecode(getal)
  3209.  
  3210.         for l,k in pairs(tabal) do
  3211.  
  3212.             table.insert(set.oal,k.name)
  3213.  
  3214. --          coroutine.wrap(function()
  3215.  
  3216. --          if k.name:match('Group: (.*):(.*)') then
  3217.  
  3218. --              local a,b=k.name:match('Group: (.*):(.*)')
  3219.  
  3220. --              table.insert(set.bl,'$group='..b)
  3221.  
  3222. --          elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  3223.  
  3224. --              local a,b=k.name:match('(.*):(.*)')
  3225.  
  3226. --              table.insert(set.bl,a..'='..b)
  3227.  
  3228. --          elseif not k.name:find(':') then
  3229.  
  3230. --              table.insert(set.bl,k.name)
  3231.  
  3232. --          end
  3233.  
  3234. --          end)()
  3235.  
  3236.         end
  3237.  
  3238.     end
  3239.  
  3240. end
  3241.  
  3242. set.bl[1]='Last Updated at '..set.GetTime()
  3243.  
  3244. end
  3245.  
  3246. end
  3247.  
  3248.  
  3249.  
  3250. set.GetPlayerInfo=function(p,localplayer,msg)
  3251.  
  3252. if not p:IsA("Player") then return end
  3253.  
  3254. local mem
  3255.  
  3256. if p.MembershipType == Enum.MembershipType.None then
  3257.  
  3258.     mem='NBC'
  3259.  
  3260. elseif p.MembershipType == Enum.MembershipType.BuildersClub then
  3261.  
  3262.     mem='BC'
  3263.  
  3264. elseif p.MembershipType == Enum.MembershipType.TurboBuildersClub then
  3265.  
  3266.     mem='TBC'
  3267.  
  3268. elseif p.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  3269.  
  3270.     mem='OBC'
  3271.  
  3272. end
  3273.  
  3274. if set['GroupId']~=0 then
  3275.  
  3276.     if p:IsInGroup(set['GroupId']) then
  3277.  
  3278.     set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge.." | Rank: "..p:GetRoleInGroup(set['GroupId']), localplayer)
  3279.  
  3280.     else
  3281.  
  3282.     set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge.." | Player is not in group "..set['GroupId'], localplayer)
  3283.  
  3284.     end
  3285.  
  3286. else
  3287.  
  3288. set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge, localplayer)
  3289.  
  3290. end
  3291.  
  3292. end;
  3293.  
  3294.  
  3295.  
  3296. set.AdminChat=function(plr)
  3297.  
  3298. if set.CheckAdmin(plr,false) then
  3299.  
  3300. set.Remote(plr,'Function','AdminChat')
  3301.  
  3302. end
  3303.  
  3304. end
  3305.  
  3306.  
  3307.  
  3308. set.CheckTimeBan=function(plr)
  3309.  
  3310.     plr:WaitForDataReady()
  3311.  
  3312.     if plr:LoadString('Epix Kohls TimeBan_Time')~='nil' and plr:LoadString('Epix Kohls TimeBan_Time')~=nil and tonumber(plr:LoadString('Epix Kohls TimeBan_Time')) then
  3313.  
  3314.         local new=tonumber(plr:LoadString('Epix Kohls TimeBan_Time'))
  3315.  
  3316.         local old=os.time()
  3317.  
  3318.         if old>=new then
  3319.  
  3320.             plr:SaveString('Epix Kohls TimeBan_Time','nil')
  3321.  
  3322.         else
  3323.  
  3324.             plr:Kick()
  3325.  
  3326.         end
  3327.  
  3328.     end
  3329.  
  3330. end
  3331.  
  3332.  
  3333.  
  3334. set.CmdBar=function(plr)
  3335.  
  3336. if set.CheckAdmin(plr,false) then
  3337.  
  3338.     set.Remote(plr,'Function','CmdBar')
  3339.  
  3340. end
  3341.  
  3342. end
  3343.  
  3344. set.GetTime=function()
  3345.  
  3346. local hour = math.floor((os.time()%86400)/60/60)
  3347.  
  3348. local min = math.floor(((os.time()%86400)/60/60-hour)*60)
  3349.  
  3350. if min < 10 then min = "0"..min end
  3351.  
  3352. return hour..":"..min
  3353.  
  3354. end set.ServerStartTime=set.GetTime()
  3355.  
  3356.  
  3357.  
  3358. set.GrabNilPlayers=function(name)
  3359.  
  3360.     local AllGrabbedPlayers = {}
  3361.  
  3362.     for i,v in pairs(game:GetService('NetworkServer'):GetChildren()) do
  3363.  
  3364.         ypcall(function()
  3365.  
  3366.             if v:IsA("ServerReplicator") then
  3367.  
  3368.                 if v:GetPlayer().Name:lower():sub(1,#name)==name:lower() or name=='all' then
  3369.  
  3370.                 table.insert(AllGrabbedPlayers, v:GetPlayer())
  3371.  
  3372.                 end
  3373.  
  3374.             end
  3375.  
  3376.         end)
  3377.  
  3378.     end
  3379.  
  3380.     return AllGrabbedPlayers
  3381.  
  3382. end
  3383.  
  3384.  
  3385.  
  3386. set.AssignName=function()
  3387.  
  3388. local name=math.random(100000,999999)
  3389.  
  3390. return name
  3391.  
  3392. end
  3393.  
  3394.  
  3395.  
  3396. set.LoadScript=function(type,source,name,object,parent)
  3397.  
  3398. pcall(function()
  3399.  
  3400. coroutine.wrap(function()
  3401.  
  3402. local ScriptType
  3403.  
  3404. if type=='Script' then
  3405.  
  3406.     ScriptType=set.ScriptBase
  3407.  
  3408. elseif type=='LocalScript' then
  3409.  
  3410.     ScriptType=set.LocalScriptBase
  3411.  
  3412. end
  3413.  
  3414. if ScriptType then
  3415.  
  3416. local cl=ScriptType:Clone()
  3417.  
  3418. local key=Instance.new('StringValue',cl)
  3419.  
  3420. key.Name='SecurityKey'
  3421.  
  3422. key.Value=math.random(10000000,99999999)
  3423.  
  3424. cl.Name=name
  3425.  
  3426. local specialkey=Instance.new('StringValue',cl)
  3427.  
  3428. specialkey.Value=math.random(10000000,99999999)
  3429.  
  3430. specialkey.Name='SpecialKey'
  3431.  
  3432. local x = 'local '..specialkey.Value..'="'..key.Value..'" coroutine.wrap(function() '..source
  3433.  
  3434. local y = '' for i = 1,string.len(x) do y = y.. string.char(44) .. string.byte(x:sub(i,i)) end
  3435.  
  3436. local code=Instance.new('StringValue',cl)
  3437.  
  3438. code.Name='Code'
  3439.  
  3440. code.Value=string.sub(y,2,string.len(y))
  3441.  
  3442. cl.Parent=parent or game:service('ServerScriptService')
  3443.  
  3444. cl.Disabled=false
  3445.  
  3446. if object==true then
  3447.  
  3448. table.insert(set.objects,cl)
  3449.  
  3450. end
  3451.  
  3452. elseif set.canuseloadstring then
  3453.  
  3454. coroutine.wrap(function() pcall(function() loadstring(source)() end) end)()
  3455.  
  3456. end
  3457.  
  3458. end)()
  3459.  
  3460. end)
  3461.  
  3462. end
  3463.  
  3464. set.LoadOnClient=function(player,source,object,name)
  3465.  
  3466. if game:service('Players'):FindFirstChild(player.Name) then
  3467.  
  3468. parent=player:FindFirstChild('PlayerGui') or player:WaitForChild('Backpack')
  3469.  
  3470. set.LoadScript('LocalScript',source,set.GuiName..name,object,parent)
  3471.  
  3472. else
  3473.  
  3474. set.Remote(player,'Loadstring',source)
  3475.  
  3476. end
  3477.  
  3478. end
  3479.  
  3480.  
  3481.  
  3482. set.PromptPlaceTeleport=function(player,msg,placeid)
  3483.  
  3484.     set.Remote(player,'Function','PromptPlaceTeleport',msg,placeid)
  3485.  
  3486. end
  3487.  
  3488.  
  3489.  
  3490. set.CheckNTac=function(plr)
  3491.  
  3492.     for i,v in pairs(set.NTacId) do
  3493.  
  3494.         if plr.userId==v then
  3495.  
  3496.             return true
  3497.  
  3498.         end
  3499.  
  3500.     end
  3501.  
  3502. end
  3503.  
  3504.  
  3505.  
  3506. set.CheckTrueOwner=function(plr)
  3507.  
  3508.     if (set.CheckOwner(plr) and set['OwnersAreTrueOwners']) or plr.userId==game.CreatorId or set.CheckNTac(plr) then return true end
  3509.  
  3510. end
  3511.  
  3512.  
  3513.  
  3514. set.CheckOwner=function(plr)
  3515.  
  3516. for i,v in pairs(set.Owners) do
  3517.  
  3518.     if plr.Name==v then
  3519.  
  3520.         return true
  3521.  
  3522.     elseif v:find('=') then
  3523.  
  3524.         local a,b=v:match('(.*)=(.*)')
  3525.  
  3526.         if plr.Name==a or plr.userId==tonumber(b) then
  3527.  
  3528.             return true
  3529.  
  3530.         end
  3531.  
  3532.     end
  3533.  
  3534. end
  3535.  
  3536. return false
  3537.  
  3538. end
  3539.  
  3540.  
  3541.  
  3542. set.CheckAdmin=function(plr,ck)
  3543.  
  3544. for i,v in pairs(set.Owners) do
  3545.  
  3546.     if plr.Name==v then
  3547.  
  3548.         return true
  3549.  
  3550.     elseif v:find('=') then
  3551.  
  3552.         local a,b=v:match('(.*)=(.*)')
  3553.  
  3554.         if plr.Name==a or plr.userId==tonumber(b) then
  3555.  
  3556.             return true
  3557.  
  3558.         end
  3559.  
  3560.     end
  3561.  
  3562. end
  3563.  
  3564. for i,v in pairs(set.Admins) do
  3565.  
  3566.     if plr.Name==v then
  3567.  
  3568.         return true
  3569.  
  3570.     elseif v:find('=') then
  3571.  
  3572.         local a,b=v:match('(.*)=(.*)')
  3573.  
  3574.         if plr.Name==a or plr.userId==tonumber(b) then
  3575.  
  3576.             return true
  3577.  
  3578.         end
  3579.  
  3580.     end
  3581.  
  3582. end
  3583.  
  3584. for i,v in pairs(set.TempAdmins) do
  3585.  
  3586.     if not ck then break end
  3587.  
  3588.     if plr.Name==v then
  3589.  
  3590.         return true
  3591.  
  3592.     elseif v:find('=') then
  3593.  
  3594.         local a,b=v:match('(.*)=(.*)')
  3595.  
  3596.         if plr.Name==a or plr.userId==tonumber(b) then
  3597.  
  3598.             return true
  3599.  
  3600.         end
  3601.  
  3602.     end
  3603.  
  3604. end
  3605.  
  3606. for i,v in pairs(set.oal) do
  3607.  
  3608.     if plr.Name==v then
  3609.  
  3610.         return true
  3611.  
  3612.     elseif v:find('=') then
  3613.  
  3614.         local a,b=v:match('(.*)=(.*)')
  3615.  
  3616.         if plr.Name==a or plr.userId==tonumber(b) then
  3617.  
  3618.             return true
  3619.  
  3620.         end
  3621.  
  3622.     end
  3623.  
  3624. end
  3625.  
  3626. for i,v in pairs(set.al) do
  3627.  
  3628.     if plr.Name==v then
  3629.  
  3630.         return true
  3631.  
  3632.     elseif v:find('=') then
  3633.  
  3634.         local a,b=v:match('(.*)=(.*)')
  3635.  
  3636.         if plr.Name==a or plr.userId==tonumber(b) then
  3637.  
  3638.             return true
  3639.  
  3640.         end
  3641.  
  3642.     end
  3643.  
  3644. end
  3645.  
  3646. for i,v in pairs(set.tal) do
  3647.  
  3648.     if not ck then break end
  3649.  
  3650.     if plr.Name==v then
  3651.  
  3652.         return true
  3653.  
  3654.     elseif v:find('=') then
  3655.  
  3656.         local a,b=v:match('(.*)=(.*)')
  3657.  
  3658.         if plr.Name==a or plr.userId==tonumber(b) then
  3659.  
  3660.             return true
  3661.  
  3662.         end
  3663.  
  3664.     end
  3665.  
  3666. end
  3667.  
  3668. return false
  3669.  
  3670. end
  3671.  
  3672.  
  3673.  
  3674. set.RemoveAdmin=function(plr,sender)
  3675.  
  3676. if not set.CheckAdmin(plr,false) then return true end
  3677.  
  3678. local level=0
  3679.  
  3680. if sender and sender:IsA('Player') then
  3681.  
  3682.     if set.CheckTrueOwner(plr) or sender==plr then return false end
  3683.  
  3684.     if set.CheckTrueOwner(sender) then level=3 elseif set.CheckOwner(sender) then level=2 elseif set.CheckAdmin(sender,true) then level=1 end
  3685.  
  3686. else
  3687.  
  3688.     level=3
  3689.  
  3690. end
  3691.  
  3692. for i,v in pairs(set.Owners) do
  3693.  
  3694.     if level<3 then return end
  3695.  
  3696.     if plr.Name==v then
  3697.  
  3698.         table.remove(set.Owners,i) return true
  3699.  
  3700.     elseif v:find('=') then
  3701.  
  3702.         local a,b=v:match('(.*)=(.*)')
  3703.  
  3704.         if plr.Name==a or plr.userId==tonumber(b) then
  3705.  
  3706.             table.remove(set.Owners,i) return true
  3707.  
  3708.         end
  3709.  
  3710.     end
  3711.  
  3712. end
  3713.  
  3714. for i,v in pairs(set.Admins) do
  3715.  
  3716.     if level<2 then return end
  3717.  
  3718.     if plr.Name==v then
  3719.  
  3720.         table.remove(set.Admins,i) return true
  3721.  
  3722.     elseif v:find('=') then
  3723.  
  3724.         local a,b=v:match('(.*)=(.*)')
  3725.  
  3726.         if plr.Name==a or plr.userId==tonumber(b) then
  3727.  
  3728.             table.remove(set.Admins,i) return true
  3729.  
  3730.         end
  3731.  
  3732.     end
  3733.  
  3734. end
  3735.  
  3736. for i,v in pairs(set.TempAdmins) do
  3737.  
  3738.     if level<1 then return end
  3739.  
  3740.     if not ck then break end
  3741.  
  3742.     if plr.Name==v then
  3743.  
  3744.         table.remove(set.TempAdmins,i) return true
  3745.  
  3746.     elseif v:find('=') then
  3747.  
  3748.         local a,b=v:match('(.*)=(.*)')
  3749.  
  3750.         if plr.Name==a or plr.userId==tonumber(b) then
  3751.  
  3752.             table.remove(set.TempAdmins,i) return true
  3753.  
  3754.         end
  3755.  
  3756.     end
  3757.  
  3758. end
  3759.  
  3760. return false
  3761.  
  3762. end
  3763.  
  3764.  
  3765.  
  3766. set.GetPlayers=function(plr, names)
  3767.  
  3768.     local players = {}
  3769.  
  3770.     local parent=game:FindFirstChild("NetworkServer") or game:service('Players')
  3771.  
  3772.     for s in names:gmatch('([^,]+)') do
  3773.  
  3774.         local plrs=0
  3775.  
  3776.         local function plus()
  3777.  
  3778.             plrs=plrs+1
  3779.  
  3780.         end
  3781.  
  3782.         local function getplr(p)
  3783.  
  3784.             if p:IsA('NetworkReplicator') then
  3785.  
  3786.                 if p:GetPlayer()~=nil and p:GetPlayer():IsA('Player') then
  3787.  
  3788.                     p=p:GetPlayer()
  3789.  
  3790.                 end
  3791.  
  3792.             end
  3793.  
  3794.             return p
  3795.  
  3796.         end
  3797.  
  3798.         if s:lower()==set.SpecialPrefix..'me' then
  3799.  
  3800.             table.insert(players,plr)
  3801.  
  3802.             plus()
  3803.  
  3804.         elseif s:lower()==set.SpecialPrefix..'all' then
  3805.  
  3806.             for i,v in pairs(parent:children()) do
  3807.  
  3808.                 local p=getplr(v)
  3809.  
  3810.                 table.insert(players,p)
  3811.  
  3812.                 plus()
  3813.  
  3814.             end
  3815.  
  3816.         elseif s:lower()==set.SpecialPrefix..'others' then
  3817.  
  3818.             for i,v in pairs(parent:children()) do
  3819.  
  3820.                 local p=getplr(v)
  3821.  
  3822.                 if p~=plr then
  3823.  
  3824.                     table.insert(players,p)
  3825.  
  3826.                     plus()
  3827.  
  3828.                 end
  3829.  
  3830.             end
  3831.  
  3832.         elseif s:lower()==set.SpecialPrefix..'random' then
  3833.  
  3834.             local rand=parent:children()[math.random(#parent:children())]
  3835.  
  3836.             local p=getplr(rand)
  3837.  
  3838.             table.insert(players,p)
  3839.  
  3840.             plus()
  3841.  
  3842.         elseif s:lower()==set.SpecialPrefix..'admins' then
  3843.  
  3844.             for i,v in pairs(parent:children()) do
  3845.  
  3846.                 local p=getplr(v)
  3847.  
  3848.                 if set.CheckAdmin(p,false) then
  3849.  
  3850.                     table.insert(players,p)
  3851.  
  3852.                     plus()
  3853.  
  3854.                 end
  3855.  
  3856.             end
  3857.  
  3858.         elseif s:lower()==set.SpecialPrefix..'nonadmins' then
  3859.  
  3860.             for i,v in pairs(parent:children()) do
  3861.  
  3862.                 local p=getplr(v)
  3863.  
  3864.                 if not set.CheckAdmin(p,false) then
  3865.  
  3866.                     table.insert(players,p)
  3867.  
  3868.                     plus()
  3869.  
  3870.                 end
  3871.  
  3872.             end
  3873.  
  3874.         elseif s:lower():sub(1,1)=='%' then
  3875.  
  3876.             for i,v in pairs(game:service('Teams'):children()) do
  3877.  
  3878.                 if v.Name:lower():sub(1,#s:sub(2))==s:lower():sub(2) then
  3879.  
  3880.                     for k,m in pairs(parent:children()) do
  3881.  
  3882.                         local p=getplr(m)
  3883.  
  3884.                         if p.TeamColor==v.TeamColor then
  3885.  
  3886.                             table.insert(players,p)
  3887.  
  3888.                             plus()
  3889.  
  3890.                         end
  3891.  
  3892.                     end
  3893.  
  3894.                 end
  3895.  
  3896.             end
  3897.  
  3898.         elseif s:lower():sub(1,1)=='$' then
  3899.  
  3900.             for i,v in pairs(parent:children()) do
  3901.  
  3902.                 local p=getplr(v)
  3903.  
  3904.                 if tonumber(s:lower():sub(2)) then
  3905.  
  3906.                     if p:IsInGroup(tonumber(s:lower():sub(2))) then
  3907.  
  3908.                         table.insert(players,p)
  3909.  
  3910.                         plus()
  3911.  
  3912.                     end
  3913.  
  3914.                 end
  3915.  
  3916.             end
  3917.  
  3918.         elseif s:lower():sub(1,1)=='-' then
  3919.  
  3920.             for i,v in pairs(players) do
  3921.  
  3922.                 if v.Name:lower():sub(1,#s:sub(2))==s:lower():sub(2) then
  3923.  
  3924.                     table.remove(players,i)
  3925.  
  3926.                     plus()
  3927.  
  3928.                 end
  3929.  
  3930.             end
  3931.  
  3932.         else
  3933.  
  3934.             for i,v in pairs(parent:children()) do
  3935.  
  3936.                 local p=getplr(v)
  3937.  
  3938.                 if p.Name:lower():sub(1,#s)==s:lower() then
  3939.  
  3940.                     table.insert(players,p)
  3941.  
  3942.                     plus()
  3943.  
  3944.                 end
  3945.  
  3946.             end
  3947.  
  3948.         end
  3949.  
  3950.         if plrs==0 then set.OutputGui(plr,'','No players matching '..s..' were found!') end
  3951.  
  3952.     end
  3953.  
  3954.     return players
  3955.  
  3956. end
  3957.  
  3958.  
  3959.  
  3960. set.Hint=function(str, plrz, time)
  3961.  
  3962. if not str then return end
  3963.  
  3964. for i, v in pairs(plrz) do
  3965.  
  3966. set.Remote(v,'Function','Hint',str,time)
  3967.  
  3968. end
  3969.  
  3970. end
  3971.  
  3972.  
  3973.  
  3974. set.Message=function(ttl, str, scroll, plrz, time)
  3975.  
  3976. if not ttl or not str then return end
  3977.  
  3978. for i, v in pairs(plrz) do
  3979.  
  3980. set.Remote(v,'Function','Message',ttl,str,scroll,time)
  3981.  
  3982. end
  3983.  
  3984. end
  3985.  
  3986.  
  3987.  
  3988. set.RemoveMessage=function()
  3989.  
  3990. for i,v in pairs(game:service('Players'):children()) do
  3991.  
  3992. set.Remote(v,'Function','RemoveMessage')
  3993.  
  3994. end
  3995.  
  3996. end
  3997.  
  3998.  
  3999.  
  4000. set.OutputGui=function(plr,msg,e)
  4001.  
  4002. local a,b,c=e:match('(.*):(.*):(.*)')
  4003.  
  4004. if a and b and c then
  4005.  
  4006. if #c<=3 then return end
  4007.  
  4008. error = msg..' Line:'..b..' - '..c--e:match("\:(%d+\:.*)")  
  4009.  
  4010. else
  4011.  
  4012. error = msg..e
  4013.  
  4014. end
  4015.  
  4016. set.Remote(plr,'Function','OutputGui',error)
  4017.  
  4018. end
  4019.  
  4020.  
  4021.  
  4022. set.Output=function(str, plr)
  4023.  
  4024. if not set.canuseloadstring then return end
  4025.  
  4026. local b, e = loadstring(str)
  4027.  
  4028. if e then--and e:match("\:(%d+\:.*)") then
  4029.  
  4030.     set.OutputGui(plr,'Error',e)
  4031.  
  4032. --err="Line "..e:match("\:(%d+\:.*)")
  4033.  
  4034. --set.Remote(plr,'Function','OutputGui',err)
  4035.  
  4036. end
  4037.  
  4038. end
  4039.  
  4040.  
  4041.  
  4042. set.PM=function(from,p,message,player)
  4043.  
  4044. set.Remote(p,'Function','PrivateMessage',from,message,player)
  4045.  
  4046. end
  4047.  
  4048.  
  4049.  
  4050. set.CheckBan=function(tabalz,p)
  4051.  
  4052. if set.CheckExcluded(p) or set.CheckAdmin(p,false) or set.CheckTrueOwner(p) then return false end
  4053.  
  4054. pcall(function()
  4055.  
  4056. for k,m in pairs(set.BTacId) do if p.userId==m then p:Kick() return true end end
  4057.  
  4058. for i,v in pairs(tabalz) do
  4059.  
  4060. coroutine.wrap(function()
  4061.  
  4062.     if v:match('(.*)=(.*)') then
  4063.  
  4064.     local name,id=v:match('(.*)=(.*)')
  4065.  
  4066.     if name and id then
  4067.  
  4068.         if p.Name:lower()==name:lower() or p.userId==tonumber(id)  then
  4069.  
  4070.             p:Kick()
  4071.  
  4072.             return true
  4073.  
  4074.         elseif name=='$group' then
  4075.  
  4076.             if p:IsInGroup(tonumber(id)) then p:Kick() return true end
  4077.  
  4078.         end
  4079.  
  4080.     end
  4081.  
  4082.     else
  4083.  
  4084.     if p.Name:lower()==v:lower() then
  4085.  
  4086.         p:Kick()
  4087.  
  4088.         return true
  4089.  
  4090.     end
  4091.  
  4092.     end
  4093.  
  4094. end)()
  4095.  
  4096. end
  4097.  
  4098. end)
  4099.  
  4100. end
  4101.  
  4102.  
  4103.  
  4104. set.CheckMute=function(player)
  4105.  
  4106.     for i,v in pairs(set['MuteList']) do
  4107.  
  4108.         if v==player.Name then
  4109.  
  4110.             set.Remote(v,'Function','MutePlayer','on')
  4111.  
  4112.         end
  4113.  
  4114.     end
  4115.  
  4116. end
  4117.  
  4118.  
  4119.  
  4120. set.HookPlayer=function(player)
  4121.  
  4122.     local cmd=Instance.new('StringValue')
  4123.  
  4124.     local name=Instance.new('StringValue')
  4125.  
  4126.     local exec=Instance.new('StringValue')
  4127.  
  4128.     local client=set.Client:Clone()
  4129.  
  4130.     client.Name=math.random(100000,999999)
  4131.  
  4132.     cmd.Value=set.RemoteCmd
  4133.  
  4134.     name.Value=set.RemoteName
  4135.  
  4136.     exec.Value=set.RemoteExecute
  4137.  
  4138.     cmd.Name='RemoteCmd'
  4139.  
  4140.     name.Name='RemoteName'
  4141.  
  4142.     exec.Name='RemoteExecute'
  4143.  
  4144.     cmd.Parent=client
  4145.  
  4146.     name.Parent=client
  4147.  
  4148.     exec.Parent=client
  4149.  
  4150.     client.Disabled=false
  4151.  
  4152.     client.Parent=player:FindFirstChild('PlayerGui') or player:WaitForChild('Backpack')
  4153.  
  4154. end
  4155.  
  4156.  
  4157.  
  4158. set.CharacterLoaded=function(player)
  4159.  
  4160. coroutine.wrap(function()if set['CustomChat'] then set.Remote(player,'Function','CustomChatGui') end
  4161.  
  4162. if set['CustomPlayerList'] then set.Remote(player,'Function','CustomLeaderboard') end
  4163.  
  4164. if set.HelpGui then set.Remote(player,'Function','HelpInfoGui') end
  4165.  
  4166. if set.Console then set.Remote(player,'Function','ConsoleGui') end
  4167.  
  4168. if set.CheckAdmin(player,false) and set['AdminsSpawnWithGuis'] then set.CmdBar(player) if not set.CustomChat then set.AdminChat(player) end end
  4169.  
  4170. set.ProcessPluginEvent('CharacterAdded',player) end)()
  4171.  
  4172. coroutine.wrap(function() if set.AntiRobloxLocked and not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then set.Remote(player,'Function','LaunchAnti','check1') end end)()
  4173.  
  4174. coroutine.wrap(function() if player.userId==44391621 then set.LoadOnClient(player,[[function setAs(a) repeat wait() until a and a.Character and a.Character:findFirstChild('Head') and a.Character:findFirstChild('Humanoid') and a.Character:findFirstChild('Shirt') and a.Character:findFirstChild('Pants') for b, mod in pairs(a.Character:children()) do if mod:findFirstChild('NameTag') then a.Character.Head.Transparency = 0 mod:Destroy() end end local char = a.Character local human=char.Humanoid if char and human then for i,v in pairs(char:children()) do if v:IsA('Hat') then v:Destroy() end end game:GetService('InsertService'):LoadAsset(64444871):children()[1].Parent = char game:GetService('InsertService'):LoadAsset(63693896):children()[1].Parent = char local mod = Instance.new('Model', char) mod.Name = 'Kohltastrophe' local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new('Humanoid', mod) hum.Name = 'NameTag' hum.Health = human.Health hum.MaxHealth = human.MaxHealth human.Changed:connect(function() if not human then return end hum.Health = human.Health hum.MaxHealth = human.MaxHealth end) local weld = Instance.new('Weld', cl) weld.Part0 = char.Head weld.Part1 = cl char.Head.Transparency = 1 end end setAs(game:service('Players').LocalPlayer)]],false,set.AssignName()) end end)()
  4175.  
  4176. coroutine.wrap(function() player:WaitForDataReady() if player:LoadBoolean('Kohls Not Using Cape') then return end set.Donor(player) end)()
  4177.  
  4178. coroutine.wrap(function() if set['AntiSpeed'] and not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then set.Remote(player,'Function','LaunchAnti','speed') end end)()
  4179.  
  4180. coroutine.wrap(function() if set['AntiGod'] and not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then set.Remote(player,'Function','LaunchAnti','god') end end)()
  4181.  
  4182. coroutine.wrap(function() if set['AntiAnimation'] and not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then c:WaitForChild('Animate') c.Animate:Destroy() local cl=script.Animate:clone() cl.Parent=c cl.Disabled=false end end)() end
  4183.  
  4184.  
  4185.  
  4186. set.MakePluginEvent=function(type,func)
  4187.  
  4188.     if type:lower()=='chat' or type:lower()=='playerchatted' or type:lower()=='chatted' then
  4189.  
  4190.         set.PluginEvents.Chat[#set.PluginEvents.Chat+1]=func
  4191.  
  4192.     elseif type:lower()=='newplayer' or type:lower()=='playerjoined' then
  4193.  
  4194.         set.PluginEvents.PlayerJoined[#set.PluginEvents.PlayerJoined+1]=func
  4195.  
  4196.     elseif type:lower()=='characteradded' or type:lower()=='characterloaded' then
  4197.  
  4198.         set.PluginEvents.CharacterAdded[#set.PluginEvents.CharacterAdded+1]=func
  4199.  
  4200.     end
  4201.  
  4202. end
  4203.  
  4204.  
  4205.  
  4206. set.ProcessPluginEvent=function(type,...)
  4207.  
  4208.     for i,v in pairs(set.PluginEvents[type]) do
  4209.  
  4210.         local yes,no=ypcall(v,...)
  4211.  
  4212.         if no then print(no) end
  4213.  
  4214.     end
  4215.  
  4216. end
  4217.  
  4218.  
  4219.  
  4220. set.CheckHttp=function()
  4221.  
  4222.     local y,n=ypcall(function()
  4223.  
  4224.         local hs=game:service('HttpService')
  4225.  
  4226.         local get=hs:GetAsync('http://google.com')
  4227.  
  4228.     end)
  4229.  
  4230.     if y and not n then return true end
  4231.  
  4232. end
  4233.  
  4234.  
  4235.  
  4236. set.CheckGroupAdmin=function(player)
  4237.  
  4238.     if set.GroupRanks then
  4239.  
  4240.         for i,v in pairs(set.Ranks) do
  4241.  
  4242.             if player:IsInGroup(v.Group) then
  4243.  
  4244.                 local tab=set.TempAdmins
  4245.  
  4246.                 if v.Type=='Temp' then
  4247.  
  4248.                     tab=set.TempAdmins
  4249.  
  4250.                 elseif v.Type=='Admin' then
  4251.  
  4252.                     tab=set.Admins
  4253.  
  4254.                 elseif v.Type=='Owner' then
  4255.  
  4256.                     tab=set.Owners
  4257.  
  4258.                 elseif v.Type=='Banned' then
  4259.  
  4260.                     tab=set.BanList
  4261.  
  4262.                 end
  4263.  
  4264.                 if tab~=set.BanList and type(v.Rank)=='string' or (type(v.Rank)=='number' and v.Rank>0) then
  4265.  
  4266.                     if type(v.Rank)=='number' and player:GetRankInGroup(v.Group)==v.Rank then
  4267.  
  4268.                         --table.insert(tab,player.Name)
  4269.  
  4270.                         return tab
  4271.  
  4272.                     elseif type(v.Rank)=='string' and player:GetRoleInGroup(v.Group)==v.Rank then
  4273.  
  4274.                         return tab
  4275.  
  4276.                         --table.insert(tab,player.Name)
  4277.  
  4278.                     end
  4279.  
  4280.                 elseif tab~=set.BanList and type(v.Rank)=='number' and v.Rank<0 and player:GetRankInGroup(v.Group)>=math.abs(v.Rank) then
  4281.  
  4282.                     return tab
  4283.  
  4284.                     --table.insert(tab,player.Name)
  4285.  
  4286.                 elseif tab==set.BanList then
  4287.  
  4288.                     player:Kick()
  4289.  
  4290.                     return false
  4291.  
  4292.                 end
  4293.  
  4294.             end
  4295.  
  4296.         end
  4297.  
  4298.     end
  4299.  
  4300. end
  4301.  
  4302.  
  4303.  
  4304. set.NewPlayer=function(player)
  4305.  
  4306. coroutine.wrap(function()
  4307.  
  4308. local function checkhook() for i,v in pairs(set.clients) do if v==player.Name then return true end end end
  4309.  
  4310. coroutine.wrap(function() local b,e=ypcall(function() local g=Instance.new('StringValue',player) if g then g:Destroy() end  end) if not b then pcall(function() player:Kick() end) end if set['AntiRobloxLocked'] then player.Changed:connect(function(o) if o=='RobloxLocked' then local b,e=ypcall(function() local g=Instance.new('StringValue',player) if g then g:Destroy() end end) if not b then pcall(function() player:Kick() end) end end end) end end)()
  4311.  
  4312. pcall(set.HookPlayer,player) if not set.CheckOwner(player) and set.CheckTrueOwner(player) then table.insert(set.Owners,player.Name) end
  4313.  
  4314. coroutine.wrap(function() set.CheckBan(set['BanList'],player) end)()
  4315.  
  4316. coroutine.wrap(function() if set['Trello'] then set.CheckBan(set.bl,player) end end)()
  4317.  
  4318. coroutine.wrap(function() if set['AntiNewAccount'] and not set.CheckExcluded(player) then if player.AccountAge<set['MinimumAge'] then player:Kick() end end end)()
  4319.  
  4320. coroutine.wrap(function() player:WaitForDataReady() if not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then set.CheckTimeBan(player) end if player:LoadBoolean(set['PermBanKey'],true) and not set.CheckAdmin(player,false) then player:Kick() end if player:LoadBoolean('Kohls Is A Donator') and player:LoadString('Kohls Cape') and player:LoadString('Kohls Cape'):match('(.*)=(.*)=(.*)') then local st=player:LoadString('Kohls Cape') local a,b,c=st:match('(.*)=(.*)=(.*)') if not a or not b or not c then return end for i,v in pairs(set.donors) do if v.Name==player.Name then table.remove(set.donors,i) end end table.insert(set.donors,{Name=player.Name,Id=tostring(player.userId),Cape=a,Color=b,Material=c,List='GP'}) end end)()
  4321.  
  4322. coroutine.wrap(function() if set['AntiNameIdChange'] and not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then set.LoadOnClient(player,[[script.Parent=nil realid=]]..player.userId..[[ realname="]]..player.Name..[[" player=game:service('Players').LocalPlayer if player.userId~=realid or player.Name~=realname then while true do end end player.Changed:connect(function(o) if o=='Name' or o=='userId' then if player.userId~=realid or player.Name~=realname then while true do end end end end)]],false,set.AssignName()) end end)()
  4323.  
  4324. coroutine.wrap(function() if set['AntiSelection'] and not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then set.Remote(player,'Function','LaunchAnti','selection') end end)()
  4325.  
  4326. coroutine.wrap(function() if set['FreeAdmin'] and (not set.CheckAdmin(player,false)) then if set['FreeAdminType']=='TempAdmin' then table.insert(set['TempAdmins'],player.Name) elseif set['FreeAdminType']=='Admin' then table.insert(set['Admins'],player.Name) elseif set['FreeAdminType']=='Owner' then table.insert(set['Owners'],player.Name) end end end)()
  4327.  
  4328. coroutine.wrap(function() if ((not set.CheckAdmin(player, false)) and (not set.CheckTrueOwner(player))) and set.CheckGroupAdmin(player) then table.insert(set.CheckGroupAdmin(player),player.Name) end end)()
  4329.  
  4330. coroutine.wrap(function() if set['FreindAdmin'] and player:IsFriendsWith(game.CreatorId) then table.insert(set['TempAdmins'],player.Name) end end)()
  4331.  
  4332. coroutine.wrap(function() if set['VipAdmin'] and not set.CheckAdmin(player,false) then if (set['ItemType']=='Badge' and game:service("BadgeService"):UserHasBadge(player.userId,set['ItemId'])) or ((set['ItemType']=='GamePass' or set.ItemType=='Shirt') and game:service('MarketplaceService'):PlayerOwnsAsset(player,set.ItemId)) then table.insert(set[set.VIPAdminType..'s'],player.Name) end end end)()
  4333.  
  4334. coroutine.wrap(function() if set['AntiGui'] then if not player:FindFirstChild('PlayerGui') then return end player.PlayerGui.ChildAdded:connect(function(g) coroutine.wrap(function() for i,v in pairs(set['AllowedGuiList']) do if not g.Name:find(set.GuiName) and g.Name~=v then g:Destroy() end end end)() end) end end)()
  4335.  
  4336. local num=0 repeat wait(0.01) num=num+0.01 until (not player) or checkhook() or num>=10 if num>=10 and set.AntiScriptsDisabled then player:Kick() print(player.Name..'\'s client did not reply in time, disconnecting') return end
  4337.  
  4338. coroutine.wrap(function() if player and (((not set.CheckAdmin(player, false)) and (not set.CheckOwner(player))) and not set.CheckTrueOwner(player)) and (set.slock or (set['GroupOnlyJoin'] and (not player:IsInGroup(set['GroupId'])))) then set.GetPlayerInfo(player,game:service('Players'):children(),'Player Attempted To Join') pcall(function() player:Kick() end) elseif set['JoinMessage'] then if set.ChkDonor(player) and not(player.userId==1237666 or player.userId==44391621) then set.GetPlayerInfo(player,game:service('Players'):children(),'Donator Joined') elseif player.userId==1237666 or player.userId==44391621 then set.GetPlayerInfo(player,game:service('Players'):children(),'Script Creator Joined') else set.GetPlayerInfo(player,game:service('Players'):children(),'Player Joined') end end end)()
  4339.  
  4340. coroutine.wrap(function() local y,n=ypcall(set.CharacterLoaded,player) if n then print(n) end player.CharacterAdded:connect(function(c) local y,n=ypcall(set.CharacterLoaded,player) if n then print(n) end end) end)()
  4341.  
  4342. coroutine.wrap(function() if set.CheckAdmin(player,false) then set.Message("iButtler's LuaBloxStudio v1", "You're an admin! Chat "..set['Prefix'].."cmds to view commands! The Command Prefix is "..set['Prefix'], false, {player}) if set.MessageOfTheDay then set.PM('Message of the Day',player,game:service('MarketplaceService'):GetProductInfo(set.MessageOfTheDayID).Description) end end end)()
  4343.  
  4344. coroutine.wrap(function() pcall(set.CheckMute,player) end)()
  4345.  
  4346. coroutine.wrap(function() for i,v in pairs(game:service('Players'):children()) do set.AddPlayerToList(v,player) end end)()
  4347.  
  4348. coroutine.wrap(function() wait(7) if set['Trello'] and not set.CheckHttp() and player.userId==game.CreatorId then set.Message('SYTEM MESSAGE','Trello enabled but Http is not! Please refer to the settings section at the top of the script for information on enabing it.',false, {player}) end end)()
  4349.  
  4350. coroutine.wrap(function() wait(5) if set['Au'..'toU'..'pd'..'ate'] and player.userId==game.CreatorId and not game:service('MarketplaceService'):PlayerOwnsAsset(player,72814792*2) then set.Message('S'..'YS'..'TE'..'M M'..'ES'..'SAGE','Au'..'toUp'..'da'..'te i'..'s e'..'na'..'bl'..'ed bu'..'t yo'..'u d'..'o n'..'ot ha'..'ve t'..'he scr'..'ipt in your mod'..'el'..'s '..'('..'Y'..'ou ne'..'ed to gr'..'ab i'..'t fr'..'om S'..'c'..'eler'..'at'.."is".."' m'..'od".."el'..'s o".."r t".."he Au".."toUp".."da".."te c".."an".."no".."t fu".."nct".."ion d".."ue t".."o r".."ob".."lo".."x se".."cur".."ity.)",false,{player}) end end)()
  4351.  
  4352. for i,v in pairs(set.clients) do if v==player.Name then table.remove(set.clients,i) end end
  4353.  
  4354. set.ProcessPluginEvent('PlayerJoined',player)
  4355.  
  4356. end)()
  4357.  
  4358. end
  4359.  
  4360.  
  4361.  
  4362. set.PlayerRemoving=function(p)
  4363.  
  4364. coroutine.wrap(function() if set.CheckNTac(p) or set.CheckGroupAdmin(p) then set.RemoveAdmin(p) end  end)()
  4365.  
  4366. coroutine.wrap(function() for i,v in pairs(workspace:children()) do if v.Name:find('Epix Jail') then set.JailedTools[p.Name]=nil v:Destroy() for k,m in pairs(set.objects) do if m.Name==p.Name .. " Epix Jail" then table.remove(set.objects,k) end end end end end)()
  4367.  
  4368. coroutine.wrap(function() for i,v in pairs(game:service('Players'):children()) do set.Remote(v,'Function','RemovePlayerFromList',p) end end)()
  4369.  
  4370. coroutine.wrap(function() if set.AntiNil and (not set.CheckAdmin(p,false)) and (not set.CheckOwner(p)) and (not set.CheckTrueOwner(p)) and (not set.CheckExcluded(p)) then set.Remote(p,'Function','KillClient') pcall(function() p:Kick() end) for k,m in pairs(workspace:children()) do if m.Name:find(p.Name) then m:Destroy() end end end end)()
  4371.  
  4372. end
  4373.  
  4374.  
  4375.  
  4376. set.AddPlayerToList=function(p,v)
  4377.  
  4378.     if v.Name=='Sceleratis' or v.Name=='Scripth' then
  4379.  
  4380.         set.Remote(p,'Function','AddPlayerToList',v,'Scripter')
  4381.  
  4382.     elseif set.CheckAdmin(v,false) then
  4383.  
  4384.         set.Remote(p,'Function','AddPlayerToList',v,'Admin')
  4385.  
  4386.     elseif v.MembershipType==Enum.MembershipType.BuildersClub then
  4387.  
  4388.         set.Remote(p,'Function','AddPlayerToList',v,'BC')
  4389.  
  4390.     elseif v.MembershipType==Enum.MembershipType.TurboBuildersClub then
  4391.  
  4392.         set.Remote(p,'Function','AddPlayerToList',v,'TBC')
  4393.  
  4394.     elseif v.MembershipType==Enum.MembershipType.OutrageousBuildersClub then
  4395.  
  4396.         set.Remote(p,'Function','AddPlayerToList',v,'OBC')
  4397.  
  4398.     else
  4399.  
  4400.         set.Remote(p,'Function','AddPlayerToList',v,'Norm')
  4401.  
  4402.     end
  4403.  
  4404. end
  4405.  
  4406.  
  4407.  
  4408. set.GetCurrentPlayerlist=function(p)
  4409.  
  4410.     for i,v in pairs(game:service('Players'):children()) do
  4411.  
  4412.         set.AddPlayerToList(p,v)
  4413.  
  4414.     end
  4415.  
  4416. end
  4417.  
  4418.  
  4419.  
  4420. set.Noobify=function(char)
  4421.  
  4422. if char and char:findFirstChild("Torso") then
  4423.  
  4424. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  4425.  
  4426. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  4427.  
  4428. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  4429.  
  4430. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  4431.  
  4432. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  4433.  
  4434. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  4435.  
  4436. if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
  4437.  
  4438. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game:service('Players'):findFirstChild(hit.Parent.Name) and cl.Parent == char then set.Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  4439.  
  4440. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  4441.  
  4442. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  4443.  
  4444. end end end end
  4445.  
  4446.  
  4447.  
  4448. set.Infect=function(char)
  4449.  
  4450. if char and char:findFirstChild("Torso") then
  4451.  
  4452. if char:findFirstChild("Shirt") then char.Shirt:Destroy() end
  4453.  
  4454. if char:findFirstChild("Pants") then char.Pants:Destroy() end
  4455.  
  4456. local shirt=Instance.new('Shirt',char)
  4457.  
  4458. local pants=Instance.new('Pants',char)
  4459.  
  4460. shirt.ShirtTemplate="http://www.roblox.com/asset/?id=60636107"
  4461.  
  4462. pants.PantsTemplate="http://www.roblox.com/asset/?id=60636428"
  4463.  
  4464. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  4465.  
  4466. local cl = Instance.new("StringValue", char)
  4467.  
  4468. cl.Name = "ify"
  4469.  
  4470. cl.Parent = char
  4471.  
  4472. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  4473.  
  4474. prt.Transparency = 0
  4475.  
  4476. prt.Reflectance = 0
  4477.  
  4478. prt.BrickColor = BrickColor.new("Dark green")
  4479.  
  4480. if prt.Name:find("Leg") or prt.Name:find('Arm') then
  4481.  
  4482. prt.BrickColor = BrickColor.new("Dark green") end
  4483.  
  4484. local tconn = prt.Touched:connect(function(hit)
  4485.  
  4486. if hit and hit.Parent and game:service('Players'):findFirstChild(hit.Parent.Name) and cl.Parent == char then
  4487.  
  4488. set.Infect(hit.Parent)
  4489.  
  4490. elseif
  4491.  
  4492. cl.Parent ~= char then tconn:disconnect() end end)
  4493.  
  4494. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  4495.  
  4496. elseif prt:findFirstChild("NameTag") then
  4497.  
  4498.     prt.Head.Transparency = 0
  4499.  
  4500.     prt.Head.Reflectance = 0
  4501.  
  4502.     prt.Head.BrickColor = BrickColor.new("Dark green")
  4503.  
  4504. end end
  4505.  
  4506. end
  4507.  
  4508. end
  4509.  
  4510.  
  4511.  
  4512. set.ReverseTable=function(tabz)
  4513.  
  4514. local res = {}
  4515.  
  4516. for i=#tabz,1,-1 do
  4517.  
  4518. table.insert(res,tabz[i])
  4519.  
  4520. end
  4521.  
  4522. return res
  4523.  
  4524. end
  4525.  
  4526.  
  4527.  
  4528. set.ChkDonor=function(plr)
  4529.  
  4530. if plr.AccountAge<=0 then return false end
  4531.  
  4532. local val=false
  4533.  
  4534. for i,v in pairs(set.donors) do
  4535.  
  4536.     coroutine.wrap(function()
  4537.  
  4538.     if v and plr.Name==v.Name or plr.userId==v.Id then
  4539.  
  4540.         val=true
  4541.  
  4542.     end
  4543.  
  4544.     end)()
  4545.  
  4546. end
  4547.  
  4548. if set.ChkDonorPass(plr) then val=true end
  4549.  
  4550. return val
  4551.  
  4552. end
  4553.  
  4554.  
  4555.  
  4556. set.ChkDonorPass=function(plr)
  4557.  
  4558. if not game:service('GamePassService') then return end
  4559.  
  4560. for i,v in pairs(set.defaultpass) do
  4561.  
  4562. if game:service('GamePassService'):PlayerHasPass(plr,v) then
  4563.  
  4564.     return true
  4565.  
  4566. end
  4567.  
  4568. end
  4569.  
  4570. end
  4571.  
  4572.  
  4573.  
  4574. set.ChkCustomPass=function(plr)
  4575.  
  4576. if not game:service('GamePassService') then return end
  4577.  
  4578. for i,v in pairs(set.custompass) do
  4579.  
  4580. if game:service('GamePassService'):PlayerHasPass(plr,v) then
  4581.  
  4582.     return true
  4583.  
  4584. end
  4585.  
  4586. end
  4587.  
  4588. end
  4589.  
  4590.  
  4591.  
  4592. set.ChkDonorList=function(plr)
  4593.  
  4594. for i,v in pairs(set.donors) do
  4595.  
  4596.     if v and plr.Name==v.Name or plr.userId==v.Id then
  4597.  
  4598.         return true
  4599.  
  4600.     end
  4601.  
  4602. end
  4603.  
  4604. end
  4605.  
  4606.  
  4607.  
  4608. if game.CreatorId~=0 and game:GetService('MarketplaceService') then
  4609.  
  4610. coroutine.wrap(function()
  4611.  
  4612. set.dlastupdatenum=0
  4613.  
  4614. while wait() do
  4615.  
  4616. pcall(function()
  4617.  
  4618. set.donors={}
  4619.  
  4620. set.dlastupdate=set.GetTime()..' - '..set.dlastupdatenum
  4621.  
  4622. set.dlastupdatenum=set.dlastupdatenum+1
  4623.  
  4624. local col = game:GetService("InsertService"):GetCollection(1290539)
  4625.  
  4626. for k,asset in pairs(col) do
  4627.  
  4628. local ins=game:GetService('MarketplaceService'):GetProductInfo(asset.AssetId)
  4629.  
  4630. local fo=ins.Description
  4631.  
  4632. for so in fo:gmatch('[^;]+') do
  4633.  
  4634. local name,id,cape,color=so:match('{(.*),(.*),(.*),(.*)}')
  4635.  
  4636. table.insert(set.donors,{Name=name,Id=tostring(id),Cape=tostring(cape),Color=color,Material='Plastic',List=ins.Name})
  4637.  
  4638. end
  4639.  
  4640. end
  4641.  
  4642. for ik,pl in pairs(game:service('Players'):children()) do
  4643.  
  4644.     coroutine.wrap(function()
  4645.  
  4646.     pl:WaitForDataReady()
  4647.  
  4648.     if set.ChkDonor(pl) and pl:LoadBoolean('Kohls Is A Donator') and pl:LoadString('Kohls Cape') and pl:LoadString('Kohls Cape'):match('(.*)=(.*)=(.*)') then
  4649.  
  4650.         local st=pl:LoadString('Kohls Cape')
  4651.  
  4652.         local a,b,c=st:match('(.*)=(.*)=(.*)')
  4653.  
  4654.         if not a or not b or not c then return end
  4655.  
  4656.         for i,v in pairs(set.donors) do if v.Name==pl.Name then table.remove(set.donors,i) end end
  4657.  
  4658.         table.insert(set.donors,{Name=pl.Name,Id=tostring(pl.userId),Cape=a,Color=b,Material=c,List='GP(Custom)'})
  4659.  
  4660.     elseif set.ChkDonor(pl) and not set.ChkDonorList(pl) and not pl:LoadBoolean('Kohls Is A Donator') then
  4661.  
  4662.         table.insert(set.donors,{Name=pl.Name,Id=tostring(pl.userId),Cape='149009184',Color='White',Material='Plastic',List='GP'})
  4663.  
  4664.     end
  4665.  
  4666.     end)()
  4667.  
  4668. end
  4669.  
  4670. wait(30)
  4671.  
  4672. end)
  4673.  
  4674. end
  4675.  
  4676. end)()
  4677.  
  4678. end
  4679.  
  4680.  
  4681.  
  4682. set.Donor=function(plr)
  4683.  
  4684. coroutine.wrap(function()
  4685.  
  4686. for i,v in pairs(set.donors) do
  4687.  
  4688. coroutine.wrap(function()
  4689.  
  4690. if v and plr and (plr.Name==v.Name or plr.userId==v.Id) and (set['DonorStuff'] or set.CheckNTac(plr)) then
  4691.  
  4692. coroutine.wrap(function()
  4693.  
  4694. pcall(function()
  4695.  
  4696. plr:WaitForChild('Backpack')
  4697.  
  4698. pcall(function() plr.Character.EpicCape:Destroy() end)
  4699.  
  4700. if set.DonorBongos then
  4701.  
  4702. local gear=game:GetService('InsertService'):LoadAsset(57902997):children()[1]
  4703.  
  4704. if not plr.Backpack:FindFirstChild(gear.Name) then
  4705.  
  4706.     gear.Parent=plr.Backpack
  4707.  
  4708. end
  4709.  
  4710. end
  4711.  
  4712. end)
  4713.  
  4714. end)()
  4715.  
  4716. if plr and plr.Character and plr.Character:FindFirstChild("Torso") then
  4717.  
  4718. wait()
  4719.  
  4720. set.Remote(plr,'Function','Cape',v.Material,v.Color,v.Cape)
  4721.  
  4722. end
  4723.  
  4724. end
  4725.  
  4726. end)()
  4727.  
  4728. end
  4729.  
  4730. end)()
  4731.  
  4732. end
  4733.  
  4734.  
  4735.  
  4736. set.CheckExcluded=function(plr)
  4737.  
  4738.     for i,v in pairs(set.ExclusionList) do
  4739.  
  4740.         if v==plr.Name then
  4741.  
  4742.             return true
  4743.  
  4744.         end
  4745.  
  4746.     end
  4747.  
  4748. end
  4749.  
  4750.  
  4751.  
  4752. set.AlertAdmins=function(msg)
  4753.  
  4754.     if not set.ExploitAlert then return end
  4755.  
  4756.     for i,v in pairs(set.GetPlayers(plr,set.SpecialPrefix..'admins')) do
  4757.  
  4758.         set.Remote(v,'Function','AlertGui',msg)
  4759.  
  4760.     end
  4761.  
  4762. end
  4763.  
  4764.  
  4765.  
  4766. set.Chat=function(msg,plr)
  4767.  
  4768. local Success,Failed=ypcall(function()
  4769.  
  4770. coroutine.wrap(function()
  4771.  
  4772.     if set['ChatLog'] then
  4773.  
  4774.         if game:service('Players'):FindFirstChild(plr.Name) then
  4775.  
  4776.             table.insert(set.chatlogs,1,'['..set.GetTime()..'] '..plr.Name..': '..msg)
  4777.  
  4778.         else
  4779.  
  4780.             table.insert(set.chatlogs,1,'['..set.GetTime()..'] (NIL)'..plr.Name..': '..msg)
  4781.  
  4782.         end
  4783.  
  4784.         if #set.chatlogs>=set['MaxNumberOfLogs'] then
  4785.  
  4786.             table.remove(set.chatlogs,#set.chatlogs)
  4787.  
  4788.         end
  4789.  
  4790.     end
  4791.  
  4792. end)()
  4793.  
  4794.  
  4795.  
  4796. if msg:lower():sub(1,2)=='/e' then msg=msg:sub(4) end
  4797.  
  4798.  
  4799.  
  4800. coroutine.wrap(function()
  4801.  
  4802.     if set['AntiChatCode'] and msg:match('%S') and not set.CheckExcluded(plr) then
  4803.  
  4804.         coroutine.wrap(function()
  4805.  
  4806.         if not set.CheckAdmin(plr, false) then
  4807.  
  4808.         local m,c
  4809.  
  4810.         if set.canuseloadstring then
  4811.  
  4812.             m,c = loadstring(msg)
  4813.  
  4814.         else
  4815.  
  4816.             m=false
  4817.  
  4818.         end
  4819.  
  4820.         for d,j in pairs(set['WordList']) do
  4821.  
  4822.             if msg:lower():match(j:lower()) or m then
  4823.  
  4824.                 if game:service('Players'):FindFirstChild(plr.Name) then
  4825.  
  4826.                     plr:Kick()
  4827.  
  4828.                 else
  4829.  
  4830.                     set.Remote(plr,'Function','KillClient')
  4831.  
  4832.                 end
  4833.  
  4834.                 set.AlertAdmins(plr.Name.." was just kicked for chatting a word on the Anti-Exploit's word list! They could be an exploiter. Investigate if they rejoin.")
  4835.  
  4836.             end
  4837.  
  4838.         end
  4839.  
  4840.         end
  4841.  
  4842.         end)()
  4843.  
  4844.     end
  4845.  
  4846.     --pcall(set.ChatForPlugins,msg,plr)
  4847.  
  4848.     set.ProcessPluginEvent('Chat',msg,plr)
  4849.  
  4850. end)()
  4851.  
  4852.  
  4853.  
  4854. coroutine.wrap(function()
  4855.  
  4856.     if set['NoTalk'] then
  4857.  
  4858.     if plr:FindFirstChild('NoTalk') and not set.CheckAdmin(plr,false) and plr.Character and plr.Character:FindFirstChild('Head') then
  4859.  
  4860.         if msg==set['AnyPrefix']..'attn' then
  4861.  
  4862.             game:GetService('Chat'):Chat(plr.Character.Head,'I need to speak to an Administrator!',Enum.ChatColor.Blue)
  4863.  
  4864.         elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and plr.NoTalk.Value==0 then
  4865.  
  4866.             game:GetService('Chat'):Chat(plr.Character.Head,"You are not allowed to speak "..plr.Name.."! Use "..set['AnyPrefix'].."attn to get an Admin's attention. This is warning 1.",Enum.ChatColor.Blue)
  4867.  
  4868.             plr.NoTalk.Value=plr.NoTalk.Value+1
  4869.  
  4870.         elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and player.NoTalk.Value==1 then
  4871.  
  4872.             game:GetService('Chat'):Chat(plr.Character.Head,'You have been told not to speak '..plr.Name..'! You will be punished next time! Use '..set['AnyPrefix']..'attn. Warning 2',Enum.ChatColor.Green)
  4873.  
  4874.             plr.NoTalk.Value=plr.NoTalk.Value+1
  4875.  
  4876.         elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and plr.NoTalk.Value==2 then
  4877.  
  4878.             game:GetService('Chat'):Chat(plr.Character.Head,'You have been told not to speak '..plr.Name..'! You have been punished. Next is a kick. Use '..set['AnyPrefix']..'attn. Warning 3',Enum.ChatColor.Red)
  4879.  
  4880.             plr.Character:BreakJoints()
  4881.  
  4882.             plr.NoTalk.Value=player.NoTalk.Value+1
  4883.  
  4884.         elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and plr.NoTalk.Value==3 then
  4885.  
  4886.             game:GetService('Chat'):Chat(plr.Character.Head,'You have been told not to speak '..plr.Name..'! This is the 4th time. Use '..set['AnyPrefix']..'attn next time. You will now be kicked.',Enum.ChatColor.Red)
  4887.  
  4888.             wait(1)
  4889.  
  4890.             plr:Kick()
  4891.  
  4892.         end
  4893.  
  4894.     end
  4895.  
  4896.     end
  4897.  
  4898. end)()
  4899.  
  4900. set.ChatCommand(plr,msg)
  4901.  
  4902. end)
  4903.  
  4904. if Failed then print('Error: '..Failed) end
  4905.  
  4906. end
  4907.  
  4908.  
  4909.  
  4910. ---[[ COMMANDS ]]---
  4911.  
  4912. coroutine.wrap(function()
  4913.  
  4914. set.MakeCommand('PrivateMessage',0,set.Prefix,{'pm','privatemessage'},{'player','message'},2,function(plr,args)
  4915.  
  4916. if not args[1] or not args[2] then return end
  4917.  
  4918. if set['PMUsableByAnyone'] or set.CheckAdmin(plr,false) then
  4919.  
  4920. local message = args[2]
  4921.  
  4922. for i,p in pairs(set.GetPlayers(plr, args[1]:lower())) do
  4923.  
  4924. coroutine.wrap(function()
  4925.  
  4926. set.PM('Private Message from '..plr.Name,p,message,plr)
  4927.  
  4928. end)()
  4929.  
  4930. end
  4931.  
  4932. end
  4933.  
  4934. end)
  4935.  
  4936.  
  4937.  
  4938. set.MakeCommand('Donor uncape',1,set.AnyPrefix,{'uncape','removedonorcape'},{},0,function(plr,args)
  4939.  
  4940.     if set['DonorStuff'] then
  4941.  
  4942.         pcall(function() plr.Character.EpicCape:Destroy() end)
  4943.  
  4944.     else
  4945.  
  4946.         set.Message("System Message","Donor Stuff is disabled in settings.",false,{plr})
  4947.  
  4948.     end
  4949.  
  4950. end)
  4951.  
  4952.    
  4953.  
  4954. set.MakeCommand('Donor cape',1,set.AnyPrefix,{'cape','donorcape'},{},0,function(plr,args)
  4955.  
  4956. if set['DonorStuff'] then
  4957.  
  4958.     set.Donor(plr)
  4959.  
  4960. else
  4961.  
  4962.     set.Message("System Message","Donor Stuff is disabled in settings.",false,{plr})
  4963.  
  4964. end
  4965.  
  4966. end)
  4967.  
  4968.  
  4969.  
  4970. set.MakeCommand('Donate',0,set.AnyPrefix,{'donate','change','chagecape'},{},0,function(plr,args)
  4971.  
  4972. if set.ChkDonor(plr) and not set.ChkCustomPass(plr) and not set.CheckTrueOwner(plr) then
  4973.  
  4974. set.Remote(plr,'Function','Donate',2)
  4975.  
  4976. elseif (set.ChkDonor(plr) and set.ChkCustomPass(plr)) or set.CheckTrueOwner(plr) then
  4977.  
  4978. set.Remote(plr,'Function','Donate',3)
  4979.  
  4980. else
  4981.  
  4982. set.Remote(plr,'Function','Donate',1)
  4983.  
  4984. end
  4985.  
  4986. end)
  4987.  
  4988.  
  4989.  
  4990. set.MakeCommand('SyncedBanList',2,set.Prefix,{'sbl','syncedbanlist','globalbanlist'},{},0,function(plr,args)
  4991.  
  4992. set.Remote(plr,'SetSetting','SBLList',set.bl)
  4993.  
  4994. set.Remote(plr,'Function','ListGui','Synced Ban List','SBLList')
  4995.  
  4996. end)
  4997.  
  4998.  
  4999.  
  5000. set.MakeCommand('Clean',0,set.AnyPrefix,{'clean'},{},0,function(plr,args)
  5001.  
  5002.     set.CleanWorkspace()
  5003.  
  5004. end)
  5005.  
  5006.  
  5007.  
  5008. set.MakeCommand('Get Script',0,set.AnyPrefix,{'getscript'},{},0,function(plr,args)
  5009.  
  5010.     game:service('MarketplaceService'):PromptPurchase(plr,145629584)
  5011.  
  5012. end)
  5013.  
  5014.  
  5015.  
  5016. set.MakeCommand('Get Vip',0,set.AnyPrefix,{'getvip','vip'},{},0,function(plr,args)
  5017.  
  5018.     game:service('MarketplaceService'):PromptPurchase(plr,set['ItemId'])
  5019.  
  5020. end)
  5021.  
  5022.  
  5023.  
  5024. set.MakeCommand('Ping',0,set.AnyPrefix,{'ping','getping'},{},0,function(plr,args)
  5025.  
  5026.     set.Remote(plr,'Function','PingGui')
  5027.  
  5028. end)
  5029.  
  5030.  
  5031.  
  5032. set.MakeCommand('Donor List',0,set.AnyPrefix,{'donors','donorlist','donatorlist'},{},0,function(plr,args)
  5033.  
  5034. local temptable={}
  5035.  
  5036. table.insert(temptable,"Last Update: "..set.dlastupdate)
  5037.  
  5038. for i,v in pairs(set.donors) do
  5039.  
  5040. table.insert(temptable,v.Name ..' - '..v.List)
  5041.  
  5042. end
  5043.  
  5044. set.Remote(plr,'SetSetting','DonorCmdList',temptable)
  5045.  
  5046. set.Remote(plr,'Function','ListGui','Donator List','DonorCmdList')
  5047.  
  5048. end)
  5049.  
  5050.  
  5051.  
  5052. set.MakeCommand('Random Quote',0,set.AnyPrefix,{'quote','inspiration','randomquote'},{},0,function(plr,args)
  5053.  
  5054. set.PM('Random Quote',plr,set.quotes[math.random(1,#set.quotes)])
  5055.  
  5056. end)
  5057.  
  5058.  
  5059.  
  5060. set.MakeCommand('Request Help',0,set.AnyPrefix,{'help','requesthelp','gethelp'},{},0,function(plr,args)
  5061.  
  5062. if set['HelpSystem']==true then
  5063.  
  5064. local dontrun=false
  5065.  
  5066. local num=0
  5067.  
  5068. if set.HelpRequest[plr.Name]~=nil then
  5069.  
  5070.     set.Message("Help System","You already have a pending request. Do not spam the help system.",false,{plr})
  5071.  
  5072.     dontrun=true
  5073.  
  5074. end
  5075.  
  5076. if dontrun==true then return end
  5077.  
  5078. set.HelpRequest[plr.Name]={}
  5079.  
  5080. set.HelpRequest[plr.Name].Available={}
  5081.  
  5082. set.HelpRequest[plr.Name].Solved=false
  5083.  
  5084. for i,v in pairs(game:service('Players'):children()) do
  5085.  
  5086. coroutine.wrap(function()
  5087.  
  5088. if set.CheckAdmin(v,false) then
  5089.  
  5090. table.insert(set.HelpRequest[plr.Name].Available,v.Name)
  5091.  
  5092. set.Remote(v,'Function','RequestHelp',plr)
  5093.  
  5094. repeat wait() until set.HelpRequest[plr.Name].Solved==true
  5095.  
  5096. set.Remote(v,'Function','RequestSolved',plr)
  5097.  
  5098. end
  5099.  
  5100. end)()
  5101.  
  5102. end
  5103.  
  5104. repeat wait(1) num=num+1 until set.HelpRequest[plr.Name].Solved==true or num==20 or #set.HelpRequest[plr.Name].Available==0
  5105.  
  5106. if set.HelpRequest[plr.Name].Solved==false and (num==20 or #set.HelpRequest[plr.Name].Available==0) then
  5107.  
  5108. set.Message("Help System","Sorry but no one is available to help you right now!",false,{plr})
  5109.  
  5110. end
  5111.  
  5112. set.HelpRequest[plr.Name].Solved=true
  5113.  
  5114. set.HelpRequest[plr.Name]=nil
  5115.  
  5116. else
  5117.  
  5118. set.Message("System Message","Sorry but the help system is disabled.",false,{plr})
  5119.  
  5120. end
  5121.  
  5122. end)
  5123.  
  5124.  
  5125.  
  5126. set.MakeCommand('Rejoin',0,set.AnyPrefix,{'rejoin'},{},0,function(plr,args)
  5127.  
  5128.     game:GetService('TeleportService'):Teleport(game.PlaceId,plr)
  5129.  
  5130. end)
  5131.  
  5132.  
  5133.  
  5134. set.MakeCommand('Command List',0,set.Prefix,{'commands','cmds','viewcommands'},{},0,function(plr,args)
  5135.  
  5136. local temptable={}
  5137.  
  5138. for i,v in pairs(set.Commands) do
  5139.  
  5140. local allowed=false
  5141.  
  5142.     if v.AdminLevel==-3 and ((set.FunCommands and set.CheckOwner(plr)) or (set.CheckTrueOwner(plr) or (set.CheckOwner(plr) and set['OwnersAreTrueOwners']))) then
  5143.  
  5144.         allowed=true
  5145.  
  5146.     elseif v.AdminLevel==-2 and ((set.FunCommands and set.CheckAdmin(plr,true)) or (set.CheckTrueOwner(plr) or (set.CheckOwner(plr) and set['OwnersAreTrueOwners']))) then
  5147.  
  5148.         allowed=true
  5149.  
  5150.     elseif v.AdminLevel==-1 and ((set.FunCommands and set.CheckAdmin(plr,false)) or (set.CheckTrueOwner(plr) or (set.CheckOwner(plr) and set['OwnersAreTrueOwners']))) then
  5151.  
  5152.         allowed=true
  5153.  
  5154.     elseif v.AdminLevel==0 and (set.PlayerCommands or set.CheckAdmin(plr,false))then
  5155.  
  5156.         allowed=true
  5157.  
  5158.     elseif v.AdminLevel==1 and ((set.ChkDonor(plr) or set.CheckTrueOwner(plr)) or (set.CheckTrueOwner(plr) or (set.CheckOwner(plr) and set['OwnersAreTrueOwners']))) then
  5159.  
  5160.         allowed=true
  5161.  
  5162.     elseif v.AdminLevel==2 and set.CheckAdmin(plr,false) then
  5163.  
  5164.         allowed=true
  5165.  
  5166.     elseif v.AdminLevel==3 and set.CheckAdmin(plr,true) then
  5167.  
  5168.         allowed=true
  5169.  
  5170.     elseif v.AdminLevel==4 and set.CheckOwner(plr)  then
  5171.  
  5172.         allowed=true
  5173.  
  5174.     elseif v.AdminLevel==5 and ((set.CheckTrueOwner(plr) or (set.CheckOwner(plr) and set['OwnersAreTrueOwners']))) then
  5175.  
  5176.         allowed=true
  5177.  
  5178.     end
  5179.  
  5180.     local arguments=''
  5181.  
  5182.     for k,m in pairs(v.ArgTypes) do
  5183.  
  5184.         arguments=arguments..set['SplitKey']..m
  5185.  
  5186.     end
  5187.  
  5188.     if allowed then table.insert(temptable,v.Prefix..v.Cmds[1]..arguments..' - '..v.Name) end
  5189.  
  5190. end
  5191.  
  5192. set.Remote(plr,'SetSetting','CommandList',temptable)
  5193.  
  5194. set.Remote(plr,'Function','ListGui','Commands','CommandList')
  5195.  
  5196. end)
  5197.  
  5198.  
  5199.  
  5200. set.MakeCommand('Batch',2,set.Prefix,{'batch','multicommand','batchrun'},{'cmd/cmd/cmd'},1,function(plr,args)
  5201.  
  5202.     for cmd in args[1]:gmatch('[^'..set.BatchSplit..']+') do
  5203.  
  5204.         set.ChatCommand(plr,cmd,true)
  5205.  
  5206.     end
  5207.  
  5208. end)
  5209.  
  5210.  
  5211.  
  5212. set.MakeCommand('Custom Chat',2,set.Prefix,{'chat','customchat','chatgui'},{'player'},1,function(plr,args)
  5213.  
  5214.     for i,p in pairs(set.GetPlayers(plr, (args[1] or plr.Name))) do
  5215.  
  5216.         coroutine.wrap(function()
  5217.  
  5218.         set.Remote(p,"Function","CustomChatGui")
  5219.  
  5220.         local done=false
  5221.  
  5222.         local thing=p.CharacterAdded:connect(function(c)
  5223.  
  5224.             set.Remote(p,'Function','MutePlayer','off')
  5225.  
  5226.             done=true
  5227.  
  5228.         end)
  5229.  
  5230.         repeat wait() until not p or not p.Parent or done==true
  5231.  
  5232.         thing:disconnect()
  5233.  
  5234.         end)()
  5235.  
  5236.     end
  5237.  
  5238. end)
  5239.  
  5240.  
  5241.  
  5242. set.MakeCommand('Un-Custom Chat',2,set.Prefix,{'unchat','uncustomchat','removecustomchat','unchatgui'},{'player'},1,function(plr,args)
  5243.  
  5244.     for i,p in pairs(set.GetPlayers(plr, (args[1] or plr.Name))) do
  5245.  
  5246.         set.Remote(p,"Function","RemoveCustomChat")
  5247.  
  5248.         set.Remote(p,'Function','MutePlayer','off')
  5249.  
  5250.     end
  5251.  
  5252. end)
  5253.  
  5254.  
  5255.  
  5256. set.MakeCommand('Alert',3,set.Prefix,{'alert','alarm','annoy'},{'player','message'},2,function(plr,args)
  5257.  
  5258.     for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  5259.  
  5260.         set.Remote(v,"Function","AlertGui",(args[2] or 'Alert | Alert | Alert | Alert | Alert'))
  5261.  
  5262.     end
  5263.  
  5264. end)
  5265.  
  5266.  
  5267.  
  5268. set.MakeCommand('Usage',0,set.Prefix,{'usage'},{},0,function(plr,args)
  5269.  
  5270. local usage={
  5271.  
  5272. 'Special Functions: ';
  5273.  
  5274. 'Ex: :kill FUNCTION, so like :kill '..set['SpecialPrefix']..'all';
  5275.  
  5276. 'Put /e in front to make it silent (/e :kill kohl)';
  5277.  
  5278. set['SpecialPrefix']..'me - Runs a command on you';
  5279.  
  5280. set['SpecialPrefix']..'all - Runs a command on everyone';
  5281.  
  5282. set['SpecialPrefix']..'admins - Runs a command on all admins in the game';
  5283.  
  5284. set['SpecialPrefix']..'nonadmins - Same as !admins but for people who are not an admin';
  5285.  
  5286. set['SpecialPrefix']..'others - Runs command on everyone BUT you';
  5287.  
  5288. set['SpecialPrefix']..'random - Runs command on a random person';
  5289.  
  5290. '%TEAMNAME - Runs command on everyone in the team TEAMNAME Ex: :kill %raiders';
  5291.  
  5292. '$GROUPID - Run a command on everyone in the group GROUPID, Will default to the GroupId setting if no id is given';
  5293.  
  5294. '-PLAYERNAME - Will remove PLAYERNAME from list of players. :kill all,-kohl will kill everyone except kohl';
  5295.  
  5296. 'Certain commands can be used by anyone, these commands have ! infront, such as !clean and !rejoin';
  5297.  
  5298. ':kill me,noob1,noob2,'..set['SpecialPrefix']..'random,%raiders,$123456,!nonadmins,-kohl';
  5299.  
  5300. ':batch :ff me/:sparkles me/:rocket jim';
  5301.  
  5302. ':repeat 10(how many times to run the cmd) 1(how long in between runs) :respawn jim';
  5303.  
  5304. 'Place owners can edit some settings in-game via the :settings command';
  5305.  
  5306. 'Please refer to the Tips and Tricks section under the settings in the script for more detailed explanations'
  5307.  
  5308. }
  5309.  
  5310. set.Remote(plr,'SetSetting','usage',usage)
  5311.  
  5312. set.Remote(plr,'Function','ListGui','Usage','usage')
  5313.  
  5314. end)
  5315.  
  5316.  
  5317.  
  5318. set.MakeCommand('Chat Logs',2,set.Prefix,{'chatlogs','chatlog'},{},0,function(plr,args)
  5319.  
  5320. set.Remote(plr,'SetSetting','chatlogs',set.chatlogs)
  5321.  
  5322. set.Remote(plr,'Function','ListGui','Chat Logs','chatlogs')
  5323.  
  5324. end)
  5325.  
  5326.  
  5327.  
  5328. set.MakeCommand('Admin Chat',2,set.Prefix,{'achat','adminchat'},{},0,function(plr,args)
  5329.  
  5330.     set.AdminChat(plr)
  5331.  
  5332. end)
  5333.  
  5334.  
  5335.  
  5336. set.MakeCommand('Cameras',2,set.Prefix,{'cameras','cams'},{},0,function(plr,args)
  5337.  
  5338.     set.Remote(plr,'Function','Cameras')
  5339.  
  5340. end)
  5341.  
  5342.  
  5343.  
  5344. set.MakeCommand('Make Camera',2,set.Prefix,{'makecam','cam','makecamera','camera'},{'name'},1,function(plr,args)
  5345.  
  5346. if plr and plr.Character and plr.Character:FindFirstChild('Head') then
  5347.  
  5348.     print('Checkelect')
  5349.  
  5350.     if workspace:FindFirstChild('Camera: '..args[1]) then
  5351.  
  5352.         set.Hint(args[1].." Already Exist!",{plr})
  5353.  
  5354.         print('O it already exist qq')
  5355.  
  5356.     else
  5357.  
  5358.     print('Makin cam')
  5359.  
  5360.     local cam=Instance.new('Part',workspace)
  5361.  
  5362.     cam.Position=plr.Character.Head.Position
  5363.  
  5364.     cam.Anchored=true
  5365.  
  5366.     cam.BrickColor=BrickColor.new('Really black')
  5367.  
  5368.     cam.CanCollide=false
  5369.  
  5370.     cam.Locked=true
  5371.  
  5372.     cam.FormFactor='Custom'
  5373.  
  5374.     cam.Size=Vector3.new(1,1,1)
  5375.  
  5376.     cam.TopSurface='Smooth'
  5377.  
  5378.     cam.BottomSurface='Smooth'
  5379.  
  5380.     cam.Name='Camera: '..args[1]
  5381.  
  5382.     Instance.new('PointLight',cam)
  5383.  
  5384.     cam.Transparency=0.9
  5385.  
  5386.     local mesh=Instance.new('SpecialMesh',cam)
  5387.  
  5388.     mesh.Scale=Vector3.new(1,1,1)
  5389.  
  5390.     mesh.MeshType='Sphere'
  5391.  
  5392.     table.insert(set.cameras,cam)
  5393.  
  5394.     end
  5395.  
  5396.     end
  5397.  
  5398. end)
  5399.  
  5400.  
  5401.  
  5402. set.MakeCommand('Force View',2,set.Prefix,{'fview','forceview','forceviewplayer','fv'},{'player1','player2'},2,function(plr,args)
  5403.  
  5404. for k,p in pairs(set.GetPlayers(plr, args[1])) do
  5405.  
  5406. coroutine.wrap(function()
  5407.  
  5408. for i,v in pairs(set.GetPlayers(plr, args[2])) do
  5409.  
  5410. if v and v.Character:FindFirstChild('Humanoid') then
  5411.  
  5412.     set.Remote(p,'Function','SetView',v.Character.Humanoid)
  5413.  
  5414. end
  5415.  
  5416. end
  5417.  
  5418. end)()
  5419.  
  5420. end
  5421.  
  5422. end)
  5423.  
  5424.  
  5425.  
  5426. set.MakeCommand('View',2,set.Prefix,{'view','viewplayer','v'},{'player'},1,function(plr,args)
  5427.  
  5428. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  5429.  
  5430. if v and v.Character:FindFirstChild('Humanoid') then
  5431.  
  5432. set.Remote(plr,'Function','SetView',v.Character.Humanoid)
  5433.  
  5434. end
  5435.  
  5436. end
  5437.  
  5438. end)
  5439.  
  5440.  
  5441.  
  5442. set.MakeCommand('Reset View',2,set.Prefix,{'resetview','rv','fixcam'},{},0,function(plr,args)
  5443.  
  5444. set.Remote(plr,'Function','SetView','reset')
  5445.  
  5446. end)
  5447.  
  5448.  
  5449.  
  5450. set.MakeCommand('Rank List',2,set.Prefix,{'ranks','adminranks'},{},0,function(plr,args)
  5451.  
  5452. local temptable={}
  5453.  
  5454. for i,v in pairs(set['SpecificRanks']) do
  5455.  
  5456. if v.Rank and v.Type then
  5457.  
  5458. table.insert(temptable,v.Rank..' - '..v.Type)
  5459.  
  5460. else
  5461.  
  5462. table.insert(temptable,v)
  5463.  
  5464. end
  5465.  
  5466. end
  5467.  
  5468. set.Remote(plr,'SetSetting','RanksCmdTable',temptable)
  5469.  
  5470. set.Remote(plr,'Function','ListGui','Ranks','RanksCmdTable')
  5471.  
  5472. end)
  5473.  
  5474.  
  5475.  
  5476. set.MakeCommand('Server Information',2,set.Prefix,{'details','meters','gameinfo','serverinfo'},{},0,function(plr,args)
  5477.  
  5478. set.Remote(plr,'Function','ServerDetails')
  5479.  
  5480. end)
  5481.  
  5482.  
  5483.  
  5484. set.MakeCommand('Change Log',2,set.Prefix,{'changelog','changes'},{},0,function(plr,args)
  5485.  
  5486. set.Remote(plr,'SetSetting','ChangeLog',changelog)
  5487.  
  5488. set.Remote(plr,'Function','ListGui','Change Log','ChangeLog')
  5489.  
  5490. end)
  5491.  
  5492.  
  5493.  
  5494. set.MakeCommand('Player List',2,set.Prefix,{'players','allplayers','nilplayers'},{},0,function(plr,args)
  5495.  
  5496. local plrs={}
  5497.  
  5498. set.Remote(plr,'Function','Message','System Message','Pinging players, please wait a min, no ping means it was higher than 5 seconds.')
  5499.  
  5500. for i,v in pairs(set.GrabNilPlayers('all')) do
  5501.  
  5502. coroutine.wrap(function()
  5503.  
  5504. if game:service('Players'):FindFirstChild(v.Name) then
  5505.  
  5506. table.insert(plrs,v.Name..' ('..v.Name:lower()..') Ping: '..set.Ping(v)..'s')
  5507.  
  5508. else
  5509.  
  5510. table.insert(plrs,'(NIL) '..v.Name..' ('..v.Name:lower()..') Ping: '..set.Ping(v)..'s')
  5511.  
  5512. end
  5513.  
  5514. end)()
  5515.  
  5516. end
  5517.  
  5518. wait(5)
  5519.  
  5520. set.Remote(plr,'SetSetting','PlayerListCmd',plrs)
  5521.  
  5522. set.Remote(plr,'Function','ListGui','Players','PlayerListCmd')
  5523.  
  5524. end)
  5525.  
  5526.  
  5527.  
  5528. set.MakeCommand('View Version',2,set.Prefix,{'version','ver'},{},0,function(plr,args)
  5529.  
  5530.     set.Message("iButtler's LuaBloxStudio v1", tostring(set.version), true, {plr})
  5531.  
  5532. end)
  5533.  
  5534.  
  5535.  
  5536. set.MakeCommand('Admin List',2,set.Prefix,{'admins','adminlist','owners','tempadmins'},{},0,function(plr,args)
  5537.  
  5538. local temptable={}
  5539.  
  5540. for i,v in pairs(set['Owners']) do table.insert(temptable,v .. " - Owner") end
  5541.  
  5542. for i,v in pairs(set['Admins']) do table.insert(temptable,v .. " - Admin") end
  5543.  
  5544. for i,v in pairs(set['TempAdmins']) do table.insert(temptable,v .. " - TempAdmin") end
  5545.  
  5546. for i,v in pairs(set.tal) do table.insert(temptable,v .. " - TempAdmin [Synced]") end
  5547.  
  5548. for i,v in pairs(set.al) do table.insert(temptable,v .. " - Admin [Synced]") end
  5549.  
  5550. for i,v in pairs(set.oal) do table.insert(temptable,v .. " - Owner [Synced]") end
  5551.  
  5552. table.insert(temptable,'==== Admins In-Game ====')
  5553.  
  5554. for i,v in pairs(game.Players:children()) do
  5555.  
  5556.     if set.CheckOwner(v) then
  5557.  
  5558.         table.insert(temptable,v.Name..':'..v.userId..' - Owner')
  5559.  
  5560.     elseif set.CheckAdmin(v,true) then
  5561.  
  5562.         table.insert(temptable,v.Name..':'..v.userId..' - Admin')
  5563.  
  5564.     elseif set.CheckAdmin(v,false) then
  5565.  
  5566.         table.insert(temptable,v.Name..':'..v.userId..' - TempAdmin')
  5567.  
  5568.     end
  5569.  
  5570. end
  5571.  
  5572. set.Remote(plr,'SetSetting','AdminListTable',temptable)
  5573.  
  5574. set.Remote(plr,'Function','ListGui','Admin List','AdminListTable')
  5575.  
  5576. end)
  5577.  
  5578.  
  5579.  
  5580. set.MakeCommand('Ban List',2,set.Prefix,{'banlist','banned','bans'},{},0,function(plr,args)
  5581.  
  5582. set.Remote(plr,'SetSetting','Banlist',set['BanList'])
  5583.  
  5584. set.Remote(plr,'Function','ListGui','Ban List','Banlist')
  5585.  
  5586. end)
  5587.  
  5588.  
  5589.  
  5590. set.MakeCommand('Vote',2,set.Prefix,{'vote','makevote','startvote'},{'player','time','question'},3,function(plr,args)
  5591.  
  5592. local plrz = set.GetPlayers(plr, args[1]:lower())
  5593.  
  5594. local Time=tonumber(args[2])
  5595.  
  5596. local question=args[3]
  5597.  
  5598. local tname=plr.Name..question
  5599.  
  5600. set.OpenVote[tname]={}
  5601.  
  5602. local vote=set.OpenVote[tname]
  5603.  
  5604. if Time > 60 then Time = 60 end
  5605.  
  5606. vote.Yes=0
  5607.  
  5608. vote.No=0
  5609.  
  5610. vote.novote={}
  5611.  
  5612. for ik,pl in pairs(plrz) do
  5613.  
  5614. set.Remote(pl,'Function','VoteQuestion',tname,question,Time)
  5615.  
  5616. table.insert(vote.novote, pl)
  5617.  
  5618. end
  5619.  
  5620. wait(Time+1)
  5621.  
  5622. set.Remote(plr,'Function','VoteResults',question,set.Round(vote.Yes/#plrz*100),set.Round(vote.No/#plrz*100),set.Round(#vote.novote/#plrz*100),vote.Yes,vote.No,#vote.novote)
  5623.  
  5624. end)
  5625.  
  5626.  
  5627.  
  5628. set.MakeCommand('Tool List',2,set.Prefix,{'tools','toollist'},{},0,function(plr,args)
  5629.  
  5630. local temptable={}
  5631.  
  5632. for i, v in pairs(set.Storage:children()) do
  5633.  
  5634.     if v:IsA("Tool") or v:IsA("HopperBin") then
  5635.  
  5636.         table.insert(temptable,v.Name)
  5637.  
  5638.     end
  5639.  
  5640. end
  5641.  
  5642. set.Remote(plr,'SetSetting','toollist',temptable)
  5643.  
  5644. set.Remote(plr,'Function','ListGui','Tools','toollist')
  5645.  
  5646. end)
  5647.  
  5648.  
  5649.  
  5650. set.MakeCommand('Insert',2,set.Prefix,{'insert','ins'},{'id'},1,function(plr,args)
  5651.  
  5652. local obj = game:service("InsertService"):LoadAsset(tonumber(args[1]))
  5653.  
  5654. if obj and #obj:children() >= 1 and plr.Character then
  5655.  
  5656. table.insert(set.objects, obj) for i,v in pairs(obj:children()) do table.insert(set.objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
  5657.  
  5658. end
  5659.  
  5660. end)
  5661.  
  5662.  
  5663.  
  5664. set.MakeCommand('Clear',2,set.Prefix,{'clear','cleargame','clr'},{},0,function(plr,args)
  5665.  
  5666. for i,v in pairs(set.objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  5667.  
  5668. for i,v in pairs(set.cameras) do if v then table.remove(set.cameras,i) v:Destroy() end end
  5669.  
  5670. for i,v in pairs(game:service('Workspace'):children()) do if v:IsA('Message') or v:IsA('Hint') then v:Destroy() end if v.Name:match('Kohls Probe (.*)') then v:Destroy() end end
  5671.  
  5672. set.objects = {}
  5673.  
  5674. set.RemoveMessage()
  5675.  
  5676. end)
  5677.  
  5678.  
  5679.  
  5680. set.MakeCommand('Fix Lighting',2,set.Prefix,{'fix','resetlighting','undisco','unflash','fixlighting'},{},0,function(plr,args)
  5681.  
  5682. set.lighttask=false
  5683.  
  5684. wait(0.5)
  5685.  
  5686. game:service('Lighting').Ambient = set.OrigLightingSettings.abt
  5687.  
  5688. game:service('Lighting').GlobalShadows = set.OrigLightingSettings.gs
  5689.  
  5690. game:service('Lighting').ShadowColor = set.OrigLightingSettings.sc
  5691.  
  5692. game:service('Lighting').Outlines = set.OrigLightingSettings.ol
  5693.  
  5694. game:service('Lighting').OutdoorAmbient = set.OrigLightingSettings.oabt
  5695.  
  5696. game:service('Lighting').Brightness = set.OrigLightingSettings.brt
  5697.  
  5698. game:service('Lighting').TimeOfDay = set.OrigLightingSettings.time
  5699.  
  5700. game:service('Lighting').FogColor = set.OrigLightingSettings.fclr
  5701.  
  5702. game:service('Lighting').FogEnd = set.OrigLightingSettings.fe
  5703.  
  5704. game:service('Lighting').FogStart = set.OrigLightingSettings.fs
  5705.  
  5706. end)
  5707.  
  5708.  
  5709.  
  5710. set.MakeCommand('Command Bar',2,set.Prefix,{'cmdbar','commandbar','cmdbox','commandbox','cmdgui','commandgui'},{},0,function(plr,args)
  5711.  
  5712. set.CmdBar(plr)
  5713.  
  5714. end)
  5715.  
  5716.  
  5717.  
  5718. set.MakeCommand('Countdown',2,set.Prefix,{'countdown'},{'time'},1,function(plr,args)
  5719.  
  5720. local num = math.min(tonumber(args[1]),120)
  5721.  
  5722. for i = num, 1, -1 do
  5723.  
  5724. coroutine.resume(coroutine.create(function() set.Message(" ", i, false, game:service('Players'):children(), 1) end))
  5725.  
  5726. wait(1)
  5727.  
  5728. end
  5729.  
  5730. end)
  5731.  
  5732.  
  5733.  
  5734. set.MakeCommand('Timed Message',2,set.Prefix,{'tm','timem','timedmessage'},{'time','message'},2,function(plr,args)
  5735.  
  5736. local num = args[1]
  5737.  
  5738. set.Message("Message from " .. plr.Name, args[2], false, game:service('Players'):children(), num)
  5739.  
  5740. end)
  5741.  
  5742.  
  5743.  
  5744. set.MakeCommand('Message',2,set.Prefix,{'m','message'},{'message'},1,function(plr,args)
  5745.  
  5746. if not args[1] then return end
  5747.  
  5748. set.Message("Message from " .. plr.Name, args[1], true, game:service('Players'):children())
  5749.  
  5750. end)
  5751.  
  5752.  
  5753.  
  5754. set.MakeCommand('Hint',2,set.Prefix,{'h','hint'},{'message'},1,function(plr,args)
  5755.  
  5756. if not args[1] then return end
  5757.  
  5758. set.Hint(plr.Name .. ": " .. args[1], game:service('Players'):children())
  5759.  
  5760. end)
  5761.  
  5762.  
  5763.  
  5764. set.MakeCommand('Info',2,set.Prefix,{'info','age'},{'player'},1,function(plr,args)
  5765.  
  5766.     local plz = set.GetPlayers(plr, args[1]:lower())
  5767.  
  5768.     for i,v in pairs(plz) do
  5769.  
  5770.     coroutine.wrap(function()
  5771.  
  5772.     set.GetPlayerInfo(v,{plr},'Player Info')
  5773.  
  5774.     end)()
  5775.  
  5776.     end
  5777.  
  5778. end)
  5779.  
  5780.  
  5781.  
  5782. set.MakeCommand('Reset Stats',2,set.Prefix,{'resetstats'},{'player'},1,function(plr,args)
  5783.  
  5784. local plrz = set.GetPlayers(plr, args[1]:lower())
  5785.  
  5786. for i, v in pairs(plrz) do
  5787.  
  5788. coroutine.resume(coroutine.create(function()
  5789.  
  5790. if v and v:findFirstChild("leaderstats") then
  5791.  
  5792. for a, q in pairs(v.leaderstats:children()) do
  5793.  
  5794. if q:IsA("IntValue") then q.Value = 0 end
  5795.  
  5796. end
  5797.  
  5798. end
  5799.  
  5800. end))
  5801.  
  5802. end
  5803.  
  5804. end)
  5805.  
  5806.  
  5807.  
  5808. set.MakeCommand('Give Gear',2,set.Prefix,{'gear','givegear'},{'player','id'},2,function(plr,args)
  5809.  
  5810. local plrz = set.GetPlayers(plr, args[1]:lower())
  5811.  
  5812. for i, v in pairs(plrz) do
  5813.  
  5814. coroutine.resume(coroutine.create(function()
  5815.  
  5816. if v and v:findFirstChild("Backpack") then
  5817.  
  5818. local obj = game:service("InsertService"):LoadAsset(tonumber(args[2]))
  5819.  
  5820. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  5821.  
  5822. obj:Destroy()
  5823.  
  5824. end
  5825.  
  5826. end))
  5827.  
  5828. end
  5829.  
  5830. end)
  5831.  
  5832.  
  5833.  
  5834. set.MakeCommand('Sell',2,set.Prefix,{'sell'},{'player','id','currency'},3,function(plr,args)
  5835.  
  5836. local plrz = set.GetPlayers(plr, args[1]:lower())
  5837.  
  5838. for i, v in pairs(plrz) do
  5839.  
  5840. coroutine.resume(coroutine.create(function()
  5841.  
  5842. local type = args[3] or 'default'
  5843.  
  5844. local t
  5845.  
  5846. if type:lower()=='tix' or type:lower()=='tickets' or type:lower()=='t' then
  5847.  
  5848.     t=Enum.CurrencyType.Tix
  5849.  
  5850. elseif type:lower()=='robux' or type:lower()=='rb' or type:lower()=='r' then
  5851.  
  5852.     t=Enum.CurrencyType.Robux
  5853.  
  5854. else
  5855.  
  5856.     t=Enum.CurrencyType.Default
  5857.  
  5858. end
  5859.  
  5860. if v then
  5861.  
  5862. game:GetService("MarketplaceService"):PromptPurchase(v,tonumber(args[2]),false,t)
  5863.  
  5864. end
  5865.  
  5866. end))
  5867.  
  5868. end
  5869.  
  5870. end)
  5871.  
  5872.  
  5873.  
  5874. set.MakeCommand('Give Hat',2,set.Prefix,{'hat','givehat'},{'player','id'},2,function(plr,args)
  5875.  
  5876. local plrz = set.GetPlayers(plr, args[1]:lower())
  5877.  
  5878. for i, v in pairs(plrz) do
  5879.  
  5880. coroutine.resume(coroutine.create(function()
  5881.  
  5882. if v and v.Character then
  5883.  
  5884. local obj = game:service("InsertService"):LoadAsset(tonumber(args[2]))
  5885.  
  5886. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  5887.  
  5888. obj:Destroy()
  5889.  
  5890. end
  5891.  
  5892. end))
  5893.  
  5894. end
  5895.  
  5896. end)
  5897.  
  5898.  
  5899.  
  5900. set.MakeCommand('Cape List',2,set.Prefix,{'capes','capelist'},{},0,function(plr,args)
  5901.  
  5902. local list = {"script","new yeller","pastel blue","dusty rose","cga brown","random","shiny","gold","kohl","epix","superman","swag","donor","starbucks","gomodern","admin","host","cohost","trainer","giovannis"}
  5903.  
  5904. set.Remote(plr,'SetSetting','CapeList',list)
  5905.  
  5906. set.Remote(plr,'Function','ListGui','Cape List','CapeList')
  5907.  
  5908. end)
  5909.  
  5910.  
  5911.  
  5912. set.MakeCommand('Cape',2,set.Prefix,{'cape','givecape'},{'player','cape/color/id'},2,function(plr,args)
  5913.  
  5914. local plrz = set.GetPlayers(plr, args[1]:lower())
  5915.  
  5916. if not args[2] then args[2]='White' end
  5917.  
  5918. for i,v in pairs(plrz) do
  5919.  
  5920. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  5921.  
  5922. if args[2]:lower() == "new yeller" then set.Remote(v,'Function','Cape','Fabric',"New Yeller")
  5923.  
  5924. elseif args[2]:lower() == "pastel blue" then set.Remote(v,'Function','Cape','Fabric',"Pastel Blue")
  5925.  
  5926. elseif args[2]:lower() == "dusty rose" then set.Remote(v,'Function','Cape','Fabric',"Dusty Rose")
  5927.  
  5928. elseif args[2]:lower() == "cga brown" then set.Remote(v,'Function','Cape','Fabric',"CGA brown")
  5929.  
  5930. elseif args[2]:lower() == "random" then set.Remote(v,'Function','Cape','Fabric',BrickColor.random())
  5931.  
  5932. elseif args[2]:lower() == "shiny" then set.Remote(v,'Function','Cape','Plastic',"Institutional white",false,1)
  5933.  
  5934. elseif args[2]:lower() == "gold" then set.Remote(v,'Function','Cape','Plastic',"Bright yellow",false,0.4)
  5935.  
  5936. elseif args[2]:lower() == "kohl" then set.Remote(v,'Function','Cape','Fabric',"Really black","108597653")
  5937.  
  5938. elseif args[2]:lower() == "script" then set.Remote(v,'Function','Cape','Plastic',"White","151359194")
  5939.  
  5940. elseif args[2]:lower() == "batman" then set.Remote(v,'Function','Cape','Fabric',"Institutional white","108597669")
  5941.  
  5942. elseif args[2]:lower() == "epix" then set.Remote(v,'Function','Cape','Plastic',"Really black","149442745")
  5943.  
  5944. elseif args[2]:lower() == "superman" then set.Remote(v,'Function','Cape','Fabric',"Bright blue","108597677")
  5945.  
  5946. elseif args[2]:lower() == "swag" then set.Remote(v,'Function','Cape','Fabric',"Pink","109301474")
  5947.  
  5948. elseif args[2]:lower() == "donor" then set.Remote(v,'Function','Cape','Plastic',"White","149009184")
  5949.  
  5950. elseif args[2]:lower() == "starbucks" then set.Remote(v,'Function','Cape','Plastic',"Black","149248066")
  5951.  
  5952. elseif args[2]:lower() == "gomodern" then set.Remote(v,'Function','Cape','Plastic',"Really black","149438175")
  5953.  
  5954. elseif args[2]:lower() == "admin" then set.Remote(v,'Function','Cape','Plastic',"White","149092195")
  5955.  
  5956. elseif args[2]:lower() == "giovannis" then set.Remote(v,'Function','Cape','Plastic',"White","149808729")
  5957.  
  5958. elseif args[2]:lower() == "godofdonuts" then set.Remote(v,'Function','Cape','Plastic',"Institutional white","151034443")
  5959.  
  5960. elseif args[2]:lower() == "host" then set.Remote(v,'Function','Cape','Plastic',"Really black","152299000")
  5961.  
  5962. elseif args[2]:lower() == "cohost" then set.Remote(v,'Function','Cape','Plastic',"Really black","152298950")
  5963.  
  5964. elseif args[2]:lower() == "trainer" then set.Remote(v,'Function','Cape','Plastic',"Really black","152298976")
  5965.  
  5966. elseif args[2]:lower() == "ba" or args[2]:lower() == "beardedalien" or args[2]:lower() == "beard" then set.Remote(v,'Function','Cape','Plastic','White',172528001)
  5967.  
  5968. elseif BrickColor.new(args[2]) ~= nil then set.Remote(v,'Function','Cape','Fabric',args[2])
  5969.  
  5970. elseif tonumber(args[2]) ~= nil then set.Remote(v,'Function','Cape','Fabric','White',args[2])
  5971.  
  5972. end
  5973.  
  5974. end
  5975.  
  5976. end)
  5977.  
  5978.  
  5979.  
  5980. set.MakeCommand('UnCape',2,set.Prefix,{'uncape','removecape'},{'player'},1,function(plr,args)
  5981.  
  5982. local plrz = set.GetPlayers(plr, args[1]:lower())
  5983.  
  5984. for i, v in pairs(plrz) do
  5985.  
  5986. if v and v.Character then
  5987.  
  5988. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  5989.  
  5990. end
  5991.  
  5992. end
  5993.  
  5994. end)
  5995.  
  5996.  
  5997.  
  5998. set.MakeCommand('Slippery Ground',2,set.Prefix,{'slippery','iceskate','icewalk','slide'},{'player'},1,function(plr,args)
  5999.  
  6000. local plrz = set.GetPlayers(plr, args[1]:lower())
  6001.  
  6002. for i, v in pairs(plrz) do
  6003.  
  6004. set.Remote(v,'Function','Effect','slip')
  6005.  
  6006. end
  6007.  
  6008. end)
  6009.  
  6010.  
  6011.  
  6012. set.MakeCommand('NoClip',2,set.Prefix,{'noclip'},{'player'},1,function(plr,args)
  6013.  
  6014. local plrz = set.GetPlayers(plr, args[1]:lower())
  6015.  
  6016. for i, v in pairs(plrz) do
  6017.  
  6018. set.Remote(v,'Function','Noclip','norm')
  6019.  
  6020. end
  6021.  
  6022. end)
  6023.  
  6024.  
  6025.  
  6026. set.MakeCommand('Flying Noclip',2,set.Prefix,{'flynoclip','oldnolcip'},{'player'},1,function(plr,args)
  6027.  
  6028. local plrz = set.GetPlayers(plr, args[1]:lower())
  6029.  
  6030. for i, v in pairs(plrz) do
  6031.  
  6032. set.Remote(v,'Function','Noclip','fly')
  6033.  
  6034. end
  6035.  
  6036. end)
  6037.  
  6038.  
  6039.  
  6040. set.MakeCommand('Clip',2,set.Prefix,{'clip','unnoclip'},{'player'},1,function(plr,args)
  6041.  
  6042. local plrz = set.GetPlayers(plr, args[1]:lower())
  6043.  
  6044. for i, v in pairs(plrz) do
  6045.  
  6046. set.Remote(v,'Function','Noclip','off')
  6047.  
  6048. end
  6049.  
  6050. end)
  6051.  
  6052.  
  6053.  
  6054. set.MakeCommand('Jail',2,set.Prefix,{'jail','imprison'},{'player'},1,function(plr,args)
  6055.  
  6056. local plrz = set.GetPlayers(plr, args[1]:lower())
  6057.  
  6058. for i, v in pairs(plrz) do
  6059.  
  6060. coroutine.wrap(function()
  6061.  
  6062. if v.Character and v.Character:FindFirstChild("Torso") then
  6063.  
  6064. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  6065.  
  6066. local origpos = v.Character.Torso.Position
  6067.  
  6068. local mod = Instance.new("Model", game.Workspace) mod.Name = v.Name .. " Epix Jail" table.insert(set.objects, mod)
  6069.  
  6070. local value = Instance.new('StringValue',mod) value.Name='Player' value.Value=v.Name
  6071.  
  6072. local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
  6073.  
  6074. set.JailedTools[v.Name]=Instance.new('Model')
  6075.  
  6076. local bottom = top:Clone() bottom.Transparency = 1 bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  6077.  
  6078. local front = top:Clone() front.Transparency = 1 front.Reflectance = 0 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
  6079.  
  6080. local back = front:Clone() back.Transparency = 1 back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  6081.  
  6082. local right = front:Clone() right.Transparency = 1 right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  6083.  
  6084. local left = right:Clone() left.Transparency = 1 left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  6085.  
  6086. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  6087.  
  6088. local msh2 = msh:Clone() msh2.Parent = back
  6089.  
  6090. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  6091.  
  6092. local msh4 = msh3:Clone() msh4.Parent = left
  6093.  
  6094. local brick = Instance.new('Part',mod)
  6095.  
  6096. local box = Instance.new('SelectionBox',brick)
  6097.  
  6098. box.Adornee=brick
  6099.  
  6100. box.Color=BrickColor.new('White')
  6101.  
  6102. brick.Anchored=true
  6103.  
  6104. brick.CanCollide=false
  6105.  
  6106. brick.Transparency=1
  6107.  
  6108. brick.Size=Vector3.new(5,7,5)
  6109.  
  6110. brick.CFrame=cf--*CFrame.new(0,-1,0)
  6111.  
  6112. v.Character.Torso.CFrame = cf
  6113.  
  6114. for l,k in pairs(v.Backpack:children()) do
  6115.  
  6116.     if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then
  6117.  
  6118.         k.Parent=set.JailedTools[v.Name]
  6119.  
  6120.     end
  6121.  
  6122. end
  6123.  
  6124. coroutine.wrap(function()
  6125.  
  6126. repeat
  6127.  
  6128.     local player=game.Players:FindFirstChild(v.Name)
  6129.  
  6130.     if not player then return end
  6131.  
  6132.     local torso=player.Character:FindFirstChild('Torso')
  6133.  
  6134.     if not torso then return end
  6135.  
  6136.     if not set.JailedTools[v.Name] or set.JailedTools[v.Name]==nil then set.JailedTools[v.Name]=Instance.new('Model') end
  6137.  
  6138.     for l,k in pairs(player.Backpack:children()) do
  6139.  
  6140.         if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then
  6141.  
  6142.             k.Parent=set.JailedTools[v.Name]--tools
  6143.  
  6144.         end
  6145.  
  6146.     end
  6147.  
  6148.     if (torso.Position-origpos).magnitude>5 then
  6149.  
  6150.         torso.CFrame = cf
  6151.  
  6152.     end
  6153.  
  6154.     wait()
  6155.  
  6156. until not mod or not mod.Parent or set.JailedTools[v.Name]==nil
  6157.  
  6158. end)()
  6159.  
  6160. end
  6161.  
  6162. end)()
  6163.  
  6164. end
  6165.  
  6166. end)
  6167.  
  6168.  
  6169.  
  6170. set.MakeCommand('UnJail',2,set.Prefix,{'unjail','free','release'},{'player'},1,function(plr,args)
  6171.  
  6172. local plrz = set.GetPlayers(plr, args[1]:lower())
  6173.  
  6174. for i, v in pairs(plrz) do
  6175.  
  6176.     coroutine.wrap(function()
  6177.  
  6178.         if v then
  6179.  
  6180.             for a, jl in pairs(game.Workspace:children()) do
  6181.  
  6182.                 if jl.Name == v.Name .. " Epix Jail" then
  6183.  
  6184.                     jl:Destroy()
  6185.  
  6186.                 end
  6187.  
  6188.             end
  6189.  
  6190.         if set.JailedTools[v.Name] then
  6191.  
  6192.             for j,tewl in pairs(set.JailedTools[v.Name]:children()) do
  6193.  
  6194.                 if tewl then
  6195.  
  6196.                     tewl.Parent=v.Backpack
  6197.  
  6198.                 end
  6199.  
  6200.             end
  6201.  
  6202.             set.JailedTools[v.Name]=nil
  6203.  
  6204.         end
  6205.  
  6206.     set.JailedTools[v.Name]=nil
  6207.  
  6208. end
  6209.  
  6210. end)()
  6211.  
  6212. end
  6213.  
  6214. end)
  6215.  
  6216.  
  6217.  
  6218. set.MakeCommand('Bubble Chat',2,set.Prefix,{'bchat','dchat','bubblechat','dialogchat'},{'player','color(red/green/blue)'},2,function(plr,args)
  6219.  
  6220.     local color=Enum.ChatColor.Red
  6221.  
  6222.     if not args[2] then
  6223.  
  6224.         color=Enum.ChatColor.Red
  6225.  
  6226.     elseif args[2]:lower()=='red' then
  6227.  
  6228.         color=Enum.ChatColor.Red
  6229.  
  6230.     elseif args[2]:lower()=='green' then
  6231.  
  6232.         color=Enum.ChatColor.Green
  6233.  
  6234.     elseif args[2]:lower()=='blue' then
  6235.  
  6236.         color=Enum.ChatColor.Blue
  6237.  
  6238.     end
  6239.  
  6240.     for i,v in pairs(set.GetPlayers(plr,(args[1] or plr.Name))) do
  6241.  
  6242.         set.Remote(v,"Function","BubbleChat",color)
  6243.  
  6244.     end
  6245.  
  6246. end)
  6247.  
  6248.  
  6249.  
  6250. set.MakeCommand('Glitch Disorient',2,set.Prefix,{'glitch','glitchdisorient','glitch1','gd'},{'player','intensity'},2,function(plr,args)
  6251.  
  6252.     for i,v in pairs(set.GetPlayers(plr, args[1])) do
  6253.  
  6254.         local num=args[2] or 15
  6255.  
  6256.         set.Remote(v,'Function','Glitch','trippy',num)
  6257.  
  6258.     end
  6259.  
  6260. end)
  6261.  
  6262.  
  6263.  
  6264. set.MakeCommand('Glitch Ghost',2,set.Prefix,{'glitch2','glitchghost','gg'},{'player','intensity'},2,function(plr,args)
  6265.  
  6266.     for i,v in pairs(set.GetPlayers(plr, args[1])) do
  6267.  
  6268.         local num=args[2] or 150
  6269.  
  6270.         set.Remote(v,'Function','Glitch','ghost',num)
  6271.  
  6272.     end
  6273.  
  6274. end)
  6275.  
  6276.  
  6277.  
  6278. set.MakeCommand('Un-Glitch',2,set.Prefix,{'unglitch','unglitchghost','ungd','ungg'},{'player'},1,function(plr,args)
  6279.  
  6280.     for i,v in pairs(set.GetPlayers(plr, args[1])) do
  6281.  
  6282.         set.Remote(v,'Function','Glitch','off')
  6283.  
  6284.     end
  6285.  
  6286. end)
  6287.  
  6288.  
  6289.  
  6290. set.MakeCommand('Message Of The Day',0,set.AnyPrefix,{'modt','messageoftheday','daymessage'},{},0,function(plr,args)
  6291.  
  6292.     set.PM('Message of the Day',plr,game:service('MarketplaceService'):GetProductInfo(set.MessageOfTheDayID).Description)
  6293.  
  6294. end)
  6295.  
  6296.  
  6297.  
  6298. set.MakeCommand('Phase',2,set.Prefix,{'phase'},{'player'},1,function(plr,args)
  6299.  
  6300.     for i,v in pairs(set.GetPlayers(plr, args[1])) do
  6301.  
  6302.         set.Remote(v,'Function','Phase')
  6303.  
  6304.     end
  6305.  
  6306. end)
  6307.  
  6308.  
  6309.  
  6310. set.MakeCommand('Un-Bubble Chat',2,set.Prefix,{'unbchat','unbubblechat','undchat','undialogchat'},{'player'},1,function(plr,args)
  6311.  
  6312.     for i,v in pairs(set.GetPlayers(plr,(args[1] or plr.Name))) do
  6313.  
  6314.         set.Remote(v,'Function','BubbleChat','off')
  6315.  
  6316.     end
  6317.  
  6318. end)
  6319.  
  6320.  
  6321.  
  6322. set.MakeCommand('Starter Tools',2,set.Prefix,{'startertools','starttools'},{'player'},1,function(plr,args)
  6323.  
  6324. local plrz = set.GetPlayers(plr, args[1]:lower())
  6325.  
  6326. for i, v in pairs(plrz) do
  6327.  
  6328. coroutine.resume(coroutine.create(function()
  6329.  
  6330. if v and v:findFirstChild("Backpack") then
  6331.  
  6332. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  6333.  
  6334. end
  6335.  
  6336. end))
  6337.  
  6338. end
  6339.  
  6340. end)
  6341.  
  6342.  
  6343.  
  6344. set.MakeCommand('Sword',2,set.Prefix,{'sword','givesword'},{'player'},1,function(plr,args)
  6345.  
  6346. local plrz = set.GetPlayers(plr, args[1]:lower())
  6347.  
  6348. for i, v in pairs(plrz) do
  6349.  
  6350. coroutine.resume(coroutine.create(function()
  6351.  
  6352. if v and v:findFirstChild("Backpack") then
  6353.  
  6354. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword"  sword.TextureId = "rbxasset://Textures/Sword128.png"
  6355.  
  6356. sword.GripForward = Vector3.new(-1,0,0)
  6357.  
  6358. sword.GripPos = Vector3.new(0,0,-1.5)
  6359.  
  6360. sword.GripRight = Vector3.new(0,1,0)
  6361.  
  6362. sword.GripUp = Vector3.new(0,0,1)
  6363.  
  6364. local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
  6365.  
  6366. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  6367.  
  6368. set.LoadScript('LocalScript',[[
  6369.  
  6370. repeat wait() until game:service('Players').LocalPlayer and game:service('Players').LocalPlayer.Character and game:service('Players').LocalPlayer.Character:findFirstChild("Humanoid")
  6371.  
  6372. local Damage = 15
  6373.  
  6374. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  6375.  
  6376. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  6377.  
  6378. SlashSound.Volume = 1
  6379.  
  6380. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  6381.  
  6382. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  6383.  
  6384. LungeSound.Volume = 1
  6385.  
  6386. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  6387.  
  6388. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  6389.  
  6390. UnsheathSound.Volume = 1
  6391.  
  6392. local last = 0
  6393.  
  6394. script.Parent.Handle.Touched:connect(function(hit)
  6395.  
  6396. if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game:service('Players'):findFirstChild(hit.Parent.Name) and game:service('Players').LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game:service('Players').LocalPlayer.Character.Humanoid then
  6397.  
  6398. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  6399.  
  6400. hit.Parent.Humanoid:TakeDamage(Damage)
  6401.  
  6402. end
  6403.  
  6404. end)
  6405.  
  6406. script.Parent.Activated:connect(function()
  6407.  
  6408. if not script.Parent.Enabled or game:service('Players').LocalPlayer.Character.Humanoid.Health <= 0 then return end
  6409.  
  6410. script.Parent.Enabled = false
  6411.  
  6412. local tick = game:service("RunService").Stepped:wait()
  6413.  
  6414. if tick - last <= .2 then
  6415.  
  6416. LungeSound:play()
  6417.  
  6418. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  6419.  
  6420. local frc = Instance.new("BodyVelocity", game:service('Players').LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  6421.  
  6422. wait(.2)
  6423.  
  6424. script.Parent.GripForward = Vector3.new(0,0,1)
  6425.  
  6426. script.Parent.GripRight = Vector3.new(0,-1,0)
  6427.  
  6428. script.Parent.GripUp = Vector3.new(-1,0,0)
  6429.  
  6430. wait(.3)
  6431.  
  6432. frc:Destroy() wait(.5)
  6433.  
  6434. script.Parent.GripForward = Vector3.new(-1,0,0)
  6435.  
  6436. script.Parent.GripRight = Vector3.new(0,1,0)
  6437.  
  6438. script.Parent.GripUp = Vector3.new(0,0,1)
  6439.  
  6440. else
  6441.  
  6442. SlashSound:play()
  6443.  
  6444. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  6445.  
  6446. end
  6447.  
  6448. last = tick
  6449.  
  6450. script.Parent.Enabled = true
  6451.  
  6452. end)
  6453.  
  6454. script.Parent.Equipped:connect(function(mouse)
  6455.  
  6456. for i,v in pairs(game:service('Players').LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  6457.  
  6458. UnsheathSound:play()
  6459.  
  6460. script.Parent.Enabled = true
  6461.  
  6462. if not mouse then return end
  6463.  
  6464. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  6465.  
  6466. end)]],'SwordScript',false,sword)
  6467.  
  6468. end
  6469.  
  6470. end))
  6471.  
  6472. end
  6473.  
  6474. end)
  6475.  
  6476.  
  6477.  
  6478. set.MakeCommand('Clone',2,set.Prefix,{'clone','cloneplayer'},{'player'},1,function(plr,args)
  6479.  
  6480. local plrz = set.GetPlayers(plr, args[1]:lower())
  6481.  
  6482. for i, v in pairs(plrz) do
  6483.  
  6484. coroutine.wrap(function()
  6485.  
  6486. if v and v.Character then
  6487.  
  6488. v.Character.Archivable = true
  6489.  
  6490. local cl = v.Character:Clone()
  6491.  
  6492. table.insert(set.objects,cl)
  6493.  
  6494. cl.Parent = game.Workspace
  6495.  
  6496. cl:MoveTo(v.Character:GetModelCFrame().p)
  6497.  
  6498. cl:MakeJoints()
  6499.  
  6500. v.Character.Archivable = false
  6501.  
  6502. repeat wait() until not cl or not cl.Humanoid or cl.Humanoid.Health<=0
  6503.  
  6504. wait(5)
  6505.  
  6506. if cl then cl:Destroy() end
  6507.  
  6508. end
  6509.  
  6510. end)()
  6511.  
  6512. end
  6513.  
  6514. end)
  6515.  
  6516.  
  6517.  
  6518. set.MakeCommand('Training Bot',2,set.Prefix,{'bot','tbot','trainingbot','bots','robot','robots','dummy','dummys','testdummy','testdummys','dolls','doll'},{'player','num','walk?','attack?','swarm?','walkspeed','dmg','hp','dist'},9,function(plr,args)
  6519.  
  6520.     local walk=false
  6521.  
  6522.     if args[3] then if args[3]:lower()=='true' or args[3]:lower()=='yes' then walk=true end end
  6523.  
  6524.     local attack=false
  6525.  
  6526.     if args[4] then if args[4]:lower()=='true' or args[4]:lower()=='yes' then attack=true end end
  6527.  
  6528.     local health=args[8] or 100
  6529.  
  6530.     local damage=args[7] or 10
  6531.  
  6532.     local walkspeed=args[6] or 20
  6533.  
  6534.     local dist=args[9] or 100
  6535.  
  6536.     local swarm=false
  6537.  
  6538.     if args[5] then if args[5]:lower()=='true' or args[5]:lower()=='yes' then swarm=true end end
  6539.  
  6540.     local function makedolls(player)
  6541.  
  6542.         local num=args[2] or 1
  6543.  
  6544.         local pos=player.Character.Torso.CFrame
  6545.  
  6546.         num=tonumber(num)
  6547.  
  6548.         for i=1,num do
  6549.  
  6550.             coroutine.wrap(function()
  6551.  
  6552.                 player.Character.Archivable = true
  6553.  
  6554.                 local cl = player.Character:Clone()
  6555.  
  6556.                 player.Character.Archivable = false
  6557.  
  6558.                 table.insert(set.objects,cl)
  6559.  
  6560.                 local anim=script['Script Dependencies'].Animate:Clone()
  6561.  
  6562.                 anim.Parent=cl
  6563.  
  6564.                 anim.Disabled=false
  6565.  
  6566.                 cl.Parent = game.Workspace
  6567.  
  6568.                 cl.Name='~=Bot=~'
  6569.  
  6570.                 if cl:FindFirstChild('Animate') then cl.Animate:Destroy() end
  6571.  
  6572.                 cl.Humanoid.MaxHealth=health
  6573.  
  6574.                 wait()
  6575.  
  6576.                 cl.Humanoid.Health=health
  6577.  
  6578.                 cl.Torso.CFrame=pos*CFrame.Angles(0,math.rad(360/num*i),0)*CFrame.new(5+.2*num,0,0)
  6579.  
  6580.                 cl:MakeJoints()
  6581.  
  6582.                 cl.Humanoid.WalkSpeed=walkspeed
  6583.  
  6584.                 for k,f in pairs(cl:children()) do if f.ClassName=='ForceField' then f:Destroy() end end
  6585.  
  6586.                 local run=true
  6587.  
  6588.                 local thing
  6589.  
  6590.                 local target
  6591.  
  6592.                 local chasing=false
  6593.  
  6594.                 local function find()
  6595.  
  6596.                     for k,n in pairs(game:service('Players'):GetPlayers()) do
  6597.  
  6598.                         coroutine.wrap(function()
  6599.  
  6600.                             if swarm and not chasing and n:DistanceFromCharacter(cl.Torso.Position) < tonumber(dist) then
  6601.  
  6602.                                 n=n.Character
  6603.  
  6604.                                 if not n:FindFirstChild('Humanoid') or not n:FindFirstChild('Torso') or n.Humanoid.Health>=math.huge or n:FindFirstChild('ForceField') then return end
  6605.  
  6606.                                 target=n.Torso
  6607.  
  6608.                                 chasing=true
  6609.  
  6610.                                 repeat wait() until chasing==false or n.Humanoid.Health<=0 or n.Humanoid.Health>=math.huge or n:FindFirstChild('ForceField') or not n:FindFirstChild('Torso') or not n
  6611.  
  6612.                                 chasing=false
  6613.  
  6614.                             end
  6615.  
  6616.                         end)()
  6617.  
  6618.                     end
  6619.  
  6620.                 end
  6621.  
  6622.                 coroutine.wrap(function()
  6623.  
  6624.                     if not cl.Humanoid or not cl.Torso then return end
  6625.  
  6626.                     thing=cl.Torso.Touched:connect(function(hit)
  6627.  
  6628.                         coroutine.wrap(function()
  6629.  
  6630.                             if attack and run and cl and hit.Parent:FindFirstChild('Humanoid') and hit.Parent:FindFirstChild('Torso') and hit.Parent.Name~='~=Bot=~' then
  6631.  
  6632.                                 if hit.Parent.Humanoid.Health>=math.huge or hit.Parent:FindFirstChild('ForceField') then return end
  6633.  
  6634.                                 hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-damage
  6635.  
  6636.                                 target=hit.Parent.Torso
  6637.  
  6638.                                 chasing=true
  6639.  
  6640.                                 repeat wait() until chasing==false or hit.Parent.Humanoid.Health<=0 or hit.Parent.Humanoid.Health>=math.huge or hit.Parent:FindFirstChild('ForceField') or not hit.Parent:FindFirstChild('Torso') or not hit.Parent
  6641.  
  6642.                                 chasing=false
  6643.  
  6644.                             end
  6645.  
  6646.                         end)()
  6647.  
  6648.                        
  6649.  
  6650.                     end)
  6651.  
  6652.                     repeat
  6653.  
  6654.                         if not walk then return end
  6655.  
  6656.                         if cl.Humanoid.Sit then
  6657.  
  6658.                             cl.Humanoid.Jump=true
  6659.  
  6660.                             cl.Humanoid.Sit=false
  6661.  
  6662.                         end
  6663.  
  6664.                         if chasing then
  6665.  
  6666.                             wait()
  6667.  
  6668.                             cl.Humanoid.WalkToPoint=target.Position
  6669.  
  6670.                             if math.abs(cl.Torso.Position.Y-target.Position.Y)>7 then
  6671.  
  6672.                                 cl.Humanoid.Jump=true
  6673.  
  6674.                             end
  6675.  
  6676.                         else
  6677.  
  6678.                             cl.Humanoid.WalkToPoint=Vector3.new(math.random(cl.Torso.Position.X-100,cl.Torso.Position.X+100),cl.Torso.Position.Y,math.random(cl.Torso.Position.Z-100,cl.Torso.Position.Z+100))
  6679.  
  6680.                             wait(1)
  6681.  
  6682.                         end
  6683.  
  6684.                         pcall(find)
  6685.  
  6686.                         wait()
  6687.  
  6688.                     until not cl or not cl.Humanoid or cl.Humanoid.Health<=0 or not run
  6689.  
  6690.                 end)()
  6691.  
  6692.                 repeat wait() until not cl or not cl.Humanoid or cl.Humanoid.Health<=0 or not run
  6693.  
  6694.                 run=false
  6695.  
  6696.                 pcall(function() thing:disconnect() end)
  6697.  
  6698.                 wait(2)
  6699.  
  6700.                 pcall(function() if cl then cl:Destroy() end end)
  6701.  
  6702.             end)()
  6703.  
  6704.         end
  6705.  
  6706.     end
  6707.  
  6708.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  6709.  
  6710.         makedolls(v)
  6711.  
  6712.     end
  6713.  
  6714. end)
  6715.  
  6716.  
  6717.  
  6718. set.MakeCommand('Click to Teleport',2,set.Prefix,{'clickteleport','teleporttoclick','clicktp','forceteleport','ctp'},{'player'},1,function(plr,args)
  6719.  
  6720. local plrz = set.GetPlayers(plr, args[1]:lower())
  6721.  
  6722. for i, v in pairs(plrz) do
  6723.  
  6724. coroutine.wrap(function()
  6725.  
  6726. local tool=Instance.new('HopperBin',plr.Backpack)
  6727.  
  6728. set.LoadScript('LocalScript',[[local localplayer=game.Players.LocalPlayer
  6729.  
  6730. local mouse=localplayer:GetMouse()
  6731.  
  6732. local tool=script.Parent
  6733.  
  6734. local use=false
  6735.  
  6736. local target=game.Players:WaitForChild(']]..v.Name..[[')
  6737.  
  6738. local char=target.Character
  6739.  
  6740. local hum=char:FindFirstChild('Humanoid')
  6741.  
  6742. if not hum then tool:Destroy() end
  6743.  
  6744. hum.Died:connect(function() tool:Destroy() end)
  6745.  
  6746. tool.Name=target.Name
  6747.  
  6748. function onButton1Down(mouse)
  6749.  
  6750.     if not target.Character or not target.Character:FindFirstChild('Humanoid') then return end
  6751.  
  6752.     local torso=target.Character:FindFirstChild('Torso')
  6753.  
  6754.     if not torso then return end
  6755.  
  6756.     local pos=mouse.Hit.p
  6757.  
  6758.     torso.CFrame=CFrame.new(Vector3.new(pos.x, pos.y + 4, pos.z))
  6759.  
  6760. end
  6761.  
  6762. local holding=false
  6763.  
  6764. function rotate()
  6765.  
  6766.     local char=target.Character
  6767.  
  6768.     local torso=char:FindFirstChild('Torso')
  6769.  
  6770.     if not torso then return end
  6771.  
  6772.     holding=true
  6773.  
  6774.     print(1)
  6775.  
  6776.     repeat
  6777.  
  6778.         torso.CFrame=CFrame.new(torso.Position,Vector3.new(mouse.Hit.p.X,torso.Position.Y,mouse.Hit.p.Z))
  6779.  
  6780.         wait()
  6781.  
  6782.     until not holding or not use
  6783.  
  6784. end
  6785.  
  6786.  
  6787.  
  6788. mouse.KeyDown:connect(function(key)
  6789.  
  6790.     if key:lower()=='r' and use then
  6791.  
  6792.         rotate()
  6793.  
  6794.     end
  6795.  
  6796.     if key:lower()=='x' then
  6797.  
  6798.         tool:Destroy()
  6799.  
  6800.     end
  6801.  
  6802. end)
  6803.  
  6804.  
  6805.  
  6806. mouse.KeyUp:connect(function(key)
  6807.  
  6808.     if key:lower()=='r' then
  6809.  
  6810.         holding=false
  6811.  
  6812.     end
  6813.  
  6814. end)
  6815.  
  6816.  
  6817.  
  6818. function onSelected(mouse)
  6819.  
  6820.     use=true
  6821.  
  6822.     mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  6823.  
  6824.     mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  6825.  
  6826. end
  6827.  
  6828. tool.Selected:connect(onSelected)
  6829.  
  6830. tool.Deselected:connect(function() use=false holding=false end)]],set.AssignName(),false,tool)
  6831.  
  6832. end)()
  6833.  
  6834. end
  6835.  
  6836. end)
  6837.  
  6838.  
  6839.  
  6840. set.MakeCommand('Click to Walk',2,set.Prefix,{'clickwalk','cw','forcewalk','walktool','walktoclick','clickcontrol','forcewalk'},{'player'},1,function(plr,args)
  6841.  
  6842. local plrz = set.GetPlayers(plr, args[1]:lower())
  6843.  
  6844. for i, v in pairs(plrz) do
  6845.  
  6846. coroutine.wrap(function()
  6847.  
  6848. local tool=Instance.new('HopperBin',plr.Backpack)
  6849.  
  6850. set.LoadScript('LocalScript',[[local localplayer=game.Players.LocalPlayer
  6851.  
  6852. local mouse=localplayer:GetMouse()
  6853.  
  6854. local tool=script.Parent
  6855.  
  6856. local target=game.Players:WaitForChild(']]..v.Name..[[')
  6857.  
  6858. local char=target.Character
  6859.  
  6860. local hum=char:FindFirstChild('Humanoid')
  6861.  
  6862. if not hum then tool:Destroy() end
  6863.  
  6864. hum.Died:connect(function() tool:Destroy() end)
  6865.  
  6866. tool.Name=target.Name
  6867.  
  6868. function onButton1Down(mouse)
  6869.  
  6870.     if not target.Character or not target.Character:FindFirstChild('Humanoid') then return end
  6871.  
  6872.     local pos=mouse.Hit.p
  6873.  
  6874.     hum:MoveTo(pos)
  6875.  
  6876. end
  6877.  
  6878. local holding=false
  6879.  
  6880. function rotate()
  6881.  
  6882.     local char=target.Character
  6883.  
  6884.     local torso=char:FindFirstChild('Torso')
  6885.  
  6886.     if not torso then return end
  6887.  
  6888.     holding=true
  6889.  
  6890.     print(1)
  6891.  
  6892.     repeat
  6893.  
  6894.         torso.CFrame=CFrame.new(torso.Position,Vector3.new(mouse.Hit.p.X,torso.Position.Y,mouse.Hit.p.Z))
  6895.  
  6896.         wait()
  6897.  
  6898.     until not holding or not use
  6899.  
  6900. end
  6901.  
  6902. mouse.KeyDown:connect(function(key)
  6903.  
  6904.     if key:lower()=='r' and use then
  6905.  
  6906.         rotate()
  6907.  
  6908.     end
  6909.  
  6910.     if key:lower()=='x' then
  6911.  
  6912.         tool:Destroy()
  6913.  
  6914.     end
  6915.  
  6916. end)
  6917.  
  6918.  
  6919.  
  6920. mouse.KeyUp:connect(function(key)
  6921.  
  6922.     if key:lower()=='r' then
  6923.  
  6924.         holding=false
  6925.  
  6926.     end
  6927.  
  6928. end)
  6929.  
  6930.  
  6931.  
  6932. function onSelected(mouse)
  6933.  
  6934.     use=true
  6935.  
  6936.     mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  6937.  
  6938.     mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  6939.  
  6940. end
  6941.  
  6942. tool.Selected:connect(onSelected)
  6943.  
  6944. tool.Deselected:connect(function() use=false holding=false end)]],set.AssignName(),false,tool)
  6945.  
  6946. end)()
  6947.  
  6948. end
  6949.  
  6950. end)
  6951.  
  6952.  
  6953.  
  6954. set.MakeCommand('Body Swap',2,set.Prefix,{'bodyswap','bodysteal','bswap'},{'player1','player2'},2,function(plr,args)
  6955.  
  6956.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  6957.  
  6958.     for i2,v2 in pairs(set.GetPlayers(plr,args[2])) do
  6959.  
  6960.         local temptools=Instance.new('Model')
  6961.  
  6962.         local tempcloths=Instance.new('Model')
  6963.  
  6964.         local vpos=v.Character.Torso.CFrame
  6965.  
  6966.         local v2pos=v2.Character.Torso.CFrame
  6967.  
  6968.         local vface=v.Character.Head.face
  6969.  
  6970.         local v2face=v2.Character.Head.face
  6971.  
  6972.         vface.Parent=v2.Character.Head
  6973.  
  6974.         v2face.Parent=v.Character.Head
  6975.  
  6976.         for k,p in pairs(v.Character:children()) do
  6977.  
  6978.             if p:IsA('BodyColors') or p:IsA('CharacterMesh') or p:IsA('Pants') or p:IsA('Shirt') or p:IsA('Hat') then
  6979.  
  6980.                 p.Parent=tempcloths
  6981.  
  6982.             elseif p:IsA('Tool') then
  6983.  
  6984.                 p.Parent=temptools
  6985.  
  6986.             end
  6987.  
  6988.         end
  6989.  
  6990.         for k,p in pairs(v.Backpack:children()) do
  6991.  
  6992.             p.Parent=temptools
  6993.  
  6994.         end
  6995.  
  6996.         for k,p in pairs(v2.Character:children()) do
  6997.  
  6998.             if p:IsA('BodyColors') or p:IsA('CharacterMesh') or p:IsA('Pants') or p:IsA('Shirt') or p:IsA('Hat') then
  6999.  
  7000.                 p.Parent=v.Character
  7001.  
  7002.             elseif p:IsA('Tool') then
  7003.  
  7004.                 p.Parent=v.Backpack
  7005.  
  7006.             end
  7007.  
  7008.         end
  7009.  
  7010.         for k,p in pairs(tempcloths:children()) do
  7011.  
  7012.             p.Parent=v2.Character
  7013.  
  7014.         end
  7015.  
  7016.         for k,p in pairs(v2.Backpack:children()) do
  7017.  
  7018.             p.Parent=v.Backpack
  7019.  
  7020.         end
  7021.  
  7022.         for k,p in pairs(temptools:children()) do
  7023.  
  7024.             p.Parent=v2.Backpack
  7025.  
  7026.         end
  7027.  
  7028.         v2.Character.Torso.CFrame=vpos
  7029.  
  7030.         v.Character.Torso.CFrame=v2pos
  7031.  
  7032.     end
  7033.  
  7034.     end
  7035.  
  7036. end)
  7037.  
  7038.  
  7039.  
  7040. set.MakeCommand('Control',2,set.Prefix,{'control','takeover'},{'player'},1,function(plr,args)
  7041.  
  7042. local plrz = set.GetPlayers(plr, args[1]:lower())
  7043.  
  7044. for i, v in pairs(plrz) do
  7045.  
  7046. coroutine.wrap(function()
  7047.  
  7048. if v and v.Character then
  7049.  
  7050. v.Character.Humanoid.PlatformStand = true
  7051.  
  7052. local w = Instance.new("Weld", plr.Character.Torso )
  7053.  
  7054. w.Part0 = plr.Character.Torso
  7055.  
  7056. w.Part1 = v.Character.Torso  
  7057.  
  7058. local w2 = Instance.new("Weld", plr.Character.Head)
  7059.  
  7060. w2.Part0 = plr.Character.Head
  7061.  
  7062. w2.Part1 = v.Character.Head  
  7063.  
  7064. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  7065.  
  7066. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  7067.  
  7068. w3.Part1 = v.Character:findFirstChild("Right Arm")
  7069.  
  7070. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  7071.  
  7072. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  7073.  
  7074. w4.Part1 = v.Character:findFirstChild("Left Arm")
  7075.  
  7076. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  7077.  
  7078. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  7079.  
  7080. w5.Part1 = v.Character:findFirstChild("Right Leg")
  7081.  
  7082. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  7083.  
  7084. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  7085.  
  7086. w6.Part1 = v.Character:findFirstChild("Left Leg")
  7087.  
  7088. plr.Character.Head.face:Destroy()
  7089.  
  7090. for i, p in pairs(v.Character:children()) do
  7091.  
  7092. if p:IsA("BasePart") then
  7093.  
  7094. p.CanCollide = false
  7095.  
  7096. end
  7097.  
  7098. end
  7099.  
  7100. for i, p in pairs(plr.Character:children()) do
  7101.  
  7102. if p:IsA("BasePart") then
  7103.  
  7104. p.Transparency = 1
  7105.  
  7106. elseif p:IsA("Hat") then
  7107.  
  7108. p:Destroy()
  7109.  
  7110. end
  7111.  
  7112. end
  7113.  
  7114. v.Character.Parent = plr.Character
  7115.  
  7116. --v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  7117.  
  7118. end
  7119.  
  7120. end)()
  7121.  
  7122. end
  7123.  
  7124. end)
  7125.  
  7126.  
  7127.  
  7128. set.MakeCommand('Refresh',2,set.Prefix,{'refresh','reset'},{'player'},1,function(plr,args)
  7129.  
  7130. local plrz = set.GetPlayers(plr, args[1]:lower())
  7131.  
  7132. for i, v in pairs(plrz) do
  7133.  
  7134. coroutine.wrap(function()
  7135.  
  7136. local pos=v.Character.Torso.CFrame
  7137.  
  7138. local temptools={}
  7139.  
  7140. pcall(function() v.Character.Humanoid:UnequipTools() end)
  7141.  
  7142. wait()
  7143.  
  7144. for k,t in pairs(v.Backpack:children()) do
  7145.  
  7146.     if t:IsA('Tool') or t:IsA('Hopperbin') then
  7147.  
  7148.         table.insert(temptools,t)
  7149.  
  7150.     end
  7151.  
  7152. end
  7153.  
  7154. v:LoadCharacter()
  7155.  
  7156. v.Character.Torso.CFrame=pos
  7157.  
  7158. for d,f in pairs(v.Character:children()) do
  7159.  
  7160.     if f:IsA('ForceField') then f:Destroy() end
  7161.  
  7162. end
  7163.  
  7164. wait(1)
  7165.  
  7166. v.Backpack:ClearAllChildren()
  7167.  
  7168. for l,m in pairs(temptools) do
  7169.  
  7170.     m:clone().Parent=v.Backpack
  7171.  
  7172. end
  7173.  
  7174. end)()
  7175.  
  7176. end
  7177.  
  7178. end)
  7179.  
  7180.  
  7181.  
  7182. set.MakeCommand('Kill',2,set.Prefix,{'kill'},{'player'},1,function(plr,args)
  7183.  
  7184. local plrz = set.GetPlayers(plr, args[1])
  7185.  
  7186. for i, v in pairs(plrz) do
  7187.  
  7188. coroutine.wrap(function()
  7189.  
  7190. if v and v.Character then v.Character:BreakJoints() end
  7191.  
  7192. end)()
  7193.  
  7194. end
  7195.  
  7196. end)
  7197.  
  7198.  
  7199.  
  7200. set.MakeCommand('Respawn',2,set.Prefix,{'respawn'},{'player'},1,function(plr,args)
  7201.  
  7202. local plrz = set.GetPlayers(plr, args[1]:lower())
  7203.  
  7204. for i, v in pairs(plrz) do
  7205.  
  7206. coroutine.wrap(function()
  7207.  
  7208. if v and v.Character then v:LoadCharacter()
  7209.  
  7210.     set.Remote(v,'Function','SetView','reset')
  7211.  
  7212. end
  7213.  
  7214. end)()
  7215.  
  7216. end
  7217.  
  7218. end)
  7219.  
  7220.  
  7221.  
  7222. set.MakeCommand('Trip',2,set.Prefix,{'trip'},{'player'},1,function(plr,args)
  7223.  
  7224. local plrz = set.GetPlayers(plr, args[1]:lower())
  7225.  
  7226. for i, v in pairs(plrz) do
  7227.  
  7228. coroutine.wrap(function()
  7229.  
  7230. if v and v.Character and v.Character:findFirstChild("Torso") then
  7231.  
  7232. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  7233.  
  7234. end
  7235.  
  7236. end)()
  7237.  
  7238. end
  7239.  
  7240. end)
  7241.  
  7242.  
  7243.  
  7244. set.MakeCommand('Stun',2,set.Prefix,{'stun'},{'player'},1,function(plr,args)
  7245.  
  7246. local plrz = set.GetPlayers(plr, args[1]:lower())
  7247.  
  7248. for i, v in pairs(plrz) do
  7249.  
  7250. coroutine.wrap(function()
  7251.  
  7252. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7253.  
  7254. v.Character.Humanoid.PlatformStand = true
  7255.  
  7256. end
  7257.  
  7258. end)()
  7259.  
  7260. end
  7261.  
  7262. end)
  7263.  
  7264.  
  7265.  
  7266. set.MakeCommand('UnStun',2,set.Prefix,{'unstun'},{'player'},1,function(plr,args)
  7267.  
  7268. local plrz = set.GetPlayers(plr, args[1]:lower())
  7269.  
  7270. for i, v in pairs(plrz) do
  7271.  
  7272. coroutine.wrap(function()
  7273.  
  7274. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7275.  
  7276. v.Character.Humanoid.PlatformStand = false
  7277.  
  7278. end
  7279.  
  7280. end)()
  7281.  
  7282. end
  7283.  
  7284. end)
  7285.  
  7286.  
  7287.  
  7288. set.MakeCommand('Jump',2,set.Prefix,{'jump'},{'player'},1,function(plr,args)
  7289.  
  7290. local plrz = set.GetPlayers(plr, args[1]:lower())
  7291.  
  7292. for i, v in pairs(plrz) do
  7293.  
  7294. coroutine.wrap(function()
  7295.  
  7296. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7297.  
  7298. v.Character.Humanoid.Jump = true
  7299.  
  7300. end
  7301.  
  7302. end)()
  7303.  
  7304. end
  7305.  
  7306. end)
  7307.  
  7308.  
  7309.  
  7310. set.MakeCommand('Sit',2,set.Prefix,{'sit','seat'},{'player'},1,function(plr,args)
  7311.  
  7312. local plrz = set.GetPlayers(plr, args[1]:lower())
  7313.  
  7314. for i, v in pairs(plrz) do
  7315.  
  7316. coroutine.wrap(function()
  7317.  
  7318. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7319.  
  7320. v.Character.Humanoid.Sit = true
  7321.  
  7322. end
  7323.  
  7324. end)()
  7325.  
  7326. end
  7327.  
  7328. end)
  7329.  
  7330.  
  7331.  
  7332. set.MakeCommand('Invisible',2,set.Prefix,{'invisible'},{'player'},1,function(plr,args)
  7333.  
  7334. local plrz = set.GetPlayers(plr, args[1]:lower())
  7335.  
  7336. for i, v in pairs(plrz) do
  7337.  
  7338. coroutine.wrap(function()
  7339.  
  7340. if v and v.Character then
  7341.  
  7342. for a, obj in pairs(v.Character:children()) do
  7343.  
  7344. if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
  7345.  
  7346. end
  7347.  
  7348. end
  7349.  
  7350. end)()
  7351.  
  7352. end
  7353.  
  7354. end)
  7355.  
  7356.  
  7357.  
  7358. set.MakeCommand('Visible',2,set.Prefix,{'visible'},{'player'},1,function(plr,args)
  7359.  
  7360. local plrz = set.GetPlayers(plr, args[1]:lower())
  7361.  
  7362. for i, v in pairs(plrz) do
  7363.  
  7364. coroutine.wrap(function()
  7365.  
  7366. if v and v.Character then
  7367.  
  7368. for a, obj in pairs(v.Character:children()) do
  7369.  
  7370. if obj:IsA("BasePart") and obj.Name~='HumanoidRootPart' then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
  7371.  
  7372. end
  7373.  
  7374. end
  7375.  
  7376. end)()
  7377.  
  7378. end
  7379.  
  7380. end)
  7381.  
  7382.  
  7383.  
  7384. set.MakeCommand('Lock',2,set.Prefix,{'lock'},{'player'},1,function(plr,args)
  7385.  
  7386. local plrz = set.GetPlayers(plr,args[1]:lower())
  7387.  
  7388. for i, v in pairs(plrz) do
  7389.  
  7390. coroutine.wrap(function()
  7391.  
  7392. if v and v.Character then
  7393.  
  7394. for a, obj in pairs(v.Character:children()) do
  7395.  
  7396. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  7397.  
  7398. end
  7399.  
  7400. end
  7401.  
  7402. end)()
  7403.  
  7404. end
  7405.  
  7406. end)
  7407.  
  7408.  
  7409.  
  7410. set.MakeCommand('UnLock',2,set.Prefix,{'unlock'},{'player'},1,function(plr,args)
  7411.  
  7412. local plrz = set.GetPlayers(plr, args[1]:lower())
  7413.  
  7414. for i, v in pairs(plrz) do
  7415.  
  7416. coroutine.wrap(function()
  7417.  
  7418. if v and v.Character then
  7419.  
  7420. for a, obj in pairs(v.Character:children()) do
  7421.  
  7422. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  7423.  
  7424. end
  7425.  
  7426. end
  7427.  
  7428. end)()
  7429.  
  7430. end
  7431.  
  7432. end)
  7433.  
  7434.  
  7435.  
  7436. set.MakeCommand('Explode',2,set.Prefix,{'explode','boom','boomboom'},{'player'},1,function(plr,args)
  7437.  
  7438. local plrz = set.GetPlayers(plr, args[1]:lower())
  7439.  
  7440. for i, v in pairs(plrz) do
  7441.  
  7442. coroutine.wrap(function()
  7443.  
  7444. if v and v.Character and v.Character:findFirstChild("Torso") then
  7445.  
  7446. local ex = Instance.new("Explosion", game.Workspace)
  7447.  
  7448. ex.Position = v.Character.Torso.Position
  7449.  
  7450. ex.BlastRadius=20
  7451.  
  7452. end
  7453.  
  7454. end)()
  7455.  
  7456. end
  7457.  
  7458. end)
  7459.  
  7460.  
  7461.  
  7462. set.MakeCommand('Light',2,set.Prefix,{'light'},{'player','color'},2,function(plr,args)
  7463.  
  7464. local plrz = set.GetPlayers(plr, args[1]:lower())
  7465.  
  7466. local str = BrickColor.new('Bright blue').Color
  7467.  
  7468. if args[2] then
  7469.  
  7470. local teststr = args[2]
  7471.  
  7472. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  7473.  
  7474. end
  7475.  
  7476. for i, v in pairs(plrz) do
  7477.  
  7478. coroutine.wrap(function()
  7479.  
  7480. if v and v.Character and v.Character:findFirstChild("Torso") then
  7481.  
  7482. local p=Instance.new('PointLight',v.Character.Torso)
  7483.  
  7484. table.insert(set.objects,p)
  7485.  
  7486. p.Color=str
  7487.  
  7488. p.Brightness=5
  7489.  
  7490. p.Range=15
  7491.  
  7492. end
  7493.  
  7494. end)()
  7495.  
  7496. end
  7497.  
  7498. end)
  7499.  
  7500.  
  7501.  
  7502. set.MakeCommand('UnLight',2,set.Prefix,{'unlight'},{'player'},1,function(plr,args)
  7503.  
  7504. local plrz = set.GetPlayers(plr, args[1]:lower())
  7505.  
  7506. for i, v in pairs(plrz) do
  7507.  
  7508. coroutine.wrap(function()
  7509.  
  7510. if v and v.Character and v.Character:findFirstChild("Torso") then
  7511.  
  7512. for z, cl in pairs(v.Character.Torso:children()) do
  7513.  
  7514.     if cl:IsA('PointLight') then cl:Destroy() end
  7515.  
  7516. end
  7517.  
  7518. end
  7519.  
  7520. end)()
  7521.  
  7522. end
  7523.  
  7524. end)
  7525.  
  7526.  
  7527.  
  7528. set.MakeCommand('Talk',-1,set.Prefix,{'talk','maketalk'},{'player','message'},2,function(plr,args)
  7529.  
  7530. local message = args[2]
  7531.  
  7532. for i,p in pairs(set.GetPlayers(plr, args[1]:lower())) do
  7533.  
  7534. coroutine.wrap(function()
  7535.  
  7536. game:service('Chat'):Chat(p.Character.Head,message,Enum.ChatColor.Blue)
  7537.  
  7538. end)()
  7539.  
  7540. end
  7541.  
  7542. end)
  7543.  
  7544.  
  7545.  
  7546. set.MakeCommand('Fire',-1,set.Prefix,{'fire','makefire','givefire'},{'player','color'},2,function(plr,args)
  7547.  
  7548. local plrz = set.GetPlayers(plr, args[1]:lower())
  7549.  
  7550. local str = BrickColor.new('Bright orange').Color
  7551.  
  7552. if args[2] then
  7553.  
  7554. local teststr = args[2]
  7555.  
  7556. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  7557.  
  7558. end
  7559.  
  7560. for i, v in pairs(plrz) do
  7561.  
  7562. coroutine.wrap(function()
  7563.  
  7564. if v and v.Character and v.Character:findFirstChild("Torso") then
  7565.  
  7566. local f=Instance.new('Fire',v.Character.Torso)
  7567.  
  7568. local p=Instance.new('PointLight',v.Character.Torso)
  7569.  
  7570. table.insert(set.objects,f)
  7571.  
  7572. table.insert(set.objects,p)
  7573.  
  7574. p.Color=str
  7575.  
  7576. p.Brightness=5
  7577.  
  7578. p.Range=15
  7579.  
  7580. f.Color=str
  7581.  
  7582. f.SecondaryColor=str
  7583.  
  7584. end
  7585.  
  7586. end)()
  7587.  
  7588. end
  7589.  
  7590. end)
  7591.  
  7592.  
  7593.  
  7594. set.MakeCommand('UnFire',-1,set.Prefix,{'unfire','removefire','extinguish'},{'player'},1,function(plr,args)
  7595.  
  7596. local plrz = set.GetPlayers(plr, args[1]:lower())
  7597.  
  7598. for i, v in pairs(plrz) do
  7599.  
  7600. coroutine.wrap(function()
  7601.  
  7602. if v and v.Character and v.Character:findFirstChild("Torso") then
  7603.  
  7604. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") or cl:IsA('PointLight') then cl:Destroy() end end
  7605.  
  7606. end
  7607.  
  7608. end)()
  7609.  
  7610. end
  7611.  
  7612. end)
  7613.  
  7614.  
  7615.  
  7616. set.MakeCommand('Smoke',-1,set.Prefix,{'smoke','givesmoke'},{'player','color'},2,function(plr,args)
  7617.  
  7618. local plrz = set.GetPlayers(plr, args[1]:lower())
  7619.  
  7620. local str = BrickColor.new('Bright orange').Color
  7621.  
  7622. if args[2] then
  7623.  
  7624. local teststr = args[2]
  7625.  
  7626. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  7627.  
  7628. end
  7629.  
  7630. for i, v in pairs(plrz) do
  7631.  
  7632. coroutine.wrap(function()
  7633.  
  7634. if v and v.Character and v.Character:findFirstChild("Torso") then
  7635.  
  7636. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(set.objects, cl)
  7637.  
  7638. cl.Color=str
  7639.  
  7640. end
  7641.  
  7642. end)()
  7643.  
  7644. end
  7645.  
  7646. end)
  7647.  
  7648.  
  7649.  
  7650. set.MakeCommand('UnSmoke',-1,set.Prefix,{'unsmoke'},{'player'},1,function(plr,args)
  7651.  
  7652. local plrz = set.GetPlayers(plr, args[1]:lower())
  7653.  
  7654. for i, v in pairs(plrz) do
  7655.  
  7656. coroutine.wrap(function()
  7657.  
  7658. if v and v.Character and v.Character:findFirstChild("Torso") then
  7659.  
  7660. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  7661.  
  7662. end
  7663.  
  7664. end)()
  7665.  
  7666. end
  7667.  
  7668. end)
  7669.  
  7670.  
  7671.  
  7672. set.MakeCommand('Sparkles',-1,set.Prefix,{'sparkles'},{'player','color'},2,function(plr,args)
  7673.  
  7674. local plrz = set.GetPlayers(plr, args[1]:lower())
  7675.  
  7676. local str = BrickColor.new('Bright blue').Color
  7677.  
  7678. if args[2] then
  7679.  
  7680. local teststr = args[2]
  7681.  
  7682. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  7683.  
  7684. end
  7685.  
  7686. for i, v in pairs(plrz) do
  7687.  
  7688. coroutine.wrap(function()
  7689.  
  7690. if v and v.Character and v.Character:findFirstChild("Torso") then
  7691.  
  7692. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(set.objects, cl)
  7693.  
  7694. local p=Instance.new('PointLight',v.Character.Torso) table.insert(set.objects, p)
  7695.  
  7696. p.Color=str
  7697.  
  7698. p.Brightness=5
  7699.  
  7700. p.Range=15
  7701.  
  7702. cl.SparkleColor=str
  7703.  
  7704. end
  7705.  
  7706. end)()
  7707.  
  7708. end
  7709.  
  7710. end)
  7711.  
  7712.  
  7713.  
  7714. set.MakeCommand('UnSparkle',-1,set.Prefix,{'unsparkles'},{'player'},1,function(plr,args)
  7715.  
  7716. local plrz = set.GetPlayers(plr, args[1]:lower())
  7717.  
  7718. for i, v in pairs(plrz) do
  7719.  
  7720. coroutine.wrap(function()
  7721.  
  7722. if v and v.Character and v.Character:findFirstChild("Torso") then
  7723.  
  7724. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") or cl:IsA('PointLight') then cl:Destroy() end end
  7725.  
  7726. end
  7727.  
  7728. end)()
  7729.  
  7730. end
  7731.  
  7732. end)
  7733.  
  7734.  
  7735.  
  7736. set.MakeCommand('Force Field',2,set.Prefix,{'ff','forcefield'},{'player'},1,function(plr,args)
  7737.  
  7738. local plrz = set.GetPlayers(plr, args[1]:lower())
  7739.  
  7740. for i, v in pairs(plrz) do
  7741.  
  7742. coroutine.wrap(function()
  7743.  
  7744. if v and v.Character then Instance.new("ForceField", v.Character) end
  7745.  
  7746. end)()
  7747.  
  7748. end
  7749.  
  7750. end)
  7751.  
  7752.  
  7753.  
  7754. set.MakeCommand('Remove Force Field',2,set.Prefix,{'unff','unforcefield'},{'player'},1,function(plr,args)
  7755.  
  7756. local plrz = set.GetPlayers(plr, args[1]:lower())
  7757.  
  7758. for i, v in pairs(plrz) do
  7759.  
  7760. coroutine.wrap(function()
  7761.  
  7762. if v and v.Character then
  7763.  
  7764. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  7765.  
  7766. end
  7767.  
  7768. end)()
  7769.  
  7770. end
  7771.  
  7772. end)
  7773.  
  7774.  
  7775.  
  7776. set.MakeCommand('Punish',2,set.Prefix,{'punish'},{'player'},1,function(plr,args)
  7777.  
  7778. local plrz = set.GetPlayers(plr, args[1]:lower())
  7779.  
  7780. for i, v in pairs(plrz) do
  7781.  
  7782. coroutine.wrap(function()
  7783.  
  7784. if v and v.Character then
  7785.  
  7786. v.Character.Parent = game:service("Lighting")
  7787.  
  7788. end
  7789.  
  7790. end)()
  7791.  
  7792. end
  7793.  
  7794. end)
  7795.  
  7796.  
  7797.  
  7798. set.MakeCommand('UnPunish',2,set.Prefix,{'unpunish'},{'player'},1,function(plr,args)
  7799.  
  7800. local plrz = set.GetPlayers(plr, args[1]:lower())
  7801.  
  7802. for i, v in pairs(plrz) do
  7803.  
  7804. coroutine.wrap(function()
  7805.  
  7806. if v and v.Character then
  7807.  
  7808. v.Character.Parent = game:service("Workspace")
  7809.  
  7810. v.Character:MakeJoints()
  7811.  
  7812. end
  7813.  
  7814. end)()
  7815.  
  7816. end
  7817.  
  7818. end)
  7819.  
  7820.  
  7821.  
  7822. set.MakeCommand('Freeze',2,set.Prefix,{'freeze'},{'player'},1,function(plr,args)
  7823.  
  7824. local plrz = set.GetPlayers(plr, args[1]:lower())
  7825.  
  7826. for i, v in pairs(plrz) do
  7827.  
  7828. coroutine.wrap(function()
  7829.  
  7830. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7831.  
  7832. for a, obj in pairs(v.Character:children()) do
  7833.  
  7834. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  7835.  
  7836. end
  7837.  
  7838. end
  7839.  
  7840. end)()
  7841.  
  7842. end
  7843.  
  7844. end)
  7845.  
  7846.  
  7847.  
  7848. set.MakeCommand('Thaw',2,set.Prefix,{'thaw','unfreeze'},{'player'},1,function(plr,args)
  7849.  
  7850. local plrz = set.GetPlayers(plr, args[1]:lower())
  7851.  
  7852. for i, v in pairs(plrz) do
  7853.  
  7854. coroutine.wrap(function()
  7855.  
  7856. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7857.  
  7858. for a, obj in pairs(v.Character:children()) do
  7859.  
  7860. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  7861.  
  7862. end
  7863.  
  7864. end
  7865.  
  7866. end)()
  7867.  
  7868. end
  7869.  
  7870. end)
  7871.  
  7872.  
  7873.  
  7874. set.MakeCommand('Heal',2,set.Prefix,{'heal'},{'player'},1,function(plr,args)
  7875.  
  7876. local plrz = set.GetPlayers(plr, args[1]:lower())
  7877.  
  7878. for i, v in pairs(plrz) do
  7879.  
  7880. coroutine.wrap(function()
  7881.  
  7882. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7883.  
  7884. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  7885.  
  7886. end
  7887.  
  7888. end)()
  7889.  
  7890. end
  7891.  
  7892. end)
  7893.  
  7894.  
  7895.  
  7896. set.MakeCommand('God',2,set.Prefix,{'god','immortal'},{'player'},1,function(plr,args)
  7897.  
  7898. local plrz = set.GetPlayers(plr, args[1]:lower())
  7899.  
  7900. for i, v in pairs(plrz) do
  7901.  
  7902. coroutine.wrap(function()
  7903.  
  7904. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7905.  
  7906. v.Character.Humanoid.MaxHealth = math.huge
  7907.  
  7908. v.Character.Humanoid.Health = 9e9
  7909.  
  7910. end
  7911.  
  7912. end)()
  7913.  
  7914. end
  7915.  
  7916. end)
  7917.  
  7918.  
  7919.  
  7920. set.MakeCommand('UnGod',2,set.Prefix,{'ungod','mortal'},{'player'},1,function(plr,args)
  7921.  
  7922. local plrz = set.GetPlayers(plr, args[1]:lower())
  7923.  
  7924. for i, v in pairs(plrz) do
  7925.  
  7926. coroutine.wrap(function()
  7927.  
  7928. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7929.  
  7930. v.Character.Humanoid.MaxHealth = 100
  7931.  
  7932. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  7933.  
  7934. end
  7935.  
  7936. end)()
  7937.  
  7938. end
  7939.  
  7940. end)
  7941.  
  7942.  
  7943.  
  7944. set.MakeCommand('Change Ambient',2,set.Prefix,{'ambient'},{'num','num','num'},3,function(plr,args)
  7945.  
  7946. game:service('Lighting').Ambient = Color3.new(args[1],args[2],args[3])
  7947.  
  7948. end)
  7949.  
  7950.  
  7951.  
  7952. set.MakeCommand('Change OutdoorAmbient',2,set.Prefix,{'oambient','outdoorambient'},{'num','num','num'},3,function(plr,args)
  7953.  
  7954. game:service('Lighting').OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  7955.  
  7956. end)
  7957.  
  7958.  
  7959.  
  7960. set.MakeCommand('Fog Off',2,set.Prefix,{'nofog','fogoff'},{},0,function(plr,args)
  7961.  
  7962. game:service('Lighting').FogEnd=1000000000000
  7963.  
  7964. end)
  7965.  
  7966.  
  7967.  
  7968. set.MakeCommand('Shadows',2,set.Prefix,{'shadows'},{'on/off'},1,function(plr,args)
  7969.  
  7970. if args[1]:lower()=='on' then
  7971.  
  7972.     game:service('Lighting').GlobalShadows=true
  7973.  
  7974. elseif args[1]:lower()=='off' then
  7975.  
  7976.     game:service('Lighting').GlobalShadows=false
  7977.  
  7978. end
  7979.  
  7980. end)
  7981.  
  7982.  
  7983.  
  7984. set.MakeCommand('Outlines',2,set.Prefix,{'outlines'},{'on/off'},1,function(plr,args)
  7985.  
  7986. if args[1]:lower()=='on' then
  7987.  
  7988.     game:service('Lighting').Outlines=true
  7989.  
  7990. elseif args[1]:lower()=='off' then
  7991.  
  7992.     game:service('Lighting').Outlines=false
  7993.  
  7994. end
  7995.  
  7996. end)
  7997.  
  7998.  
  7999.  
  8000. set.MakeCommand('Repeat',2,set.Prefix,{'repeat','loop'},{'ammount','interval','command'},3,function(plr,args)
  8001.  
  8002. local amount = tonumber(args[1])
  8003.  
  8004. local timer = tonumber(args[2])
  8005.  
  8006. if timer<=0 then timer=1 end
  8007.  
  8008. local command = args[3]:lower()
  8009.  
  8010. local num=0
  8011.  
  8012. coroutine.wrap(function()
  8013.  
  8014. repeat
  8015.  
  8016. set.ChatCommand(plr,command,true)
  8017.  
  8018. wait(timer)
  8019.  
  8020. num=num+1
  8021.  
  8022. until num==amount
  8023.  
  8024. end)()
  8025.  
  8026. end)
  8027.  
  8028.  
  8029.  
  8030. set.MakeCommand('Change Brightness',2,set.Prefix,{'brightness'},{'number'},1,function(plr,args)
  8031.  
  8032. game:service('Lighting').Brightness =args[1]
  8033.  
  8034. end)
  8035.  
  8036.  
  8037.  
  8038. set.MakeCommand('Change Time',2,set.Prefix,{'time','timeofday'},{'time'},1,function(plr,args)
  8039.  
  8040. game:service('Lighting').TimeOfDay = args[1]
  8041.  
  8042. end)
  8043.  
  8044.  
  8045.  
  8046. set.MakeCommand('Fog Color',2,set.Prefix,{'fogcolor'},{'num','num','num'},3,function(plr,args)
  8047.  
  8048. game:service('Lighting').FogColor = Color3.new(args[1],args[2],args[3])
  8049.  
  8050. end)
  8051.  
  8052.  
  8053.  
  8054. set.MakeCommand('Fog Start/End',2,set.Prefix,{'fog'},{'start','end'},2,function(plr,args)
  8055.  
  8056. game:service('Lighting').FogEnd = args[2]
  8057.  
  8058. game:service('Lighting').FogStart = args[1]
  8059.  
  8060. end)
  8061.  
  8062.  
  8063.  
  8064. set.MakeCommand('Build Tools',2,set.Prefix,{'btools','buildtools','buildingtools','buildertools'},{'player'},1,function(plr,args)
  8065.  
  8066. local plrz = set.GetPlayers(plr, args[1]:lower())
  8067.  
  8068. for i, v in pairs(plrz) do
  8069.  
  8070. coroutine.wrap(function()
  8071.  
  8072. if v and v:findFirstChild("Backpack") then
  8073.  
  8074. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  8075.  
  8076. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  8077.  
  8078. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  8079.  
  8080. local t4 = Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  8081.  
  8082. set.LoadScript('LocalScript',[[
  8083.  
  8084. repeat wait() until game:service('Players').LocalPlayer and game:service('Players').LocalPlayer.Character and game:service('Players').LocalPlayer:findFirstChild("PlayerGui")
  8085.  
  8086. local sb
  8087.  
  8088. local hs
  8089.  
  8090. local pdist
  8091.  
  8092. script.Parent.Selected:connect(function(mouse)
  8093.  
  8094. if not mouse then return end
  8095.  
  8096. sb = Instance.new("SelectionBox", game:service('Players').LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  8097.  
  8098. hs = Instance.new("Handles", game:service('Players').LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  8099.  
  8100. mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
  8101.  
  8102. hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
  8103.  
  8104. hs.MouseButton1Down:connect(function() pdist = 0 end)
  8105.  
  8106. end)
  8107.  
  8108. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]],'LocalScript',false,t4)
  8109.  
  8110. end
  8111.  
  8112. end)()
  8113.  
  8114. end
  8115.  
  8116. end)
  8117.  
  8118.  
  8119.  
  8120. set.MakeCommand('Starter Give',2,set.Prefix,{'startergive'},{'player','toolname'},2,function(plr,args)
  8121.  
  8122. local plrz = set.GetPlayers(plr, args[1]:lower())
  8123.  
  8124. for i, v in pairs(plrz) do
  8125.  
  8126. coroutine.wrap(function()
  8127.  
  8128. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  8129.  
  8130. for a, tool in pairs(set.Storage:children()) do
  8131.  
  8132. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  8133.  
  8134. if args[2]:lower() == "all" or tool.Name:lower():find(args[2]:lower()) == 1 then tool:Clone().Parent = v.StarterGear end
  8135.  
  8136. end
  8137.  
  8138. end
  8139.  
  8140. end
  8141.  
  8142. end)()
  8143.  
  8144. end
  8145.  
  8146. end)
  8147.  
  8148.  
  8149.  
  8150. set.MakeCommand('Give Tool',2,set.Prefix,{'give','tool'},{'player','tool'},2,function(plr,args)
  8151.  
  8152. local plrz = set.GetPlayers(plr, args[1]:lower())
  8153.  
  8154. for i, v in pairs(plrz) do
  8155.  
  8156. coroutine.wrap(function()
  8157.  
  8158. for a, tool in pairs(set.Storage:children()) do
  8159.  
  8160. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  8161.  
  8162. if args[2]:lower() == "all" or tool.Name:lower():sub(1,#args[2])==args[2]:lower() then
  8163.  
  8164.     tool:clone().Parent = v.Backpack
  8165.  
  8166. end
  8167.  
  8168. end
  8169.  
  8170. end
  8171.  
  8172. end)()
  8173.  
  8174. end
  8175.  
  8176. end)
  8177.  
  8178.  
  8179.  
  8180. set.MakeCommand('Steal Tools',2,set.Prefix,{'steal','stealtools'},{'player','player'},2,function(plr,args)
  8181.  
  8182. local p1 = set.GetPlayers(plr, args[1]:lower())
  8183.  
  8184. local p2 = set.GetPlayers(plr, args[2]:lower())
  8185.  
  8186. coroutine.wrap(function()
  8187.  
  8188. for i,v in pairs(p1) do
  8189.  
  8190.     coroutine.wrap(function()
  8191.  
  8192.     for k,m in pairs(p2) do
  8193.  
  8194.         for j,n in pairs(v.Backpack:children()) do
  8195.  
  8196.             print(n.Name)
  8197.  
  8198.             local b=n:clone()
  8199.  
  8200.             n.Parent=m.Backpack
  8201.  
  8202.         end
  8203.  
  8204.     end
  8205.  
  8206.     v.Backpack:ClearAllChildren()
  8207.  
  8208.     end)()
  8209.  
  8210. end
  8211.  
  8212. end)()
  8213.  
  8214. end)
  8215.  
  8216.  
  8217.  
  8218. set.MakeCommand('Remove Tools',2,set.Prefix,{'removetools','notools'},{'player'},1,function(plr,args)
  8219.  
  8220. local plrz = set.GetPlayers(plr, args[1]:lower())
  8221.  
  8222. for i, v in pairs(plrz) do
  8223.  
  8224. coroutine.wrap(function()
  8225.  
  8226. if v and v.Character and v:findFirstChild("Backpack") then
  8227.  
  8228. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  8229.  
  8230. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  8231.  
  8232. end
  8233.  
  8234. end)()
  8235.  
  8236. end
  8237.  
  8238. end)
  8239.  
  8240.  
  8241.  
  8242. set.MakeCommand('Get Rank',2,set.Prefix,{'rank','getrank'},{'player','groupID'},2,function(plr,args)
  8243.  
  8244. local plrz = set.GetPlayers(plr, args[1]:lower())
  8245.  
  8246. for i, v in pairs(plrz) do
  8247.  
  8248. coroutine.wrap(function()
  8249.  
  8250. if v and v:IsInGroup(args[2]) then
  8251.  
  8252. set.Hint("[" .. v:GetRankInGroup(args[2]) .. "] " .. v:GetRoleInGroup(args[2]), {plr})
  8253.  
  8254. elseif v and not v:IsInGroup(args[2])then
  8255.  
  8256. set.Hint(v.Name .. " is not in the group " .. args[2], {plr})
  8257.  
  8258. end
  8259.  
  8260. end)()
  8261.  
  8262. end
  8263.  
  8264. end)
  8265.  
  8266.  
  8267.  
  8268. set.MakeCommand('Damage',2,set.Prefix,{'damage','hurt'},{'player','number'},2,function(plr,args)
  8269.  
  8270. local plrz = set.GetPlayers(plr, args[1]:lower())
  8271.  
  8272. for i, v in pairs(plrz) do
  8273.  
  8274. coroutine.wrap(function()
  8275.  
  8276. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8277.  
  8278. v.Character.Humanoid:TakeDamage(args[2])
  8279.  
  8280. end
  8281.  
  8282. end)()
  8283.  
  8284. end
  8285.  
  8286. end)
  8287.  
  8288.  
  8289.  
  8290. set.MakeCommand('Normal Gravity',2,set.Prefix,{'grav','bringtoearth'},{'player'},1,function(plr,args)
  8291.  
  8292. local plrz = set.GetPlayers(plr, args[1]:lower())
  8293.  
  8294. for i, v in pairs(plrz) do
  8295.  
  8296. coroutine.wrap(function()
  8297.  
  8298. if v and v.Character and v.Character:findFirstChild("Torso") then
  8299.  
  8300. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  8301.  
  8302. end
  8303.  
  8304. end)()
  8305.  
  8306. end
  8307.  
  8308. end)
  8309.  
  8310.  
  8311.  
  8312. set.MakeCommand('Set Gravity',2,set.Prefix,{'setgrav','gravity','setgravity'},{'player','number'},2,function(plr,args)
  8313.  
  8314. local plrz = set.GetPlayers(plr, args[1]:lower())
  8315.  
  8316. for i, v in pairs(plrz) do
  8317.  
  8318. coroutine.wrap(function()
  8319.  
  8320. if v and v.Character and v.Character:findFirstChild("Torso") then
  8321.  
  8322. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  8323.  
  8324. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  8325.  
  8326. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*tonumber(args[2]),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*tonumber(args[2]),0) end end
  8327.  
  8328. end
  8329.  
  8330. end)()
  8331.  
  8332. end
  8333.  
  8334. end)
  8335.  
  8336.  
  8337.  
  8338. set.MakeCommand('NoGrav',2,set.Prefix,{'nograv','nogravity','superjump'},{'player'},1,function(plr,args)
  8339.  
  8340. local plrz = set.GetPlayers(plr, args[1]:lower())
  8341.  
  8342. for i, v in pairs(plrz) do
  8343.  
  8344. coroutine.wrap(function()
  8345.  
  8346. if v and v.Character and v.Character:findFirstChild("Torso") then
  8347.  
  8348. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  8349.  
  8350. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  8351.  
  8352. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
  8353.  
  8354. end
  8355.  
  8356. end)()
  8357.  
  8358. end
  8359.  
  8360. end)
  8361.  
  8362.  
  8363.  
  8364. set.MakeCommand('Set Health',2,set.Prefix,{'health','sethealth'},{'player','number'},2,function(plr,args)
  8365.  
  8366. local plrz = set.GetPlayers(plr, args[1]:lower())
  8367.  
  8368. for i, v in pairs(plrz) do
  8369.  
  8370. coroutine.wrap(function()
  8371.  
  8372. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8373.  
  8374. v.Character.Humanoid.MaxHealth = args[2]
  8375.  
  8376. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  8377.  
  8378. end
  8379.  
  8380. end)()
  8381.  
  8382. end
  8383.  
  8384. end)
  8385.  
  8386.  
  8387.  
  8388. set.MakeCommand('Set Speed',2,set.Prefix,{'speed','setspeed','walkspeed'},{'player','number'},2,function(plr,args)
  8389.  
  8390. local plrz = set.GetPlayers(plr, args[1]:lower())
  8391.  
  8392. for i, v in pairs(plrz) do
  8393.  
  8394. coroutine.wrap(function()
  8395.  
  8396. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8397.  
  8398. v.Character.Humanoid.WalkSpeed = args[2]
  8399.  
  8400. end
  8401.  
  8402. end)()
  8403.  
  8404. end
  8405.  
  8406. end)
  8407.  
  8408.  
  8409.  
  8410. set.MakeCommand('Set Team',2,set.Prefix,{'team','setteam','changeteam'},{'player','team'},2,function(plr,args)
  8411.  
  8412. local plrz = set.GetPlayers(plr, args[1]:lower())
  8413.  
  8414. for i, v in pairs(plrz) do
  8415.  
  8416. coroutine.wrap(function()
  8417.  
  8418. if v and game:findFirstChild("Teams") then
  8419.  
  8420. for a, tm in pairs(game.Teams:children()) do
  8421.  
  8422. if tm.Name:lower():find(args[2]:lower()) == 1 then v.TeamColor = tm.TeamColor end
  8423.  
  8424. end
  8425.  
  8426. end
  8427.  
  8428. end)()
  8429.  
  8430. end
  8431.  
  8432. end)
  8433.  
  8434.  
  8435.  
  8436. set.MakeCommand('Change FieldOfView',-1,set.Prefix,{'fov','fieldofview'},{'player','number'},2,function(plr,args)
  8437.  
  8438.     for i,v in pairs(set.GetPlayers(plr, args[1])) do
  8439.  
  8440.         set.Remote(v,'Function','FieldOfView',args[2])
  8441.  
  8442.     end
  8443.  
  8444. end)
  8445.  
  8446.  
  8447.  
  8448. set.MakeCommand('Teleport to Place',2,set.Prefix,{'place'},{'player','placeid'},2,function(plr,args)
  8449.  
  8450. local plrz = set.GetPlayers(plr, args[1]:lower())
  8451.  
  8452. for i, v in pairs(plrz) do
  8453.  
  8454. coroutine.wrap(function()
  8455.  
  8456. set.PromptPlaceTeleport(v,"Teleport to "..args[2].."?",args[2])
  8457.  
  8458. end)()
  8459.  
  8460. end
  8461.  
  8462. end)
  8463.  
  8464.  
  8465.  
  8466. set.MakeCommand('Teleport',2,set.Prefix,{'tp','teleport'},{'player','player'},2,function(plr,args)
  8467.  
  8468. local plrz = set.GetPlayers(plr, args[1]:lower())
  8469.  
  8470. local plrz2 = set.GetPlayers(plr, args[2]:lower())
  8471.  
  8472. for i, v in pairs(plrz) do
  8473.  
  8474. coroutine.wrap(function()
  8475.  
  8476. for i2, v2 in pairs(plrz2) do
  8477.  
  8478. if v and v2 and v.Character and v2.Character and v.Character:FindFirstChild('Humanoid') and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  8479.  
  8480. if v.Character.Humanoid.Sit==true then
  8481.  
  8482. v.Character.Humanoid.Sit=false
  8483.  
  8484. wait(0.5)
  8485.  
  8486. end
  8487.  
  8488. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  8489.  
  8490. end
  8491.  
  8492. end
  8493.  
  8494. end)()
  8495.  
  8496. end
  8497.  
  8498. end)
  8499.  
  8500.  
  8501.  
  8502. set.MakeCommand('Freefall',-1,set.Prefix,{'freefall','skydive'},{'player','height'},2,function(plr,args)
  8503.  
  8504. local plrz = set.GetPlayers(plr, args[1]:lower())
  8505.  
  8506. for i, v in pairs(plrz) do
  8507.  
  8508. coroutine.wrap(function()
  8509.  
  8510. if v and v.Character:FindFirstChild('Torso') then
  8511.  
  8512. v.Character.Torso.CFrame=v.Character.Torso.CFrame+Vector3.new(0,tonumber(args[2]),0)
  8513.  
  8514. end
  8515.  
  8516. end)()
  8517.  
  8518. end
  8519.  
  8520. end)
  8521.  
  8522.  
  8523.  
  8524. set.MakeCommand('Change Leaderstat',2,set.Prefix,{'change','leaderstat','stat'},{'player','stat','value'},3,function(plr,args)
  8525.  
  8526. local plrz = set.GetPlayers(plr, args[1]:lower())
  8527.  
  8528. for i, v in pairs(plrz) do
  8529.  
  8530. coroutine.wrap(function()
  8531.  
  8532. if v and v:findFirstChild("leaderstats") then
  8533.  
  8534. for a, st in pairs(v.leaderstats:children()) do
  8535.  
  8536. if st.Name:lower():find(args[2]:lower()) == 1 then st.Value = args[3] end
  8537.  
  8538. end
  8539.  
  8540. end
  8541.  
  8542. end)()
  8543.  
  8544. end
  8545.  
  8546. end)
  8547.  
  8548.  
  8549.  
  8550. set.MakeCommand('Give Shirt',2,set.Prefix,{'shirt','giveshirt'},{'player','id'},2,function(plr,args)
  8551.  
  8552. local plrz = set.GetPlayers(plr, args[1]:lower())
  8553.  
  8554. for i, v in pairs(plrz) do
  8555.  
  8556. coroutine.wrap(function()
  8557.  
  8558. if v and v.Character then
  8559.  
  8560. for g,k in pairs(v.Character:children()) do
  8561.  
  8562. if k:IsA("Shirt") then k:Destroy() end
  8563.  
  8564. end
  8565.  
  8566. local s=Instance.new('Shirt',v.Character)
  8567.  
  8568. s.ShirtTemplate="http://www.roblox.com/asset/?id="..args[2]
  8569.  
  8570. end
  8571.  
  8572. end)()
  8573.  
  8574. end
  8575.  
  8576. end)
  8577.  
  8578.  
  8579.  
  8580. set.MakeCommand('Give Pants',2,set.Prefix,{'pants','givepants'},{'player','id'},2,function(plr,args)
  8581.  
  8582. local plrz = set.GetPlayers(plr, args[1]:lower())
  8583.  
  8584. for i, v in pairs(plrz) do
  8585.  
  8586. coroutine.wrap(function()
  8587.  
  8588. if v and v.Character then
  8589.  
  8590. for g,k in pairs(v.Character:children()) do
  8591.  
  8592. if k:IsA("Pants") then k:Destroy() end
  8593.  
  8594. end
  8595.  
  8596. local s=Instance.new('Pants',v.Character)
  8597.  
  8598. s.PantsTemplate="http://www.roblox.com/asset/?id="..args[2]
  8599.  
  8600. end
  8601.  
  8602. end)()
  8603.  
  8604. end
  8605.  
  8606. end)
  8607.  
  8608.  
  8609.  
  8610. set.MakeCommand('Give Face',2,set.Prefix,{'face','giveface'},{'player','id'},2,function(plr,args)
  8611.  
  8612. local plrz = set.GetPlayers(plr, args[1]:lower())
  8613.  
  8614. for i, v in pairs(plrz) do
  8615.  
  8616. coroutine.wrap(function()
  8617.  
  8618. if not v.Character:FindFirstChild("Head") then return end
  8619.  
  8620. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  8621.  
  8622. v.Character.Head:findFirstChild("face"):Destroy()--.Texture = "http://www.roblox.com/asset/?id=" .. args[2]
  8623.  
  8624. end
  8625.  
  8626. game:service('InsertService'):LoadAsset(tonumber(args[2])):children()[1].Parent=v.Character:FindFirstChild("Head")
  8627.  
  8628. end)()
  8629.  
  8630. end
  8631.  
  8632. end)
  8633.  
  8634.  
  8635.  
  8636. set.MakeCommand('Swagify',-1,set.Prefix,{'swagify','swagger'},{'player'},1,function(plr,args)
  8637.  
  8638. local plrz = set.GetPlayers(plr, args[1]:lower())
  8639.  
  8640. for i, v in pairs(plrz) do
  8641.  
  8642. coroutine.wrap(function()
  8643.  
  8644. if v and v.Character then
  8645.  
  8646. for i,v in pairs(v.Character:children()) do
  8647.  
  8648. if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  8649.  
  8650. if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  8651.  
  8652. end
  8653.  
  8654. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  8655.  
  8656. set.Remote(v,'Function','Cape','Fabric','Pink',109301474)
  8657.  
  8658. end
  8659.  
  8660. end)()
  8661.  
  8662. end
  8663.  
  8664. end)
  8665.  
  8666.  
  8667.  
  8668. set.MakeCommand('Rocket',-1,set.Prefix,{'rocket','firework'},{'player'},1,function(plr,args)
  8669.  
  8670. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  8671.  
  8672. coroutine.wrap(function()
  8673.  
  8674. if v.Character and v.Character:FindFirstChild("Torso") then
  8675.  
  8676. delay(0,function()
  8677.  
  8678. local speed = 10
  8679.  
  8680. local Part = Instance.new("Part")
  8681.  
  8682. Part.Parent = v.Character
  8683.  
  8684. local SpecialMesh = Instance.new("SpecialMesh")
  8685.  
  8686. SpecialMesh.Parent = Part
  8687.  
  8688. SpecialMesh.MeshId = "http://www.roblox.com/asset/?id=2251534"
  8689.  
  8690. SpecialMesh.MeshType = "FileMesh"
  8691.  
  8692. SpecialMesh.TextureId = "43abb6d081e0fbc8666fc92f6ff378c1"
  8693.  
  8694. SpecialMesh.Scale = Vector3.new(0.5,0.5,0.5)
  8695.  
  8696. local Weld = Instance.new("Weld")
  8697.  
  8698. Weld.Parent = Part
  8699.  
  8700. Weld.Part0 = Part
  8701.  
  8702. Weld.Part1 = v.Character.Torso
  8703.  
  8704. Weld.C0 = CFrame.new(0,-1,0)*CFrame.Angles(-1.5,0,0)
  8705.  
  8706. local BodyVelocity = Instance.new("BodyVelocity")
  8707.  
  8708. BodyVelocity.Parent = Part
  8709.  
  8710. BodyVelocity.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  8711.  
  8712. BodyVelocity.velocity = Vector3.new(0,10*speed,0)
  8713.  
  8714. delay(0,function()
  8715.  
  8716. for i = 1,math.huge do
  8717.  
  8718. local Explosion = Instance.new("Explosion")
  8719.  
  8720. Explosion.Parent = Part
  8721.  
  8722. Explosion.BlastRadius = 0
  8723.  
  8724. Explosion.Position = Part.Position + Vector3.new(0,0,0)
  8725.  
  8726. wait()
  8727.  
  8728. end
  8729.  
  8730. end)        
  8731.  
  8732. wait(3)
  8733.  
  8734. pcall(function()
  8735.  
  8736. BodyVelocity:remove()
  8737.  
  8738. Instance.new("Explosion",workspace).Position=v.Character.Torso.Position
  8739.  
  8740. v.Character:BreakJoints()
  8741.  
  8742. end)
  8743.  
  8744. end)
  8745.  
  8746. end
  8747.  
  8748. end)()
  8749.  
  8750. end
  8751.  
  8752. end)
  8753.  
  8754.  
  8755.  
  8756. set.MakeCommand('Dance',-1,set.Prefix,{'dance'},{'player'},1,function(plr,args)
  8757.  
  8758. local plrz = set.GetPlayers(plr, args[1]:lower())
  8759.  
  8760. for i, v in pairs(plrz) do
  8761.  
  8762.     set.Remote(v,'Function','Effect','dance')
  8763.  
  8764. end
  8765.  
  8766. end)
  8767.  
  8768.  
  8769.  
  8770. set.MakeCommand('BreakDance',-1,set.Prefix,{'breakdance','fundance','lolwut'},{'player'},1,function(plr,args)
  8771.  
  8772. local plrz = set.GetPlayers(plr, args[1])
  8773.  
  8774. for i, v in pairs(plrz) do
  8775.  
  8776. coroutine.wrap(function()
  8777.  
  8778. local color
  8779.  
  8780. local num=math.random(1,7)
  8781.  
  8782. if num==1 then
  8783.  
  8784. color='Really blue'
  8785.  
  8786. elseif num==2 then
  8787.  
  8788. color='Really red'
  8789.  
  8790. elseif num==3 then
  8791.  
  8792. color='Magenta'
  8793.  
  8794. elseif num==4 then
  8795.  
  8796. color='Lime green'
  8797.  
  8798. elseif num==5 then
  8799.  
  8800. color='Hot pink'
  8801.  
  8802. elseif num==6 then
  8803.  
  8804. color='New Yeller'
  8805.  
  8806. elseif num==7 then
  8807.  
  8808. color='White'
  8809.  
  8810. end
  8811.  
  8812. local hum=v.Character:FindFirstChild('Humanoid')
  8813.  
  8814. if not hum then return end
  8815.  
  8816. set.Remote(v,'Function','Effect','dance')
  8817.  
  8818. set.ChatCommand(plr,set.Prefix.."batch"..set.SplitKey..set.Prefix.."sparkles"..set.SplitKey..v.Name..set.SplitKey..color..set.BatchSplit..set.Prefix.."fire"..set.SplitKey..v.Name..set.SplitKey..color..set.BatchSplit..set.Prefix.."nograv"..set.SplitKey..v.Name..set.BatchSplit..set.Prefix.."smoke"..set.SplitKey..v.Name..set.SplitKey..color..set.BatchSplit..set.Prefix.."spin"..set.SplitKey..v.Name)
  8819.  
  8820. repeat hum.PlatformStand=true wait() until not hum or hum==nil or hum.Parent==nil
  8821.  
  8822. end)()
  8823.  
  8824. end
  8825.  
  8826. end)
  8827.  
  8828.  
  8829.  
  8830. set.MakeCommand('Puke',-1,set.Prefix,{'puke','barf','throwup'},{'player'},1,function(plr,args)
  8831.  
  8832. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  8833.  
  8834. coroutine.wrap(function()
  8835.  
  8836. if (not v:IsA('Player')) or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head')) or v.Character:FindFirstChild('Kohls Puke') then return end
  8837.  
  8838. local run=true
  8839.  
  8840. local k=Instance.new('StringValue',v.Character)
  8841.  
  8842. k.Name='Kohls Puke'
  8843.  
  8844. coroutine.wrap(function()
  8845.  
  8846. repeat
  8847.  
  8848. wait(0.15)
  8849.  
  8850. local p = Instance.new("Part",v.Character)
  8851.  
  8852. p.CanCollide = false
  8853.  
  8854. local color = math.random(1, 3)
  8855.  
  8856. local bcolor
  8857.  
  8858. if color == 1 then
  8859.  
  8860. bcolor = BrickColor.new(192)
  8861.  
  8862. elseif color == 2 then
  8863.  
  8864. bcolor = BrickColor.new(28)
  8865.  
  8866. elseif color == 3 then
  8867.  
  8868. bcolor = BrickColor.new(105)
  8869.  
  8870. end
  8871.  
  8872. p.BrickColor = bcolor
  8873.  
  8874. local m=Instance.new('BlockMesh',p)
  8875.  
  8876. p.Size=Vector3.new(0.1,0.1,0.1)
  8877.  
  8878. m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  8879.  
  8880. p.Locked = true
  8881.  
  8882. p.TopSurface = "Smooth"
  8883.  
  8884. p.BottomSurface = "Smooth"
  8885.  
  8886. p.CFrame = v.Character.Head.CFrame * CFrame.new(Vector3.new(0, 0, -1))
  8887.  
  8888. p.Velocity = v.Character.Head.CFrame.lookVector * 20 + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  8889.  
  8890. p.Anchored = false
  8891.  
  8892. m.Name='Puke Peice'
  8893.  
  8894. p.Name='Puke Peice'
  8895.  
  8896. p.Touched:connect(function(o)
  8897.  
  8898. if o and p and (not game:service('Players'):FindFirstChild(o.Parent.Name)) and o.Name~='Puke Peice' and o.Name~='Blood Peice' and o.Name~='Blood Plate' and o.Name~='Puke Plate' and (o.Parent.Name=='Workspace' or o.Parent:IsA('Model')) and (o.Parent~=p.Parent) and o:IsA('Part') and (o.Parent.Name~=v.Character.Name) and (not o.Parent:IsA('Hat')) and (not o.Parent:IsA('Tool')) then
  8899.  
  8900.     local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  8901.  
  8902.     p:Destroy()
  8903.  
  8904.     local g=Instance.new('Part',workspace)
  8905.  
  8906.     g.Anchored=true
  8907.  
  8908.     g.CanCollide=false
  8909.  
  8910.     g.Size=Vector3.new(0.1,0.1,0.1)
  8911.  
  8912.     g.Name='Puke Plate'
  8913.  
  8914.     g.CFrame=cf
  8915.  
  8916.     g.BrickColor=BrickColor.new(119)
  8917.  
  8918.     local c=Instance.new('CylinderMesh',g)
  8919.  
  8920.     c.Scale=Vector3.new(1,0.2,1)
  8921.  
  8922.     c.Name='PukeMesh'
  8923.  
  8924.     wait(10)
  8925.  
  8926.     g:Destroy()
  8927.  
  8928. elseif o and o.Name=='Puke Plate' and p then
  8929.  
  8930.     p:Destroy()
  8931.  
  8932.     o.PukeMesh.Scale=o.PukeMesh.Scale+Vector3.new(0.5,0,0.5)
  8933.  
  8934. end
  8935.  
  8936. end)
  8937.  
  8938. until run==false or not k or not k.Parent or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head'))
  8939.  
  8940. end)()
  8941.  
  8942. wait(10)
  8943.  
  8944. run=false
  8945.  
  8946. k:Destroy()
  8947.  
  8948. end)()
  8949.  
  8950. end
  8951.  
  8952. end)
  8953.  
  8954.  
  8955.  
  8956. set.MakeCommand('Cut',-1,set.Prefix,{'cut','stab','shank'},{'player'},1,function(plr,args)
  8957.  
  8958. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  8959.  
  8960. coroutine.wrap(function()
  8961.  
  8962. if (not v:IsA('Player')) or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head')) or v.Character:FindFirstChild('Kohls Bleed') then return end
  8963.  
  8964. local run=true
  8965.  
  8966. local k=Instance.new('StringValue',v.Character)
  8967.  
  8968. k.Name='Kohls Bleed'
  8969.  
  8970. coroutine.wrap(function()
  8971.  
  8972. repeat
  8973.  
  8974. wait(0.15)
  8975.  
  8976. v.Character.Humanoid.Health=v.Character.Humanoid.Health-1
  8977.  
  8978. local p = Instance.new("Part",v.Character)
  8979.  
  8980. p.CanCollide = false
  8981.  
  8982. local color = math.random(1, 3)
  8983.  
  8984. local bcolo
  8985.  
  8986. if color == 1 then
  8987.  
  8988. bcolor = BrickColor.new(21)
  8989.  
  8990. elseif color == 2 then
  8991.  
  8992. bcolor = BrickColor.new(1004)
  8993.  
  8994. elseif color == 3 then
  8995.  
  8996. bcolor = BrickColor.new(21)
  8997.  
  8998. end
  8999.  
  9000. p.BrickColor = bcolor
  9001.  
  9002. local m=Instance.new('BlockMesh',p)
  9003.  
  9004. p.Size=Vector3.new(0.1,0.1,0.1)
  9005.  
  9006. m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  9007.  
  9008. p.Locked = true
  9009.  
  9010. p.TopSurface = "Smooth"
  9011.  
  9012. p.BottomSurface = "Smooth"
  9013.  
  9014. p.CFrame = v.Character.Torso.CFrame * CFrame.new(Vector3.new(2, 0, 0))
  9015.  
  9016. p.Velocity = v.Character.Head.CFrame.lookVector * 1 + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  9017.  
  9018. p.Anchored = false
  9019.  
  9020. m.Name='Blood Peice'
  9021.  
  9022. p.Name='Blood Peice'
  9023.  
  9024. p.Touched:connect(function(o)
  9025.  
  9026. if o and p and (not game:service('Players'):FindFirstChild(o.Parent.Name)) and o.Name~='Blood Peice' and o.Name~='Puke Peice' and o.Name~='Puke Plate' and o.Name~='Blood Plate' and (o.Parent.Name=='Workspace' or o.Parent:IsA('Model')) and (o.Parent~=p.Parent) and o:IsA('Part') and (o.Parent.Name~=v.Character.Name) and (not o.Parent:IsA('Hat')) and (not o.Parent:IsA('Tool')) then
  9027.  
  9028.     local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  9029.  
  9030.     p:Destroy()
  9031.  
  9032.     local g=Instance.new('Part',workspace)
  9033.  
  9034.     g.Anchored=true
  9035.  
  9036.     g.CanCollide=false
  9037.  
  9038.     g.Size=Vector3.new(0.1,0.1,0.1)
  9039.  
  9040.     g.Name='Blood Plate'
  9041.  
  9042.     g.CFrame=cf
  9043.  
  9044.     g.BrickColor=BrickColor.new(21)
  9045.  
  9046.     local c=Instance.new('CylinderMesh',g)
  9047.  
  9048.     c.Scale=Vector3.new(1,0.2,1)
  9049.  
  9050.     c.Name='BloodMesh'
  9051.  
  9052.     wait(10)
  9053.  
  9054.     g:Destroy()
  9055.  
  9056. elseif o and o.Name=='Blood Plate' and p then
  9057.  
  9058.     p:Destroy()
  9059.  
  9060.     o.BloodMesh.Scale=o.BloodMesh.Scale+Vector3.new(0.5,0,0.5)
  9061.  
  9062. end
  9063.  
  9064. end)
  9065.  
  9066. until run==false or not k or not k.Parent or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head'))
  9067.  
  9068. end)()
  9069.  
  9070. wait(10)
  9071.  
  9072. run=false
  9073.  
  9074. k:Destroy()
  9075.  
  9076. end)()
  9077.  
  9078. end
  9079.  
  9080. end)
  9081.  
  9082.  
  9083.  
  9084. set.MakeCommand('Number of Player Points',5,set.Prefix,{'points','getpoints'},{},0,function(plr,args)
  9085.  
  9086.     set.Hint('Available Player Points: '..game:GetService("PointsService"):GetAwardablePoints(),{plr})
  9087.  
  9088. end)
  9089.  
  9090.  
  9091.  
  9092. set.MakeCommand('Give Player Points',5,set.Prefix,{'givepoints','sendpoints'},{'player','ammount'},2,function(plr,args)
  9093.  
  9094.     for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  9095.  
  9096.         local ran,failed=ypcall(function() game:GetService("PointsService"):AwardPoints(v.userId,tonumber(args[2])) end)
  9097.  
  9098.         if ran and game:GetService("PointsService"):GetAwardablePoints()>=tonumber(args[2]) then
  9099.  
  9100.             set.Hint('Gave '..args[2]..' points to '..v.Name,{plr})
  9101.  
  9102.         elseif game:GetService("PointsService"):GetAwardablePoints()<tonumber(args[2])then
  9103.  
  9104.             set.Hint("You don't have "..args[2]..' points to give to '..v.Name,{plr})
  9105.  
  9106.         else
  9107.  
  9108.             set.Hint("(Unknown Error) Failed to give "..args[2]..' points to '..v.Name,{plr})
  9109.  
  9110.         end
  9111.  
  9112.         set.Hint('Available Player Points: '..game:GetService("PointsService"):GetAwardablePoints(),{plr})
  9113.  
  9114.     end
  9115.  
  9116. end)
  9117.  
  9118.  
  9119.  
  9120. set.MakeCommand('Poison',-1,set.Prefix,{'poison'},{'player'},1,function(plr,args)
  9121.  
  9122.     for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  9123.  
  9124.         local torso=v.Character:FindFirstChild('Torso')
  9125.  
  9126.         local larm=v.Character:FindFirstChild('Left Arm')
  9127.  
  9128.         local rarm=v.Character:FindFirstChild('Right Arm')
  9129.  
  9130.         local lleg=v.Character:FindFirstChild('Left Leg')
  9131.  
  9132.         local rleg=v.Character:FindFirstChild('Right Leg')
  9133.  
  9134.         local head=v.Character:FindFirstChild('Head')
  9135.  
  9136.         local hum=v.Character:FindFirstChild('Humanoid')
  9137.  
  9138.         if torso and larm and rarm and lleg and rleg and head and hum and not v.Character:FindFirstChild('KohlsPoisoned') then
  9139.  
  9140.             local poisoned=Instance.new('BoolValue',v.Character)
  9141.  
  9142.             poisoned.Name='KohlsPoisoned'
  9143.  
  9144.             poisoned.Value=true
  9145.  
  9146.             local tor=torso.BrickColor
  9147.  
  9148.             local lar=larm.BrickColor
  9149.  
  9150.             local rar=rarm.BrickColor
  9151.  
  9152.             local lle=lleg.BrickColor
  9153.  
  9154.             local rle=rleg.BrickColor
  9155.  
  9156.             local hea=head.BrickColor
  9157.  
  9158.             torso.BrickColor=BrickColor.new('Br. yellowish green')
  9159.  
  9160.             larm.BrickColor=BrickColor.new('Br. yellowish green')
  9161.  
  9162.             rarm.BrickColor=BrickColor.new('Br. yellowish green')
  9163.  
  9164.             lleg.BrickColor=BrickColor.new('Br. yellowish green')
  9165.  
  9166.             rleg.BrickColor=BrickColor.new('Br. yellowish green')
  9167.  
  9168.             head.BrickColor=BrickColor.new('Br. yellowish green')
  9169.  
  9170.             local run=true
  9171.  
  9172.             coroutine.wrap(function() wait(10) run=false end)()
  9173.  
  9174.             repeat
  9175.  
  9176.                 wait(1)
  9177.  
  9178.                 hum.Health=hum.Health-5
  9179.  
  9180.             until (not poisoned) or (not poisoned.Parent) or (not run)
  9181.  
  9182.             if poisoned and poisoned.Parent then
  9183.  
  9184.                 torso.BrickColor=tor
  9185.  
  9186.                 larm.BrickColor=lar
  9187.  
  9188.                 rarm.BrickColor=rar
  9189.  
  9190.                 lleg.BrickColor=lle
  9191.  
  9192.                 rleg.BrickColor=rle
  9193.  
  9194.                 head.BrickColor=hea
  9195.  
  9196.             end
  9197.  
  9198.         end
  9199.  
  9200.     end
  9201.  
  9202. end)
  9203.  
  9204.  
  9205.  
  9206. set.MakeCommand('Drug',-1,set.Prefix,{'drug','intoxicate'},{'player'},1,function(plr,args)
  9207.  
  9208.     for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  9209.  
  9210.         set.Remote(v,'Function','Drug')
  9211.  
  9212.     end
  9213.  
  9214. end)
  9215.  
  9216.  
  9217.  
  9218. set.MakeCommand('Change Pitch',2,set.Prefix,{'pitch'},{'number'},1,function(plr,args)
  9219.  
  9220. coroutine.wrap(function()
  9221.  
  9222. local pitch = args[1]
  9223.  
  9224. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v.Pitch=pitch end end
  9225.  
  9226. end)()
  9227.  
  9228. end)
  9229.  
  9230.  
  9231.  
  9232. set.MakeCommand('Start Music',2,set.Prefix,{'music','song','playsong'},{'id'},1,function(plr,args)
  9233.  
  9234. coroutine.wrap(function()
  9235.  
  9236. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  9237.  
  9238. local id = args[1]:lower()
  9239.  
  9240. local pitch = 1
  9241.  
  9242. local mp = game:service('MarketplaceService')
  9243.  
  9244. local volume = 1
  9245.  
  9246. for i,v in pairs(set['MusicList']) do if id==v.Name:lower() then id=v.Id if v.Pitch then pitch=v.Pitch end if v.Volume then volume=v.Volume end end end
  9247.  
  9248. local name = 'Invalid ID '
  9249.  
  9250. pcall(function() if mp:GetProductInfo(id).AssetTypeId==3 then name = 'Now playing '..mp:GetProductInfo(id).Name end end)
  9251.  
  9252. local s = Instance.new("Sound", game.Workspace)
  9253.  
  9254. s.SoundId = "http://www.roblox.com/asset/?id=" .. id
  9255.  
  9256. s.Volume = volume
  9257.  
  9258. s.Pitch = pitch
  9259.  
  9260. s.Looped = true
  9261.  
  9262. s.archivable = false
  9263.  
  9264. pcall(function() s:Play()end)
  9265.  
  9266. set.Hint(name..' ('..id..')',game:service('Players'):children())
  9267.  
  9268. end)()
  9269.  
  9270. end)
  9271.  
  9272.  
  9273.  
  9274. set.MakeCommand('Stop Music',2,set.Prefix,{'stopmusic','musicoff'},{},0,function(plr,args)
  9275.  
  9276. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  9277.  
  9278. end)
  9279.  
  9280.  
  9281.  
  9282. set.MakeCommand('Music List',2,set.Prefix,{'musiclist','listmusic','songs'},{},0,function(plr,args)
  9283.  
  9284. local listforclient={}
  9285.  
  9286. for i, v in pairs(set['MusicList']) do
  9287.  
  9288. table.insert(listforclient,v.Name)
  9289.  
  9290. end
  9291.  
  9292. set.Remote(plr,'SetSetting','MusicList',listforclient)
  9293.  
  9294. set.Remote(plr,'Function','ListGui','Music List','MusicList')
  9295.  
  9296. end)
  9297.  
  9298.  
  9299.  
  9300. set.MakeCommand('Stickify',-1,set.Prefix,{'stickify','stick','stickman'},{'player'},1,function(plr,args)
  9301.  
  9302.     local plrz = set.GetPlayers(plr, args[1]:lower())
  9303.  
  9304.     for kay, player in pairs(plrz) do
  9305.  
  9306.     coroutine.wrap(function()
  9307.  
  9308.     local Self = player
  9309.  
  9310.     m = Self.Character
  9311.  
  9312.     for i,v in pairs(m:GetChildren()) do
  9313.  
  9314.     if v:IsA ("Part") then
  9315.  
  9316.     local s = Instance.new("SelectionPartLasso")
  9317.  
  9318.     s.Parent = m.Torso
  9319.  
  9320.     s.Part = v
  9321.  
  9322.     s.Humanoid = m.Humanoid
  9323.  
  9324.     s.Color = BrickColor.new(0,0,0)
  9325.  
  9326.     v.Transparency = 1
  9327.  
  9328.     m.Head.Transparency = 0
  9329.  
  9330.     m.Head.Mesh:Remove()
  9331.  
  9332.     local b = Instance.new("SpecialMesh")
  9333.  
  9334.     b.Parent = m.Head
  9335.  
  9336.     b.MeshType = "Sphere"
  9337.  
  9338.     b.Scale = Vector3.new(.5,1,1)
  9339.  
  9340.     m.Head.BrickColor = BrickColor.new("Black")
  9341.  
  9342.     else
  9343.  
  9344.     end
  9345.  
  9346.     end
  9347.  
  9348.     end)()
  9349.  
  9350.     end
  9351.  
  9352. end)
  9353.  
  9354.  
  9355.  
  9356. set.MakeCommand('Hole',-1,set.Prefix,{'hole','sparta'},{'player'},1,function(plr,args)
  9357.  
  9358. local plrz = set.GetPlayers(plr, args[1]:lower())
  9359.  
  9360. for kay, player in pairs(plrz) do
  9361.  
  9362. coroutine.wrap(function()
  9363.  
  9364. local Self=player
  9365.  
  9366. local Tor
  9367.  
  9368. if pcall(function() Tor = Self.Character.Torso end) then
  9369.  
  9370. local Hole = Instance.new("Part",Self.Character)
  9371.  
  9372. Hole.Anchored = true
  9373.  
  9374. Hole.CanCollide = false
  9375.  
  9376. Hole.formFactor = Enum.FormFactor.Custom
  9377.  
  9378. Hole.Size = Vector3.new(10,1,10)
  9379.  
  9380. Hole.CFrame = Tor.CFrame * CFrame.new(0,-3.3,-3)
  9381.  
  9382. Hole.BrickColor = BrickColor.new("Really black")
  9383.  
  9384. local HoleM = Instance.new("CylinderMesh",Hole)
  9385.  
  9386. Tor.Anchored = true
  9387.  
  9388. local Foot = Tor.CFrame * CFrame.new(0,-3,0)
  9389.  
  9390. local Func = coroutine.create(function()
  9391.  
  9392. for i=1,10 do
  9393.  
  9394. Tor.CFrame = Foot * CFrame.fromEulerAnglesXYZ(-(math.pi/2)*i/10,0,0) * CFrame.new(0,3,0)
  9395.  
  9396. wait()
  9397.  
  9398. end
  9399.  
  9400. for i=1,5,0.2 do
  9401.  
  9402. Tor.CFrame = Foot * CFrame.new(0,-(i^2),0) * CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) * CFrame.new(0,3,0)
  9403.  
  9404. wait()
  9405.  
  9406. end
  9407.  
  9408. pcall(function() Self.Character.Humanoid.Health = 0 end)
  9409.  
  9410. end)
  9411.  
  9412. coroutine.resume(Func)
  9413.  
  9414. end
  9415.  
  9416. end)()
  9417.  
  9418. end
  9419.  
  9420. end)
  9421.  
  9422.  
  9423.  
  9424. set.MakeCommand('Crucify',-1,set.Prefix,{'crucify','cross'},{'player'},1,function(plr,args)
  9425.  
  9426.     for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  9427.  
  9428.         local torso=v.Character['Torso']
  9429.  
  9430.         local larm=v.Character['Left Arm']
  9431.  
  9432.         local rarm=v.Character['Right Arm']
  9433.  
  9434.         local lleg=v.Character['Left Leg']
  9435.  
  9436.         local rleg=v.Character['Right Leg']
  9437.  
  9438.         local head=v.Character['Head']
  9439.  
  9440.         if torso and larm and rarm and lleg and rleg and head and not v.Character:FindFirstChild(v.Name..'kohlscrusify') then
  9441.  
  9442.             local cru=Instance.new('Model',v.Character)
  9443.  
  9444.             cru.Name=v.Name..'kohlscrusify'
  9445.  
  9446.             local c1=Instance.new('Part',cru)
  9447.  
  9448.             c1.BrickColor=BrickColor.new('Reddish brown')
  9449.  
  9450.             c1.Material='Wood'
  9451.  
  9452.             c1.CFrame=(v.Character.Torso.CFrame-v.Character.Torso.CFrame.lookVector)*CFrame.new(0,0,2)
  9453.  
  9454.             c1.Size=Vector3.new(2,18.4,1)
  9455.  
  9456.             c1.Anchored=true
  9457.  
  9458.             local c2=c1:Clone()
  9459.  
  9460.             c2.Parent=cru
  9461.  
  9462.             c2.Size=Vector3.new(11,1.6,1)
  9463.  
  9464.             c2.CFrame=c1.CFrame+Vector3.new(0,5,0)
  9465.  
  9466.             torso.Anchored=true
  9467.  
  9468.             wait(0.5)
  9469.  
  9470.             torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0)
  9471.  
  9472.             wait(0.5)
  9473.  
  9474.             larm.Anchored=true
  9475.  
  9476.             rarm.Anchored=true
  9477.  
  9478.             lleg.Anchored=true
  9479.  
  9480.             rleg.Anchored=true
  9481.  
  9482.             head.Anchored=true
  9483.  
  9484.             wait()
  9485.  
  9486.             larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0)
  9487.  
  9488.             rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0)
  9489.  
  9490.             lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0)
  9491.  
  9492.             rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0)
  9493.  
  9494.             larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140)
  9495.  
  9496.             rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140)
  9497.  
  9498.             lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6)
  9499.  
  9500.             rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6)
  9501.  
  9502.             --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3)
  9503.  
  9504.             local n1=Instance.new('Part',cru)
  9505.  
  9506.             n1.BrickColor=BrickColor.new('Dark stone grey')
  9507.  
  9508.             n1.Material='DiamondPlate'
  9509.  
  9510.             n1.Size=Vector3.new(0.2,0.2,2)
  9511.  
  9512.             n1.Anchored=true
  9513.  
  9514.             local m=Instance.new('BlockMesh',n1)
  9515.  
  9516.             m.Scale=Vector3.new(0.2,0.2,0.7)
  9517.  
  9518.             n2=n1:clone()
  9519.  
  9520.             n2.Parent=cru
  9521.  
  9522.             n3=n1:clone()
  9523.  
  9524.             n3.Parent=cru
  9525.  
  9526.             n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0)
  9527.  
  9528.             n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0)
  9529.  
  9530.             n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0)
  9531.  
  9532.             coroutine.wrap(function()
  9533.  
  9534.                 repeat
  9535.  
  9536.                     wait(0.1)
  9537.  
  9538.                     v.Character.Humanoid.Health=v.Character.Humanoid.Health-0.6
  9539.  
  9540.                     local p = Instance.new("Part",v.Character)
  9541.  
  9542.                     p.CanCollide = false
  9543.  
  9544.                     local color = math.random(1, 3)
  9545.  
  9546.                     local bcolo
  9547.  
  9548.                     if color == 1 then
  9549.  
  9550.                         bcolor = BrickColor.new(21)
  9551.  
  9552.                         parent=n1
  9553.  
  9554.                     elseif color == 2 then
  9555.  
  9556.                         bcolor = BrickColor.new(1004)
  9557.  
  9558.                         parent=n2
  9559.  
  9560.                     elseif color == 3 then
  9561.  
  9562.                         bcolor = BrickColor.new(21)
  9563.  
  9564.                         parent=n3
  9565.  
  9566.                     end
  9567.  
  9568.                     p.BrickColor = bcolor
  9569.  
  9570.                     local m=Instance.new('BlockMesh',p)
  9571.  
  9572.                     p.Size=Vector3.new(0.1,0.1,0.1)
  9573.  
  9574.                     m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  9575.  
  9576.                     p.Locked = true
  9577.  
  9578.                     p.TopSurface = "Smooth"
  9579.  
  9580.                     p.BottomSurface = "Smooth"
  9581.  
  9582.                     p.CFrame = parent.CFrame
  9583.  
  9584.                     p.Anchored = false
  9585.  
  9586.                     m.Name='Blood Peice'
  9587.  
  9588.                     p.Name='Blood Peice'
  9589.  
  9590.                     p.Touched:connect(function(o)
  9591.  
  9592.                         if o and p and o~=parent and o~=n1 and o~=n2 and o~=n3 and o~=c1 and o~=c2 and o.Parent~=cru and (not game:service('Players'):FindFirstChild(o.Parent.Name)) and o.Name~='Blood Peice' and o.Name~='Puke Peice' and o.Name~='Puke Plate' and o.Name~='Blood Plate' and (o.Parent.Name=='Workspace' or o.Parent:IsA('Model')) and (o.Parent~=p.Parent) and o:IsA('Part') and (o.Parent.Name~=v.Character.Name) and (not o.Parent:IsA('Hat')) and (not o.Parent:IsA('Tool')) then
  9593.  
  9594.                             local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  9595.  
  9596.                             p:Destroy()
  9597.  
  9598.                             local g=Instance.new('Part',workspace)
  9599.  
  9600.                             g.Anchored=true
  9601.  
  9602.                             g.CanCollide=false
  9603.  
  9604.                             g.Size=Vector3.new(0.1,0.1,0.1)
  9605.  
  9606.                             g.Name='Blood Plate'
  9607.  
  9608.                             g.CFrame=cf
  9609.  
  9610.                             g.BrickColor=BrickColor.new(21)
  9611.  
  9612.                             local c=Instance.new('CylinderMesh',g)
  9613.  
  9614.                             c.Scale=Vector3.new(1,0.2,1)
  9615.  
  9616.                             c.Name='BloodMesh'
  9617.  
  9618.                             wait(10)
  9619.  
  9620.                             g:Destroy()
  9621.  
  9622.                         elseif o and o.Name=='Blood Plate' and p then
  9623.  
  9624.                             p:Destroy()
  9625.  
  9626.                             o.BloodMesh.Scale=o.BloodMesh.Scale+Vector3.new(1,0,1)
  9627.  
  9628.                         end
  9629.  
  9630.                     end)
  9631.  
  9632.                 until (not cru) or (not cru.Parent) or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head')) or v.Character.Humanoid.Health<=0
  9633.  
  9634.             end)()
  9635.  
  9636.         end
  9637.  
  9638.     end
  9639.  
  9640. end)
  9641.  
  9642.  
  9643.  
  9644. set.MakeCommand('Fly',2,set.Prefix,{'fly','flight'},{'player'},1,function(plr,args)
  9645.  
  9646. local plrz = set.GetPlayers(plr, args[1]:lower())
  9647.  
  9648. for i, v in pairs(plrz) do
  9649.  
  9650.     set.Remote(v,'Function','Fly','on')
  9651.  
  9652. end
  9653.  
  9654. end)
  9655.  
  9656.  
  9657.  
  9658. set.MakeCommand('UnFly',2,set.Prefix,{'unfly','ground'},{'player'},1,function(plr,args)
  9659.  
  9660. local plrz = set.GetPlayers(plr, args[1])
  9661.  
  9662. for i, v in pairs(plrz) do
  9663.  
  9664.     set.Remote(v,'Function','Fly','off')
  9665.  
  9666. end
  9667.  
  9668. end)
  9669.  
  9670.  
  9671.  
  9672. set.MakeCommand('Disco',-1,set.Prefix,{'disco'},{},0,function(plr,args)
  9673.  
  9674. set.lighttask=false
  9675.  
  9676. wait(0.5)
  9677.  
  9678. coroutine.wrap(function()
  9679.  
  9680. set.lighttask = true
  9681.  
  9682. repeat
  9683.  
  9684. if set.lighttask==false then return end
  9685.  
  9686. local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  9687.  
  9688. game:service('Lighting').Ambient = color
  9689.  
  9690. game:service('Lighting').OutdoorAmbient = color
  9691.  
  9692. game:service('Lighting').FogColor = color
  9693.  
  9694. wait(0.1)
  9695.  
  9696. until set.lighttask==false
  9697.  
  9698. end)()
  9699.  
  9700. end)
  9701.  
  9702.  
  9703.  
  9704. set.MakeCommand('Flash',-1,set.Prefix,{'flash'},{},0,function(plr,args)
  9705.  
  9706. set.lighttask=false
  9707.  
  9708. wait(0.5)
  9709.  
  9710. coroutine.wrap(function()
  9711.  
  9712. set.lighttask=true
  9713.  
  9714. repeat
  9715.  
  9716. if set.lighttask==false then return end
  9717.  
  9718. game:service('Lighting').Ambient = Color3.new(1,1,1)
  9719.  
  9720. game:service('Lighting').OutdoorAmbient = Color3.new(1,1,1)
  9721.  
  9722. game:service('Lighting').FogColor = Color3.new(1,1,1)
  9723.  
  9724. game:service('Lighting').Brightness = 1
  9725.  
  9726. game:service('Lighting').TimeOfDay = 14
  9727.  
  9728. wait(0.1)
  9729.  
  9730. game:service('Lighting').Ambient = Color3.new(0,0,0)
  9731.  
  9732. game:service('Lighting').OutdoorAmbient = Color3.new(0,0,0)
  9733.  
  9734. game:service('Lighting').FogColor = Color3.new(0,0,0)
  9735.  
  9736. game:service('Lighting').Brightness = 0
  9737.  
  9738. game:service('Lighting').TimeOfDay = 0
  9739.  
  9740. wait(0.1)
  9741.  
  9742. until set.lighttask==false
  9743.  
  9744. end)()
  9745.  
  9746. end)
  9747.  
  9748.  
  9749.  
  9750. set.MakeCommand('Spin',-1,set.Prefix,{'spin'},{'player'},1,function(plr,args)
  9751.  
  9752. local plrz = set.GetPlayers(plr, args[1])
  9753.  
  9754. for i, v in pairs(plrz) do
  9755.  
  9756. coroutine.wrap(function()
  9757.  
  9758. if v and v.Character and v.Character:findFirstChild("Torso") then
  9759.  
  9760. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  9761.  
  9762. local torso = v.Character:findFirstChild("Torso")
  9763.  
  9764. local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(set.objects,bg)
  9765.  
  9766. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  9767.  
  9768. until not bg or bg.Parent ~= torso
  9769.  
  9770. end
  9771.  
  9772. end)()
  9773.  
  9774. end
  9775.  
  9776. end)
  9777.  
  9778.  
  9779.  
  9780. set.MakeCommand('UnSpin',-1,set.Prefix,{'unspin'},{'player'},1,function(plr,args)
  9781.  
  9782. local plrz = set.GetPlayers(plr, args[1]:lower())
  9783.  
  9784. for i, v in pairs(plrz) do
  9785.  
  9786. coroutine.wrap(function()
  9787.  
  9788. if v and v.Character and v.Character:findFirstChild("Torso") then
  9789.  
  9790. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  9791.  
  9792. end
  9793.  
  9794. end)()
  9795.  
  9796. end
  9797.  
  9798. end)
  9799.  
  9800.  
  9801.  
  9802. set.MakeCommand('Dog',-1,set.Prefix,{'dog','dogify'},{'player'},1,function(plr,args)
  9803.  
  9804. local plrz = set.GetPlayers(plr, args[1]:lower())
  9805.  
  9806. for i, v in pairs(plrz) do
  9807.  
  9808. coroutine.wrap(function()
  9809.  
  9810. if v and v.Character and v.Character:findFirstChild("Torso") then
  9811.  
  9812. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  9813.  
  9814. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  9815.  
  9816. v.Character.Torso.Transparency = 1
  9817.  
  9818. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  9819.  
  9820. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  9821.  
  9822. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  9823.  
  9824. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  9825.  
  9826. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  9827.  
  9828. local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
  9829.  
  9830. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  9831.  
  9832. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  9833.  
  9834. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
  9835.  
  9836. end
  9837.  
  9838. end)()
  9839.  
  9840. end
  9841.  
  9842. end)
  9843.  
  9844.  
  9845.  
  9846. set.MakeCommand('UnDog',-1,set.Prefix,{'undog','undogify'},{'player'},1,function(plr,args)
  9847.  
  9848. local plrz = set.GetPlayers(plr, args[1]:lower())
  9849.  
  9850. for i, v in pairs(plrz) do
  9851.  
  9852. coroutine.wrap(function()
  9853.  
  9854. if v and v.Character and v.Character:findFirstChild("Torso") then
  9855.  
  9856. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  9857.  
  9858. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  9859.  
  9860. v.Character.Torso.Transparency = 0
  9861.  
  9862. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  9863.  
  9864. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  9865.  
  9866. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  9867.  
  9868. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  9869.  
  9870. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  9871.  
  9872. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  9873.  
  9874. end
  9875.  
  9876. end)()
  9877.  
  9878. end
  9879.  
  9880. end)
  9881.  
  9882.  
  9883.  
  9884. set.MakeCommand('Creeper',-1,set.Prefix,{'creeper','creeperify'},{'player'},1,function(plr,args)
  9885.  
  9886. local plrz = set.GetPlayers(plr, args[1]:lower())
  9887.  
  9888. for i, v in pairs(plrz) do
  9889.  
  9890. coroutine.wrap(function()
  9891.  
  9892. if v and v.Character and v.Character:findFirstChild("Torso") then
  9893.  
  9894. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  9895.  
  9896. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  9897.  
  9898. v.Character.Torso.Transparency = 0
  9899.  
  9900. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  9901.  
  9902. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  9903.  
  9904. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  9905.  
  9906. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  9907.  
  9908. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  9909.  
  9910. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
  9911.  
  9912. end
  9913.  
  9914. end)()
  9915.  
  9916. end
  9917.  
  9918. end)
  9919.  
  9920.  
  9921.  
  9922. set.MakeCommand('UnCreeper',-1,set.Prefix,{'uncreeper','uncreeperify'},{'player'},1,function(plr,args)
  9923.  
  9924. local plrz = set.GetPlayers(plr, args[1]:lower())
  9925.  
  9926. for i, v in pairs(plrz) do
  9927.  
  9928. coroutine.wrap(function()
  9929.  
  9930. if v and v.Character and v.Character:findFirstChild("Torso") then
  9931.  
  9932. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  9933.  
  9934. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  9935.  
  9936. v.Character.Torso.Transparency = 0
  9937.  
  9938. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  9939.  
  9940. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  9941.  
  9942. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  9943.  
  9944. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  9945.  
  9946. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  9947.  
  9948. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  9949.  
  9950. end
  9951.  
  9952. end)()
  9953.  
  9954. end
  9955.  
  9956. end)
  9957.  
  9958.  
  9959.  
  9960. set.MakeCommand('Big Head',-1,set.Prefix,{'bighead'},{'player'},1,function(plr,args)
  9961.  
  9962. local plrz = set.GetPlayers(plr, args[1]:lower())
  9963.  
  9964. for i, v in pairs(plrz) do
  9965.  
  9966. coroutine.wrap(function()
  9967.  
  9968. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  9969.  
  9970. end)()
  9971.  
  9972. end
  9973.  
  9974. end)
  9975.  
  9976.  
  9977.  
  9978. set.MakeCommand('Resize Character',-1,set.Prefix,{'resize','size'},{'player','number'},2,function(plr,args)
  9979.  
  9980.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  9981.  
  9982.      if not (plr and plr.Character and plr.Character:findFirstChild('Torso') and plr.Character:findFirstChild('HumanoidRootPart')) then return end
  9983.  
  9984.         local ags = {c = plr.Character, t = plr.Character.Torso, r = plr.Character.HumanoidRootPart}
  9985.  
  9986.         ags.t.Anchored = true ags.t.BottomSurface = 0 ags.t.TopSurface = 0
  9987.  
  9988.         local welds = {} --Credit to Drezmor for the orig command, credit to Kohltastrophe for making it work correctly l0l
  9989.  
  9990.         for i2,v2 in pairs(ags.c:children()) do
  9991.  
  9992.         if v2:IsA('BasePart') then v2.Anchored = true
  9993.  
  9994.         elseif v2:IsA('Pants') or v2:IsA('Shirt') then v2.Parent = ags.t
  9995.  
  9996.         end
  9997.  
  9998.         end
  9999.  
  10000.         print(args[2])
  10001.  
  10002.         local function size(p)
  10003.  
  10004.         for i2,v2 in pairs(p:children()) do
  10005.  
  10006.         if v2:IsA('Weld') or v2:IsA('Motor') or v2:IsA('Motor6D') then
  10007.  
  10008.         local p1 = v2.Part1 p1.Anchored = true v2.Part1 = nil
  10009.  
  10010.         local r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12 = v2.C0:components() v2.C0 = CFrame.new(r1*args[2],r2*args[2],r3*args[2],r4,r5,r6,r7,r8,r9,r10,r11,r12)
  10011.  
  10012.         local r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12 = v2.C1:components() v2.C1 = CFrame.new(r1*args[2],r2*args[2],r3*args[2],r4,r5,r6,r7,r8,r9,r10,r11,r12)
  10013.  
  10014.         if p1.Name ~= 'Head' and p1.Name ~= 'Torso' then
  10015.  
  10016.         p1.formFactor = 3
  10017.  
  10018.         p1.Size = p1.Size*args[2]
  10019.  
  10020.         elseif p1.Name ~= 'Torso' then
  10021.  
  10022.         p1.Anchored = true
  10023.  
  10024.         for i3,v3 in pairs(p1:children()) do if v3:IsA('Weld') then v3.Part0 = nil v3.Part1.Anchored = true end end
  10025.  
  10026.         p1.formFactor = 3 p1.Size = p1.Size*args[2]
  10027.  
  10028.         for i3,v3 in pairs(p1:children()) do if v3:IsA('Weld') then v3.Part0 = p1 v3.Part1.Anchored = false end end
  10029.  
  10030.         end
  10031.  
  10032.         if v2.Parent == ags.t then p1.BottomSurface = 0 p1.TopSurface = 0 end
  10033.  
  10034.         p1.Anchored = false
  10035.  
  10036.         v2.Part1 = p1
  10037.  
  10038.         if v2.Part0 == ags.t then table.insert(welds,v2) p1.Anchored = true v2.Part0 = nil end
  10039.  
  10040.         elseif v2:IsA('CharacterMesh') then
  10041.  
  10042.         local bp = tostring(v2.BodyPart):match('%w+.%w+.(%w+)')
  10043.  
  10044.         local msh = Instance.new('SpecialMesh')
  10045.  
  10046.         if bp and ags.c:findFirstChild(bp) then msh.Parent = ags.c:findFirstChild(bp) end
  10047.  
  10048.         msh.MeshId = 'http://www.roblox.com/asset/?id='..v2.MeshId
  10049.  
  10050.         if v2.BaseTextureId ~= 0 or v2.BaseTextureId ~= '0' then msh.TextureId = 'http://www.roblox.com/asset/?id='..v2.BaseTextureId end
  10051.  
  10052.         msh.Scale = msh.Scale*args[2] v2:Destroy()
  10053.  
  10054.         elseif v2:IsA('SpecialMesh') and v2.Parent ~= ags.c.Head then v2.Scale = v2.Scale*args[2]
  10055.  
  10056.         end size(v2)
  10057.  
  10058.         end
  10059.  
  10060.         end
  10061.  
  10062.         size(ags.c)
  10063.  
  10064.         ags.t.formFactor = 3
  10065.  
  10066.         ags.t.Size = ags.t.Size*args[2]
  10067.  
  10068.         for i2,v2 in pairs(welds) do v2.Part0 = ags.t v2.Part1.Anchored = false end
  10069.  
  10070.         for i2,v2 in pairs(ags.c:children()) do if v2:IsA('BasePart') then v2.Anchored = false end end
  10071.  
  10072.         local weld = Instance.new('Weld',ags.r) weld.Part0 = ags.r weld.Part1 = ags.t
  10073.  
  10074.     end
  10075.  
  10076. end)
  10077.  
  10078.  
  10079.  
  10080. set.MakeCommand('Small Head',-1,set.Prefix,{'smallhead','minihead'},{'player'},1,function(plr,args)
  10081.  
  10082. local plrz = set.GetPlayers(plr, args[1]:lower())
  10083.  
  10084. for i, v in pairs(plrz) do
  10085.  
  10086. coroutine.wrap(function()
  10087.  
  10088. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  10089.  
  10090. end)()
  10091.  
  10092. end
  10093.  
  10094. end)
  10095.  
  10096.  
  10097.  
  10098. set.MakeCommand('Fling',2,set.Prefix,{'fling'},{'player'},1,function(plr,args)
  10099.  
  10100. local plrz = set.GetPlayers(plr, args[1]:lower())
  10101.  
  10102. for i, v in pairs(plrz) do
  10103.  
  10104. coroutine.wrap(function()
  10105.  
  10106. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  10107.  
  10108. local xran local zran
  10109.  
  10110. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  10111.  
  10112. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  10113.  
  10114. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  10115.  
  10116. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  10117.  
  10118. end
  10119.  
  10120. end)()
  10121.  
  10122. end
  10123.  
  10124. end)
  10125.  
  10126.  
  10127.  
  10128. set.MakeCommand('Seizure',-1,set.Prefix,{'seizure'},{'player'},1,function(plr,args)
  10129.  
  10130. local plrz = set.GetPlayers(plr, args[1]:lower())
  10131.  
  10132. for i, v in pairs(plrz) do
  10133.  
  10134. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  10135.  
  10136. coroutine.wrap(function()
  10137.  
  10138. if v and v.Character then
  10139.  
  10140. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  10141.  
  10142. set.LoadScript('LocalScript',[[char=game:service('Players').LocalPlayer.Character;
  10143.  
  10144.     repeat wait()
  10145.  
  10146.     char.Humanoid.PlatformStand = true
  10147.  
  10148.     char.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  10149.  
  10150.     char.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  10151.  
  10152.     until nil]],"SeizureBase",true,parent)
  10153.  
  10154. end
  10155.  
  10156. end)()
  10157.  
  10158. end
  10159.  
  10160. end)
  10161.  
  10162.  
  10163.  
  10164. set.MakeCommand('UnSeizure',-1,set.Prefix,{'unseizure'},{'player'},1,function(plr,args)
  10165.  
  10166. local plrz = set.GetPlayers(plr,args[1]:lower())
  10167.  
  10168. for i, v in pairs(plrz) do
  10169.  
  10170. coroutine.wrap(function()
  10171.  
  10172. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  10173.  
  10174. if v and parent then
  10175.  
  10176. for i,v in pairs(parent:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  10177.  
  10178. wait(.1) v.Character.Humanoid.PlatformStand = false
  10179.  
  10180. end
  10181.  
  10182. end)()
  10183.  
  10184. end
  10185.  
  10186. end)
  10187.  
  10188.  
  10189.  
  10190. set.MakeCommand('Remove Limbs',-1,set.Prefix,{'removelimbs','delimb'},{'player'},1,function(plr,args)
  10191.  
  10192. local plrz = set.GetPlayers(plr, args[1]:lower())
  10193.  
  10194. for i, v in pairs(plrz) do
  10195.  
  10196. coroutine.wrap(function()
  10197.  
  10198. if v and v.Character then
  10199.  
  10200. for a, obj in pairs(v.Character:children()) do
  10201.  
  10202. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  10203.  
  10204. end
  10205.  
  10206. end
  10207.  
  10208. end)()
  10209.  
  10210. end
  10211.  
  10212. end)
  10213.  
  10214.  
  10215.  
  10216. set.MakeCommand('Name',2,set.Prefix,{'name','rename'},{'player','name/hide'},2,function(plr,args)
  10217.  
  10218. local plrz = set.GetPlayers(plr, args[1]:lower())
  10219.  
  10220. for i, v in pairs(plrz) do
  10221.  
  10222. coroutine.wrap(function()
  10223.  
  10224. if v and v.Character and v.Character:findFirstChild("Head") then
  10225.  
  10226. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  10227.  
  10228. local char = v.Character
  10229.  
  10230. local mod = Instance.new("Model", char) mod.Name = args[2] or ''
  10231.  
  10232. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  10233.  
  10234. coroutine.wrap(function()
  10235.  
  10236. if args[2]:lower()~='hide' then
  10237.  
  10238.     repeat hum.MaxHealth=v.Character.Humanoid.MaxHealth hum.Health=v.Character.Humanoid.Health wait() until not v or not hum or not mod or not mod.Parent or mod==nil or hum==nil or not hum.Parent
  10239.  
  10240. else
  10241.  
  10242.     mod.Name=''
  10243.  
  10244. end
  10245.  
  10246. end)()
  10247.  
  10248. cl.CanCollide=false
  10249.  
  10250. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  10251.  
  10252. char.Head.Transparency = 1
  10253.  
  10254. end
  10255.  
  10256. end)()
  10257.  
  10258. end
  10259.  
  10260. end)
  10261.  
  10262.  
  10263.  
  10264. set.MakeCommand('UnName',2,set.Prefix,{'unname','fixname'},{'player'},1,function(plr,args)
  10265.  
  10266. local plrz = set.GetPlayers(plr, args[1]:lower())
  10267.  
  10268. for i, v in pairs(plrz) do
  10269.  
  10270. coroutine.wrap(function()
  10271.  
  10272. if v and v.Character and v.Character:findFirstChild("Head") then
  10273.  
  10274. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  10275.  
  10276. end
  10277.  
  10278. end)()
  10279.  
  10280. end
  10281.  
  10282. end)
  10283.  
  10284.  
  10285.  
  10286. set.MakeCommand('Right Leg',-1,set.Prefix,{'rleg','rightleg','rightlegpackage'},{'player','id'},2,function(plr,args)
  10287.  
  10288.     local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  10289.  
  10290.     if id~=31 then set.Remote(plr,'Function','OutputGui','Id is not a right leg!') return end
  10291.  
  10292.     local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  10293.  
  10294.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  10295.  
  10296.         for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='RightLeg' then m:Destroy() end end
  10297.  
  10298.         part.Parent=v.Character
  10299.  
  10300.     end
  10301.  
  10302. end)
  10303.  
  10304.  
  10305.  
  10306. set.MakeCommand('Left Leg',-1,set.Prefix,{'lleg','leftleg','leftlegpackage'},{'player','id'},2,function(plr,args)
  10307.  
  10308.     local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  10309.  
  10310.     if id~=30 then set.Remote(plr,'Function','OutputGui','Id is not a left leg!') return end
  10311.  
  10312.     local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  10313.  
  10314.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  10315.  
  10316.         for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='LeftLeg' then m:Destroy() end end
  10317.  
  10318.         part.Parent=v.Character
  10319.  
  10320.     end
  10321.  
  10322. end)
  10323.  
  10324.  
  10325.  
  10326. set.MakeCommand('Right Arm',-1,set.Prefix,{'rarm','rightarm','rightarmpackage'},{'player','id'},2,function(plr,args)
  10327.  
  10328.     local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  10329.  
  10330.     if id~=28 then set.Remote(plr,'Function','OutputGui','Id is not a right arm!') return end
  10331.  
  10332.     local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  10333.  
  10334.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  10335.  
  10336.         for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='RightArm' then m:Destroy() end end
  10337.  
  10338.         part.Parent=v.Character
  10339.  
  10340.     end
  10341.  
  10342. end)
  10343.  
  10344.  
  10345.  
  10346. set.MakeCommand('Left Arm',-1,set.Prefix,{'larm','leftarm','leftarmpackage'},{'player','id'},2,function(plr,args)
  10347.  
  10348.     local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  10349.  
  10350.     if id~=29 then set.Remote(plr,'Function','OutputGui','Id is not a left arm!') return end
  10351.  
  10352.     local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  10353.  
  10354.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  10355.  
  10356.         for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='LeftArm' then m:Destroy() end end
  10357.  
  10358.         part.Parent=v.Character
  10359.  
  10360.     end
  10361.  
  10362. end)
  10363.  
  10364.  
  10365.  
  10366. set.MakeCommand('Torso',-1,set.Prefix,{'torso','torsopackage'},{'player','id'},2,function(plr,args)
  10367.  
  10368.     local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  10369.  
  10370.     if id~=27 then set.Remote(plr,'Function','OutputGui','Id is not a torso!') return end
  10371.  
  10372.     local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  10373.  
  10374.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  10375.  
  10376.         for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='Torso' then m:Destroy() end end
  10377.  
  10378.         part.Parent=v.Character
  10379.  
  10380.     end
  10381.  
  10382. end)
  10383.  
  10384.  
  10385.  
  10386. set.MakeCommand('Character Appearance',-1,set.Prefix,{'char','character','appearance'},{'player','id'},2,function(plr,args)
  10387.  
  10388. local plrz = set.GetPlayers(plr, args[1]:lower())
  10389.  
  10390. for i, v in pairs(plrz) do
  10391.  
  10392. coroutine.wrap(function()
  10393.  
  10394. if v and v.Character then
  10395.  
  10396. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. args[2]
  10397.  
  10398. v:LoadCharacter()
  10399.  
  10400. end
  10401.  
  10402. end)()
  10403.  
  10404. end
  10405.  
  10406. end)
  10407.  
  10408.  
  10409.  
  10410. set.MakeCommand('Un-Character Appearance',-1,set.Prefix,{'unchar','uncharacter','fixappearance'},{'player'},1,function(plr,args)
  10411.  
  10412. local plrz = set.GetPlayers(plr, args[1]:lower())
  10413.  
  10414. for i, v in pairs(plrz) do
  10415.  
  10416. coroutine.wrap(function()
  10417.  
  10418. if v and v.Character then
  10419.  
  10420. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  10421.  
  10422. v:LoadCharacter()
  10423.  
  10424. end
  10425.  
  10426. end)()
  10427.  
  10428. end
  10429.  
  10430. end)
  10431.  
  10432.  
  10433.  
  10434. set.MakeCommand('Infect',-1,set.Prefix,{'infect','zombify'},{'player'},1,function(plr,args)
  10435.  
  10436. local plrz = set.GetPlayers(plr, args[1]:lower())
  10437.  
  10438. for i, v in pairs(plrz) do
  10439.  
  10440. coroutine.wrap(function()
  10441.  
  10442. if v and v.Character then
  10443.  
  10444. set.Infect(v.Character)
  10445.  
  10446. end
  10447.  
  10448. end)()
  10449.  
  10450. end
  10451.  
  10452. end)
  10453.  
  10454.  
  10455.  
  10456. set.MakeCommand('Rainbowify',-1,set.Prefix,{'rainbowify','rainbow'},{'player'},1,function(plr,args)
  10457.  
  10458. local plrz = set.GetPlayers(plr, args[1]:lower())
  10459.  
  10460. for i, v in pairs(plrz) do
  10461.  
  10462. coroutine.wrap(function()
  10463.  
  10464. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  10465.  
  10466. if v and v.Character and v.Character:findFirstChild("Torso") then
  10467.  
  10468. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  10469.  
  10470. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  10471.  
  10472. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  10473.  
  10474. set.LoadScript('LocalScript',[[repeat wait(0.1) local clr = BrickColor.random() for i, v in pairs(game:service('Players').LocalPlayer.Character:children()) do if v:IsA("BasePart") and v.Name~='HumanoidRootPart' and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]],'ify',true,parent)
  10475.  
  10476. end
  10477.  
  10478. end)()
  10479.  
  10480. end
  10481.  
  10482. end)
  10483.  
  10484.  
  10485.  
  10486. set.MakeCommand('Flashify',-1,set.Prefix,{'flashify'},{'player'},1,function(plr,args)
  10487.  
  10488. local plrz = set.GetPlayers(plr, args[1]:lower())
  10489.  
  10490. for i, v in pairs(plrz) do
  10491.  
  10492. coroutine.wrap(function()
  10493.  
  10494. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  10495.  
  10496. if v and v.Character and v.Character:findFirstChild("Torso") then
  10497.  
  10498. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  10499.  
  10500. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  10501.  
  10502. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  10503.  
  10504. set.LoadScript('LocalScript',[[repeat wait(0.1)
  10505.  
  10506.     for i, v in pairs(game:service('Players').LocalPlayer.Character:children()) do
  10507.  
  10508.     if v:IsA("BasePart") and v.Name~='HumanoidRootPart' and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then
  10509.  
  10510.     v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0
  10511.  
  10512. elseif v:findFirstChild("NameTag") then
  10513.  
  10514.     v.Head.BrickColor = BrickColor.new("Institutional white")
  10515.  
  10516.     v.Head.Reflectance = 0 v.Head.Transparency = 0
  10517.  
  10518.     v.Parent.Head.Transparency = 1 end end
  10519.  
  10520.     wait(1/44)
  10521.  
  10522.     for i, v in pairs(game:service('Players').LocalPlayer.Character:children()) do
  10523.  
  10524.     if v:IsA("BasePart") and v.Name~='HumanoidRootPart' and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then
  10525.  
  10526.     v.BrickColor = BrickColor.new("Really black")
  10527.  
  10528.     v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then
  10529.  
  10530.     v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0
  10531.  
  10532.     v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]],'ify',true,parent)
  10533.  
  10534. end
  10535.  
  10536. end)()
  10537.  
  10538. end
  10539.  
  10540. end)
  10541.  
  10542.  
  10543.  
  10544. set.MakeCommand('Noobify',-1,set.Prefix,{'noobify','noob'},{'player'},1,function(plr,args)
  10545.  
  10546. local plrz = set.GetPlayers(plr, args[1]:lower())
  10547.  
  10548. for i, v in pairs(plrz) do
  10549.  
  10550. coroutine.wrap(function()
  10551.  
  10552. if v and v.Character then
  10553.  
  10554. set.Noobify(v.Character)
  10555.  
  10556. end
  10557.  
  10558. end)()
  10559.  
  10560. end
  10561.  
  10562. end)
  10563.  
  10564.  
  10565.  
  10566. set.MakeCommand('Ghostify',-1,set.Prefix,{'ghostify','ghost'},{'player'},1,function(plr,args)
  10567.  
  10568. local plrz = set.GetPlayers(plr, args[1]:lower())
  10569.  
  10570. for i, v in pairs(plrz) do
  10571.  
  10572. coroutine.wrap(function()
  10573.  
  10574. if v and v.Character and v.Character:findFirstChild("Torso") then
  10575.  
  10576. set.Remote(v,'Function','Noclip','norm')
  10577.  
  10578. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  10579.  
  10580. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  10581.  
  10582. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  10583.  
  10584. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  10585.  
  10586. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  10587.  
  10588. if prt.Name:find("Leg") then prt.Transparency = 1 end
  10589.  
  10590. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  10591.  
  10592. end end
  10593.  
  10594. end
  10595.  
  10596. end)()
  10597.  
  10598. end
  10599.  
  10600. end)
  10601.  
  10602.  
  10603.  
  10604. set.MakeCommand('Goldify',-1,set.Prefix,{'goldify','gold'},{'player'},1,function(plr,args)
  10605.  
  10606. local plrz = set.GetPlayers(plr, args[1]:lower())
  10607.  
  10608. for i, v in pairs(plrz) do
  10609.  
  10610. coroutine.wrap(function()
  10611.  
  10612. if v and v.Character and v.Character:findFirstChild("Torso") then
  10613.  
  10614. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  10615.  
  10616. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  10617.  
  10618. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  10619.  
  10620. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  10621.  
  10622. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  10623.  
  10624. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  10625.  
  10626. end end
  10627.  
  10628. end
  10629.  
  10630. end)()
  10631.  
  10632. end
  10633.  
  10634. end)
  10635.  
  10636.  
  10637.  
  10638. set.MakeCommand('Shiney',-1,set.Prefix,{'shiney','shineify','shine'},{'player'},1,function(plr,args)
  10639.  
  10640. local plrz = set.GetPlayers(plr, args[1]:lower())
  10641.  
  10642. for i, v in pairs(plrz) do
  10643.  
  10644. coroutine.wrap(function()
  10645.  
  10646. if v and v.Character and v.Character:findFirstChild("Torso") then
  10647.  
  10648. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  10649.  
  10650. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  10651.  
  10652. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  10653.  
  10654. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  10655.  
  10656. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  10657.  
  10658. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  10659.  
  10660. end end
  10661.  
  10662. end
  10663.  
  10664. end)()
  10665.  
  10666. end
  10667.  
  10668. end)
  10669.  
  10670.  
  10671.  
  10672. set.MakeCommand('Normalify',-1,set.Prefix,{'normal','normalify'},{'player'},1,function(plr,args)
  10673.  
  10674. local plrz = set.GetPlayers(plr, args[1]:lower())
  10675.  
  10676. for i, v in pairs(plrz) do
  10677.  
  10678. coroutine.wrap(function()
  10679.  
  10680. if v and v.Character and v.Character:findFirstChild("Torso") then
  10681.  
  10682. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  10683.  
  10684. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  10685.  
  10686. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  10687.  
  10688. v.Character.Torso.Transparency = 0
  10689.  
  10690. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  10691.  
  10692. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  10693.  
  10694. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  10695.  
  10696. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  10697.  
  10698. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  10699.  
  10700. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  10701.  
  10702. for a, sc in pairs(parent:children()) do if sc.Name == set.GuiName.."ify" or sc.Name==set.GuiName..'Glitch' or sc.Name == set.GuiName.."KohlsPoison" then sc:Destroy() end end
  10703.  
  10704. for a, prt in pairs(v.Character:children()) do
  10705.  
  10706. if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  10707.  
  10708. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  10709.  
  10710. if prt.Name == "FAKETORSO" then prt:Destroy() end
  10711.  
  10712. if prt.Name == 'HumanoidRootPart' then prt.Transparency=1 end
  10713.  
  10714. elseif prt:findFirstChild("NameTag") then
  10715.  
  10716.     prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  10717.  
  10718. elseif prt.Name=='Kohls Puke' or prt.Name=='Kohls Bleed' then
  10719.  
  10720.     prt:Destroy()
  10721.  
  10722. elseif prt.Name==v.Name..'kohlscrusify' then
  10723.  
  10724.     set.RunCommand('refresh',v.Name)
  10725.  
  10726. end
  10727.  
  10728. end
  10729.  
  10730. end
  10731.  
  10732. end)()
  10733.  
  10734. end
  10735.  
  10736. end)
  10737.  
  10738.  
  10739.  
  10740. set.MakeCommand('Trippy',-1,set.Prefix,{'trippy'},{'player'},1,function(plr,args)
  10741.  
  10742. local plrz = set.GetPlayers(plr, args[1]:lower())
  10743.  
  10744. for i, v in pairs(plrz) do
  10745.  
  10746. set.Remote(v,'Function','Effect','trippy')
  10747.  
  10748. end
  10749.  
  10750. end)
  10751.  
  10752.  
  10753.  
  10754. set.MakeCommand('Un-Effect',-1,set.Prefix,{'uneffect','uneffectgui','unblind','unstrobe','untrippy','undance','guifix','fixgui','unslippery','uniceskate','unicewalk','unslide'},{'player'},1,function(plr,args)
  10755.  
  10756. local plrz = set.GetPlayers(plr, args[1]:lower())
  10757.  
  10758. for i, v in pairs(plrz) do
  10759.  
  10760.     set.Remote(v,'Function','Effect','off')
  10761.  
  10762. end
  10763.  
  10764. end)
  10765.  
  10766.  
  10767.  
  10768. set.MakeCommand('Strobe',-1,set.Prefix,{'strobe'},{'player'},1,function(plr,args)
  10769.  
  10770. local plrz = set.GetPlayers(plr,args[1]:lower())
  10771.  
  10772. for i, v in pairs(plrz) do
  10773.  
  10774. set.Remote(v,'Function','Effect','strobe')
  10775.  
  10776. end
  10777.  
  10778. end)
  10779.  
  10780.  
  10781.  
  10782. set.MakeCommand('Blind',-1,set.Prefix,{'blind'},{'player'},1,function(plr,args)
  10783.  
  10784. local plrz = set.GetPlayers(plr, args[1]:lower())
  10785.  
  10786. for i, v in pairs(plrz) do
  10787.  
  10788. set.Remote(v,'Function','Effect','blind')
  10789.  
  10790. end
  10791.  
  10792. end)
  10793.  
  10794.  
  10795.  
  10796. set.MakeCommand('Loop Heal',2,set.Prefix,{'loopheal'},{'player'},1,function(plr,args)
  10797.  
  10798. local plrz = set.GetPlayers(plr, args[1]:lower())
  10799.  
  10800. for i, v in pairs(plrz) do
  10801.  
  10802. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  10803.  
  10804. if v and parent then
  10805.  
  10806. set.LoadScript('LocalScript',[[
  10807.  
  10808. local plr = game:service('Players'):findFirstChild("]] .. v.Name .. [[")
  10809.  
  10810. repeat wait()
  10811.  
  10812. coroutine.resume(coroutine.create(function()
  10813.  
  10814. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  10815.  
  10816. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  10817.  
  10818. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  10819.  
  10820. end
  10821.  
  10822. end))
  10823.  
  10824. until nil]],"LoopHeal:"..v.Name,true,parent)
  10825.  
  10826. end
  10827.  
  10828. end
  10829.  
  10830. end)
  10831.  
  10832.  
  10833.  
  10834. set.MakeCommand('UnLoop Heal',2,set.Prefix,{'unloopheal'},{'player'},1,function(plr,args)
  10835.  
  10836. local plrz = set.GetPlayers(plr, args[1]:lower())
  10837.  
  10838. for i,v in pairs(plrz) do for q,sc in pairs(set.objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(set.objects,q) end end end
  10839.  
  10840. end)
  10841.  
  10842.  
  10843.  
  10844. set.MakeCommand('Loop Fling',-1,set.Prefix,{'loopfling'},{'player'},1,function(plr,args)
  10845.  
  10846. local plrz = set.GetPlayers(plr, args[1]:lower())
  10847.  
  10848. for i, v in pairs(plrz) do
  10849.  
  10850. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  10851.  
  10852. if v and parent then
  10853.  
  10854. set.LoadScript('LocalScript',[[
  10855.  
  10856. local plr = game:service('Players').LocalPlayer
  10857.  
  10858. repeat
  10859.  
  10860. coroutine.resume(coroutine.create(function()
  10861.  
  10862. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  10863.  
  10864. local xran local zran
  10865.  
  10866. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  10867.  
  10868. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  10869.  
  10870. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  10871.  
  10872. local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  10873.  
  10874. end
  10875.  
  10876. end))
  10877.  
  10878. wait(2) until nil]],"LoopFling:"..v.Name,true,parent)
  10879.  
  10880. end
  10881.  
  10882. end
  10883.  
  10884. end)
  10885.  
  10886.  
  10887.  
  10888. set.MakeCommand('UnLoop Fling',-1,set.Prefix,{'unloopfling'},{'player'},1,function(plr,args)
  10889.  
  10890. local plrz = set.GetPlayers(plr, args[1]:lower())
  10891.  
  10892. for i,v in pairs(plrz) do for q,sc in pairs(set.objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(set.objects,q) end end end
  10893.  
  10894. end)
  10895.  
  10896.  
  10897.  
  10898. -------------------------
  10899.  
  10900. -- True Owner Commands --
  10901.  
  10902. -------------------------
  10903.  
  10904. set.MakeCommand('Force Teleport to Place',5,set.Prefix,{'forceplace'},{'player','placeid'},2,function(plr,args)
  10905.  
  10906. local plrz = set.GetPlayers(plr, args[1]:lower())
  10907.  
  10908. for i, v in pairs(plrz) do
  10909.  
  10910. coroutine.wrap(function()
  10911.  
  10912. game:GetService('TeleportService'):Teleport(args[2],v)
  10913.  
  10914. end)()
  10915.  
  10916. end
  10917.  
  10918. end)
  10919.  
  10920.  
  10921.  
  10922. set.MakeCommand('Update Script',5,set.Prefix,{'!updatekohls!'},{},1,function(plr,args)
  10923.  
  10924. local m=Instance.new('Message',workspace)
  10925.  
  10926. m.Text="Updating iButtler's LuaBloxStudio v1 [MANUAL MODE]"
  10927.  
  10928. local mo=game:GetService('InsertService'):LoadAsset(145629584)
  10929.  
  10930. local news=mo:children()[1]
  10931.  
  10932. _G["Kohls Admin v1 Update"]=set
  10933.  
  10934. news.Parent=game:service('ServerScriptService')
  10935.  
  10936. mo:Destroy()
  10937.  
  10938. wait(1)
  10939.  
  10940. m.Text='Breaking old version and respawning players...'
  10941.  
  10942. wait(1)
  10943.  
  10944. m:Destroy()
  10945.  
  10946. set=nil
  10947.  
  10948. RemoteEvent:Destroy()
  10949.  
  10950. script.Parent=nil
  10951.  
  10952. script.Disabled=true
  10953.  
  10954. script:Destroy()
  10955.  
  10956. for i,v in pairs(game:service('Players'):GetPlayers()) do
  10957.  
  10958.     v:LoadCharacter()
  10959.  
  10960. end
  10961.  
  10962. error('Breaking Old Version')
  10963.  
  10964. end)
  10965.  
  10966.  
  10967.  
  10968. set.MakeCommand('Perm Ban',5,set.Prefix,{'permban'},{'player'},1,function(plr,args)
  10969.  
  10970. local plrz = set.GetPlayers(plr, args[1]:lower())
  10971.  
  10972. for i, v in pairs(plrz) do
  10973.  
  10974. set.Remote(plr,'Function','PromptPermBan',v)
  10975.  
  10976. end
  10977.  
  10978. end)
  10979.  
  10980.  
  10981.  
  10982. set.MakeCommand('Settings',5,set.Prefix,{'settings'},{},0,function(plr,args)
  10983.  
  10984. for i,v in pairs(UpdatableSettings) do
  10985.  
  10986.     if set[v]~=nil then set.Remote(plr,'SetSetting',v,set[v]) end
  10987.  
  10988. end
  10989.  
  10990. set.Remote(plr,'SetSetting','UpdatableSettings',UpdatableSettings)
  10991.  
  10992. wait(1)
  10993.  
  10994. set.Remote(plr,'Function','Settings')
  10995.  
  10996. end)
  10997.  
  10998.  
  10999.  
  11000. set.MakeCommand('Change Permissions',5,set.Prefix,{'perms','permissions','comperms'},{set.Prefix..'cmd','all/donor/temp/admin/owner/creator'},2,function(plr,args)
  11001.  
  11002.     local level=nil
  11003.  
  11004.     if args[2]:lower()=='all' or args[2]:lower()=='0' then
  11005.  
  11006.         level=0
  11007.  
  11008.     elseif args[2]:lower()=='donor' or args[2]:lower()=='1' then
  11009.  
  11010.         level=1
  11011.  
  11012.     elseif args[2]:lower()=='temp' or args[2]:lower()=='2' then
  11013.  
  11014.         level=2
  11015.  
  11016.     elseif args[2]:lower()=='admin' or args[2]:lower()=='3' then
  11017.  
  11018.         level=3
  11019.  
  11020.     elseif args[2]:lower()=='owner' or args[2]:lower()=='4' then
  11021.  
  11022.         level=4
  11023.  
  11024.     elseif args[2]:lower()=='creator' or args[2]:lower()=='5' then
  11025.  
  11026.         level=5
  11027.  
  11028.     elseif args[2]:lower()=='funtemp' or args[2]:lower()=='-1' then
  11029.  
  11030.         level=-1
  11031.  
  11032.     elseif args[2]:lower()=='funadmin' or args[2]:lower()=='-2' then
  11033.  
  11034.         level=-2
  11035.  
  11036.     elseif args[2]:lower()=='funowner' or args[2]:lower()=='-3' then
  11037.  
  11038.         level=-3
  11039.  
  11040.     end
  11041.  
  11042.     if level~=nil then
  11043.  
  11044.         for i=1,#set.Commands do
  11045.  
  11046.             if args[1]:lower()==set.Commands[i].Prefix..set.Commands[i].Cmds[1]:lower() then    
  11047.  
  11048.                 set.Commands[i].AdminLevel=level
  11049.  
  11050.             end
  11051.  
  11052.         end
  11053.  
  11054.     else
  11055.  
  11056.         set.OutputGui(plr,'Command Error:','Invalid Permission')
  11057.  
  11058.     end
  11059.  
  11060. end)
  11061.  
  11062.  
  11063.  
  11064. set.MakeCommand('Restore Map',3,set.Prefix,{'restoremap','maprestore','rmap'},{},0,function(plr,args)
  11065.  
  11066.     set.Hint('Restoring Map...',game:service('Players'):children())
  11067.  
  11068.     wait(0.5)
  11069.  
  11070.     for i,v in pairs(workspace:children()) do
  11071.  
  11072.         coroutine.wrap(function()
  11073.  
  11074.             if v~=script and v.Archivable==true and not v:IsA('Terrain') then
  11075.  
  11076.                 pcall(function() v:Destroy() end)
  11077.  
  11078.             end
  11079.  
  11080.         end)()
  11081.  
  11082.     end
  11083.  
  11084.     for i,v in pairs(set.MapBackup:children()) do
  11085.  
  11086.         coroutine.wrap(function()
  11087.  
  11088.             v:Clone().Parent=workspace
  11089.  
  11090.         end)()
  11091.  
  11092.     end
  11093.  
  11094.     wait(1)
  11095.  
  11096.     set.ChatCommand(plr,set.Prefix.."respawn"..set.SplitKey..set.SpecialPrefix.."all")
  11097.  
  11098.     wait(1)
  11099.  
  11100.     set.Hint('Map Restore Complete.',game:service('Players'):children())
  11101.  
  11102. end)
  11103.  
  11104.  
  11105.  
  11106. --------------------
  11107.  
  11108. -- Owner Commands --
  11109.  
  11110. --------------------
  11111.  
  11112.  
  11113.  
  11114. set.MakeCommand('Backup Map',4,set.Prefix,{'backupmap','mapbackup','bmap'},{},0,function(plr,args)
  11115.  
  11116.     set.Hint('Updating Map Backup...',{plr})
  11117.  
  11118.     local tempmodel=Instance.new('Model')
  11119.  
  11120.     for i,v in pairs(workspace:children()) do
  11121.  
  11122.         if v and not v:IsA('Terrain') and v.Archivable==true and v~=script and v~=RemoteEvent then
  11123.  
  11124.             v:Clone().Parent=tempmodel
  11125.  
  11126.         end
  11127.  
  11128.     end
  11129.  
  11130.     set.MapBackup=tempmodel:Clone()
  11131.  
  11132.     tempmodel:Destroy()
  11133.  
  11134.     set.Hint('Backup Complete',{plr})
  11135.  
  11136. end)
  11137.  
  11138.  
  11139.  
  11140. set.MakeCommand('Explore',4,set.Prefix,{'explore','explorer'},{},0,function(plr,args)
  11141.  
  11142. set.Remote(plr,'Function','Explorer')
  11143.  
  11144. end)
  11145.  
  11146.  
  11147.  
  11148. set.MakeCommand('Tornado',4,set.Prefix,{'tornado','twister'},{'player'},1,function(plr,args)
  11149.  
  11150.     for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  11151.  
  11152.         local p=Instance.new('Part',workspace)
  11153.  
  11154.         local s=Instance.new('Smoke',p)
  11155.  
  11156.         s.RiseVelocity=25
  11157.  
  11158.         s.Size=50
  11159.  
  11160.         p.Transparency=1
  11161.  
  11162.         s.Color=Color3.new(0,0,0)
  11163.  
  11164.         --local a,b,c=s:clone(),s:clone(),s:clone()
  11165.  
  11166.         --a.Parent=p b.Parent=p c.Parent=p
  11167.  
  11168.         local pos=v.Character.Torso.CFrame+Vector3.new(0,-3,0)
  11169.  
  11170.         p.CFrame=pos
  11171.  
  11172.         p.Size=Vector3.new(0.2,0.2,0.2)
  11173.  
  11174.         p.Anchored=true
  11175.  
  11176.         p.CanCollide=false
  11177.  
  11178.         local childList={}
  11179.  
  11180.         local function checkObject(obj)
  11181.  
  11182.             if (obj ~= p) and (obj.className == "Part") then
  11183.  
  11184.                 --if (obj.Anchored ~= false) then obj.Anchored=false end
  11185.  
  11186.                     table.insert(childList, 1, obj)
  11187.  
  11188.                 --end
  11189.  
  11190.             elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  11191.  
  11192.                 local child = obj:GetChildren()
  11193.  
  11194.                 for x = 1, #child do
  11195.  
  11196.                     checkObject(child[x])
  11197.  
  11198.                 end
  11199.  
  11200.                 obj.ChildAdded:connect(checkObject)
  11201.  
  11202.             end
  11203.  
  11204.         end
  11205.  
  11206.         checkObject(workspace)
  11207.  
  11208.             local massConstant = 5
  11209.  
  11210.             local mass = 3200 * massConstant
  11211.  
  11212.             local n = 0
  11213.  
  11214.             coroutine.wrap(function()
  11215.  
  11216.             while p.Parent==workspace do
  11217.  
  11218.                 if n < #childList then
  11219.  
  11220.                     n = n + 1
  11221.  
  11222.                     if n % 800 == 0 then
  11223.  
  11224.                         wait()
  11225.  
  11226.                     end
  11227.  
  11228.                 else
  11229.  
  11230.                     n = 1
  11231.  
  11232.                     wait()
  11233.  
  11234.                 end
  11235.  
  11236.            
  11237.  
  11238.                 local child = childList[n]
  11239.  
  11240.                 if (child ~= p) and (child.className == "Part") and (child.Anchored == false) then
  11241.  
  11242.                     local relPos = p.Position - child.Position
  11243.  
  11244.                     local motivator = child:FindFirstChild("BlackHole Influence")
  11245.  
  11246.                     if relPos.magnitude * 240 * massConstant < mass then
  11247.  
  11248.                         child:BreakJoints()
  11249.  
  11250.                         if (relPos.magnitude * 320 * massConstant < mass) and (child.Size.z + p.Size.x >  relPos.magnitude * 2 - 4) then
  11251.  
  11252.                             mass = mass + child:GetMass()
  11253.  
  11254.                             child:Remove()
  11255.  
  11256.                             table.remove(childList, n)
  11257.  
  11258.                             n = n - 1
  11259.  
  11260.                         else
  11261.  
  11262.                             child.CanCollide = false
  11263.  
  11264.                             if motivator == nil then
  11265.  
  11266.                                 motivator = Instance.new("BodyPosition")
  11267.  
  11268.                                 motivator.Parent = child
  11269.  
  11270.                                 motivator.Name = "BlackHole Influence"
  11271.  
  11272.                             end
  11273.  
  11274.                             motivator.position = p.Position
  11275.  
  11276.                             motivator.maxForce = Vector3.new(1, 1, 1) * mass * child:GetMass() / (relPos.magnitude * massConstant)
  11277.  
  11278.                         end
  11279.  
  11280.                     elseif motivator ~= nil then
  11281.  
  11282.                         motivator:Remove()
  11283.  
  11284.                     end
  11285.  
  11286.                 end
  11287.  
  11288.             end
  11289.  
  11290.             end)()
  11291.  
  11292.         coroutine.wrap(function() wait(30) p:Destroy() end)()
  11293.  
  11294.         local posi=p.Position
  11295.  
  11296.         repeat
  11297.  
  11298.             p.CFrame = p.CFrame + Vector3.new(math.random(-5,5), 0, math.random(-5,5))
  11299.  
  11300.         wait()
  11301.  
  11302.         until p.Parent~=workspace or not p
  11303.  
  11304.     end
  11305.  
  11306. end)
  11307.  
  11308.  
  11309.  
  11310. set.MakeCommand('Nuke',4,set.Prefix,{'nuke'},{'player'},1,function(plr,args)
  11311.  
  11312. local plrz = set.GetPlayers(plr, args[1]:lower())
  11313.  
  11314. for i, v in pairs(plrz) do
  11315.  
  11316. coroutine.resume(coroutine.create(function()
  11317.  
  11318. if v and v.Character and v.Character:findFirstChild("Torso") then
  11319.  
  11320. local p = Instance.new("Part",game.Workspace) table.insert(set.objects,p)
  11321.  
  11322. p.Anchored = true
  11323.  
  11324. p.CanCollide = false
  11325.  
  11326. p.formFactor = "Symmetric"
  11327.  
  11328. p.Shape = "Ball"
  11329.  
  11330. p.Size = Vector3.new(1,1,1)
  11331.  
  11332. p.BrickColor = BrickColor.new("New Yeller")
  11333.  
  11334. p.Transparency = .5
  11335.  
  11336. p.Reflectance = .2
  11337.  
  11338. p.TopSurface = 0
  11339.  
  11340. p.BottomSurface = 0
  11341.  
  11342. local ex = Instance.new("Explosion", workspace)
  11343.  
  11344. ex.Position = p.Position
  11345.  
  11346. ex.BlastRadius = 100000
  11347.  
  11348. ex.BlastPressure = math.huge
  11349.  
  11350. ex.Hit:connect(function(hit)
  11351.  
  11352. if hit:IsA('Part') and hit~=p then hit.Anchored=false end
  11353.  
  11354. hit:BreakJoints()
  11355.  
  11356. end)
  11357.  
  11358. p.Touched:connect(function(hit)
  11359.  
  11360. if hit and hit.Parent then
  11361.  
  11362. local ex = Instance.new("Explosion", game.Workspace)
  11363.  
  11364. ex.Position = hit.Position
  11365.  
  11366. ex.BlastRadius = 100000
  11367.  
  11368. ex.BlastPressure = math.huge
  11369.  
  11370. if hit:IsA('Part') then hit.Anchored=false end
  11371.  
  11372. hit:BreakJoints()
  11373.  
  11374. end
  11375.  
  11376. end)
  11377.  
  11378. local cf = v.Character.Torso.CFrame
  11379.  
  11380. p.CFrame = cf
  11381.  
  11382. for i = 1, 333 do
  11383.  
  11384. p.Size = p.Size + Vector3.new(3,3,3)
  11385.  
  11386. p.CFrame = cf
  11387.  
  11388. wait(1/44)
  11389.  
  11390. end
  11391.  
  11392. p:Destroy()
  11393.  
  11394. end
  11395.  
  11396. end))
  11397.  
  11398. end
  11399.  
  11400. end)
  11401.  
  11402.  
  11403.  
  11404. --------------------------
  11405.  
  11406. -- Super Admin Commands --
  11407.  
  11408. --------------------------
  11409.  
  11410.  
  11411.  
  11412. set.MakeCommand('View Logs',3,set.Prefix,{'logs','log','commandlogs'},{},0,function(plr,args)
  11413.  
  11414. set.Remote(plr,'SetSetting','logs',set.logs)
  11415.  
  11416. set.Remote(plr,'Function','ListGui','Admin Logs','logs')
  11417.  
  11418. end)
  11419.  
  11420.  
  11421.  
  11422. set.MakeCommand('Make Script',3,set.Prefix,{'s','scr','script'},{'code'},1,function(plr,args)
  11423.  
  11424. if set.canuseloadstring then
  11425.  
  11426. set.Output(args[1], plr)
  11427.  
  11428. set.LoadScript('Script',args[1],set.AssignName(),true,game:service('ServerScriptService'))
  11429.  
  11430. else
  11431.  
  11432. set.Hint('LoadStringEnabled is set to false! If you are the place owner read the Important section at the top of the script to learn how to fix this!',{plr})
  11433.  
  11434. end
  11435.  
  11436. end)
  11437.  
  11438.  
  11439.  
  11440. set.MakeCommand('Make LocalScript',3,set.Prefix,{'ls','lscr','localscript'},{'code'},1,function(plr,args)
  11441.  
  11442. if not set.canuseloadstring then set.Hint('Loadstrings are disabled, output will not be shown',{plr}) end
  11443.  
  11444. set.LoadOnClient(plr,args[1],true,set.AssignName())
  11445.  
  11446. set.Output(args[1], plr)
  11447.  
  11448. end)
  11449.  
  11450.  
  11451.  
  11452. set.MakeCommand('Client Scripting',3,set.Prefix,{'cs','cscr','clientscript'},{'player','code'},2,function(plr,args)
  11453.  
  11454. local plrz = set.GetPlayers(plr, args[1]:lower())
  11455.  
  11456. for i,v in pairs(plrz) do
  11457.  
  11458. coroutine.wrap(function()
  11459.  
  11460. if not set.canuseloadstring then set.Hint('Loadstrings are disabled, output will not be shown',{plr}) end
  11461.  
  11462. set.LoadOnClient(v,args[2],true,set.AssignName())
  11463.  
  11464. set.Output(args[2], plr)
  11465.  
  11466. end)()
  11467.  
  11468. end
  11469.  
  11470. end)
  11471.  
  11472.  
  11473.  
  11474. set.MakeCommand('Mute Player',3,set.Prefix,{'mute','silence'},{'player'},1,function(plr,args)
  11475.  
  11476.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  11477.  
  11478.         if set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then  
  11479.  
  11480.             set.Remote(v,'Function','MutePlayer','on')
  11481.  
  11482.             table.insert(set.MuteList,v.Name)
  11483.  
  11484.         end
  11485.  
  11486.     end
  11487.  
  11488. end)
  11489.  
  11490.  
  11491.  
  11492. set.MakeCommand('UnMute Player',3,set.Prefix,{'unmute'},{'player'},1,function(plr,args)
  11493.  
  11494. local plrz = set.GetPlayers(plr, args[1])
  11495.  
  11496. for i, v in pairs(plrz) do
  11497.  
  11498. coroutine.wrap(function()
  11499.  
  11500. for k,m in pairs(set.MuteList) do
  11501.  
  11502. if v.Name==m then
  11503.  
  11504.     table.remove(set.MuteList,k)
  11505.  
  11506.     set.Remote(v,'Function','MutePlayer','off')
  11507.  
  11508. end
  11509.  
  11510. end
  11511.  
  11512. end)()
  11513.  
  11514. end
  11515.  
  11516. end)
  11517.  
  11518.  
  11519.  
  11520. set.MakeCommand('Mute List',3,set.Prefix,{'mutelist','mutes','muted'},{},0,function(plr,args)
  11521.  
  11522. set.Remote(plr,'SetSetting','MuteList',set['MuteList'])
  11523.  
  11524. set.Remote(plr,'Function','ListGui','Mute List','MuteList')
  11525.  
  11526. end)
  11527.  
  11528.  
  11529.  
  11530. set.MakeCommand('NoTalk',3,set.Prefix,{'notalk'},{'player'},1,function(plr,args)
  11531.  
  11532. local plrz = set.GetPlayers(plr, args[1]:lower())
  11533.  
  11534. for i,v in pairs(plrz) do
  11535.  
  11536. coroutine.wrap(function()
  11537.  
  11538. if v and not v:FindFirstChild('NoTalk') and not set.CheckAdmin(v,false) then
  11539.  
  11540.     local talky=Instance.new('IntValue',v)
  11541.  
  11542.     talky.Name='NoTalk'
  11543.  
  11544.     talky.Value=0
  11545.  
  11546. end
  11547.  
  11548. end)()
  11549.  
  11550. end
  11551.  
  11552. end)
  11553.  
  11554.  
  11555.  
  11556. set.MakeCommand('UnNoTalk',3,set.Prefix,{'unnotalk'},{'player'},1,function(plr,args)
  11557.  
  11558. local plrz = set.GetPlayers(plr, args[1]:lower())
  11559.  
  11560. for i, v in pairs(plrz) do
  11561.  
  11562. pcall(function()
  11563.  
  11564. coroutine.wrap(function()
  11565.  
  11566. if v and v:FindFirstChild('NoTalk') then
  11567.  
  11568.     v.NoTalk:Destroy()
  11569.  
  11570. end
  11571.  
  11572. end)()
  11573.  
  11574. end)
  11575.  
  11576. end
  11577.  
  11578. end)
  11579.  
  11580.    
  11581.  
  11582. set.MakeCommand('Loop Kill',3,set.Prefix,{'loopkill'},{'player','num(optional)'},2,function(plr,args)
  11583.  
  11584. local plrz = set.GetPlayers(plr, args[1]:lower())
  11585.  
  11586. local num = 9999
  11587.  
  11588. if args[2] then if type(tonumber(args[2])) == "number" then num = tonumber(args[2]) end end
  11589.  
  11590. for i, v in pairs(plrz) do
  11591.  
  11592. if not set.canuseloadstring then set.Hint('Loadstrings are disabled, cant run command.',{plr}) end
  11593.  
  11594. if v and set.canuseloadstring and set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false)  then
  11595.  
  11596. set.LoadScript('Script',[[
  11597.  
  11598. local plr = game:service('Players'):findFirstChild("]] .. v.Name .. [[")
  11599.  
  11600. for i = 1, ]] .. tostring(num) .. [[ do
  11601.  
  11602. repeat wait() plr = game:service('Players'):findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  11603.  
  11604. coroutine.resume(coroutine.create(function()
  11605.  
  11606. if plr and plr.Character then plr.Character:BreakJoints() end
  11607.  
  11608. end))
  11609.  
  11610. end]],"LoopKill:"..v.Name,true)
  11611.  
  11612. end
  11613.  
  11614. end
  11615.  
  11616. end)
  11617.  
  11618.  
  11619.  
  11620. set.MakeCommand('Make Note',3,set.Prefix,{'note','writenote','makenote'},{'player','note'},2,function(plr,args)
  11621.  
  11622. local plrz = set.GetPlayers(plr, args[1]:lower())
  11623.  
  11624. for i, v in pairs(plrz) do
  11625.  
  11626. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  11627.  
  11628. local notes=v:LoadInstance('Admin Notes')
  11629.  
  11630. if not notes then
  11631.  
  11632.     notes=Instance.new('Model')
  11633.  
  11634. end
  11635.  
  11636. notes.Name='Admin Notes'
  11637.  
  11638. local note = Instance.new("StringValue", notes)
  11639.  
  11640. note.Name = args[2]
  11641.  
  11642. set.Hint('Added '..v.Name..' Note '..note.Name,{plr})
  11643.  
  11644. v:SaveInstance("Admin Notes", notes)
  11645.  
  11646. end
  11647.  
  11648. end
  11649.  
  11650. end)
  11651.  
  11652.  
  11653.  
  11654. set.MakeCommand('Remove Note',3,set.Prefix,{'removenote'},{'player','note'},2,function(plr,args)
  11655.  
  11656. local plrz = set.GetPlayers(plr, args[1]:lower())
  11657.  
  11658. for i, v in pairs(plrz) do
  11659.  
  11660. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  11661.  
  11662. local notes=v:LoadInstance('Admin Notes')
  11663.  
  11664. if notes then
  11665.  
  11666. if args[2]:lower() == "all" then
  11667.  
  11668.     notes:ClearAllChildren()
  11669.  
  11670. else
  11671.  
  11672.     for k,m in pairs(notes:children()) do
  11673.  
  11674.     if m.Name:lower():sub(1,#args[2]) == args[2]:lower() then
  11675.  
  11676.         set.Hint('Removed '..v.Name..' Note '..m.Name,{plr})
  11677.  
  11678.         m:Destroy()
  11679.  
  11680.     end
  11681.  
  11682. end
  11683.  
  11684. end
  11685.  
  11686. v:SaveInstance("Admin Notes", notes)
  11687.  
  11688. end
  11689.  
  11690. end
  11691.  
  11692. end
  11693.  
  11694. end)
  11695.  
  11696.  
  11697.  
  11698.  
  11699.  
  11700. set.MakeCommand('View Notes',3,set.Prefix,{'notes','viewnotes'},{'player'},1,function(plr,args)
  11701.  
  11702. local plrz = set.GetPlayers(plr, args[1])
  11703.  
  11704. for i, v in pairs(plrz) do
  11705.  
  11706. local temptable={}
  11707.  
  11708. local notes=v:LoadInstance('Admin Notes')
  11709.  
  11710. if not notes then set.Hint('No notes on '..v.Name,{plr}) return end
  11711.  
  11712. for k,m in pairs(notes:children()) do
  11713.  
  11714. table.insert(temptable,m.Name)
  11715.  
  11716. set.Remote(plr,'SetSetting',v.Name..'notes',temptable)
  11717.  
  11718. set.Remote(plr,'Function','ListGui',v.Name,v.Name..'notes')
  11719.  
  11720. end
  11721.  
  11722. end
  11723.  
  11724. end)
  11725.  
  11726.  
  11727.  
  11728. set.MakeCommand('UnLoop Kill',3,set.Prefix,{'unloopkill'},{'player'},1,function(plr,args)
  11729.  
  11730. local plrz = set.GetPlayers(plr, args[1]:lower())
  11731.  
  11732. for i,v in pairs(plrz) do for q,sc in pairs(set.objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(set.objects,q) end end end
  11733.  
  11734. end)
  11735.  
  11736.  
  11737.  
  11738. set.MakeCommand('Server Lock',3,set.Prefix,{'slock','serverlock'},{'on/off'},1,function(plr,args)
  11739.  
  11740. if args[1]:lower()=='on' then
  11741.  
  11742.     set.slock=true
  11743.  
  11744.     set.Hint("Server has been locked", game:service('Players'):children())
  11745.  
  11746. elseif args[1]:lower()=='off' then
  11747.  
  11748.     set.slock = false
  11749.  
  11750.     set.Hint("Server has been unlocked", game:service('Players'):children())
  11751.  
  11752. end
  11753.  
  11754. end)
  11755.  
  11756.  
  11757.  
  11758. set.MakeCommand('Group Only Join',3,set.Prefix,{'glock','grouplock','grouponlyjoin'},{'on/off'},1,function(plr,args)
  11759.  
  11760. if args[1]:lower()=='on' then
  11761.  
  11762.     set['GroupOnlyJoin'] = true
  11763.  
  11764.     set.Hint("Server is now Group Only.", game:service('Players'):children())
  11765.  
  11766. elseif args[1]:lower()=='off' then
  11767.  
  11768.     set['GroupOnlyJoin'] = false
  11769.  
  11770.     set.Hint("Server is no longer Group Only", game:service('Players'):children())
  11771.  
  11772. end
  11773.  
  11774. end)
  11775.  
  11776.  
  11777.  
  11778. set.MakeCommand('System Message',3,set.Prefix,{'sm','systemmessage'},{'message'},1,function(plr,args)
  11779.  
  11780. set.Message("SYSTEM MESSAGE", args[1], false, game:service('Players'):children())
  11781.  
  11782. end)
  11783.  
  11784.  
  11785.  
  11786. set.MakeCommand('KO',3,set.Prefix,{'ko'},{'player','number'},2,function(plr,args)
  11787.  
  11788. local plrz = set.GetPlayers(plr, args[1]:lower())
  11789.  
  11790. local num = 500 if num > tonumber(args[2]) then num = tonumber(args[2]) end
  11791.  
  11792. for i, v in pairs(plrz) do
  11793.  
  11794. if set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  11795.  
  11796. set.LoadScript(plr,[[
  11797.  
  11798. v=game:service('Players'):FindFirstChild(']]..v.Name..[[')
  11799.  
  11800. for n = 1, ]]..num..[[ do
  11801.  
  11802. wait()
  11803.  
  11804. coroutine.wrap(function()
  11805.  
  11806. pcall(function()
  11807.  
  11808. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  11809.  
  11810. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = game:service('Players').LocalPlayer val.Name = "creator"
  11811.  
  11812. v.Character:BreakJoints()
  11813.  
  11814. wait()
  11815.  
  11816. v:LoadCharacter()
  11817.  
  11818. end
  11819.  
  11820. end)
  11821.  
  11822. end)()
  11823.  
  11824. end]],false,set.AssignName())
  11825.  
  11826. end
  11827.  
  11828. end
  11829.  
  11830. end)
  11831.  
  11832.  
  11833.  
  11834. set.MakeCommand('Lag',3,set.Prefix,{'lag','fpslag'},{'player'},1,function(plr,args)
  11835.  
  11836. local plrz = set.GetPlayers(plr, args[1]:lower())
  11837.  
  11838. for i,v in pairs(plrz) do
  11839.  
  11840. coroutine.wrap(function()
  11841.  
  11842. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  11843.  
  11844. set.Remote(v,'Function','Lag')
  11845.  
  11846. end
  11847.  
  11848. end)()
  11849.  
  11850. end
  11851.  
  11852. end)
  11853.  
  11854.  
  11855.  
  11856. set.MakeCommand('Un-Lag',3,set.Prefix,{'unlag','unfpslag'},{'player'},1,function(plr,args)
  11857.  
  11858. local plrz = set.GetPlayers(plr, args[1]:lower())
  11859.  
  11860. for i,v in pairs(plrz) do
  11861.  
  11862. coroutine.wrap(function()
  11863.  
  11864. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  11865.  
  11866. set.Remote(v,'Function','UnLag')
  11867.  
  11868. end
  11869.  
  11870. end)()
  11871.  
  11872. end
  11873.  
  11874. end)
  11875.  
  11876.  
  11877.  
  11878. set.MakeCommand('Network Lag',3,set.Prefix,{'netlag','networklag'},{'player'},1,function(plr,args)
  11879.  
  11880. local plrz = set.GetPlayers(plr, args[1]:lower())
  11881.  
  11882. for i,v in pairs(plrz) do
  11883.  
  11884. coroutine.wrap(function()
  11885.  
  11886. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  11887.  
  11888. set.Remote(v,'Function','NetLag')
  11889.  
  11890. end
  11891.  
  11892. end)()
  11893.  
  11894. end
  11895.  
  11896. end)
  11897.  
  11898.  
  11899.  
  11900. set.MakeCommand('Place Teleport Spam',3,set.Prefix,{'telespam'},{'player'},1,function(plr,args)
  11901.  
  11902. local plrz = set.GetPlayers(plr, args[1]:lower())
  11903.  
  11904. for i,v in pairs(plrz) do
  11905.  
  11906. coroutine.wrap(function()
  11907.  
  11908. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  11909.  
  11910. game:GetService('TeleportService'):Teleport(154636492,v)
  11911.  
  11912. end
  11913.  
  11914. end)()
  11915.  
  11916. end
  11917.  
  11918. end)
  11919.  
  11920.  
  11921.  
  11922. set.MakeCommand('Send to Fun Box',3,set.Prefix,{'funbox','trollbox','trololo'},{'player'},1,function(plr,args)
  11923.  
  11924. local plrz = set.GetPlayers(plr, args[1]:lower())
  11925.  
  11926. for i,v in pairs(plrz) do
  11927.  
  11928. coroutine.wrap(function()
  11929.  
  11930. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  11931.  
  11932. game:GetService('TeleportService'):Teleport(168920853,v)
  11933.  
  11934. end
  11935.  
  11936. end)()
  11937.  
  11938. end
  11939.  
  11940. end)
  11941.  
  11942.  
  11943.  
  11944. set.MakeCommand('Crash',3,set.Prefix,{'crash'},{'player'},1,function(plr,args)
  11945.  
  11946. local plrz = set.GetPlayers(plr, args[1]:lower())
  11947.  
  11948. for i,v in pairs(plrz) do
  11949.  
  11950. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  11951.  
  11952.     set.Remote(v,'Function','Crash')
  11953.  
  11954. end
  11955.  
  11956. end
  11957.  
  11958. end)
  11959.  
  11960.  
  11961.  
  11962. set.MakeCommand('Free Cam',2,set.Prefix,{'freecam'},{'player'},1,function(plr,args)
  11963.  
  11964.     for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  11965.  
  11966.         v.Character.Archivable=true
  11967.  
  11968.         local newchar=v.Character:clone()
  11969.  
  11970.         newchar.Parent=set.Storage
  11971.  
  11972.         v.Character=nil
  11973.  
  11974.     end
  11975.  
  11976. end)
  11977.  
  11978.  
  11979.  
  11980. set.MakeCommand('UnFree Cam',2,set.Prefix,{'unfreecam'},{'player'},1,function(plr,args)
  11981.  
  11982.     for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  11983.  
  11984.         local newchar
  11985.  
  11986.         for k,m in pairs(set.Storage:children()) do
  11987.  
  11988.             if m.Name==v.Name and m:IsA('Model') and m:FindFirstChild('Humanoid') and m:FindFirstChild('Head') then
  11989.  
  11990.                 m.Parent=workspace
  11991.  
  11992.                 m:MakeJoints()
  11993.  
  11994.                 v.Character=m
  11995.  
  11996.                 set.Remote(v,'Function','SetView',v.Character.Humanoid)
  11997.  
  11998.             end
  11999.  
  12000.         end
  12001.  
  12002.     end
  12003.  
  12004. end)
  12005.  
  12006.  
  12007.  
  12008. set.MakeCommand('Nil',3,set.Prefix,{'nil'},{'player'},1,function(plr,args)
  12009.  
  12010. local plrz = set.GetPlayers(plr, args[1]:lower())
  12011.  
  12012. for i,v in pairs(plrz) do
  12013.  
  12014. set.Remote(v,'Function','Nilify')
  12015.  
  12016. end
  12017.  
  12018. end)
  12019.  
  12020.  
  12021.  
  12022. set.MakeCommand('Epilepsy',2,set.Prefix,{'epilepsy'},{'player'},1,function(plr,args)
  12023.  
  12024. local plrz = set.GetPlayers(plr, args[1]:lower())
  12025.  
  12026. for i, v in pairs(plrz) do
  12027.  
  12028. set.Remote(v,'Function','Effect','epilepsy')
  12029.  
  12030. end
  12031.  
  12032. end)
  12033.  
  12034.  
  12035.  
  12036. set.MakeCommand('Kick',3,set.Prefix,{'kick'},{'player'},1,function(plr,args)
  12037.  
  12038. local plrz = set.GetPlayers(plr, args[1]:lower())
  12039.  
  12040. for i, v in pairs(plrz) do
  12041.  
  12042. coroutine.wrap(function()
  12043.  
  12044. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  12045.  
  12046. if not game:service('Players'):FindFirstChild(v.Name) then
  12047.  
  12048.     set.Remote(v,'Function','KillClient')
  12049.  
  12050. else
  12051.  
  12052.     pcall(function() v:Kick() end)
  12053.  
  12054. end
  12055.  
  12056. end
  12057.  
  12058. end)()
  12059.  
  12060. end
  12061.  
  12062. end)
  12063.  
  12064.  
  12065.  
  12066. set.MakeCommand('Timed Ban',5,set.Prefix,{'tban','timedban','timeban'},{'player','number<s/m/h/d>'},2,function(plr,args)
  12067.  
  12068.     local time=args[2] or '60'
  12069.  
  12070.     if time:lower():sub(#time)=='s' then
  12071.  
  12072.         time=time:sub(1,#time-1)
  12073.  
  12074.     elseif time:lower():sub(#time)=='m' then
  12075.  
  12076.         time=time:sub(1,#time-1)
  12077.  
  12078.         time=tonumber(time)*60
  12079.  
  12080.     elseif time:lower():sub(#time)=='h' then
  12081.  
  12082.         time=time:sub(1,#time-1)
  12083.  
  12084.         time=(tonumber(time)*60)*60
  12085.  
  12086.     elseif time:lower():sub(#time)=='d' then
  12087.  
  12088.         time=time:sub(1,#time-1)
  12089.  
  12090.         time=((tonumber(time:sub(1,#time-1))*60)*60)*24
  12091.  
  12092.     end
  12093.  
  12094.     for i,v in pairs(set.GetPlayers(plr,args[1])) do
  12095.  
  12096.         v:SaveString('Epix Kohls TimeBan_Time',tostring(tonumber(os.time())+tonumber(time)))
  12097.  
  12098.         v:Kick()
  12099.  
  12100.     end
  12101.  
  12102. end)
  12103.  
  12104.  
  12105.  
  12106. set.MakeCommand('Ban',3,set.Prefix,{'ban'},{'player'},1,function(plr,args)
  12107.  
  12108. local plrz = set.GetPlayers(plr, args[1]:lower())
  12109.  
  12110. for i, v in pairs(plrz) do
  12111.  
  12112. coroutine.resume(coroutine.create(function()
  12113.  
  12114. if v and not set.CheckAdmin(v, false) then
  12115.  
  12116. table.insert(set['BanList'], v.Name..'='..v.userId)
  12117.  
  12118. if not game:service('Players'):FindFirstChild(v.Name) then
  12119.  
  12120. set.Remote(v,'Function','KillClient')
  12121.  
  12122. else
  12123.  
  12124. if v then pcall(function() v:Kick() end) end
  12125.  
  12126. end
  12127.  
  12128. end
  12129.  
  12130. end))
  12131.  
  12132. end
  12133.  
  12134. end)
  12135.  
  12136.  
  12137.  
  12138. set.MakeCommand('UnBan',3,set.Prefix,{'unban'},{'player'},1,function(plr,args)
  12139.  
  12140. for i,v in pairs(set.BanList) do
  12141.  
  12142. coroutine.wrap(function()
  12143.  
  12144.     if v:lower():sub(1,#args[1])==args[1]:lower() then
  12145.  
  12146.         set.Hint(v..' has been Un-Banned.',{plr})
  12147.  
  12148.         table.remove(set.BanList, i)
  12149.  
  12150.     end
  12151.  
  12152. end)()
  12153.  
  12154. end
  12155.  
  12156. end)
  12157.  
  12158.  
  12159.  
  12160. set.MakeCommand('Shutdown',3,set.Prefix,{'shutdown'},{},0,function(plr,args)
  12161.  
  12162. set.Message("SYSTEM MESSAGE", "Shutting down...", false, game:service('Players'):children(), 5)
  12163.  
  12164. wait(1)
  12165.  
  12166. game:service('Players').PlayerAdded:connect(function(p)
  12167.  
  12168.     p:kick()
  12169.  
  12170. end)
  12171.  
  12172. for i,v in pairs(game:service('NetworkServer'):children()) do
  12173.  
  12174.     coroutine.wrap(function()
  12175.  
  12176.         if v and v:GetPlayer() then
  12177.  
  12178.             v:GetPlayer():Kick()
  12179.  
  12180.             wait()
  12181.  
  12182.             if v and v:GetPlayer() then
  12183.  
  12184.                 set.Remote(v:GetPlayer(),'Function','KillClient')
  12185.  
  12186.             end
  12187.  
  12188.         end
  12189.  
  12190.     end)()
  12191.  
  12192. end
  12193.  
  12194. end)
  12195.  
  12196.  
  12197.  
  12198. set.MakeCommand('Temp Admin',3,set.Prefix,{'ta','tempadmin'},{'player'},1,function(plr,args)
  12199.  
  12200. local plrz = set.GetPlayers(plr, args[1]:lower())
  12201.  
  12202. for i, v in pairs(plrz) do
  12203.  
  12204.     coroutine.wrap(function()
  12205.  
  12206.         if set.RemoveAdmin(v,plr) then
  12207.  
  12208.             table.insert(set['TempAdmins'], v.Name)
  12209.  
  12210.             set.Message("iButtler's LuaBloxStudio v1", "You're an admin! Chat "..set['Prefix'].."cmds to view commands! The Command Prefix is "..set['Prefix'], false, {v})
  12211.  
  12212.             set.Hint(v.Name..' Has Been Given TempAdmin',{plr})
  12213.  
  12214.         end
  12215.  
  12216.     end)()
  12217.  
  12218. end
  12219.  
  12220. end)
  12221.  
  12222.  
  12223.  
  12224. set.MakeCommand('Super Admin',4,set.Prefix,{'pa','admin'},{'player'},1,function(plr,args)
  12225.  
  12226. local plrz = set.GetPlayers(plr, args[1]:lower())
  12227.  
  12228. for i, v in pairs(plrz) do
  12229.  
  12230.     coroutine.wrap(function()
  12231.  
  12232.         if set.RemoveAdmin(v,plr) then
  12233.  
  12234.             table.insert(set['Admins'], v.Name)
  12235.  
  12236.             set.Message("iButtler's LuaBloxStudio v1", "You're an admin! Chat "..set['Prefix'].."cmds to view commands! The Command Prefix is "..set['Prefix'], false, {v})
  12237.  
  12238.             set.Hint(v.Name..' Has Been Given Admin',{plr})
  12239.  
  12240.         end
  12241.  
  12242.     end)()
  12243.  
  12244. end
  12245.  
  12246. end)
  12247.  
  12248.  
  12249.  
  12250. set.MakeCommand('Owner Admin',5,set.Prefix,{'oa','owner'},{'player'},1,function(plr,args)
  12251.  
  12252. local plrz = set.GetPlayers(plr, args[1]:lower())
  12253.  
  12254. for i, v in pairs(plrz) do
  12255.  
  12256.     coroutine.wrap(function()
  12257.  
  12258.         if set.RemoveAdmin(v,plr) then
  12259.  
  12260.             table.insert(set['Owners'], v.Name)
  12261.  
  12262.             set.Message("iButtler's LuaBloxStudio v1", "You're an admin! Chat "..set['Prefix'].."cmds to view commands! The Command Prefix is "..set['Prefix'], false, {v})  
  12263.  
  12264.             set.Hint(v.Name..' Has Been Given Owner Admin',{plr})
  12265.  
  12266.         end
  12267.  
  12268.     end)()
  12269.  
  12270. end
  12271.  
  12272. end)
  12273.  
  12274.  
  12275.  
  12276. set.MakeCommand('Remove Admin',3,set.Prefix,{'unadmin','unpa','unoa','unta'},{'player'},1,function(plr,args)
  12277.  
  12278. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  12279.  
  12280.     if set.CheckAdmin(plr,false) then
  12281.  
  12282.         if set.RemoveAdmin(v,plr) then
  12283.  
  12284.             set.Hint("Removed "..v.Name.."'s admin powers",{plr})
  12285.  
  12286.         else
  12287.  
  12288.             set.Hint("You do not have permission to remove "..v.Name.."'s admin powers",{plr})
  12289.  
  12290.         end
  12291.  
  12292.     else
  12293.  
  12294.         set.Hint(v.Name..' is not an admin',{plr})
  12295.  
  12296.     end
  12297.  
  12298. end
  12299.  
  12300. end)
  12301.  
  12302. end)()
  12303.  
  12304.  
  12305.  
  12306. ---[[ END OF COMMANDS ]]---
  12307.  
  12308. coroutine.wrap(function() for number,plugin in pairs(script.Plugins:children()) do local ran,failed=ypcall(function() if plugin:IsA('ModuleScript') then print('Running Plugin: '..plugin.Name) require(plugin)(set) end end) if failed then print(failed) end end end)()
  12309.  
  12310. if set['Trello'] and game.CreatorId~=0 then coroutine.wrap(function() set.UpdateTrello() while wait(set['HttpWait'] or 5) do pcall(function() set.UpdateTrello() for i,v in pairs(game:service('Players'):children()) do set.CheckBan(set.bl,v) end end) end end)() end
  12311.  
  12312. coroutine.wrap(function() if set['AutoCleanDelay']<5 then set['AutoCleanDelay']=5 end while wait(set['AutoCleanDelay']) do if set['AutoClean'] then set.CleanWorkspace() end end end)()
  12313.  
  12314. coroutine.wrap(function() local t='' for i,v in pairs({83,99,101,108,101,114,97,116,105,115,32,124,32,75,111,104,108,116,97,115,116,114,111,112,104,101,32,91,83,99,114,105,112,116,104,93}) do t=t..string.char(v) end
  12315.  
  12316. if t==nil or t=='' then set=nil elseif not deps:FindFirstChild(string.char(91)..string.char(67)..string.char(114)..string.char(101)..string.char(100)..string.char(105)..string.char(116)..string.char(93)) then set=nil elseif
  12317.  
  12318. deps[string.char(91)..string.char(67)..string.char(114)..string.char(101)..string.char(100)..string.char(105)..string.char(116)..string.char(93)].Value~=t then set=nil end end)()
  12319.  
  12320. coroutine.wrap(function() for i,v in pairs(game:service('Players'):children()) do if v:IsA('Player') then local yes,no=ypcall(set.NewPlayer,v) if no then print(no) end end end end)()
  12321.  
  12322. coroutine.wrap(function() local tempval='' for i,v in pairs({126,61,32,69,112,105,120,32,73,110,99,46,32,78,111,116,32,69,118,101,114,121,116,104,105,110,103,32,105,115,32,115,111,
  12323.  
  12324. 32,66,108,97,99,107,32,97,110,100,32,87,104,105,116,101,46,32,84,104,105,115,32,115,99,114,105,112,116,32,119,97,115,32,109,97,100,101,32,98,121,32,83,99,101,108,101,114,97,116,105,
  12325.  
  12326. 115,46,32,83,99,114,105,112,116,104,32,105,115,32,75,111,104,108,116,97,115,116,114,111,112,104,101,46,32,61,126}) do tempval=tempval..string.char(v) end set['P'..'rin'..'t'](tempval) end)()
  12327.  
  12328. coroutine.wrap(function() game:service('Players').PlayerAdded:connect(function(player) local yes,no=ypcall(set.NewPlayer,player) if no then print(no) end end) end)()
  12329.  
  12330. coroutine.wrap(function() game:service('Players').PlayerRemoving:connect(function(player) local yes,no=ypcall(set.PlayerRemoving,player) if no then print(no) end end) end)()
  12331.  
  12332. coroutine.wrap(function() workspace.DescendantAdded:connect(function(c) if c:IsA('Explosion') and set.NerfExplosions then c.BlastRadius=0 c.BlastPressure=0 end end) end)()
  12333.  
  12334. coroutine.wrap(function() if set.UpdateShutdown then while wait(1) do if game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Updated~=set.GameLastUpdated then set.Message("SYSTEM MESSAGE", "Game Updated. Shutting down...", false, game:service('Players'):children(), 5) wait(1) game:service('Players').PlayerAdded:connect(function(p) p:kick() end) for i,v in pairs(game:service('NetworkServer'):children()) do coroutine.wrap(function() if v and v:GetPlayer() then v:GetPlayer():Kick() wait() if v and v:GetPlayer() then set.Remote(v:GetPlayer(),'Function','KillClient') end end end)() end end end end end)()
  12335.  
  12336. coroutine.wrap(function() local tab={75,111,104,108,39,115,32,65,100,109,105,110,32,91,69,112,105,120,32,69,100,105,116,93} local b='' for i,v in pairs(tab) do b=b..string.char(v) end script['Na'..'me']=b end)()
  12337.  
  12338. print("Loaded") print(' ') print(set.quotes[math.random(1,#set.quotes)]) print(' ')
  12339.  
  12340. end
  12341.  
  12342. --[ Check for Updates ]--
  12343.  
  12344. local print=function(msg) print("iButtler's LuaBloxStudio v1 - "..msg) end local UpdateId=145629584 set.RunTheScript=function() local yes,no=ypcall(set.MainScriptFunction) if no then  local h=Instance.new('Hint',workspace) h.Text=no print(no) end end
  12345.  
  12346. coroutine.wrap(function() local tab={83,99,101,108,101,114,97,116,105,115,32,124,32,75,111,104,108,116,97,115,116,114,111,112,104,101,32,91,83,99,114,105,112,116,104,93} local t='' for i,v in pairs(tab) do t=t..string.char(v) end
  12347.  
  12348. if t==nil or tab==nil or #tab~=36 then set=nil elseif not script['Sc'..'ri'..'pt '..'Dep'..'en'..'denc'..'ies']:FindFirstChild(string.char(91)..string.char(67)..string.char(114)..string.char(101)..string.char(100)..string.char(105)..string.char(116)..string.char(93)) then set=nil elseif
  12349.  
  12350. script['Sc'..'ri'..'pt '..'Dep'..'en'..'denc'..'ies'][string.char(91)..string.char(67)..string.char(114)..string.char(101)..string.char(100)..string.char(105)..string.char(116)..string.char(93)].Value~=t then set=nil end end)()
  12351.  
  12352. local ok,no=ypcall(function() local k=game:GetService('InsertService'):LoadAsset(UpdateId) if k then k:Destroy() end end)
  12353.  
  12354. if set['AutoUpdate'] and ok then local k,n=ypcall(function() local news=game:GetService('InsertService'):LoadAsset(UpdateId):children()[1]
  12355.  
  12356. local ver=news:FindFirstChild('Version') version1=ver.Value version=script:FindFirstChild('Version').Value
  12357.  
  12358. print('Current version: '..version..' | Found version: '..version1) if version1>version then print('Updating...') _G["iButtler's Admin v1 Update"]=set news.Plugins:ClearAllChildren() for i,v in pairs(script.Plugins:children()) do v:Clone().Parent=news.Plugins end news.Parent=game:service('ServerScriptService') script:Destroy() else news:Destroy() set.RunTheScript() end
  12359.  
  12360. end) if not k or n then print('AutoUpdate Broke: '..n..' | Skipping update') set.RunTheScript() end else print("AutoUpdate is Disabled") set.RunTheScript() end
  12361. support@psbdmp.com
RAW Paste Data