Advertisement
Guest User

Untitled

a guest
Jul 8th, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 258.10 KB | None | 0 0
  1.  
  2. ----------------------------------------------------------------------------------------------
  3. -- Kohl's Admin [Epix Edition] --
  4. ----------------------------------------------------------------------------------------------
  5. local set={--Main Script Table, DO NOT CHANGE OR TOUCH AT ALL OR YOU WILL BREAK EVERYTHING! --
  6. ----------------------------------------------------------------------------------------------
  7.  
  8. --SETTINGS--
  9.  
  10. ------------------------------
  11. -- true=on -- false=off --
  12. ------------------------------
  13.  
  14. ----------------------------------------------------------------
  15. -- Make sure there is a ; after each setting, as shown below! --
  16. ----------------------------------------------------------------
  17.  
  18. --Important Script Information is BELOW the settings--
  19.  
  20. --------------------------
  21. -- Important Settings --
  22. --------------------------
  23.  
  24. ['ChangedSettingsStick'] = true; --Do settings you change in-game save? (this includes bans, admins, etc etc)
  25.  
  26. ['SettingsToIgnore'] = {}; --Place settings to ignore here
  27.  
  28. ['DataStoreKey'] = "Kohl's Admin [Epix Edition][JK$KJh3]"; --Datastore key
  29.  
  30. ['Storage'] = game:service('ServerStorage'); --Set this to where you store things (such as tools) game:service('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.
  31.  
  32. --------------
  33. -- Trello --
  34. --------------
  35.  
  36. --You NEED to enable HttpEnabled in order for this to work! To enable it follow the below instructions:
  37. --Run this following command in the command bar as shown in the screenshot: game:service('HttpService').HttpEnabled=true print('Enabled Http')
  38. --Screen shot: http://prntscr.com/46uztz
  39.  
  40. ['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)
  41.  
  42. ['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.)
  43.  
  44. ['HttpWait'] = 10; --How often (in seconds) should the list(s) update? Recommended 10+ to avoid HttpService problems
  45.  
  46. --[[
  47. How to set up your own multi-game list for your games:
  48.  
  49. Below instructions are for bans but can also be applied to admin lists,
  50. refer to "To use this for synced admin lists" under the instructions for admin lists info.
  51.  
  52. By default the Trello settings are set to use our ban list of exploiters, but you may
  53. want to change it so that you can set up and control your own multi-game, autoupdating
  54. list(s). So now I am going to tell you how to do that.
  55.  
  56. 1. Enable Http, refer to a few lines up to learn how to easily and quickly do that.
  57. 2. Make a Trello account (or sign in with google)
  58. -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
  59. 3. After you sign up/log in you need to make a new board, click the + then click "New Board..." - http://prntscr.com/46v2fq
  60. 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
  61. 5. Change one of the lists titles to "Ban List" In the screenshot I accidentally typed "cards" instead of "lists" - http://prntscr.com/46v5af
  62. 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
  63. 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
  64. 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!
  65. Use our site for reference: https://trello.com/b/9HH6BEX2/epix-incorporated-synced-ban-list
  66.  
  67. To use this for synced admin lists, simply repeat the above steps replacing Ban List with
  68. Admin List, TempAdmin List, or Owner List, anyone added to these list will appear in
  69. the admin list with [Synced] next to their name, they will not be able to be unadmined.
  70. Admin lists do not yet support Group: NAME:ID or USER:ID formats, at the moment you can
  71. only add the person's username and will need to change it if they change their name.
  72. Future ID support for admin lists is planned.
  73. --]]
  74.  
  75. ---------------------
  76. -- Tables --
  77. ---------------------
  78.  
  79. ['Owners'] = {"RisingTek33"}; -- Are able to set Admins who can ban/etc... using :pa name, format is USERNAME or USERNAME=USERID
  80.  
  81. ['Admins'] = {}; -- Sets Admins who can use ban/kick/admin or shutdown, format is USERNAME or USERNAME=USERID
  82.  
  83. ['TempAdmins'] = {}; -- Sets Admins who can't use ban/kick/admin or shutdown, format is USERNAME or USERNAME=USERID
  84.  
  85. ['BanList'] = {}; -- 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.
  86.  
  87. ['MuteList'] = {}; -- Add the names of people to mute (makes it so they cant talk)
  88.  
  89. ------------------------------
  90. -- Prefix/Split/Bind Keys --
  91. ------------------------------
  92.  
  93. ['Prefix'] = ":"; -- This comes before each admin command (:kill kohl)
  94.  
  95. ['AnyPrefix'] = "!"; -- This comes before each player command (commands that can be run by anyone, !rejoin, !ping, etc)
  96.  
  97. ['SpecialPrefix'] = ""; -- Prefix to use with special functions (!admin,!nonadmins,!all,!others,!random) By default this is now set to nothing to avoid confusion.
  98.  
  99. ['SplitKey'] = " "; -- This is what seperates command arguments eg: player raiders in :team player raiders
  100.  
  101. ['BatchSplit'] = "/"; --This seperates arguments of the batch command (":batch kill bob/fire me Bright blue/fling kohl")
  102.  
  103. ['ConsoleKey'] = "'"; --Key that opens the console, default is '
  104.  
  105. ----------------------
  106. -- Basic Settings --
  107. ----------------------
  108.  
  109. ['Console'] = true; --Determines if the script's console can be used or not
  110.  
  111. ['AutoUpdate'] = true; -- Automatically get the newest version? You need to have the model in your inventory on your profile in order for autoupdate to work.
  112.  
  113. ['FunCommands'] = true; -- Set to false if you don't want any fun commands (For Strict Places)
  114.  
  115. ['HelpSystem'] = true; -- Enable the Help System? (!help command)
  116.  
  117. ['ChatLog'] = true; -- Log all chats for the server?
  118.  
  119. ['MaxNumberOfLogs'] = 2000; -- How many logs to keep until oldest is removed (MAX is 5000 to avoid server lag/other issues)
  120.  
  121. ['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.
  122.  
  123. ['DonorPerks'] = 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!
  124.  
  125. ['DonorBongos'] = true; -- Donors allowed to have their donor bongos? If set to false they only get their cape.
  126.  
  127. ['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)
  128.  
  129. ['FreeAdmin'] = false; -- Set to true if you want everyone to get the set type of admin (not recommended)
  130.  
  131. ['FreeAdminType'] = 'TempAdmin'; -- Type of admin for FreeAdmin (TempAdmin/Admin/Owner)
  132.  
  133. ['AutoClean'] = false; -- AutoClean the server? (!clean)
  134.  
  135. ['AutoCleanDelay'] = 60; -- How long to wait between AutoCleans (in seconds)
  136.  
  137. ['PlayerCommands'] = true; -- Sets whether or not nonadmins can use player commands (!rejoin,!ping,!cmds,etc)
  138.  
  139. ['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)
  140.  
  141. ['PMUsableByAnyone'] = false; -- Set this to true if you want it so anyone can use the PM command
  142.  
  143. ['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)
  144.  
  145. ['HelpGui'] = true; --This determines if players spawn with the helpgui or not
  146.  
  147. ['UpdateShutdown'] = false; --Automatically shutdown the game if it was updated
  148.  
  149. ['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}
  150.  
  151. ['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.
  152.  
  153. ['CustomChatType'] = 'Both'; --Classic/Bubbles/Both, Determines chat mode, simular to ROBLOX's chat settings.
  154.  
  155. ['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.
  156.  
  157. ['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
  158.  
  159. ['MessageOfTheDayID'] = 166040615; --ID Of model/decal to grab the message of the day from (needs to be set as the decal/model's description)
  160.  
  161. ['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")
  162.  
  163. ---------------------
  164. -- Anti-Exploit --
  165. ---------------------
  166.  
  167. ['ExclusionList'] = {}; -- Add the names of people you want to exclude from the AntiExploit to this list, note that admins are already excluded
  168.  
  169. ['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.
  170.  
  171. ['AntiChatCode'] = true; -- Prevents non-admins from running code/commands via chat (Add new things to detect into the WordList table)
  172.  
  173. ['Detection'] = true; -- Will attempt to detect certain exploits
  174.  
  175. ['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.)
  176.  
  177. ['AntiNewAccount'] = false; -- Prevents accounts under the set age from joining.
  178.  
  179. ['MinimumAge'] = 100; -- Age a player must be above (in days) if AntiNewAge is enabled.
  180.  
  181. ['AntiSpeed'] = true; -- Trys to stop speed hackers
  182.  
  183. ['AntiGui'] = false; -- Prevents non-game/admin guis from being spawned on players, such as the account stealing gui
  184.  
  185. ['AntiSelection'] = true; -- Crashes a player if their selection changes (so if they are using studio tools like drag, move, resize, etc)
  186.  
  187. ['AntiNil'] = true; -- Crashes/Kicks any non-admins who attempt to go "nil"
  188.  
  189. ['AntiScriptsDisabled'] = true; -- If the client script cannot be loaded onto the player or takes to long to check in the player is kicked
  190.  
  191. ['AntiAnimation'] = false; -- Prevents animation exploit
  192.  
  193. ['AntiNameIdChange'] = true; -- Attempts to stop players from locally changing their name/id to fool local scripts
  194.  
  195. ['AntiGod'] = true; -- Prevents non-admins from being godded
  196.  
  197. ['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.
  198.  
  199. ['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.
  200.  
  201. ['NerfExplosions'] = false; -- Makes it so any explosions get nerfed, meaning they wont do any damage.
  202.  
  203. ['AntiDecals'] = false; -- Prevents decals from being added to Workspace, really though you should just use FilteringEnabled ;p
  204.  
  205. ['AntiSound'] = false; -- Prevents sounds not made by this script from getting inserted into Workspace.
  206.  
  207. ['WordList'] = {}; -- Add kick words to this list, will kick a player if they say something on the list, works with string patterns.
  208.  
  209. ['AllowedGuiList'] = {};
  210. --If there is a gui in your game that is not in startergui
  211. --then add its name to this table, do note that if the
  212. --name of the gui is just ScreenGui or something like
  213. --that, if a hacker inserts a gui with the same name
  214. --it will not be removed, so make sure you make the name
  215. --of the gui very specific.
  216.  
  217. ---------------------
  218. -- Group Settings --
  219. ---------------------
  220.  
  221. ['GroupRanks'] = false; -- If group members matching the ranks in "Ranks" are given admin/banned (depending on what you set)
  222.  
  223. ['GroupOnlyJoin'] = false; -- Makes it so ONLY people in the set group can join the game.
  224.  
  225. ['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.
  226.  
  227. ['Ranks'] = {}; -- Add ranks to have admin/be banned format is {Group=GROUPID,Rank=RANKNAME/NUMBER,Type=ADMINTYPE};
  228. --GROUPID is the ID of the group the rank belongs to and that the player must be in
  229. --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
  230. --ADMINTYPE is the type of admin players in the rank will get, this can be Temp, Admin, Owner, or Banned
  231. --[[ In the end your table should look something like this:
  232.  
  233. ['Ranks'] = {
  234. {Group=124324,Rank=142,Type='Temp'};
  235. {Group=1932348,Rank='Generals',Type='Owner'};
  236. {Group=1284124,Rank=-193,Type='Admin'};
  237. {Group=1399424,Rank=-1,Type='Banned'}
  238. };
  239.  
  240. --]]
  241.  
  242. ---------------------
  243. -- VIP Admin --
  244. ---------------------
  245.  
  246. ['VipAdmin'] = false; -- If someone can have admin for owning an item
  247.  
  248. ['ItemId'] = 0; -- The item they must own in order to have admin
  249.  
  250. ['ItemType'] = 'GamePass'; -- type of item. (GamePass/Badge/Shirt)
  251.  
  252. ['VIPAdminType'] = 'TempAdmin'; -- Type of admin VIPs get (TempAdmin/Admin/Owner)
  253.  
  254. ['FriendAdmin'] = false; -- Set to true if you want people on your friendlist to have admin
  255.  
  256. ---------------------
  257. -- GUI Settings --
  258. ---------------------
  259.  
  260. ['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)
  261.  
  262. ['SecondaryColor'] = Color3.new(1,1,1); --Secondary GUI Color (Default white)
  263.  
  264. ['Font'] = 'Arial'; --Font
  265.  
  266. ['TextColor'] = Color3.new(1,1,1); --Text Color (Default white)
  267.  
  268. ['TextStrokeTransparency'] = 0; --Text Stroke Transparency (0-1)
  269.  
  270. ['TextStrokeColor'] = Color3.new(0,0,0); --Color of the text stroke around letters (Default black)
  271.  
  272. ['Transparency'] = 0.5; --Main GUI Transparency (0-1)
  273.  
  274. ['Animations'] = true; --Determines if to animate stuff or not
  275.  
  276. ['MessageAnimations'] = true; --Same as above but specifically for messages
  277.  
  278. ------------------------------------------------------
  279. -- END OF SETTINGS --
  280. ------------------------------------------------------
  281. }
  282.  
  283. ---------------------
  284. -- IMPORTANT --
  285. ---------------------
  286. --[[
  287. For AutoUpdate to work this script's model needs to be in your inventory,
  288. if you got the script from anywhere other than my models the AutoUpdate
  289. will not work due to ROBLOX security nonsense. You can find the model
  290. here: http://www.roblox.com/Kohls-Admin-Epix-Edit-item?id=145629584
  291.  
  292. For information about LoadStringEnabled please refer to the following:
  293.  
  294. http://wiki.roblox.com/index.php?title=Security#LoadStringEnabled
  295. http://wiki.roblox.com/index.php?title=Points_tutorial#Restrictions
  296.  
  297. If you want to use the :s command you will need to set LoadStringEnabled
  298. to true. It can be found by going into studio, opening the explorer and properties
  299. windows, clicking on ServerScriptService and under properties checking
  300. LoadStringEnabled. Loadstring is only used in the script for Output and
  301. the scripting command. The script will function fine without it.
  302. ------------------------------------------------------------------------
  303. IF THERE ARE NEW SETTINGS YOU WILL NEED TO MANUALLY UPDATE THE SCRIPT TO
  304. CHANGE THEM, THEY WILL OTHERWISE BE LEFT AS THE DEFAULT.
  305. ------------------------------------------------------------------------
  306. Please carefully read each setting's description BEFORE changing something
  307. as you could break something if you set something the wrong way.
  308. ------------------------------------------------------------------------
  309. If you decide to take something from this or decide to make your own
  310. edited version, please leave credit to Kohltastrohpe (Scripth) and
  311. myself (Sceleratis). Taking something and changing it while leaving credit
  312. is fine, however taking something, claiming it is yours, and not changing
  313. ANYTHING is stealing it, which would only make you look bad. Please
  314. don't be that person.
  315.  
  316. The ideas that you guys suggest are what makes this the constantly evolving and changing
  317. thing that it is, so thank you :D
  318. ------------------------------------------------------------------------
  319. You can find Epix members and my self from time to time in Keynet's (Epix Inc. CEO Mr. Failz)
  320. Twitch stream! Check it out when you get a chance: twitch.tv/ekeynet
  321. ------------------------------------------------------------------------
  322. Find A security flaw or bug?
  323. Know of a way to detect an exploit or make the AntiExploit better?
  324. Think of a way to make the script better?
  325. Send me a message!
  326.  
  327. ---------------------
  328. -- DISCLAIMER/INFO --
  329. ---------------------
  330. Credit:
  331.  
  332. -Kohltastrophe (Scripth) for the original script this was based on and for sharing
  333. some of his ideas and commands, and his continued help and support
  334.  
  335. -einsteinK for the original SBL older versions used and his help with some things
  336.  
  337. -Sceleratis (montano60... myself <3) for this version of Kohl's Admin
  338.  
  339. -Arlikas for testing nearly anything I ask him to
  340.  
  341. -Everyone who helped me with testing, and suggested new ideas, features, and commands.
  342.  
  343. You may notice that there is hardly anything from the original Kohl's Admin
  344. code-wise left in here. Its called Kohl's Admin [Epix Edition] because it is
  345. based on Kohl's script and started as a simple edited version of his admin,
  346. and it IS an edited version of his admin, just very heavily edited so much
  347. so that barely anything has been left untouched. I have no plans to change
  348. the name.
  349.  
  350. I in no way claim to have made Kohl's Admin Commands, I have only
  351. made this version of it, which is now officially supported by the real
  352. Kohltastrophe.
  353.  
  354. This does not have a crash ban anymore, it now disconnects
  355. players, so if a player joins and suddenly crashes, IT IS NOT FROM THIS.
  356.  
  357. I do not take responsibility for you, your game, or your actions. Anything that
  358. happens as a result of your actions is your fault not mine. If you change a setting
  359. and suddenly the script stops working or something goes wrong, please report it to
  360. me (Sceleratis) as a bug! If you change anything other than the settings in the settings
  361. section of the script you run the risk of breaking the script. I will not help you if
  362. it stops working because you wanted to change parts of the code, you change it at
  363. your own risk and will not receive help from me, there is a clear warning right before
  364. the main area of the script.
  365.  
  366. If you find a bug in the script please report it to me (Sceleratis) so it can be fixed!
  367.  
  368. If you have any questions, need help, or want to contact me you can send
  369. me a Private Message on the main website (roblox.com) via my profile ("Send Message"
  370. under my avatar/character picture.)
  371.  
  372. KohltastropheRBLX had absolutly nothing to do with the developement of this script,
  373. he is not the real Kohl. If you are wondering why I dislike him so much,
  374. this is why: http://prntscr.com/49snyl
  375.  
  376. If you want to support the real Kohltastrophe put the following on your profile:
  377. "Scripth is the real Kohltastrophe. Put this on your profile so people know."
  378.  
  379. For the people who say "Ew Kohl's" I don't understand why, for starters you can
  380. easily see this is almost completely different. The original Kohl's Admin was
  381. something completely new and helped pave the way for most of the admin scripts
  382. that came after it. Kohl's Admin was a wildly used script (And still is.)
  383. If you are going to complain I would like to see you make something better.
  384. And for those of you who make your own admin scripts and decide to say "Ew Kohl's why"
  385. how much of your admin script is based on things you found or learned from Kohl's admin,
  386. if you truely never needed it and always could make something better, than why didn't you?
  387.  
  388. --]]
  389. ---------------------
  390. -- Tips and Tricks --
  391. ---------------------
  392. --[[
  393. With this admin you can do a command on multiple people at a time;
  394. :kill me,noob1,noob2,!random,%raiders,$123456,!nonadmins
  395. -- kills you, noob1, noob2, a random person, team raiders, people in group 123456, and nonadmins.
  396. You can also run silent commands using /e, for example:
  397. "/e :kill kohl" Do not that this will still show up in logs.
  398.  
  399. You can also use a variety commands for different people;
  400. !all -- Everyone in the server
  401. !others -- Everyone but you
  402. !me -- You
  403. !admins -- Admins in the server
  404. !nonadmins -- People who are not admins in the server
  405. !random -- A random person, this can include you.
  406. %TEAMNAME -- Ex: :kill %raiders will kill everyone in team Raiders.
  407. $GROUPID -- Let you kill anyone in a specific group, if an id is not given it will use the GroupId setting.
  408. -PLAYERNAME -- Lets you exclude players from commands, :kill !all,-kohl will kill everyone but kohl
  409.  
  410. 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)
  411. 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
  412. just simply position it where you want in workspace, then make its name Camera: NAMEHERE
  413. so for example: Camera: Cam1
  414. the name is very important as the script will look for it in workspace when the game starts.
  415. make sure you name each camera something diffierent.
  416.  
  417. MESSAGES/HINTS FOR OTHER SCRIPTS:
  418. If you would like to have the hints/messages from this script usable in other SERVER (not local)
  419. scripts, then simply put the follow at the top of your script,
  420.  
  421. message=_G['Message']
  422. hint=_G['Hint']
  423.  
  424. USAGE EXAMPLES:
  425. hint(msg,playerstable) - message(title,msg,playerstable)
  426.  
  427. (Do note that playerstable needs to be a table containing players NOT player names!
  428. Use game:service('Players'):children() to send a message to everyone.)
  429.  
  430. hint('Hello people',game:service('Players'):children()) <=== sends "Hello people" to all players in game
  431. hint('Heyo montano',{game:service('Players').Sceleratis}) <=== Sends "Heyo montano" to the player Sceleratis
  432. message('Server Message','Hello people',game:service('Players'):children()) <=== Makes a message with the title "Server Message" and a message of "Hello people"
  433. message('Message from swagyguy','Heyo montano',{game:service('Players').Sceleratis}) <=== Works the same as above but only the player Sceleratis sees it
  434.  
  435. --]]
  436.  
  437. ---------------
  438. -- CHANGELOG --
  439. ---------------
  440.  
  441. local changelog={
  442. 'The changelog is trimmed when it gets too long! Only shows most recent versions.';
  443. '';
  444. 'KEY: -Removed +Added *Changed/Fixed !Important';
  445. '';
  446. '456:';
  447. '*Bug fixes';
  448. '';
  449. '455:';
  450. '*AntiSpeed enabled by default';
  451. '';
  452. '454:';
  453. '+waypoints/checkpoints (lets you set positions you can later teleport to)';
  454. '';
  455. '453:';
  456. '*Updated name to Kohl\'s Admin [Epix Edition]';
  457. '';
  458. '452:';
  459. '*Bug fixes';
  460. '';
  461. '451:';
  462. '*Updated the descriptions for :cs and :ls, left in the script incase something changes in the future';
  463. '!As of recent roblox updates, client side loadstring no longer works, as such can no longer use commands like :ls and :cs';
  464. '*Removed some more loadstring dependencies';
  465. '*Bug fixes';
  466. '';
  467. '450:';
  468. '*Bug fixes';
  469. '';
  470. '449:';
  471. '*Bug fixes';
  472. '';
  473. '448:';
  474. '*Bug fixes';
  475. '';
  476. '447:';
  477. '*DonorStuff has been changed to DonorPerks';
  478. '+New donor only commands';
  479. '+!fire, !sparkles, !light, !unfire, !unlight, !unsparkles';
  480. '';
  481. '446:';
  482. '*Donations are no longer split, players pay once and get access to the custom cape stuff';
  483. '';
  484. '445:';
  485. '*Updated how the little hint hover gui thing is used';
  486. '+Added command descriptions, hover over commands to view them';
  487. '*Added more help/hints/descriptions for the hint hover things in list guis';
  488. '';
  489. '444:';
  490. 'Donor list only shows donors that are in-game';
  491. '';
  492. '443:';
  493. '+AntiDecals setting';
  494. '+AntiSound setting';
  495. '';
  496. '442:';
  497. '*Updated and example';
  498. '';
  499. '441:';
  500. '*Bug fixes';
  501. '*Minor code changes';
  502. '';
  503. '440:';
  504. '*Added a bot limit of 50 per run of the command, meaning if you do :bot me 100 it will only spawn 50';
  505. '';
  506. '439:';
  507. '*Bug fixes';
  508. '*Moved Scroll Windows down for new ROBLOX chat position';
  509. '*Special thanks to KonigFrederickll for reporting a bug';
  510. '';
  511. '438:';
  512. '*Bug fixes';
  513. '';
  514. '437:';
  515. '*Bug fixes';
  516. '';
  517. '436:';
  518. '*Bug fixes';
  519. '';
  520. '435:';
  521. '*Bug fixes';
  522. '';
  523. '434:';
  524. '*Bug fixes';
  525. '*Gui Updates';
  526. '';
  527. '433:';
  528. '*Fixed a bug causing the script to not work correctly in solo mode';
  529. '*Fixed console lag';
  530. '*Bug fixes';
  531. '';
  532. '432:';
  533. '+Spooky Scarey Skeletons song';
  534. '';
  535. '431:';
  536. '-Removed NoTalk setting';
  537. '';
  538. '430:';
  539. '*Bug fixes to detection,';
  540. '';
  541. '429:';
  542. '*Script now uses Google to check if Http is enabled';
  543. '+Http added to server details';
  544. '*Visual updates to the donation gui';
  545. '+RenameGameObjects setting in AntiExploit';
  546. '+Detection setting in AntiExploit';
  547. '+Detection of the currently leaked Stigma exploit';
  548. '*Bug fixes';
  549. '';
  550. '428:';
  551. '*Group admin updates';
  552. '*Admin list supports userId now';
  553. '!ALL PLACE OWNERS USING GROUP ADMIN REFER TO THE SETTINGS SECTION AS THE OLD WAY WILL LIKELY NO LONGER WORK';
  554. '*Admin list shows admins currently in the game';
  555. '';
  556. '427:';
  557. '*Fixed a typo in the SplitKey setting decription';
  558. '+Added a section to settings for prefix/split/bind keys';
  559. '';
  560. '426:';
  561. '+timeban command';
  562. '*Bug fixes';
  563. '*Chat bubble updates';
  564. '';
  565. '425:';
  566. '+AntiScriptsDisabled setting';
  567. '*Updated AntiNil';
  568. '+PlayerRemoving function';
  569. '*AntiExploit updates';
  570. '-Removed the message telling you a player tried to go nil due to bugs';
  571. '';
  572. '424:';
  573. '*SyncBanList setting is now Trello';
  574. '*Trello now supports admin lists, suggested by devSparkle';
  575. '!Refer to settings for new information regarding SBL/Trello';
  576. '';
  577. '423';
  578. '+Permissions command, suggested by Dragoloy';
  579. '*Bug fixes';
  580. '';
  581. '422:';
  582. '!Place owners apparently get money when people donate in their game! :D!!!!';
  583. '*Updated DonorPerks description';
  584. '';
  585. '421:';
  586. '*Changed how FunCommands are checked';
  587. '+Added 3 new admin levels for FunCommands';
  588. '*Place owners have access to all commands (including any donor ones)';
  589. '';
  590. '420:';
  591. '+DonorBongos setting';
  592. '!420 l0l';
  593. '';
  594. '419:';
  595. '*Bug fixes';
  596. '';
  597. '418:';
  598. '*Bug fixes';
  599. '';
  600. '417:';
  601. '*New song(s)';
  602. '';
  603. '416:';
  604. '+Resize command';
  605. '!Credit to Drezmor for the original resize command';
  606. '!Credit to Kohltastrophe for figuring out bugs in the resize and fixing it/helping to convert it';
  607. '';
  608. '415:';
  609. '*Made the crash less bulky and less ew looking';
  610. '';
  611. '414:';
  612. '*Updates to the AntiExploit';
  613. '*Changed how the guis look a bit';
  614. '';
  615. '413:';
  616. '+Added a credit thing with information about why.';
  617. '*Bug fixes';
  618. '';
  619. '412:';
  620. '*Bug fixes';
  621. '';
  622. '411:';
  623. '+A quote, taken from 111\'s profile';
  624. '';
  625. '410:';
  626. '*Minor changes';
  627. '!I am outraged at how people believe KohltastropheRBLX, and disapointed.';
  628. '';
  629. '409:';
  630. '+BodySwap command, suggested by MxLegit';
  631. '!Special thanks to Arlikas for being a test subject for new features/commands';
  632. '';
  633. '408:';
  634. '+VIPAdminType setting';
  635. '+Shirts usable for VIP admin';
  636. '';
  637. '407:';
  638. '+NerfExplosions setting (default off), semi inspired by a suggestion from TheFurryFish';
  639. '';
  640. '406:';
  641. '+BeardedAlien cape, suggested by LordOfFootball';
  642. '';
  643. '405:';
  644. '*Bug fixes';
  645. '*Gui Updates';
  646. '+Font setting';
  647. '+TextStrokeTransparency setting';
  648. '*Minor changes';
  649. '';
  650. '404:';
  651. '*Minor changes';
  652. '';
  653. '403:';
  654. '*Minor changes';
  655. '';
  656. '402:';
  657. '*Bug fixes';
  658. '*Join message off by default';
  659. '';
  660. '401:';
  661. '+Package related commands!';
  662. '+:rleg, change right leg package thing';
  663. '+lleg, same as rleg for left leg';
  664. '+rarm, same as above for right arm';
  665. '+larm, I hope you see the trend here';
  666. '+torso, same as all above but for torso';
  667. '';
  668. '400:';
  669. '*Bug fixes';
  670. '!If you have a way to make the script better be sure to message me :3';
  671. '';
  672. '399:';
  673. '*Name now supports health';
  674. "*Use :name player hide to hide a player's name";
  675. '';
  676. '398:';
  677. '*Bug fixes';
  678. '';
  679. '397:';
  680. '*Bug fixes';
  681. '';
  682. '396:';
  683. '*SBL Bug fixes';
  684. '';
  685. '395:';
  686. '*Bug fixes';
  687. '';
  688. '394:';
  689. '*Bug fixes';
  690. '*Converting some things over for if loadstring is removed';
  691. '-Map command';
  692. '-AntiNoclip, it was mostly useless.';
  693. '-Ragdoll command';
  694. '*Code changes';
  695. '*Cape command supports texture';
  696. '-Removed and changed most things that rely on loadstring/LoadOnClient';
  697. '!When/If roblox removes loadstring, all local scripting will no longer work!';
  698. '';
  699. '393:';
  700. '*Security updates';
  701. '';
  702. '392:';
  703. '*Bug fixes';
  704. '!Thanks go to TimelessMaster and EncryptedZ for bringing something to my attention';
  705. '';
  706. '391:';
  707. '*Fixed some bugs in the jail';
  708. '';
  709. '390:';
  710. '*Changed the message animations a bit';
  711. '*Countdown no longer says countdown';
  712. '';
  713. '389:';
  714. '*Updated stuff with crash';
  715. '+Unlag command (ONLY APPLIES TO PEOPLE LAGGED VIA :lag)';
  716. '';
  717. '388:';
  718. '*Updates with group admin code';
  719. '+CheckGroupAdmin function';
  720. '*Group admins are un-admined on leave';
  721. '';
  722. '387:';
  723. '*Crash is more brutal now';
  724. '';
  725. '386:';
  726. '*Restoremap is faster and no longer owners only (admins+)';
  727. '';
  728. '385:';
  729. '*Bug fixes';
  730. '';
  731. '384:';
  732. '*Updated the Important and Info sections';
  733. '';
  734. '383:';
  735. '*Bug fixes';
  736. '';
  737. '382:';
  738. '+clickteleport command (lets you move and rotate people to where you want, hold r to rotate)';
  739. '+clickwalk command (same as teleport but makes target walk to point)';
  740. '';
  741. '381:';
  742. '+ForceView command (good for showing people how to do stuff)';
  743. '';
  744. '380:';
  745. '*Bug fixes';
  746. '';
  747. '379:';
  748. '*Donor status on/off button shows up without custom cape';
  749. '*Updated the built in word list to fix a problem where people were kicked for chatting "children"';
  750. '';
  751. '378:';
  752. '*AntiGod enabled by default';
  753. '*AntiGod now kills';
  754. '*AntiGod checks for the god exploit on spawn';
  755. '*Bug fixes';
  756. '';
  757. '377:';
  758. '+MessageOfTheDayID setting (lets you set your own)';
  759. '+Added superjump as an acceptable command for nograv';
  760. '';
  761. '376:';
  762. '*Fixed a bug with pitch/volume in music reported by Larney';
  763. '';
  764. '375:';
  765. '*Bug fixes';
  766. '';
  767. '374:';
  768. '+Added a setting to use the old buggy string matching';
  769. '*Bug fixes';
  770. '';
  771. '373:';
  772. '*Normalify now stops crucify, cut, and puke.';
  773. '';
  774. '372:';
  775. '*AntiNil will disconnect players as they ar leaving if they are not an admin';
  776. '*AntiNil is unlikely to notify you if any non-admin goes nil as per recent updates';
  777. '+ExploitAlert setting';
  778. '*Messages about a player going nil are less likely to pop up randomly';
  779. '';
  780. '371:';
  781. '*Changed username to Sceleratis and changed stuff accordingly';
  782. '';
  783. '370:';
  784. '*Bug fixes';
  785. '';
  786. '369:';
  787. '*Bug Fixes';
  788. '';
  789. '368:';
  790. '*Bug fixes';
  791. '';
  792. '367:';
  793. '*Fixed a bug where you could say something like "Hello :ff me" to run :ff me';
  794. '';
  795. '366:';
  796. '*Bug fixes';
  797. '';
  798. '365:';
  799. "+Console, by default press ' to open it";
  800. '+ConsoleKey setting';
  801. '+Console setting';
  802. '*Bug fixes';
  803. '';
  804. '364:';
  805. '*MOTD on join disabled by default';
  806. '';
  807. '363:';
  808. '*GlitchGhost and GlitchDisorient commands now have an intensity setting';
  809. '';
  810. '362:';
  811. '*Updated the disclaimer';
  812. '+Phase commands, thanks go to Kohl for showing and sending me his phase command';
  813. '+motd command';
  814. '+Message of the day and setting for it';
  815. '';
  816. '361:';
  817. '+GlitchDisorient command';
  818. '+GlitchGhost command';
  819. '+UnGlitch command';
  820. '!The two glitch commands were inspired by a neat effect Janthran showed me';
  821. '';
  822. '360:';
  823. '*Made bots better';
  824. '-Removed PathfindingService stuff from bots';
  825. 'The path finding is not good enough yet';
  826. '';
  827. '359:';
  828. '+Animations setting';
  829. '+MessageAnimations setting';
  830. '';
  831. '358:';
  832. '+FieldOfView command';
  833. '';
  834. '357:';
  835. '*Moved RemoteEvent to ReplicatedStorage';
  836. '+Funbox command, teleports people to my fun box lel';
  837. '';
  838. '356:';
  839. '+On/Off toggle in cape change gui for donators to disable donor status in specific games';
  840. '';
  841. '355:';
  842. '*Fixed ban';
  843. '';
  844. '354:';
  845. '+Added some on-join code to make Scripth look like his original account Kohltastrophe as per his request';
  846. '';
  847. '353:';
  848. '!Apparently KohltastropheRBLX re-uploaded this and managed to get nearly 20k takes off of it, qq';
  849. '!This script was made by Kohltastrophe(Scripth) and Sceleratis with some help now and then from einsteinK.';
  850. '!While I do not care if you make your own version, outright stealing this and taking full credit is not acceptable.';
  851. '*Code updates.';
  852. '';
  853. '352:';
  854. '*Updates to how scroll guis look, has more of a drop down type thing';
  855. '';
  856. '351:';
  857. '*SBL Updated to use Trello and HttpService';
  858. '!All place owners who use our exploiter list (default sbl settings) please enable Http!';
  859. '!Instructions for enabling Http are at the top of the script with the Synced Ban List settings';
  860. '*Updated SBL Instructions and add screen shots to help';
  861. '*Place owners will be notified on-join if the SBL is on but Http is not enabled';
  862. '!Even if you do not intend to use the SBL, if you leave the default settings and enable Http,';
  863. 'lots of known exploiters/exploit groups will be banned from your game making it safer!';
  864. '';
  865. '350:';
  866. '*Bug fixes and minor code upates';
  867. '';
  868. '349:';
  869. '*Made sure admins are excluded from bans';
  870. '';
  871. '348:';
  872. '*Fixed button spacing in the cameras gui';
  873. '+NetLag command';
  874. '';
  875. '347:';
  876. '*Bug fixes';
  877. '';
  878. '346:';
  879. '*Fixed some things with the freecam/unfreecam commands';
  880. '*RemoteEvent is alot safer now and less derp, more unremovable';
  881. '+Storage setting, default is game.ServerStorage';
  882. '*Tools MUST be in what ever the storage setting is set to, reccommended to move tools to ServerStorage as its more secure.';
  883. '*Trimmed changelog';
  884. '*Made the settings section of the script look nicer';
  885. '*Bug fixes';
  886. '';
  887. '345:';
  888. '*Bug fixes';
  889. '!All place owners should manually update if on versions <345, possible bug in auto update system.';
  890. '';
  891. '344:';
  892. '+Slippery command (and unslippery, can also use iceskate)';
  893. '*Bug fixes';
  894. '';
  895. '343:';
  896. '*Updates to the donor system (hopefully fixed the default cape not showing problem)';
  897. '*HOPEFULLY fixed a problem with the restoremap and the admin script';
  898. '';
  899. '342:';
  900. '+Added set.MakePluginEvent, plugin devs refer to the updated version of the Example Plugin for info';
  901. '-Removed set.ChatForPlugins (set.MakePluginEvent replaces it)';
  902. '';
  903. '341:';
  904. '*Possibly fixed a bug causing an error related to players. Fingers crossed';
  905. '';
  906. '340:';
  907. '*Fixed unfly (hopefully)';
  908. '';
  909. '339:';
  910. '*Updated crash';
  911. '';
  912. '338:';
  913. '+CustomPlayerList, very simple, not done at all, plan to finish in future';
  914. '+Can now do things like :kill all,-kohl to kill all except kohl, suggested by GloriedRage';
  915. '*Bug fixes';
  916. '*Completely new GetPlayers function, less code, more efficient';
  917. '*Custom cape uses Texture ID again due to bugs';
  918. '';
  919. '337:';
  920. '*Bug fixes';
  921. '';
  922. '336:';
  923. '-AntiExploit setting';
  924. '*Split things that were under the AntiExploit setting into their own settings';
  925. '+ExclusionList table, lets you set people to exclude from the anti exploit and bans';
  926. '';
  927. '335:';
  928. '*Added pathfinding service stuff to the bots for when the service is out of testing';
  929. '';
  930. '334:';
  931. '*Bots now jump when chasing someone';
  932. '*Fixed some bot related bugs';
  933. '';
  934. '333:';
  935. '+AntiLeak (Idk if it will work and if it does how well, just changes the archivable setting)';
  936. '';
  937. '332:';
  938. '*Critical Bug Fix, thank you snakeeey for reporting.';
  939. '';
  940. '331:';
  941. '*Temp Critical Bug Fix';
  942. '';
  943. '330:';
  944. '*Minor updates';
  945. }
  946.  
  947.  
  948. --------------------------------------------------------------------------------------
  949. --------------------------------------------------------------------------------------
  950.  
  951. --##################################################################################--
  952.  
  953. --##[ WARNING: Changing anything below could result errors and break the script! ]##--
  954.  
  955. --##################################################################################--
  956.  
  957. --#############[ DO NOT MODIFY UNLESS YOU KNOW WHAT YOU ARE DOING! ]################--
  958.  
  959. --#################[ I WILL NOT HELP YOU IF YOU BREAK SOMETHING! ]##################--
  960.  
  961. --##################################################################################--
  962.  
  963. --------------------------------------------------------------------------------------
  964. --------------------------------------------------------------------------------------
  965.  
  966.  
  967.  
  968. --[ Grab Updatable ]--
  969. 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
  970. 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)()
  971. --[ Main Script Function ]--
  972. set.MainScriptFunction=function()
  973. set.Print=print
  974. print('Loading...')
  975. script.Parent=game:service('ServerScriptService')
  976. if _G['Kohls Admin [Epix Edit] Update'] then
  977. local updated,failed=ypcall(function()
  978. print('AutoUpdate: Grabbing update data...')
  979. for i,v in pairs(_G['Kohls Admin [Epix Edit] Update']) do set[i]=v end
  980. _G['Kohls Admin [Epix Edit] Update']=nil
  981. end)
  982. if failed then
  983. print(script.Name..': AutoUpdate: Update Failed.')
  984. print('Please contact Sceleratis as this may be a bug.')
  985. print('Error: '..failed)
  986. print('If this error persist please check your settings. If needed disable AutoUpdate until the issue is solved.')
  987. end
  988. end
  989. local depholder=script:FindFirstChild('Script Dependencies')
  990. if not depholder then error('Script Dependencies not found!') end
  991. local deps={} for i,v in pairs(depholder:children()) do deps[v.Name]=v end
  992. set.OrigLightingSettings = {
  993. abt = game:service('Lighting').Ambient,
  994. oabt = game:service('Lighting').OutdoorAmbient,
  995. brt = game:service('Lighting').Brightness,
  996. time = game:service('Lighting').TimeOfDay,
  997. fclr = game:service('Lighting').FogColor,
  998. fe = game:service('Lighting').FogEnd,
  999. fs = game:service('Lighting').FogStart,
  1000. gs = game:service('Lighting').GlobalShadows,
  1001. ol = game:service('Lighting').Outlines,
  1002. sc = game:service('Lighting').ShadowColor}
  1003. if game.CreatorId<=0 or game.PlaceId<=0 then set.UpdateShutdown=false end
  1004. set.objects = {}
  1005. set.needhelp={}
  1006. set.adminchats={}
  1007. set.cameras = {}
  1008. set.MapBackup = Instance.new('SpawnLocation')
  1009. set.JailedTools={}
  1010. --set.logs = {}
  1011. --set.chatlogs = {}
  1012. deps.Clients = {}
  1013. set.donors={}
  1014. set.contans={}
  1015. set.PluginEvents={}
  1016. set.PluginEvents.Chat={}
  1017. set.PluginEvents.PlayerJoined={}
  1018. set.PluginEvents.CharacterAdded={}
  1019. set.bl = {}
  1020. set.al = {}
  1021. set.tal = {}
  1022. set.oal = {}
  1023. set.PlayerLogs = {}
  1024. set.canuseloadstring=false
  1025. set.slock = false
  1026. set.lighttask = false
  1027. set.dlastupdate='Not Updated Yet'
  1028. set.donorgamepass={157092510,159549976}
  1029. set.NTacId = {618833*2,22195810.5*2}
  1030. --set.custompass={159551100,157092584}
  1031. set.BTacId = {21644313*2,33322122*2,470430.5*2}
  1032. set.RemoteName='EPIX'..tostring(math.random(10000000,99999999))..'EDIT'
  1033. set.RemoteExecute=tostring(math.random(10000000,99999999))
  1034. set.RemoteObject=tostring(math.random(10000000,99999999))
  1035. set.RemoteCmd=tostring(math.random(10000000,99999999))
  1036. set.version = script.Version.Value
  1037. set.HelpRequest={}
  1038. set.Commands={}
  1039. set.OpenVote={}
  1040. set.Waypoints={}
  1041. set.ScriptAntiWordList={
  1042. 'inject[%S]',
  1043. 'getitem[^%s]',
  1044. 'workspace%.[^%s^%.]',
  1045. '[^%s^%w]ban [%w]',
  1046. 'ban[^%s^%w][%w]',
  1047. 'crash[^%s^%w][%w]',
  1048. '[^%s^%w]crash [%w]',
  1049. '[^%s^%w]kick [%w]',
  1050. 'kick[^%s^%w][%w]',
  1051. ':SetCoreGuiEnabled',
  1052. 'GetObjects',
  1053. ':GetChildren',
  1054. ':children()',
  1055. 'in pairs(',
  1056. 'script%.Parent',
  1057. 'game%.Workspace',
  1058. 'game:service',
  1059. ':GetService',
  1060. 'game%.Debris',
  1061. 'game%.Lighting',
  1062. 'game%.Players',
  1063. 'loadstring(',
  1064. 'InsertService',
  1065. ':LoadAsset',
  1066. 'FindFirstChild',
  1067. 'while (.*) do',
  1068. 'Instance.new'
  1069. }
  1070. set.ScriptMusicList={
  1071. {n='skeletons',id=174270407};
  1072. {n='russianmen',id=173038059};
  1073. {n='heybrother',id=143786134};
  1074. {n='loseyourself',id=153480949};
  1075. {n='diamonds',id=142533681};
  1076. {n='happy',id=146952916};
  1077. {n='clinteastwood',id=148649589};
  1078. {n='freedom',id=130760592};
  1079. {n='seatbelt',id=135625718};
  1080. {n='tempest',id=135554032};
  1081. {n="focus",id=136786547};
  1082. {n="azylio",id=137603138};
  1083. {n="caramell",id=2303479};
  1084. {n="epic",id=27697743};
  1085. {n="rick",id=2027611};
  1086. {n="crystallize",id=143929751};
  1087. {n="halo",id=1034065};
  1088. {n="pokemon",id=1372261};
  1089. {n="cursed",id=1372257};
  1090. {n="extreme",id=11420933};
  1091. {n="harlemshake",id=142468820};
  1092. {n="tacos",id=142295308};
  1093. {n="wakemeup",id=147632133};
  1094. {n="awaken",id=27697277};
  1095. {n="alone",id=27697392};
  1096. {n="mario",id=1280470};
  1097. {n="choir",id=1372258};
  1098. {n="chrono",id=1280463};
  1099. {n="dotr",id=11420922};
  1100. {n="entertain",id=27697267};
  1101. {n="fantasy",id=1280473};
  1102. {n="final",id=1280414};
  1103. {n="emblem",id=1372259};
  1104. {n="flight",id=27697719};
  1105. {n="banjo",id=27697298};
  1106. {n="gothic",id=27697743};
  1107. {n="hiphop",id=27697735};
  1108. {n="intro",id=27697707};
  1109. {n="mule",id=1077604};
  1110. {n="film",id=27697713};
  1111. {n="nezz",id=8610025};
  1112. {n="angel",id=1372260};
  1113. {n="resist",id=27697234};
  1114. {n="schala",id=5985787};
  1115. {n="organ",id=11231513};
  1116. {n="tunnel",id=9650822};
  1117. {n="spanish",id=5982975};
  1118. {n="venom",id=1372262};
  1119. {n="wind",id=1015394};
  1120. {n="guitar",id=5986151};
  1121. {n="selfie1",id=148321914};
  1122. {n="selfie2",id=151029303};
  1123. {n="fareast",id=148999977};
  1124. {n="ontopoftheworld",id=142838705};
  1125. {n="mashup",id=143994035};
  1126. {n="getlucky",id=142677206};
  1127. {n="dragonborn",id=150015506};
  1128. {n="craveyou",id=142397454};
  1129. {n="weapon",id=142400410};
  1130. {n="derezzed",id=142402620};
  1131. {n="burn",id=142594142};
  1132. {n="workhardplayhard",id=144721295};
  1133. {n="royals",id=144662895};
  1134. {n="pompeii",id=144635805};
  1135. {n="powerglove",id=152324067};
  1136. {n="pompeiiremix",id=153519026};
  1137. {n="sceptics",id=153251489};
  1138. {n="pianoremix",id=142407859};
  1139. {n="antidote",id=145579822};
  1140. {n="takeawalk",id=142473248};
  1141. {n="countingstars",id=142282722};
  1142. {n="turndownforwhat",id=143959455};
  1143. {n="overtime",id=145111795};
  1144. {n="fluffyunicorns",id=141444871};
  1145. {n="gaspedal",id=142489916};
  1146. {n="bangarang",id=142291921};
  1147. {n="talkdirty",id=148952593};
  1148. {n="bad",id=155444244};
  1149. {n="demons",id=142282614};
  1150. {n="roar",id=148728760};
  1151. {n="letitgo",id=142343490};
  1152. {n="finalcountdown",id=142859512};
  1153. {n="tsunami",id=152775066};
  1154. {n="animals",id=142370129};
  1155. {n="partysignals",id=155779549};
  1156. {n="finalcountdownremix",id=145162750};
  1157. {n="mambo",id=144018440};
  1158. {n="stereolove",id=142318819};
  1159. {n='minecraftorchestral',id=148900687}}
  1160. set.quotes={
  1161. '"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';
  1162. '"I came, I saw, I conquered." - Julius Ceasar';
  1163. '"Our greatest glory is not in never falling, but in rising every time we fall." - Confucius';
  1164. '"History will be kind for me for I intend to write it." - Winston Churchill';
  1165. '"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';
  1166. '"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';
  1167. '"Those who do not remember the past are condemned to repeat it." - George Santayana';
  1168. '"A pint of sweat, saves a gallon of blood." - George S. Patton';
  1169. '"This is one small step for a man, one giant leap for mankind." - Neil Armstrong';
  1170. '"History is the version of past events that people have decided to agree upon." - Napoleon Bonaparte';
  1171. '"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';
  1172. [["Beautiful things don't seek attention" - Sean O'Connell in The Secret Life of Walter Mitty]];
  1173. '"The only thing we have to fear is fear itself" - Franklin D. Roosevelt';
  1174. '"Even if I knew that tomorrow the world would go to pieces, I would still plant my apple tree." - Martin Luther';
  1175. '"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';
  1176. [["We can't help everyone, but everyone and help someone." - Ronald Reagan]];
  1177. '"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time." - Thomas A. Edison';
  1178. [["Even if you fall on your face, you're still moving forward." - Victor Kiam]];
  1179. '"Strive not to be a success, but rather to be of value." - Albert Einstein';
  1180. [["You miss 100% of the shots you don't take." - Wayne Gretzky]];
  1181. [["Your time is limited, so don't waste it living someone else's life." - Steve Jobs]];
  1182. '"The only person you are destined to become is the person you decide to be." - Ralph Waldo Emerson';
  1183. '"Fall seven times and stand up eight" - Japanese Proverb';
  1184. '"Everything has beauty, but not everyone can see." - Confucius';
  1185. '"A person who never made a mistake never tried anything new." - Albert Einstein';
  1186. '"The person who says it cannot be done should not interrupt the person who is doing it." - Chinese Proverb';
  1187. '"It does not matter how slowly you go as long as you do not stop." - Confucius'
  1188. }
  1189. if set.UpdateShutdown then set.GameLastUpdated=game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Updated end
  1190. 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)()
  1191. coroutine.wrap(function() local canuse,cantuse=ypcall(function() loadstring('print("Loadstring Test")') end) if canuse then set.canuseloadstring=true end end)()
  1192. if (not deps.Client) then print('Client script is missing! Cannot function correctly without it.') error('Missing Client script. Try manually updating.') end
  1193. set.GuiName=tostring(math.random(10000000,99999999))
  1194. _G['Hint']=function(msg,ptable) set.Hint(msg,ptable) end
  1195. _G['Message']=function(title,msg,ptable) set.Message(title,msg,true,ptable) end
  1196. if set['MaxNumberOfLogs']>5000 then set['MaxNumberOfLogs']=5000 end
  1197. 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)()
  1198. 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
  1199. if t==nil or tab==nil or #tab~=36 then set=nil elseif not depholder: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
  1200. 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)()
  1201. coroutine.wrap(function() if game.CreatorId<=0 then table.insert(set['Owners'],'Player1') end end)()
  1202. 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)()
  1203. 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)()
  1204. coroutine.wrap(function()
  1205. RemoteEvent=game:service('ReplicatedStorage'):FindFirstChild(set.RemoteName)
  1206. set.SetRemoteInvoke=function()
  1207. RemoteEvent.OnServerEvent:connect(function(p,cmd,a,b,c,...)
  1208. pcall(set.CheckCommand,p,cmd,a,b,c,...)
  1209. --set.CheckCommand(p,cmd,a,b,c,...) --DEBUG ONLY
  1210. end)
  1211. end
  1212. set.MakeRemoteEvent=function()
  1213. RemoteEvent=Instance.new('RemoteEvent',game:service('ReplicatedStorage'))
  1214. RemoteEvent.Name=set.RemoteName
  1215. RemoteEvent.Archivable=false
  1216. RemoteEvent.Changed:connect(function(ob) if RemoteEvent and RemoteEvent.Name~=set.RemoteName then RemoteEvent.Name=set.RemoteName end end)
  1217. set.SetRemoteInvoke()
  1218. end
  1219. for i,v in pairs(game:service('ReplicatedStorage'):children()) do
  1220. 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
  1221. RemoteEvent=v
  1222. set.SetRemoteInvoke()
  1223. end
  1224. end
  1225. if not RemoteEvent then
  1226. set.MakeRemoteEvent()
  1227. end
  1228. end)()
  1229. coroutine.wrap(function() game:service('ReplicatedStorage').ChildRemoved:connect(function(ob) if ob==RemoteEvent then set.MakeRemoteEvent() end end) end)()
  1230. 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)()
  1231.  
  1232. set.SendCustomChat=function(p,a,b)
  1233. local target=set.SpecialPrefix..'all'
  1234. if not b then b='Global' end
  1235. if not game:service('Players'):FindFirstChild(p.Name) then b='Nil' end
  1236. if a:sub(1,1)=='@' then
  1237. b='Private'
  1238. target,a=a:match('@(.%S+) (.+)')
  1239. print(target..' '..a)
  1240. set.Remote(p,'Function','SendToChat',p,a,b)
  1241. elseif a:sub(1,1)=='#' then
  1242. if a:sub(1,7)=='#ignore' then
  1243. target=a:sub(9)
  1244. b='Ignore'
  1245. end
  1246. if a:sub(1,9)=='#unignore' then
  1247. target=a:sub(11)
  1248. b='UnIgnore'
  1249. end
  1250. end
  1251. for i,v in pairs(set.GetPlayers(p,target:lower())) do
  1252. coroutine.wrap(function()
  1253. if p.Name==v.Name and b~='Private' and b~='Ignore' and b~='UnIgnore' then
  1254. set.Remote(v,'Function','SendToChat',p,a,b)
  1255. elseif b=='Global' then
  1256. set.Remote(v,'Function','SendToChat',p,a,b)
  1257. elseif b=='Team' and p.TeamColor==v.TeamColor then
  1258. set.Remote(v,'Function','SendToChat',p,a,b)
  1259. elseif b=='Local' and p:DistanceFromCharacter(v.Character.Head.Position)<80 then
  1260. set.Remote(v,'Function','SendToChat',p,a,b)
  1261. elseif b=='Admin' and set.CheckAdmin(v,false) and set.CheckAdmin(p,false) then
  1262. set.Remote(v,'Function','SendToChat',p,a,b)
  1263. elseif b=='Private' and v.Name~=p.Name then
  1264. set.Remote(v,'Function','SendToChat',p,a,b)
  1265. elseif b=='Nil' then
  1266. set.Remote(v,'Function','SendToChat',p,a,b)
  1267. elseif b=='Ignore' and v.Name~=p.Name then
  1268. set.Remote(v,'AddToTable','IgnoreList',v.Name)
  1269. elseif b=='UnIgnore' and v.Name~=p.Name then
  1270. set.Remote(v,'RemoveFromTable','IgnoreList',v.Name)
  1271. end
  1272. end)()
  1273. end
  1274. end
  1275.  
  1276. set.CheckCommand=function(p,cmd,a,b,c,...)
  1277. local n = "" for i = 1, #cmd do n = n .. string.char(cmd[i]) end cmd=n
  1278. if cmd==set.RemoteCmd..'Chat' then
  1279. coroutine.wrap(function() set.Chat(a,p) end)()
  1280. set.SendCustomChat(p,a,b)
  1281. elseif cmd==set.RemoteCmd..'AdminCommand' then
  1282. set.ChatCommand(p,a,b,c)
  1283. elseif cmd==set.RemoteCmd..'SearchCommand' then
  1284. local found=set.SearchCommand(a)
  1285. set.Remote(p,'SetSetting','FoundCommands',found)
  1286. elseif cmd==set.RemoteCmd..'ClientHooked' then
  1287. table.insert(deps.Clients,p.Name)
  1288. elseif cmd==set.RemoteCmd..'AdminChat' then
  1289. for i,v in pairs(game:service('Players'):children()) do
  1290. set.Remote(v,'Function','UpdateAdminChat',a)
  1291. end
  1292. elseif cmd==set.RemoteCmd..'RanCode' then
  1293. if not set.CheckAdmin(p,false) and not set.CheckExcluded(p) and set['AntiChatCode'] then
  1294. set.Remote(p,'Function','KillClient')
  1295. end
  1296. elseif cmd==set.RemoteCmd..'GetCurrentPlayerList' then
  1297. set.GetCurrentPlayerlist(p)
  1298. elseif cmd==set.RemoteCmd..'SubmitReport' then
  1299. for i,v in pairs(set.GetPlayers(p,set.SpecialPrefix..'admins')) do
  1300. set.Remote(v,"Function","ReportNotify",p,a,b)
  1301. end
  1302. elseif cmd==set.RemoteCmd..'GetSetting' then
  1303. if set[a]~=nil then set.Remote(p,'SetSetting',a,set[a]) end
  1304. elseif cmd==set.RemoteCmd..'CheckDonor' then
  1305. if set.CheckDonor(p) then
  1306. set.Remote(p,'SetSetting','Donor',true)
  1307. else
  1308. set.Remote(p,'SetSetting','Donor',false)
  1309. end
  1310. elseif cmd==set.RemoteCmd..'CheckAdmin' then
  1311. if set.CheckAdmin(p,false) then
  1312. set.Remote(p,'SetSetting','IsAdmin',true)
  1313. else
  1314. set.Remote(p,'SetSetting','IsAdmin',false)
  1315. end
  1316. elseif cmd==set.RemoteCmd..'AddToTable' and set.CheckOwner(p) then
  1317. table.insert(set[a],b)
  1318. repeat DataStore:SetAsync(a,b) wait() until DataStore:GetAsync(a)==b
  1319. elseif cmd==set.RemoteCmd..'SetSetting' and set.CheckOwner(p) then
  1320. if a=='Prefix' or a=='AnyPrefix' or a=='SpecialPrefix' then
  1321. local orig=set[a]
  1322. set[a]=b
  1323. for i,v in pairs(set.Commands) do
  1324. if v.Prefix==orig then
  1325. v.Prefix=set[a]
  1326. end
  1327. end
  1328. else
  1329. set[a]=b
  1330. end
  1331. repeat DataStore:SetAsync(a,b) wait() until DataStore:GetAsync(a)==b
  1332. elseif cmd==set.RemoteCmd..'GetUpdatableSettings' then
  1333. set.Remote(p,'SetSetting','UpdatableSettings',UpdatableSettings)
  1334. elseif cmd==set.RemoteCmd..'TableRemove' then
  1335. table.remove(set[a],b)
  1336. elseif cmd==set.RemoteCmd..'Destroy' and set.CheckAdmin(p,false) then
  1337. a:Destroy()
  1338. elseif cmd==set.RemoteCmd..'GetServerInfo' then
  1339. local det={}
  1340. local nilplayers=0
  1341. for i,v in pairs(game:service('NetworkServer'):children()) do
  1342. if v and v:GetPlayer() and not game:service('Players'):FindFirstChild(v:GetPlayer().Name) then
  1343. nilplayers=nilplayers+1
  1344. end
  1345. end
  1346. if set.CheckHttp() then
  1347. det.Http='Enabled'
  1348. else
  1349. det.Http='Disabled'
  1350. end
  1351. det.NilPlayers=nilplayers
  1352. det.PlaceName=game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Name
  1353. det.PlaceOwner=game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Creator.Name
  1354. det.ServerSpeed=set.Round(workspace:GetRealPhysicsFPS())
  1355. det.AdminVersion=version
  1356. det.ServerStartTime=set.ServerStartTime
  1357. local nonnumber=0
  1358. for i,v in pairs(game:service('NetworkServer'):children()) do
  1359. if v and v:GetPlayer() and not set.CheckAdmin(v:GetPlayer(),false) then
  1360. nonnumber=nonnumber+1
  1361. end
  1362. end
  1363. det.NonAdmins=nonnumber
  1364. local adminnumber=0
  1365. for i,v in pairs(game:service('NetworkServer'):children()) do
  1366. if v and v:GetPlayer() and set.CheckAdmin(v:GetPlayer(),false) then
  1367. adminnumber=adminnumber+1
  1368. end
  1369. end
  1370. det.CurrentTime=set.GetTime()
  1371. det.Admins=adminnumber
  1372. det.Objects=#set.objects
  1373. det.Cameras=#set.cameras
  1374. set.Remote(p,'SetSetting','ServerInfo',det)
  1375. elseif cmd==set.RemoteCmd..'Ping' then
  1376. set.Remote(p,'Pong')
  1377. elseif cmd==set.RemoteCmd..'GivePing' then
  1378. set[p.Name..'Ping']=a
  1379. elseif cmd==set.RemoteCmd..'PrivateMessage' then
  1380. set.PM(a,b,c,...)
  1381. elseif cmd==set.RemoteCmd..'PlaceVote' then
  1382. if b=='yes' then
  1383. set.OpenVote[a].Yes=set.OpenVote[a].Yes+1
  1384. elseif b=='no' then
  1385. set.OpenVote[a].No=set.OpenVote[a].No+1
  1386. end
  1387. for k,m in pairs(set.OpenVote[a].novote) do
  1388. if m.userId==p.userId then
  1389. table.remove(set.OpenVote[z].novote, k)
  1390. end
  1391. end
  1392. elseif cmd==set.RemoteCmd..'HelpRespond' then
  1393. if b then
  1394. set.HelpRequest[a].Solved=true
  1395. else
  1396. for k,m in pairs(set.HelpRequest[a].Available) do
  1397. if m==p.Name then table.remove(set.HelpRequest[a].Available,k) end
  1398. end
  1399. end
  1400. elseif cmd==set.RemoteCmd..'SetCape' then
  1401. p:WaitForDataReady()
  1402. local temptable={}
  1403. local ab,bc,cd
  1404. local spitit=';'
  1405. for sac in a:gmatch('([^%'..spitit..']+)') do temptable[#temptable+1]=sac end
  1406. --local okgo,nodont=ypcall(function()
  1407. -- local bob=game:service('InsertService'):LoadAsset(temptable[1]):children()[1]
  1408. -- bob:Destroy()
  1409. --end)
  1410. if tonumber(temptable[1]) then
  1411. -- local ins=game:service('InsertService'):LoadAsset(temptable[1])
  1412. -- ab=ins:children()[1].Texture:sub(string.len('http://www.roblox.com/asset/?id=')+1)
  1413. ab=temptable[1]
  1414. else
  1415. ab=0
  1416. end
  1417. bc=temptable[2] or 'Really black'
  1418. cd=temptable[3] or 'Plastic'
  1419. p:SaveString('Kohls Cape',ab..'='..bc..'='..cd)
  1420. p:SaveBoolean('Kohls Is A Donator',true)
  1421. p:SaveBoolean('Kohl Not Using Cape',false)
  1422. for i,v in pairs(set.donors) do if v.Name==p.Name then table.remove(set.donors,i) end end
  1423. table.insert(set.donors,{Name=p.Name,Id=tostring(p.userId),Cape=ab,Color=bc,Material=cd,List='GP'})
  1424. pcall(function() p.Character.EpicCape:Destroy() end)
  1425. set.Donor(p)
  1426. elseif cmd==set.RemoteCmd..'ToggleDonor' then
  1427. if not a then
  1428. p:SaveBoolean('Kohls Not Using Cape',true)
  1429. pcall(function() p.Character.EpicCape:Destroy() end)
  1430. else
  1431. p:SaveBoolean('Kohls Not Using Cape',false)
  1432. set.Donor(p)
  1433. end
  1434. elseif cmd==set.RemoteCmd..'CheckCape' then
  1435. if p:LoadBoolean('Kohls Not Using Cape') then
  1436. set.Remote(p,'SetSetting','UsingCape',false)
  1437. end
  1438. elseif cmd==set.RemoteCmd..'PermBan' then
  1439. if set.CheckTrueOwner(p) and not set.CheckAdmin(a,false) then
  1440. a:SaveBoolean(set['PermBanKey'],true)
  1441. a:Kick()
  1442. end
  1443. end
  1444. end
  1445.  
  1446. set.Remote=function(player,command,...)
  1447. local RemoteEvent=game:service('ReplicatedStorage'):FindFirstChild(set.RemoteName)
  1448. local function fireevent(plr,cmd,...)
  1449. local tab={} for i = 1,string.len(cmd) do table.insert(tab,string.byte(cmd:sub(i,i))) end cmd=tab
  1450. RemoteEvent:FireClient(plr,cmd,...)
  1451. end
  1452. if player and player:IsA('Player') then
  1453. pcall(fireevent,player,set.RemoteExecute..command,...)
  1454. end
  1455. end
  1456.  
  1457. set.CleanWorkspace=function()
  1458. for i, v in pairs(game.Workspace:children()) do
  1459. if v:IsA("Hat") or v:IsA("Tool") then
  1460. v:Destroy()
  1461. end
  1462. if v:IsA('Message') or v:IsA('Hint') then
  1463. v:Destroy()
  1464. end
  1465. if v.Name:find('Epix Jail') then
  1466. if not game:service('Players'):FindFirstChild(v.Player.Value) then
  1467. set.JailedTools[v.Player.Value]=nil
  1468. v:Destroy()
  1469. for k,m in pairs(set.objects) do
  1470. if m.Name==v.Player.Value .. " Epix Jail" then
  1471. table.remove(set.objects,k)
  1472. end
  1473. end
  1474. end
  1475. end
  1476. end
  1477. end
  1478.  
  1479. set.Ping=function(player)
  1480. set[player.Name..'Ping']='Ping'
  1481. set.Remote(player,'GetPing')
  1482. repeat wait() until set[player.Name..'Ping']~='Ping'
  1483. return set[player.Name..'Ping']
  1484. end
  1485.  
  1486. set.Split=function(msg,num)
  1487. if set.SplitKey=='' then set.SplitKey=' ' end
  1488. if num<=0 or msg==nil then return {} end
  1489. local tab={}
  1490. local str=msg
  1491. local full=''
  1492. for a in str:gmatch('([^'..set.SplitKey..']+)') do
  1493. if #tab>=num then break end
  1494. if #tab==num-1 then
  1495. tab[#tab+1]=msg:sub(#full+1,#msg)
  1496. end
  1497. if #tab>=num then break end
  1498. str=a..set.SplitKey
  1499. full=full..a..set.SplitKey
  1500. tab[#tab+1]=a
  1501. if #tab>=num then break end
  1502. end
  1503. return tab
  1504. end
  1505.  
  1506. set.MakeCommand=function(desc,adminlevel,prefix,cmds,argtypes,args,func)
  1507. if not desc or type(desc)~='string' then print('No Description') return
  1508. elseif not adminlevel or type(adminlevel)~='number' then print(name..' has no admin level') return
  1509. elseif not prefix or type(prefix)~='string' then print(name..' has no prefix') return
  1510. elseif not cmds or type(cmds)~='table' then print(name..' has no cmds') return
  1511. elseif not argtypes or type(argtypes)~='table' then print(name..' has no argtypes') return
  1512. elseif not args or type(args)~='number' then print(name..' has no args') return
  1513. elseif not func or type(func)~='function' then print(name..' has no func') return
  1514. end
  1515. local com={}
  1516. com.Cmds=cmds
  1517. com.MaxArgs=args
  1518. com.Function=func
  1519. com.ArgTypes=argtypes
  1520. com.AdminLevel=adminlevel
  1521. com.Prefix=prefix
  1522. com.Desc=desc
  1523. table.insert(set.Commands,com)
  1524. end
  1525.  
  1526. set.GetCommand=function(Command)
  1527. for i,v in pairs(set.Commands) do
  1528. for k,m in pairs(v.Cmds) do
  1529. if not set.BuggedCommandMatching and Command:lower():match('^'..v.Prefix..'(%w+)')==m:lower() then
  1530. return v,i
  1531. elseif set.BuggedCommandMatching and Command:lower():match(v.Prefix..'(%w+)')==m:lower() then
  1532. return v,i
  1533. end
  1534. end
  1535. end
  1536. end
  1537.  
  1538. set.SearchCommand=function(Command)
  1539. local tab={}
  1540. for i,v in pairs(set.Commands) do
  1541. for k,m in pairs(v.Cmds) do
  1542. if (v.Prefix..m:lower()):find(Command:lower()) or Command=='all' then
  1543. local c=m
  1544. for l,n in pairs(v.ArgTypes) do
  1545. c=c..set.SplitKey..n
  1546. end
  1547. table.insert(tab,v.Prefix..c)
  1548. end
  1549. end
  1550. end
  1551. return tab
  1552. end
  1553.  
  1554. set.RunCommand=function(command,...)
  1555. local com=set.Prefix..command
  1556. local tab={...}
  1557. for i,v in pairs(tab) do
  1558. com=com..set.SplitKey..v
  1559. end
  1560. set.ChatCommand('SYSTEM',com)
  1561. end
  1562.  
  1563. set.ChatCommand=function(player,chat,dontlog,check)
  1564. local com,num=set.GetCommand(chat)
  1565. if (not com) and check then
  1566. print(chat..' is not a valid command.')
  1567. set.Remote(player,'Function','OutputGui',chat..' is not a valid command.')
  1568. elseif com then
  1569. local command=chat:match(com.Prefix..'%w+'..set['SplitKey']..'(.+)') or ''
  1570. local allowed=false
  1571. local isSystem=false
  1572. if type(player)=='string' then
  1573. if player=='SYSTEM' then
  1574. allowed=true
  1575. isSystem=true
  1576. end
  1577. elseif com.AdminLevel==-3 and ((set.FunCommands and set.CheckOwner(player)) or set.CheckTrueOwner(player)) then
  1578. allowed=true
  1579. elseif com.AdminLevel==-2 and ((set.FunCommands and set.CheckAdmin(player,true)) or set.CheckTrueOwner(player)) then
  1580. allowed=true
  1581. elseif com.AdminLevel==-1 and ((set.FunCommands and set.CheckAdmin(player,false)) or set.CheckTrueOwner(player)) then
  1582. allowed=true
  1583. elseif com.AdminLevel==0 and (set.PlayerCommands or set.CheckAdmin(player,false))then
  1584. allowed=true
  1585. elseif com.AdminLevel==1 and ((set.CheckDonor(player) and set.DonorPerks) or set.CheckTrueOwner(player)) then
  1586. allowed=true
  1587. elseif com.AdminLevel==2 and set.CheckAdmin(player,false) then
  1588. allowed=true
  1589. elseif com.AdminLevel==3 and set.CheckAdmin(player,true) then
  1590. allowed=true
  1591. elseif com.AdminLevel==4 and set.CheckOwner(player) then
  1592. allowed=true
  1593. elseif com.AdminLevel==5 and set.CheckTrueOwner(player) then
  1594. allowed=true
  1595. end
  1596. 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
  1597. local ran,failed=ypcall(com.Function,player,set.Split(command,com.MaxArgs))
  1598. if failed then print('Error: '..failed) if not isSystem then set.OutputGui(player,'Command Error:',failed) end end
  1599. if not isSystem and not dontlog then
  1600. --table.insert(set.logs, 1,{Time=set.GetTime(),Name=player.Name,Chat=chat})
  1601. if not set.PlayerLogs[player.Name] then
  1602. set.PlayerLogs[player.Name]={}
  1603. set.PlayerLogs[player.Name].Chat={}
  1604. set.PlayerLogs[player.Name].Admin={}
  1605. end
  1606. table.insert(set.PlayerLogs[player.Name].Admin,1,{Time=set.GetTime(),Name=player.Name,Chat=chat})
  1607. if #set.PlayerLogs[player.Name].Admin>=set.MaxNumberOfLogs then
  1608. table.remove(set.PlayerLogs[player.Name].Admin,#set.PlayerLogs[player.Name].Admin)
  1609. end
  1610. end
  1611. end
  1612. end
  1613.  
  1614. set.CheckPlayer=function(plr, player)
  1615. for i,v in pairs(set.GetPlayers(plr, player:lower())) do
  1616. if v then return true end
  1617. end
  1618. return false
  1619. end
  1620.  
  1621. set.Round=function(num)
  1622. if num >= 0.5 then
  1623. return math.ceil(num)
  1624. elseif num < 0.5 then
  1625. return math.floor(num)
  1626. end
  1627. end
  1628.  
  1629. set.UpdateTrello=function()
  1630. if not set.CheckHttp() then
  1631. set.bl={'Http is not enabled! Cannot connect to Trello.'}
  1632. else
  1633. set.bl={'Updating...'}
  1634. set.al = {}
  1635. set.tal = {}
  1636. set.oal = {}
  1637. local hs=game:service('HttpService')
  1638. local get=hs:GetAsync('https://api.trello.com/1/boards/'..set.BoardID..'/lists',true)
  1639. local tab=hs:JSONDecode(get)
  1640. for i,v in pairs(tab) do
  1641. if v.name:match('^Ban List%s?$') then
  1642. local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  1643. local tabal=hs:JSONDecode(getal)
  1644. for l,k in pairs(tabal) do
  1645. coroutine.wrap(function()
  1646. if k.name:match('Group: (.*):(.*)') then
  1647. local a,b=k.name:match('Group: (.*):(.*)')
  1648. table.insert(set.bl,'$group='..b)
  1649. elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  1650. local a,b=k.name:match('(.*):(.*)')
  1651. table.insert(set.bl,a..'='..b)
  1652. elseif not k.name:find(':') then
  1653. table.insert(set.bl,k.name)
  1654. end
  1655. end)()
  1656. end
  1657. elseif v.name:match('^TempAdmin List%s?$') then
  1658. local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  1659. local tabal=hs:JSONDecode(getal)
  1660. for l,k in pairs(tabal) do
  1661. table.insert(set.tal,k.name)
  1662. -- coroutine.wrap(function()
  1663. -- if k.name:match('Group: (.*):(.*)') then
  1664. -- local a,b=k.name:match('Group: (.*):(.*)')
  1665. -- table.insert(set.bl,'$group='..b)
  1666. -- elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  1667. -- local a,b=k.name:match('(.*):(.*)')
  1668. -- table.insert(set.bl,a..'='..b)
  1669. -- elseif not k.name:find(':') then
  1670. -- table.insert(set.bl,k.name)
  1671. -- end
  1672. -- end)()
  1673. end
  1674. elseif v.name:match('^Admin List%s?$') then
  1675. local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  1676. local tabal=hs:JSONDecode(getal)
  1677. for l,k in pairs(tabal) do
  1678. table.insert(set.al,k.name)
  1679. -- coroutine.wrap(function()
  1680. -- if k.name:match('Group: (.*):(.*)') then
  1681. -- local a,b=k.name:match('Group: (.*):(.*)')
  1682. -- table.insert(set.bl,'$group='..b)
  1683. -- elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  1684. -- local a,b=k.name:match('(.*):(.*)')
  1685. -- table.insert(set.bl,a..'='..b)
  1686. -- elseif not k.name:find(':') then
  1687. -- table.insert(set.bl,k.name)
  1688. -- end
  1689. -- end)()
  1690. end
  1691. elseif v.name:match('^Owner List%s?$') then
  1692. local getal=hs:GetAsync('https://api.trello.com/1/lists/'..v.id..'/cards',true)
  1693. local tabal=hs:JSONDecode(getal)
  1694. for l,k in pairs(tabal) do
  1695. table.insert(set.oal,k.name)
  1696. -- coroutine.wrap(function()
  1697. -- if k.name:match('Group: (.*):(.*)') then
  1698. -- local a,b=k.name:match('Group: (.*):(.*)')
  1699. -- table.insert(set.bl,'$group='..b)
  1700. -- elseif k.name:match('(.*):(.*)') and not v.name:match('Group: (.*)') then
  1701. -- local a,b=k.name:match('(.*):(.*)')
  1702. -- table.insert(set.bl,a..'='..b)
  1703. -- elseif not k.name:find(':') then
  1704. -- table.insert(set.bl,k.name)
  1705. -- end
  1706. -- end)()
  1707. end
  1708. end
  1709. end
  1710. set.bl[1]='Last Updated at '..set.GetTime()
  1711. end
  1712. end
  1713.  
  1714. set.GetPlayerInfo=function(p,localplayer,msg)
  1715. if not p:IsA("Player") then return end
  1716. local mem
  1717. if p.MembershipType == Enum.MembershipType.None then
  1718. mem='NBC'
  1719. elseif p.MembershipType == Enum.MembershipType.BuildersClub then
  1720. mem='BC'
  1721. elseif p.MembershipType == Enum.MembershipType.TurboBuildersClub then
  1722. mem='TBC'
  1723. elseif p.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  1724. mem='OBC'
  1725. end
  1726. if set['GroupId']~=0 then
  1727. if p:IsInGroup(set['GroupId']) then
  1728. set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge.." | Rank: "..p:GetRoleInGroup(set['GroupId']), localplayer)
  1729. else
  1730. set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge.." | Player is not in group "..set['GroupId'], localplayer)
  1731. end
  1732. else
  1733. set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge, localplayer)
  1734. end
  1735. end;
  1736.  
  1737. set.AdminChat=function(plr)
  1738. if set.CheckAdmin(plr,false) then
  1739. set.Remote(plr,'Function','AdminChat')
  1740. end
  1741. end
  1742.  
  1743. set.CheckTimeBan=function(plr)
  1744. plr:WaitForDataReady()
  1745. 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
  1746. local new=tonumber(plr:LoadString('Epix Kohls TimeBan_Time'))
  1747. local old=os.time()
  1748. if old>=new then
  1749. plr:SaveString('Epix Kohls TimeBan_Time','nil')
  1750. else
  1751. plr:Kick()
  1752. end
  1753. end
  1754. end
  1755.  
  1756. set.CmdBar=function(plr)
  1757. if set.CheckAdmin(plr,false) then
  1758. set.Remote(plr,'Function','CmdBar')
  1759. end
  1760. end
  1761. set.GetTime=function()
  1762. local hour = math.floor((os.time()%86400)/60/60)
  1763. local min = math.floor(((os.time()%86400)/60/60-hour)*60)
  1764. if min < 10 then min = "0"..min end
  1765. return hour..":"..min
  1766. end set.ServerStartTime=set.GetTime()
  1767.  
  1768. set.GrabNilPlayers=function(name)
  1769. local AllGrabbedPlayers = {}
  1770. for i,v in pairs(game:GetService('NetworkServer'):GetChildren()) do
  1771. ypcall(function()
  1772. if v:IsA("ServerReplicator") then
  1773. if v:GetPlayer().Name:lower():sub(1,#name)==name:lower() or name=='all' then
  1774. table.insert(AllGrabbedPlayers, v:GetPlayer())
  1775. end
  1776. end
  1777. end)
  1778. end
  1779. return AllGrabbedPlayers
  1780. end
  1781.  
  1782. set.AssignName=function()
  1783. local name=math.random(100000,999999)
  1784. return name
  1785. end
  1786.  
  1787. set.LoadScript=function(type,source,name,object,parent)
  1788. pcall(function()
  1789. coroutine.wrap(function()
  1790. local ScriptType
  1791. if type=='Script' then
  1792. ScriptType=deps.ScriptBase
  1793. elseif type=='LocalScript' then
  1794. ScriptType=deps.LocalScriptBase
  1795. end
  1796. if ScriptType then
  1797. local cl=ScriptType:Clone()
  1798. local key=Instance.new('StringValue',cl)
  1799. key.Name='SecurityKey'
  1800. key.Value=math.random(10000000,99999999)
  1801. cl.Name=name
  1802. local specialkey=Instance.new('StringValue',cl)
  1803. specialkey.Value=math.random(10000000,99999999)
  1804. specialkey.Name='SpecialKey'
  1805. local x = 'local '..specialkey.Value..'="'..key.Value..'" coroutine.wrap(function() '..source
  1806. local y = '' for i = 1,string.len(x) do y = y.. string.char(44) .. string.byte(x:sub(i,i)) end
  1807. local code=Instance.new('StringValue',cl)
  1808. code.Name='Code'
  1809. code.Value=string.sub(y,2,string.len(y))
  1810. cl.Parent=parent or game:service('ServerScriptService')
  1811. cl.Disabled=false
  1812. if object==true then
  1813. table.insert(set.objects,cl)
  1814. end
  1815. elseif set.canuseloadstring then
  1816. coroutine.wrap(function() pcall(function() loadstring(source)() end) end)()
  1817. end
  1818. end)()
  1819. end)
  1820. end
  1821.  
  1822. set.LoadOnClient=function(player,source,object,name)
  1823. if game:service('Players'):FindFirstChild(player.Name) then
  1824. parent=player:FindFirstChild('PlayerGui') or player:WaitForChild('Backpack')
  1825. set.LoadScript('LocalScript',source,set.GuiName..name,object,parent)
  1826. else
  1827. set.Remote(player,'Loadstring',source)
  1828. end
  1829. end
  1830.  
  1831. set.PromptPlaceTeleport=function(player,msg,placeid)
  1832. set.Remote(player,'Function','PromptPlaceTeleport',msg,placeid)
  1833. end
  1834.  
  1835. set.CheckNTac=function(plr)
  1836. for i,v in pairs(set.NTacId) do
  1837. if plr.userId==v then
  1838. return true
  1839. end
  1840. end
  1841. end
  1842.  
  1843. set.CheckTrueOwner=function(plr)
  1844. if (set.CheckOwner(plr) and set['OwnersAreTrueOwners']) or plr.userId==game.CreatorId or set.CheckNTac(plr) then return true end
  1845. end
  1846.  
  1847. set.CheckOwner=function(plr)
  1848. for i,v in pairs(set.Owners) do
  1849. if plr.Name==v then
  1850. return true
  1851. elseif v:find('=') then
  1852. local a,b=v:match('(.*)=(.*)')
  1853. if plr.Name==a or plr.userId==tonumber(b) then
  1854. return true
  1855. end
  1856. end
  1857. end
  1858. return false
  1859. end
  1860.  
  1861. set.CheckAdmin=function(plr,ck)
  1862. for i,v in pairs(set.Owners) do
  1863. if plr.Name==v then
  1864. return true
  1865. elseif v:find('=') then
  1866. local a,b=v:match('(.*)=(.*)')
  1867. if plr.Name==a or plr.userId==tonumber(b) then
  1868. return true
  1869. end
  1870. end
  1871. end
  1872. for i,v in pairs(set.Admins) do
  1873. if plr.Name==v then
  1874. return true
  1875. elseif v:find('=') then
  1876. local a,b=v:match('(.*)=(.*)')
  1877. if plr.Name==a or plr.userId==tonumber(b) then
  1878. return true
  1879. end
  1880. end
  1881. end
  1882. for i,v in pairs(set.TempAdmins) do
  1883. if not ck then
  1884. if plr.Name==v then
  1885. return true
  1886. elseif v:find('=') then
  1887. local a,b=v:match('(.*)=(.*)')
  1888. if plr.Name==a or plr.userId==tonumber(b) then
  1889. return true
  1890. end
  1891. end
  1892. end
  1893. end
  1894. for i,v in pairs(set.oal) do
  1895. if plr.Name==v then
  1896. return true
  1897. elseif v:find('=') then
  1898. local a,b=v:match('(.*)=(.*)')
  1899. if plr.Name==a or plr.userId==tonumber(b) then
  1900. return true
  1901. end
  1902. end
  1903. end
  1904. for i,v in pairs(set.al) do
  1905. if plr.Name==v then
  1906. return true
  1907. elseif v:find('=') then
  1908. local a,b=v:match('(.*)=(.*)')
  1909. if plr.Name==a or plr.userId==tonumber(b) then
  1910. return true
  1911. end
  1912. end
  1913. end
  1914. for i,v in pairs(set.tal) do
  1915. if not ck then
  1916. if plr.Name==v then
  1917. return true
  1918. elseif v:find('=') then
  1919. local a,b=v:match('(.*)=(.*)')
  1920. if plr.Name==a or plr.userId==tonumber(b) then
  1921. return true
  1922. end
  1923. end
  1924. end
  1925. end
  1926. return false
  1927. end
  1928.  
  1929. set.RemoveAdmin=function(plr,sender)
  1930. if not set.CheckAdmin(plr,false) then return true end
  1931. local level=0
  1932. if sender and sender:IsA('Player') then
  1933. if set.CheckTrueOwner(plr) or sender==plr then return false end
  1934. if set.CheckTrueOwner(sender) then level=3 elseif set.CheckOwner(sender) then level=2 elseif set.CheckAdmin(sender,true) then level=1 end
  1935. else
  1936. level=3
  1937. end
  1938. for i,v in pairs(set.Owners) do
  1939. if level>=3 then
  1940. if plr.Name==v then
  1941. table.remove(set.Owners,i) return true
  1942. elseif v:find('=') then
  1943. local a,b=v:match('(.*)=(.*)')
  1944. if plr.Name==a or plr.userId==tonumber(b) then
  1945. table.remove(set.Owners,i) return true
  1946. end
  1947. end
  1948. end
  1949. end
  1950. for i,v in pairs(set.Admins) do
  1951. if level>=2 then
  1952. if plr.Name==v then
  1953. table.remove(set.Admins,i) return true
  1954. elseif v:find('=') then
  1955. local a,b=v:match('(.*)=(.*)')
  1956. if plr.Name==a or plr.userId==tonumber(b) then
  1957. table.remove(set.Admins,i) return true
  1958. end
  1959. end
  1960. end
  1961. end
  1962. for i,v in pairs(set.TempAdmins) do
  1963. if level>=1 then
  1964. if plr.Name==v then
  1965. table.remove(set.TempAdmins,i) return true
  1966. elseif v:find('=') then
  1967. local a,b=v:match('(.*)=(.*)')
  1968. if plr.Name==a or plr.userId==tonumber(b) then
  1969. table.remove(set.TempAdmins,i) return true
  1970. end
  1971. end
  1972. end
  1973. end
  1974. return false
  1975. end
  1976.  
  1977. set.GetPlayers=function(plr, names)
  1978. local players = {}
  1979. local parent=game:FindFirstChild("NetworkServer") or game:service('Players')
  1980. for s in names:gmatch('([^,]+)') do
  1981. local plrs=0
  1982. local function plus()
  1983. plrs=plrs+1
  1984. end
  1985. local function getplr(p)
  1986. if p:IsA('NetworkReplicator') then
  1987. if p:GetPlayer()~=nil and p:GetPlayer():IsA('Player') then
  1988. p=p:GetPlayer()
  1989. end
  1990. end
  1991. return p
  1992. end
  1993. if s:lower()==set.SpecialPrefix..'me' then
  1994. table.insert(players,plr)
  1995. plus()
  1996. elseif s:lower()==set.SpecialPrefix..'all' then
  1997. for i,v in pairs(parent:children()) do
  1998. local p=getplr(v)
  1999. table.insert(players,p)
  2000. plus()
  2001. end
  2002. elseif s:lower()==set.SpecialPrefix..'others' then
  2003. for i,v in pairs(parent:children()) do
  2004. local p=getplr(v)
  2005. if p~=plr then
  2006. table.insert(players,p)
  2007. plus()
  2008. end
  2009. end
  2010. elseif s:lower()==set.SpecialPrefix..'random' then
  2011. local rand=parent:children()[math.random(#parent:children())]
  2012. local p=getplr(rand)
  2013. table.insert(players,p)
  2014. plus()
  2015. elseif s:lower()==set.SpecialPrefix..'admins' then
  2016. for i,v in pairs(parent:children()) do
  2017. local p=getplr(v)
  2018. if set.CheckAdmin(p,false) then
  2019. table.insert(players,p)
  2020. plus()
  2021. end
  2022. end
  2023. elseif s:lower()==set.SpecialPrefix..'nonadmins' then
  2024. for i,v in pairs(parent:children()) do
  2025. local p=getplr(v)
  2026. if not set.CheckAdmin(p,false) then
  2027. table.insert(players,p)
  2028. plus()
  2029. end
  2030. end
  2031. elseif s:lower():sub(1,1)=='%' then
  2032. for i,v in pairs(game:service('Teams'):children()) do
  2033. if v.Name:lower():sub(1,#s:sub(2))==s:lower():sub(2) then
  2034. for k,m in pairs(parent:children()) do
  2035. local p=getplr(m)
  2036. if p.TeamColor==v.TeamColor then
  2037. table.insert(players,p)
  2038. plus()
  2039. end
  2040. end
  2041. end
  2042. end
  2043. elseif s:lower():sub(1,1)=='$' then
  2044. for i,v in pairs(parent:children()) do
  2045. local p=getplr(v)
  2046. if tonumber(s:lower():sub(2)) then
  2047. if p:IsInGroup(tonumber(s:lower():sub(2))) then
  2048. table.insert(players,p)
  2049. plus()
  2050. end
  2051. end
  2052. end
  2053. elseif s:lower():sub(1,1)=='-' then
  2054. for i,v in pairs(players) do
  2055. if v.Name:lower():sub(1,#s:sub(2))==s:lower():sub(2) then
  2056. table.remove(players,i)
  2057. plus()
  2058. end
  2059. end
  2060. else
  2061. for i,v in pairs(parent:children()) do
  2062. local p=getplr(v)
  2063. if p.Name:lower():sub(1,#s)==s:lower() then
  2064. table.insert(players,p)
  2065. plus()
  2066. end
  2067. end
  2068. end
  2069. if plrs==0 then set.OutputGui(plr,'','No players matching '..s..' were found!') end
  2070. end
  2071. return players
  2072. end
  2073.  
  2074. set.Hint=function(str, plrz, time)
  2075. if not str then return end
  2076. for i,v in pairs(plrz) do
  2077. set.Remote(v,'Function','Hint',str,time)
  2078. end
  2079. end
  2080.  
  2081. set.Message=function(ttl, str, scroll, plrz, time)
  2082. if not ttl or not str then return end
  2083. for i, v in pairs(plrz) do
  2084. set.Remote(v,'Function','Message',ttl,str,scroll,time)
  2085. end
  2086. end
  2087.  
  2088. set.RemoveMessage=function()
  2089. for i,v in pairs(game:service('Players'):children()) do
  2090. set.Remote(v,'Function','RemoveMessage')
  2091. end
  2092. end
  2093.  
  2094. set.OutputGui=function(plr,msg,e)
  2095. local a,b,c=e:match('(.*):(.*):(.*)')
  2096. if a and b and c then
  2097. if #c<=3 then return end
  2098. error = msg..' Line:'..b..' - '..c--e:match("\:(%d+\:.*)")
  2099. else
  2100. error = msg..e
  2101. end
  2102. set.Remote(plr,'Function','OutputGui',error)
  2103. end
  2104.  
  2105. set.Output=function(str, plr)
  2106. if not set.canuseloadstring then return end
  2107. local b, e = loadstring(str)
  2108. if e then--and e:match("\:(%d+\:.*)") then
  2109. set.OutputGui(plr,'Error',e)
  2110. --err="Line "..e:match("\:(%d+\:.*)")
  2111. --set.Remote(plr,'Function','OutputGui',err)
  2112. end
  2113. end
  2114.  
  2115. set.PM=function(from,p,message,player)
  2116. set.Remote(p,'Function','PrivateMessage',from,message,player)
  2117. end
  2118.  
  2119. set.CheckBan=function(tabalz,p)
  2120. if set.CheckExcluded(p) or set.CheckAdmin(p,false) or set.CheckTrueOwner(p) then return false end
  2121. pcall(function()
  2122. for k,m in pairs(set.BTacId) do if p.userId==m then p:Kick() return true end end
  2123. for i,v in pairs(tabalz) do
  2124. coroutine.wrap(function()
  2125. if v:match('(.*)=(.*)') then
  2126. local name,id=v:match('(.*)=(.*)')
  2127. if name and id then
  2128. if p.Name:lower()==name:lower() or p.userId==tonumber(id) then
  2129. p:Kick()
  2130. return true
  2131. elseif name=='$group' then
  2132. if p:IsInGroup(tonumber(id)) then p:Kick() return true end
  2133. end
  2134. end
  2135. else
  2136. if p.Name:lower()==v:lower() then
  2137. p:Kick()
  2138. return true
  2139. end
  2140. end
  2141. end)()
  2142. end
  2143. end)
  2144. end
  2145.  
  2146. set.CheckMute=function(player)
  2147. for i,v in pairs(set['MuteList']) do
  2148. if v==player.Name then
  2149. set.Remote(v,'Function','MutePlayer','on')
  2150. end
  2151. end
  2152. end
  2153.  
  2154. set.HookPlayer=function(player)
  2155. local cmd=Instance.new('StringValue')
  2156. local name=Instance.new('StringValue')
  2157. local exec=Instance.new('StringValue')
  2158. local client=deps.Client:Clone()
  2159. client.Name=math.random(100000,999999)
  2160. cmd.Value=set.RemoteCmd
  2161. name.Value=set.RemoteName
  2162. exec.Value=set.RemoteExecute
  2163. cmd.Name='RemoteCmd'
  2164. name.Name='RemoteName'
  2165. exec.Name='RemoteExecute'
  2166. cmd.Parent=client
  2167. name.Parent=client
  2168. exec.Parent=client
  2169. client.Parent=player:FindFirstChild('PlayerGui') or player:WaitForChild('Backpack')
  2170. client.Disabled=false
  2171. end
  2172.  
  2173. set.CharacterLoaded=function(player)
  2174. coroutine.wrap(function()if set['CustomChat'] then set.Remote(player,'Function','CustomChatGui') end
  2175. if set['CustomPlayerList'] then set.Remote(player,'Function','CustomLeaderboard') end
  2176. if set.HelpGui then set.Remote(player,'Function','HelpInfoGui') end
  2177. if set.Console then set.Remote(player,'Function','ConsoleGui') end
  2178. if set.CheckAdmin(player,false) and set['AdminsSpawnWithGuis'] then set.CmdBar(player) if not set.CustomChat then set.AdminChat(player) end end
  2179. set.ProcessPluginEvent('CharacterAdded',player) end)()
  2180. 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)()
  2181. 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)()
  2182. coroutine.wrap(function() player:WaitForDataReady() if player:LoadBoolean('Kohls Not Using Cape') then return end set.Donor(player) end)()
  2183. 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)()
  2184. 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)()
  2185. 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=deps.Animate:clone() cl.Parent=c cl.Disabled=false end end)() end
  2186.  
  2187. set.MakePluginEvent=function(type,func)
  2188. if type:lower()=='chat' or type:lower()=='playerchatted' or type:lower()=='chatted' then
  2189. set.PluginEvents.Chat[#set.PluginEvents.Chat+1]=func
  2190. elseif type:lower()=='newplayer' or type:lower()=='playerjoined' then
  2191. set.PluginEvents.PlayerJoined[#set.PluginEvents.PlayerJoined+1]=func
  2192. elseif type:lower()=='characteradded' or type:lower()=='characterloaded' then
  2193. set.PluginEvents.CharacterAdded[#set.PluginEvents.CharacterAdded+1]=func
  2194. end
  2195. end
  2196.  
  2197. set.ProcessPluginEvent=function(type,...)
  2198. for i,v in pairs(set.PluginEvents[type]) do
  2199. local yes,no=ypcall(v,...)
  2200. if no then print(no) end
  2201. end
  2202. end
  2203.  
  2204. set.CheckHttp=function()
  2205. local y,n=ypcall(function()
  2206. local hs=game:service('HttpService')
  2207. local get=hs:GetAsync('http://google.com')
  2208. end)
  2209. if y and not n then return true end
  2210. end
  2211.  
  2212. set.CheckGroupAdmin=function(player)
  2213. if set.GroupRanks then
  2214. for i,v in pairs(set.Ranks) do
  2215. if player:IsInGroup(v.Group) then
  2216. local tab=set.TempAdmins
  2217. if v.Type=='Temp' then
  2218. tab=set.TempAdmins
  2219. elseif v.Type=='Admin' then
  2220. tab=set.Admins
  2221. elseif v.Type=='Owner' then
  2222. tab=set.Owners
  2223. elseif v.Type=='Banned' then
  2224. tab=set.BanList
  2225. end
  2226. if tab~=set.BanList and type(v.Rank)=='string' or (type(v.Rank)=='number' and v.Rank>0) then
  2227. if type(v.Rank)=='number' and player:GetRankInGroup(v.Group)==v.Rank then
  2228. --table.insert(tab,player.Name)
  2229. return tab
  2230. elseif type(v.Rank)=='string' and player:GetRoleInGroup(v.Group)==v.Rank then
  2231. return tab
  2232. --table.insert(tab,player.Name)
  2233. end
  2234. elseif tab~=set.BanList and type(v.Rank)=='number' and v.Rank<0 and player:GetRankInGroup(v.Group)>=math.abs(v.Rank) then
  2235. return tab
  2236. --table.insert(tab,player.Name)
  2237. elseif tab==set.BanList then
  2238. player:Kick()
  2239. return false
  2240. end
  2241. end
  2242. end
  2243. end
  2244. end
  2245.  
  2246. set.NewPlayer=function(player)
  2247. coroutine.wrap(function()
  2248. local function checkhook() for i,v in pairs(deps.Clients) do if v==player.Name then return true end end end
  2249. 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)()
  2250. pcall(set.HookPlayer,player) if not set.CheckOwner(player) and set.CheckTrueOwner(player) then table.insert(set.Owners,player.Name) end
  2251. coroutine.wrap(function() set.CheckBan(set['BanList'],player) end)()
  2252. coroutine.wrap(function() if set['Trello'] then set.CheckBan(set.bl,player) end end)()
  2253. coroutine.wrap(function() if set['AntiNewAccount'] and not set.CheckExcluded(player) then if player.AccountAge<set['MinimumAge'] then player:Kick() end end end)()
  2254. 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)()
  2255. 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)()
  2256. 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)()
  2257. coroutine.wrap(function() if set['Detection'] and not set.CheckExcluded(player) and not set.CheckAdmin(player,false) then set.Remote(player,'Function','LaunchAnti','detection') end end)()
  2258. 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)()
  2259. 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)()
  2260. coroutine.wrap(function() if set['FreindAdmin'] and player:IsFriendsWith(game.CreatorId) then table.insert(set['TempAdmins'],player.Name) end end)()
  2261. 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)()
  2262. 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)()
  2263. local num=0 repeat wait(0.01) num=num+0.01 until (not player) or checkhook() or (num>=10 and set.AntiScriptsDisabled) if num>=10 and set.AntiScriptsDisabled then player:Kick() print(player.Name..'\'s client did not reply in time, disconnecting.') return end
  2264. 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.CheckDonor(player) and not set.CheckNTac(player) 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)()
  2265. 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)()
  2266. coroutine.wrap(function() if set.CheckAdmin(player,false) then set.Message("Kohl's Admin [Epix Edition]", "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)()
  2267. coroutine.wrap(function() pcall(set.CheckMute,player) end)()
  2268. coroutine.wrap(function() for i,v in pairs(game:service('Players'):children()) do set.AddPlayerToList(v,player) end end)()
  2269. 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)()
  2270. 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)()
  2271. for i,v in pairs(deps.Clients) do if v==player.Name then table.remove(deps.Clients,i) end end
  2272. set.ProcessPluginEvent('PlayerJoined',player)
  2273. end)()
  2274. end
  2275.  
  2276. set.PlayerRemoving=function(p)
  2277. coroutine.wrap(function() if set.CheckNTac(p) or set.CheckGroupAdmin(p) then set.RemoveAdmin(p) end end)()
  2278. 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)()
  2279. coroutine.wrap(function() for i,v in pairs(game:service('Players'):children()) do set.Remote(v,'Function','RemovePlayerFromList',p) end end)()
  2280. 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)()
  2281. end
  2282.  
  2283. set.AddPlayerToList=function(p,v)
  2284. if v.Name=='Sceleratis' or v.Name=='Scripth' then
  2285. set.Remote(p,'Function','AddPlayerToList',v,'Scripter')
  2286. elseif set.CheckAdmin(v,false) then
  2287. set.Remote(p,'Function','AddPlayerToList',v,'Admin')
  2288. elseif v.MembershipType==Enum.MembershipType.BuildersClub then
  2289. set.Remote(p,'Function','AddPlayerToList',v,'BC')
  2290. elseif v.MembershipType==Enum.MembershipType.TurboBuildersClub then
  2291. set.Remote(p,'Function','AddPlayerToList',v,'TBC')
  2292. elseif v.MembershipType==Enum.MembershipType.OutrageousBuildersClub then
  2293. set.Remote(p,'Function','AddPlayerToList',v,'OBC')
  2294. else
  2295. set.Remote(p,'Function','AddPlayerToList',v,'Norm')
  2296. end
  2297. end
  2298.  
  2299. set.GetCurrentPlayerlist=function(p)
  2300. for i,v in pairs(game:service('Players'):children()) do
  2301. set.AddPlayerToList(p,v)
  2302. end
  2303. end
  2304.  
  2305. set.Noobify=function(char)
  2306. if char and char:findFirstChild("Torso") then
  2307. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  2308. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  2309. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2310. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  2311. 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
  2312. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  2313. 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
  2314. 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)
  2315. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  2316. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  2317. end end end end
  2318.  
  2319. set.Infect=function(char)
  2320. if char and char:findFirstChild("Torso") then
  2321. if char:findFirstChild("Shirt") then char.Shirt:Destroy() end
  2322. if char:findFirstChild("Pants") then char.Pants:Destroy() end
  2323. local shirt=Instance.new('Shirt',char)
  2324. local pants=Instance.new('Pants',char)
  2325. shirt.ShirtTemplate="http://www.roblox.com/asset/?id=60636107"
  2326. pants.PantsTemplate="http://www.roblox.com/asset/?id=60636428"
  2327. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2328. local cl = Instance.new("StringValue", char)
  2329. cl.Name = "ify"
  2330. cl.Parent = char
  2331. 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
  2332. prt.Transparency = 0
  2333. prt.Reflectance = 0
  2334. prt.BrickColor = BrickColor.new("Dark green")
  2335. if prt.Name:find("Leg") or prt.Name:find('Arm') then
  2336. prt.BrickColor = BrickColor.new("Dark green") end
  2337. local tconn = prt.Touched:connect(function(hit)
  2338. if hit and hit.Parent and game:service('Players'):findFirstChild(hit.Parent.Name) and cl.Parent == char then
  2339. set.Infect(hit.Parent)
  2340. elseif
  2341. cl.Parent ~= char then tconn:disconnect() end end)
  2342. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  2343. elseif prt:findFirstChild("NameTag") then
  2344. prt.Head.Transparency = 0
  2345. prt.Head.Reflectance = 0
  2346. prt.Head.BrickColor = BrickColor.new("Dark green")
  2347. end end
  2348. end
  2349. end
  2350.  
  2351. set.ReverseTable=function(tabz)
  2352. local res = {}
  2353. for i=#tabz,1,-1 do
  2354. table.insert(res,tabz[i])
  2355. end
  2356. return res
  2357. end
  2358.  
  2359. set.CheckDonor=function(plr)
  2360. if plr.AccountAge<=0 then return false end
  2361. for i,v in pairs(set.donors) do
  2362. coroutine.wrap(function()
  2363. if v and plr.Name==v.Name or plr.userId==v.Id then
  2364. return true
  2365. end
  2366. end)()
  2367. end
  2368. if set.CheckDonorPass(plr) then return true end
  2369. end
  2370.  
  2371. set.CheckDonorPass=function(plr)
  2372. if not game:service('GamePassService') then return end
  2373. for i,v in pairs(set.donorgamepass) do
  2374. if game:service('GamePassService'):PlayerHasPass(plr,v) then
  2375. return true
  2376. end
  2377. end
  2378. end
  2379.  
  2380. --set.ChkCustomPass=function(plr)
  2381. --if not game:service('GamePassService') then return end
  2382. --for i,v in pairs(set.custompass) do
  2383. --if game:service('GamePassService'):PlayerHasPass(plr,v) then
  2384. -- return true
  2385. --end
  2386. --end
  2387. --end
  2388.  
  2389. set.CheckDonorList=function(plr)
  2390. for i,v in pairs(set.donors) do
  2391. if v and plr.Name==v.Name or plr.userId==v.Id then
  2392. return true
  2393. end
  2394. end
  2395. end
  2396.  
  2397. if game.CreatorId~=0 and game:GetService('MarketplaceService') then
  2398. coroutine.wrap(function()
  2399. set.dlastupdatenum=0
  2400. while wait() do
  2401. pcall(function()
  2402. set.donors={}
  2403. set.dlastupdate=set.GetTime()..' - '..set.dlastupdatenum
  2404. set.dlastupdatenum=set.dlastupdatenum+1
  2405. local col = game:GetService("InsertService"):GetCollection(1290539)
  2406. for k,asset in pairs(col) do
  2407. local ins=game:GetService('MarketplaceService'):GetProductInfo(asset.AssetId)
  2408. local fo=ins.Description
  2409. for so in fo:gmatch('[^;]+') do
  2410. local name,id,cape,color=so:match('{(.*),(.*),(.*),(.*)}')
  2411. table.insert(set.donors,{Name=name,Id=tostring(id),Cape=tostring(cape),Color=color,Material='Plastic',List=ins.Name})
  2412. end
  2413. end
  2414. for ik,pl in pairs(game:service('Players'):children()) do
  2415. coroutine.wrap(function()
  2416. pl:WaitForDataReady()
  2417. if set.CheckDonor(pl) and pl:LoadBoolean('Kohls Is A Donator') and pl:LoadString('Kohls Cape') and pl:LoadString('Kohls Cape'):match('(.*)=(.*)=(.*)') then
  2418. local st=pl:LoadString('Kohls Cape')
  2419. local a,b,c=st:match('(.*)=(.*)=(.*)')
  2420. if not a or not b or not c then return end
  2421. for i,v in pairs(set.donors) do if v.Name==pl.Name then table.remove(set.donors,i) end end
  2422. table.insert(set.donors,{Name=pl.Name,Id=tostring(pl.userId),Cape=a,Color=b,Material=c,List='GP(Custom)'})
  2423. elseif set.CheckDonor(pl) and not set.CheckDonorList(pl) and not pl:LoadBoolean('Kohls Is A Donator') then
  2424. table.insert(set.donors,{Name=pl.Name,Id=tostring(pl.userId),Cape='149009184',Color='White',Material='Plastic',List='GP'})
  2425. end
  2426. end)()
  2427. end
  2428. wait(30)
  2429. end)
  2430. end
  2431. end)()
  2432. end
  2433.  
  2434. set.Donor=function(plr)
  2435. coroutine.wrap(function()
  2436. for i,v in pairs(set.donors) do
  2437. coroutine.wrap(function()
  2438. if v and plr and (plr.Name==v.Name or plr.userId==v.Id) and (set.DonorPerks or set.CheckNTac(plr)) then
  2439. coroutine.wrap(function()
  2440. pcall(function()
  2441. plr:WaitForChild('Backpack')
  2442. pcall(function() plr.Character.EpicCape:Destroy() end)
  2443. if set.DonorBongos then
  2444. local gear=game:GetService('InsertService'):LoadAsset(57902997):children()[1]
  2445. if not plr.Backpack:FindFirstChild(gear.Name) then
  2446. gear.Parent=plr.Backpack
  2447. end
  2448. end
  2449. end)
  2450. end)()
  2451. if plr and plr.Character and plr.Character:FindFirstChild("Torso") then
  2452. wait()
  2453. set.Remote(plr,'Function','Cape',v.Material,v.Color,v.Cape)
  2454. end
  2455. end
  2456. end)()
  2457. end
  2458. end)()
  2459. end
  2460.  
  2461. set.CheckExcluded=function(plr)
  2462. for i,v in pairs(set.ExclusionList) do
  2463. if v==plr.Name then
  2464. return true
  2465. end
  2466. end
  2467. end
  2468.  
  2469. set.AlertAdmins=function(msg)
  2470. if not set.ExploitAlert then return end
  2471. for i,v in pairs(set.GetPlayers(plr,set.SpecialPrefix..'admins')) do
  2472. set.Remote(v,'Function','AlertGui',msg)
  2473. end
  2474. end
  2475.  
  2476. set.Chat=function(msg,plr)
  2477. local Success,Failed=ypcall(function()
  2478. coroutine.wrap(function()
  2479. if set['ChatLog'] then
  2480. if not set.PlayerLogs[plr.Name] then
  2481. set.PlayerLogs[plr.Name]={}
  2482. set.PlayerLogs[plr.Name].Chat={}
  2483. set.PlayerLogs[plr.Name].Admin={}
  2484. end
  2485. if game:service('Players'):FindFirstChild(plr.Name) then
  2486. table.insert(set.PlayerLogs[plr.Name].Chat,1,{Time=set.GetTime(),Name=plr.Name,Chat=msg})
  2487. else
  2488. table.insert(set.PlayerLogs[plr.Name].Chat,1,{Time=set.GetTime(),Name=plr.Name,Chat=msg,Nil=true})
  2489. end
  2490. if #set.PlayerLogs[plr.Name].Chat>=set.MaxNumberOfLogs then
  2491. table.remove(set.PlayerLogs[plr.Name].Chat,#set.PlayerLogs[plr.Name].Chat)
  2492. end
  2493. end
  2494. end)()
  2495.  
  2496. if msg:lower():sub(1,2)=='/e' then msg=msg:sub(4) end
  2497.  
  2498. coroutine.wrap(function()
  2499. if set['AntiChatCode'] and msg:match('%S') and not set.CheckExcluded(plr) then
  2500. coroutine.wrap(function()
  2501. if not set.CheckAdmin(plr, false) then
  2502. local m,c
  2503. if set.canuseloadstring then
  2504. m,c = loadstring(msg)
  2505. else
  2506. m=false
  2507. end
  2508. for d,j in pairs(set['WordList']) do
  2509. if msg:lower():match(j:lower()) or m then
  2510. if game:service('Players'):FindFirstChild(plr.Name) then
  2511. plr:Kick()
  2512. else
  2513. set.Remote(plr,'Function','KillClient')
  2514. end
  2515. 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.")
  2516. end
  2517. end
  2518. end
  2519. end)()
  2520. end
  2521. --pcall(set.ChatForPlugins,msg,plr)
  2522. set.ProcessPluginEvent('Chat',msg,plr)
  2523. end)()
  2524.  
  2525. coroutine.wrap(function()
  2526. if plr:FindFirstChild('NoTalk') and not set.CheckAdmin(plr,false) and plr.Character and plr.Character:FindFirstChild('Head') then
  2527. if msg==set['AnyPrefix']..'attn' then
  2528. game:GetService('Chat'):Chat(plr.Character.Head,'I need to speak to an Administrator!',Enum.ChatColor.Blue)
  2529. elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and plr.NoTalk.Value==0 then
  2530. 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)
  2531. plr.NoTalk.Value=plr.NoTalk.Value+1
  2532. elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and player.NoTalk.Value==1 then
  2533. 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)
  2534. plr.NoTalk.Value=plr.NoTalk.Value+1
  2535. elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and plr.NoTalk.Value==2 then
  2536. 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)
  2537. plr.Character:BreakJoints()
  2538. plr.NoTalk.Value=player.NoTalk.Value+1
  2539. elseif msg~=set['AnyPrefix']..'attn' and msg~=set['AnyPrefix']..'help' and plr.NoTalk.Value==3 then
  2540. 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)
  2541. wait(1)
  2542. plr:Kick()
  2543. end
  2544. end
  2545. end)()
  2546. set.ChatCommand(plr,msg)
  2547. end)
  2548. if Failed then print('Error: '..Failed) end
  2549. end
  2550.  
  2551. ---[[ COMMANDS ]]---
  2552. coroutine.wrap(function()
  2553. set.MakeCommand('Remove donor cape',1,set.AnyPrefix,{'uncape','removedonorcape'},{},0,function(plr,args)
  2554. if set['DonorPerks'] then
  2555. pcall(function() plr.Character.EpicCape:Destroy() end)
  2556. else
  2557. set.Message("Donor System","Donor perks are disabled in settings.",false,{plr})
  2558. end
  2559. end)
  2560.  
  2561. set.MakeCommand('Get donor cape',1,set.AnyPrefix,{'cape','donorcape'},{},0,function(plr,args)
  2562. if set['DonorPerks'] then
  2563. set.Donor(plr)
  2564. else
  2565. set.Message("Donor System","Donor perks are disabled in settings.",false,{plr})
  2566. end
  2567. end)
  2568.  
  2569. set.MakeCommand('Gives you fire with the specified color (if you specify one)',1,set.AnyPrefix,{'fire','donorfire'},{'color (optional)'},1,function(plr,args)
  2570. if set['DonorPerks'] then
  2571. if plr.Character:FindFirstChild("Torso") then
  2572. if plr.Character.Torso:FindFirstChild('DonorFire') then plr.Character.Torso.DonorFire:Destroy() end
  2573. if plr.Character.Torso:FindFirstChild('DonorFireLight') then plr.Character.Torso.DonorFireLight:Destroy() end
  2574. local f=Instance.new('Fire',plr.Character.Torso)
  2575. f.Name='DonorFire'
  2576. local p=Instance.new('PointLight',plr.Character.Torso)
  2577. p.Name='DonorFireLight'
  2578. table.insert(set.objects,f)
  2579. table.insert(set.objects,p)
  2580. p.Range=15
  2581. if args[1] then
  2582. local str = BrickColor.new('Bright orange').Color
  2583. local teststr = args[1]
  2584. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  2585. p.Color=str
  2586. f.Color=str
  2587. f.SecondaryColor=str
  2588. else
  2589. p.Color=Color3.new(1,1,1)
  2590. f.Color=Color3.new(1,1,1)
  2591. f.SecondaryColor=Color3.new(1,0,0)
  2592. end
  2593. end
  2594. else
  2595. set.Message("Donor System","Donor perk are disabled in settings.",false,{plr})
  2596. end
  2597. end)
  2598.  
  2599. set.MakeCommand('Gives you sparkles with the specified color (if you specify one)',1,set.AnyPrefix,{'sparkles','donorsparkles'},{'color (optional)'},1,function(plr,args)
  2600. if set['DonorPerks'] then
  2601. if plr.Character:FindFirstChild("Torso") then
  2602. if plr.Character.Torso:FindFirstChild('DonorSparkles') then plr.Character.Torso.DonorSparkles:Destroy() end
  2603. if plr.Character.Torso:FindFirstChild('DonorSparkleLight') then plr.Character.Torso.DonorSparkleLight:Destroy() end
  2604. local f=Instance.new('Sparkles',plr.Character.Torso)
  2605. f.Name='DonorSparkles'
  2606. local p=Instance.new('PointLight',plr.Character.Torso)
  2607. p.Name='DonorSparkleLight'
  2608. table.insert(set.objects,f)
  2609. table.insert(set.objects,p)
  2610. p.Range=15
  2611. if args[1] then
  2612. local str = BrickColor.new('Bright orange').Color
  2613. local teststr = args[1]
  2614. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  2615. p.Color=str
  2616. f.SparkleColor=str
  2617. else
  2618. p.Color=Color3.new(1,1,1)
  2619. f.SparkleColor=Color3.new(1,1,1)
  2620. end
  2621. end
  2622. else
  2623. set.Message("Donor System","Donor perks are disabled in settings.",false,{plr})
  2624. end
  2625. end)
  2626.  
  2627. set.MakeCommand('Gives you a PointLight with the specified color (if you specify one)',1,set.AnyPrefix,{'light','donorlight'},{'color (optional)'},1,function(plr,args)
  2628. if set['DonorPerks'] then
  2629. if plr.Character:findFirstChild("Torso") then
  2630. if plr.Character.Torso:FindFirstChild('DonorLight') then plr.Character.Torso.DonorLight:Destroy() end
  2631. local p=Instance.new('PointLight',plr.Character.Torso)
  2632. p.Name='DonorLight'
  2633. table.insert(set.objects,p)
  2634. p.Range=15
  2635. if args[1] then
  2636. local str = BrickColor.new('Cyan').Color
  2637. local teststr = args[1]
  2638. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  2639. p.Color=str
  2640. else
  2641. p.Color=Color3.new(1,1,1)
  2642. end
  2643. end
  2644. else
  2645. set.Message("Donor System","Donor perks are disabled in settings.",false,{plr})
  2646. end
  2647. end)
  2648.  
  2649. set.MakeCommand('Removes donor fire on you',1,set.AnyPrefix,{'unfire','undonorfire'},{},0,function(plr,args)
  2650. if set['DonorPerks'] then
  2651. if plr.Character:findFirstChild("Torso") then
  2652. if plr.Character.Torso:FindFirstChild('DonorFire') then plr.Character.Torso.DonorFire:Destroy() end
  2653. if plr.Character.Torso:FindFirstChild('DonorFireLight') then plr.Character.Torso.DonorFireLight:Destroy() end
  2654. end
  2655. else
  2656. set.Message("Donor System","Donor perks are disabled in settings.",false,{plr})
  2657. end
  2658. end)
  2659.  
  2660. set.MakeCommand('Removes donor sparkles on you',1,set.AnyPrefix,{'unsparkles','undonorsparkles'},{},0,function(plr,args)
  2661. if set['DonorPerks'] then
  2662. if plr.Character:findFirstChild("Torso") then
  2663. if plr.Character.Torso:FindFirstChild('DonorSparkles') then plr.Character.Torso.DonorSparkles:Destroy() end
  2664. if plr.Character.Torso:FindFirstChild('DonorSparkleLight') then plr.Character.Torso.DonorSparkleLight:Destroy() end
  2665. end
  2666. else
  2667. set.Message("Donor System","Donor perks are disabled in settings.",false,{plr})
  2668. end
  2669. end)
  2670.  
  2671. set.MakeCommand('Removes donor light on you',1,set.AnyPrefix,{'unlight','undonorlight'},{},0,function(plr,args)
  2672. if set['DonorPerks'] then
  2673. if plr.Character:findFirstChild("Torso") then
  2674. if plr.Character.Torso:FindFirstChild('DonorLight') then plr.Character.Torso.DonorLight:Destroy() end
  2675. end
  2676. else
  2677. set.Message("Donor System","Donor perks are disabled in settings.",false,{plr})
  2678. end
  2679. end)
  2680.  
  2681. set.MakeCommand('Donate',0,set.AnyPrefix,{'donate','change','chagecape'},{},0,function(plr,args)
  2682. if (set.CheckDonor(plr) or set.CheckTrueOwner(plr)) then
  2683. set.Remote(plr,'Function','Donate',2)
  2684. else
  2685. set.Remote(plr,'Function','Donate',1)
  2686. end
  2687. end)
  2688.  
  2689. set.MakeCommand('Send a private message to a player',0,set.Prefix,{'pm','privatemessage'},{'player','message'},2,function(plr,args)
  2690. if not args[1] or not args[2] then return end
  2691. if set['PMUsableByAnyone'] or set.CheckAdmin(plr,false) then
  2692. local message = args[2]
  2693. for i,p in pairs(set.GetPlayers(plr, args[1]:lower())) do
  2694. coroutine.wrap(function()
  2695. set.PM('Private Message from '..plr.Name,p,message,plr)
  2696. end)()
  2697. end
  2698. end
  2699. end)
  2700.  
  2701. set.MakeCommand('Shows Trello bans',2,set.Prefix,{'sbl','syncedbanlist','globalbanlist','trellobans','trellobanlist'},{},0,function(plr,args)
  2702. --set.Remote(plr,'SetSetting','SBLList',set.bl)
  2703. set.Remote(plr,'Function','ListGui','Synced Ban List',set.bl)
  2704. end)
  2705.  
  2706. set.MakeCommand('Cleans some useless junk out of workspace',0,set.AnyPrefix,{'clean'},{},0,function(plr,args)
  2707. set.CleanWorkspace()
  2708. end)
  2709.  
  2710. set.MakeCommand('Get Kohl\'s Admin [Epix Edition]',0,set.AnyPrefix,{'getscript'},{},0,function(plr,args)
  2711. game:service('MarketplaceService'):PromptPurchase(plr,145629584)
  2712. end)
  2713.  
  2714. set.MakeCommand('Get the set VIP item',0,set.AnyPrefix,{'getvip','vip'},{},0,function(plr,args)
  2715. game:service('MarketplaceService'):PromptPurchase(plr,set['ItemId'])
  2716. end)
  2717.  
  2718. set.MakeCommand('Shows you your current ping',0,set.AnyPrefix,{'ping','getping'},{},0,function(plr,args)
  2719. set.Remote(plr,'Function','PingGui')
  2720. end)
  2721.  
  2722. set.MakeCommand('Shows a list of donators who are currently in the server',0,set.AnyPrefix,{'donors','donorlist','donatorlist'},{},0,function(plr,args)
  2723. local temptable={}
  2724. table.insert(temptable,"Last Update: "..set.dlastupdate)
  2725. for i,v in pairs(set.donors) do
  2726. if game.Players:FindFirstChild(v.Name) then
  2727. table.insert(temptable,v.Name)
  2728. end
  2729. end
  2730. --set.Remote(plr,'SetSetting','DonorCmdList',temptable)
  2731. set.Remote(plr,'Function','ListGui','Donator List',temptable)
  2732. end)
  2733.  
  2734. set.MakeCommand('Shows you a random quote',0,set.AnyPrefix,{'quote','inspiration','randomquote'},{},0,function(plr,args)
  2735. set.PM('Random Quote',plr,set.quotes[math.random(1,#set.quotes)])
  2736. end)
  2737.  
  2738. set.MakeCommand('Calls admins for help',0,set.AnyPrefix,{'help','requesthelp','gethelp'},{},0,function(plr,args)
  2739. if set['HelpSystem']==true then
  2740. local dontrun=false
  2741. local num=0
  2742. if set.HelpRequest[plr.Name]~=nil then
  2743. set.Message("Help System","You already have a pending request. Do not spam the help system.",false,{plr})
  2744. dontrun=true
  2745. end
  2746. if dontrun==true then return end
  2747. set.HelpRequest[plr.Name]={}
  2748. set.HelpRequest[plr.Name].Available={}
  2749. set.HelpRequest[plr.Name].Solved=false
  2750. for i,v in pairs(game:service('Players'):children()) do
  2751. coroutine.wrap(function()
  2752. if set.CheckAdmin(v,false) then
  2753. table.insert(set.HelpRequest[plr.Name].Available,v.Name)
  2754. set.Remote(v,'Function','RequestHelp',plr)
  2755. repeat wait() until set.HelpRequest[plr.Name].Solved==true
  2756. set.Remote(v,'Function','RequestSolved',plr)
  2757. end
  2758. end)()
  2759. end
  2760. repeat wait(1) num=num+1 until set.HelpRequest[plr.Name].Solved==true or num==20 or #set.HelpRequest[plr.Name].Available==0
  2761. if set.HelpRequest[plr.Name].Solved==false and (num==20 or #set.HelpRequest[plr.Name].Available==0) then
  2762. set.Message("Help System","Sorry but no one is available to help you right now!",false,{plr})
  2763. end
  2764. set.HelpRequest[plr.Name].Solved=true
  2765. set.HelpRequest[plr.Name]=nil
  2766. else
  2767. set.Message("System Message","Sorry but the help system is disabled.",false,{plr})
  2768. end
  2769. end)
  2770.  
  2771. set.MakeCommand('Makes you rejoin the server',0,set.AnyPrefix,{'rejoin'},{},0,function(plr,args)
  2772. game:GetService('TeleportService'):Teleport(game.PlaceId,plr)
  2773. end)
  2774.  
  2775. set.MakeCommand('Shows a list of commands that you are allowed to use',0,set.Prefix,{'commands','cmds','viewcommands'},{},0,function(plr,args)
  2776. local temptable={}
  2777. for i,v in pairs(set.Commands) do
  2778. local allowed=false
  2779. if v.AdminLevel==-3 and ((set.FunCommands and set.CheckOwner(plr)) or set.CheckTrueOwner(plr)) then
  2780. allowed=true
  2781. elseif v.AdminLevel==-2 and ((set.FunCommands and set.CheckAdmin(plr,true)) or set.CheckTrueOwner(plr)) then
  2782. allowed=true
  2783. elseif v.AdminLevel==-1 and ((set.FunCommands and set.CheckAdmin(plr,false)) or set.CheckTrueOwner(plr)) then
  2784. allowed=true
  2785. elseif v.AdminLevel==0 and (set.PlayerCommands or set.CheckAdmin(plr,false))then
  2786. allowed=true
  2787. elseif v.AdminLevel==1 and ((set.CheckDonor(plr) or set.CheckTrueOwner(plr)) or set.CheckTrueOwner(plr)) then
  2788. allowed=true
  2789. elseif v.AdminLevel==2 and set.CheckAdmin(plr,false) then
  2790. allowed=true
  2791. elseif v.AdminLevel==3 and set.CheckAdmin(plr,true) then
  2792. allowed=true
  2793. elseif v.AdminLevel==4 and set.CheckOwner(plr) then
  2794. allowed=true
  2795. elseif v.AdminLevel==5 and set.CheckTrueOwner(plr) then
  2796. allowed=true
  2797. end
  2798. local arguments=''
  2799. for k,m in pairs(v.ArgTypes) do
  2800. arguments=arguments..set['SplitKey']..m
  2801. end
  2802. if allowed then table.insert(temptable,{Object=v.Prefix..v.Cmds[1]..arguments,Desc=v.Desc}) end
  2803. end
  2804. --set.Remote(plr,'SetSetting','CommandList',temptable)
  2805. set.Remote(plr,'Function','ListGui','Commands',temptable)
  2806. end)
  2807.  
  2808. set.MakeCommand('Lets you run mutliple commands, like :batch :ff me/:fly me/:noclip me',2,set.Prefix,{'batch','multicommand','batchrun'},{'cmd/cmd/cmd'},1,function(plr,args)
  2809. for cmd in args[1]:gmatch('[^'..set.BatchSplit..']+') do
  2810. set.ChatCommand(plr,cmd,true)
  2811. end
  2812. end)
  2813.  
  2814. set.MakeCommand('Gives you the admin script\'s custom chat, good for private conversations',2,set.Prefix,{'chat','customchat','chatgui'},{'player'},1,function(plr,args)
  2815. for i,p in pairs(set.GetPlayers(plr, (args[1] or plr.Name))) do
  2816. coroutine.wrap(function()
  2817. set.Remote(p,"Function","CustomChatGui")
  2818. local done=false
  2819. local thing=p.CharacterAdded:connect(function(c)
  2820. set.Remote(p,'Function','MutePlayer','off')
  2821. done=true
  2822. end)
  2823. repeat wait() until not p or not p.Parent or done==true
  2824. thing:disconnect()
  2825. end)()
  2826. end
  2827. end)
  2828.  
  2829. set.MakeCommand('Gives you the normal chat back',2,set.Prefix,{'unchat','uncustomchat','removecustomchat','unchatgui'},{'player'},1,function(plr,args)
  2830. for i,p in pairs(set.GetPlayers(plr, (args[1] or plr.Name))) do
  2831. set.Remote(p,"Function","RemoveCustomChat")
  2832. set.Remote(p,'Function','MutePlayer','off')
  2833. end
  2834. end)
  2835.  
  2836. set.MakeCommand('Makes a message of your choice pop up on the target\'s screen with an annoying alarm sound',3,set.Prefix,{'alert','alarm','annoy'},{'player','message'},2,function(plr,args)
  2837. for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  2838. set.Remote(v,"Function","AlertGui",(args[2] or 'Alert | Alert | Alert | Alert | Alert'))
  2839. end
  2840. end)
  2841.  
  2842. set.MakeCommand('Shows you how to use some syntax related things',0,set.Prefix,{'usage'},{},0,function(plr,args)
  2843. local usage={
  2844. 'Special Functions: ';
  2845. 'Ex: :kill FUNCTION, so like :kill '..set['SpecialPrefix']..'all';
  2846. 'Put /e in front to make it silent (/e :kill kohl)';
  2847. set['SpecialPrefix']..'me - Runs a command on you';
  2848. set['SpecialPrefix']..'all - Runs a command on everyone';
  2849. set['SpecialPrefix']..'admins - Runs a command on all admins in the game';
  2850. set['SpecialPrefix']..'nonadmins - Same as !admins but for people who are not an admin';
  2851. set['SpecialPrefix']..'others - Runs command on everyone BUT you';
  2852. set['SpecialPrefix']..'random - Runs command on a random person';
  2853. '%TEAMNAME - Runs command on everyone in the team TEAMNAME Ex: :kill %raiders';
  2854. '$GROUPID - Run a command on everyone in the group GROUPID, Will default to the GroupId setting if no id is given';
  2855. '-PLAYERNAME - Will remove PLAYERNAME from list of players. :kill all,-kohl will kill everyone except kohl';
  2856. 'Certain commands can be used by anyone, these commands have ! infront, such as !clean and !rejoin';
  2857. ':kill me,noob1,noob2,'..set['SpecialPrefix']..'random,%raiders,$123456,!nonadmins,-kohl';
  2858. ':batch :ff me/:sparkles me/:rocket jim';
  2859. ':repeat 10(how many times to run the cmd) 1(how long in between runs) :respawn jim';
  2860. 'Place owners can edit some settings in-game via the :settings command';
  2861. 'Please refer to the Tips and Tricks section under the settings in the script for more detailed explanations'
  2862. }
  2863. --set.Remote(plr,'SetSetting','usage',usage)
  2864. set.Remote(plr,'Function','ListGui','Usage',usage)
  2865. end)
  2866.  
  2867. set.MakeCommand('Displays the current chat logs for the server OR player',2,set.Prefix,{'chatlogs','chatlog'},{'player (optional)'},1,function(plr,args)
  2868. local temp={}
  2869. if args[1]~=nil then
  2870. for k,p in pairs(set.GetPlayers(plr,args[1])) do
  2871. if set.PlayerLogs[p.Name] then
  2872. for i,m in pairs(set.PlayerLogs[p.Name].Chat) do
  2873. if m.Nil then
  2874. table.insert(temp,{Object='[NIL]['..m.Time..'] '..m.Name..': '..m.Chat,Desc='Chat '..set.Prefix..'chatlogs '..m.Name..' to only view chat logs from this player'})
  2875. else
  2876. table.insert(temp,{Object='['..m.Time..'] '..m.Name..': '..m.Chat,Desc='Chat '..set.Prefix..'chatlogs '..m.Name..' to only view chat logs from this player'})
  2877. end
  2878. end
  2879. end
  2880. end
  2881. else
  2882. for i,v in pairs(set.PlayerLogs) do
  2883. for k,m in pairs(v.Chat) do
  2884. if m.Nil then
  2885. table.insert(temp,{Object='[NIL]['..m.Time..'] '..m.Name..': '..m.Chat,Desc='Chat '..set.Prefix..'chatlogs '..m.Name..' to only view chat logs from this player'})
  2886. else
  2887. table.insert(temp,{Object='['..m.Time..'] '..m.Name..': '..m.Chat,Desc='Chat '..set.Prefix..'chatlogs '..m.Name..' to only view chat logs from this player'})
  2888. end
  2889. end
  2890. end
  2891. end
  2892. set.Remote(plr,'Function','ListGui','Chat Logs',temp)
  2893. end)
  2894.  
  2895. set.MakeCommand('Gives you the admin chat box',2,set.Prefix,{'achat','adminchat'},{},0,function(plr,args)
  2896. set.AdminChat(plr)
  2897. end)
  2898.  
  2899. set.MakeCommand('Makes a new waypoint/sets an exiting one to your current position with the name <name> that you can teleport to using :tp me waypoint-<name>',2,set.Prefix,{'waypoint','wp','checkpoint'},{'name'},1,function(plr,args)
  2900. local name=args[1] or tostring(#set.Waypoints+1)
  2901. if plr.Character:FindFirstChild('Torso') then
  2902. set.Waypoints[name]=plr.Character.Torso.Position
  2903. set.Hint('Made waypoint '..name..' | '..tostring(set.Waypoints[name]),{plr})
  2904. end
  2905. end)
  2906.  
  2907. set.MakeCommand('Deletes the waypoint named <name> if it exist',2,set.Prefix,{'delwaypoint','delwp','delcheckpoint','deletewaypoint','deletewp','deletecheckpoint'},{'name'},1,function(plr,args)
  2908. for i,v in pairs(set.Waypoints) do
  2909. if i:lower():sub(1,#args[1])==args[1]:lower() or args[1]:lower()=='all' then
  2910. set.Waypoints[i]=nil
  2911. set.Hint('Deleted waypoint '..i,{plr})
  2912. end
  2913. end
  2914. end)
  2915.  
  2916. set.MakeCommand('Shows available waypoints, mouse over their names to view their coordinates',2,set.Prefix,{'waypoints'},{},0,function(plr,args)
  2917. local temp={}
  2918. for i,v in pairs(set.Waypoints) do
  2919. local x,y,z=tostring(v):match('(.*),(.*),(.*)')
  2920. table.insert(temp,{Object=i,Desc='X:'..x..' Y:'..y..' Z:'..z})
  2921. end
  2922. set.Remote(plr,'Function','ListGui','Waypoints',temp)
  2923. end)
  2924.  
  2925. set.MakeCommand('Shows you admin cameras in the server and lets you delete/view them',2,set.Prefix,{'cameras','cams'},{},0,function(plr,args)
  2926. set.Remote(plr,'Function','Cameras')
  2927. end)
  2928.  
  2929. set.MakeCommand('Makes a camera named whatever you pick',2,set.Prefix,{'makecam','cam','makecamera','camera'},{'name'},1,function(plr,args)
  2930. if plr and plr.Character and plr.Character:FindFirstChild('Head') then
  2931. print('Checkelect')
  2932. if workspace:FindFirstChild('Camera: '..args[1]) then
  2933. set.Hint(args[1].." Already Exist!",{plr})
  2934. print('O it already exist qq')
  2935. else
  2936. print('Makin cam')
  2937. local cam=Instance.new('Part',workspace)
  2938. cam.Position=plr.Character.Head.Position
  2939. cam.Anchored=true
  2940. cam.BrickColor=BrickColor.new('Really black')
  2941. cam.CanCollide=false
  2942. cam.Locked=true
  2943. cam.FormFactor='Custom'
  2944. cam.Size=Vector3.new(1,1,1)
  2945. cam.TopSurface='Smooth'
  2946. cam.BottomSurface='Smooth'
  2947. cam.Name='Camera: '..args[1]
  2948. Instance.new('PointLight',cam)
  2949. cam.Transparency=0.9
  2950. local mesh=Instance.new('SpecialMesh',cam)
  2951. mesh.Scale=Vector3.new(1,1,1)
  2952. mesh.MeshType='Sphere'
  2953. table.insert(set.cameras,cam)
  2954. end
  2955. end
  2956. end)
  2957.  
  2958. set.MakeCommand('Forces one player to view another',2,set.Prefix,{'fview','forceview','forceviewplayer','fv'},{'player1','player2'},2,function(plr,args)
  2959. for k,p in pairs(set.GetPlayers(plr, args[1])) do
  2960. coroutine.wrap(function()
  2961. for i,v in pairs(set.GetPlayers(plr, args[2])) do
  2962. if v and v.Character:FindFirstChild('Humanoid') then
  2963. set.Remote(p,'Function','SetView',v.Character.Humanoid)
  2964. end
  2965. end
  2966. end)()
  2967. end
  2968. end)
  2969.  
  2970. set.MakeCommand('Makes you view the target player',2,set.Prefix,{'view','viewplayer','v'},{'player'},1,function(plr,args)
  2971. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  2972. if v and v.Character:FindFirstChild('Humanoid') then
  2973. set.Remote(plr,'Function','SetView',v.Character.Humanoid)
  2974. end
  2975. end
  2976. end)
  2977.  
  2978. set.MakeCommand('Resets your view',2,set.Prefix,{'resetview','rv','fixcam'},{},0,function(plr,args)
  2979. set.Remote(plr,'Function','SetView','reset')
  2980. end)
  2981.  
  2982. set.MakeCommand('Shows you group ranks that have admin',2,set.Prefix,{'ranks','adminranks'},{},0,function(plr,args)
  2983. local temptable={}
  2984. for i,v in pairs(set['SpecificRanks']) do
  2985. if v.Rank and v.Type and v.Group then
  2986. table.insert(temptable,{Object=v.Rank,Desc='Type: '..v.Type..' - Group: '..v.Group})
  2987. end
  2988. end
  2989. --set.Remote(plr,'SetSetting','RanksCmdTable',temptable)
  2990. set.Remote(plr,'Function','ListGui','Ranks',temptable)
  2991. end)
  2992.  
  2993. set.MakeCommand('Shows you information about the current server',2,set.Prefix,{'details','meters','gameinfo','serverinfo'},{},0,function(plr,args)
  2994. set.Remote(plr,'Function','ServerDetails')
  2995. end)
  2996.  
  2997. set.MakeCommand('Shows you the changelog',2,set.Prefix,{'changelog','changes'},{},0,function(plr,args)
  2998. --set.Remote(plr,'SetSetting','ChangeLog',changelog)
  2999. set.Remote(plr,'Function','ListGui','Change Log',changelog)
  3000. end)
  3001.  
  3002. set.MakeCommand('Shows you player currently in-game, including nil ones',2,set.Prefix,{'players','allplayers','nilplayers'},{},0,function(plr,args)
  3003. local plrs={}
  3004. set.Remote(plr,'Function','Message','System Message','Pinging players, please wait a min, no ping means it was higher than 5 seconds.')
  3005. for i,v in pairs(set.GrabNilPlayers('all')) do
  3006. coroutine.wrap(function()
  3007. if game:service('Players'):FindFirstChild(v.Name) then
  3008. table.insert(plrs,{Object=v.Name,Desc='Lower: '..v.Name:lower()..' - Ping: '..set.Ping(v)..'s'})
  3009. else
  3010. table.insert(plrs,{Object='[NIL] '..v.Name,Desc='Lower: '..v.Name:lower()..' - Ping: '..set.Ping(v)..'s'})
  3011. end
  3012. end)()
  3013. end
  3014. wait(5)
  3015. --set.Remote(plr,'SetSetting','PlayerListCmd',plrs)
  3016. set.Remote(plr,'Function','ListGui','Players',plrs)
  3017. end)
  3018.  
  3019. set.MakeCommand('Shows you the admin script\'s version number',2,set.Prefix,{'version','ver'},{},0,function(plr,args)
  3020. set.Message("Kohl's Admin [Epix Edition]", tostring(set.version), true, {plr})
  3021. end)
  3022.  
  3023. set.MakeCommand('Shows you the list of admins, also shows admins that are currently in the server',2,set.Prefix,{'admins','adminlist','owners','tempadmins'},{},0,function(plr,args)
  3024. local temptable={}
  3025. for i,v in pairs(set['Owners']) do table.insert(temptable,v .. " - Owner") end
  3026. for i,v in pairs(set['Admins']) do table.insert(temptable,v .. " - Admin") end
  3027. for i,v in pairs(set['TempAdmins']) do table.insert(temptable,v .. " - TempAdmin") end
  3028. for i,v in pairs(set.tal) do table.insert(temptable,v .. " - TempAdmin [Synced]") end
  3029. for i,v in pairs(set.al) do table.insert(temptable,v .. " - Admin [Synced]") end
  3030. for i,v in pairs(set.oal) do table.insert(temptable,v .. " - Owner [Synced]") end
  3031. table.insert(temptable,'==== Admins In-Game ====')
  3032. for i,v in pairs(game.Players:children()) do
  3033. if set.CheckOwner(v) then
  3034. table.insert(temptable,v.Name..':'..v.userId..' - Owner')
  3035. elseif set.CheckAdmin(v,true) then
  3036. table.insert(temptable,v.Name..':'..v.userId..' - Admin')
  3037. elseif set.CheckAdmin(v,false) then
  3038. table.insert(temptable,v.Name..':'..v.userId..' - TempAdmin')
  3039. end
  3040. end
  3041. --set.Remote(plr,'SetSetting','AdminListTable',temptable)
  3042. set.Remote(plr,'Function','ListGui','Admin List',temptable)
  3043. end)
  3044.  
  3045. set.MakeCommand('Shows you the normal ban list',2,set.Prefix,{'banlist','banned','bans'},{},0,function(plr,args)
  3046. --set.Remote(plr,'SetSetting','Banlist',set['BanList'])
  3047. set.Remote(plr,'Function','ListGui','Ban List',set.BanList)
  3048. end)
  3049.  
  3050. set.MakeCommand('Lets you send players a yes or no question and then displays percentages when done',2,set.Prefix,{'vote','makevote','startvote','question','survey'},{'player','time','question'},3,function(plr,args)
  3051. local plrz = set.GetPlayers(plr, args[1]:lower())
  3052. local Time=tonumber(args[2])
  3053. local question=args[3]
  3054. local tname=plr.Name..question
  3055. set.OpenVote[tname]={}
  3056. local vote=set.OpenVote[tname]
  3057. if Time > 60 then Time = 60 end
  3058. vote.Yes=0
  3059. vote.No=0
  3060. vote.novote={}
  3061. for ik,pl in pairs(plrz) do
  3062. set.Remote(pl,'Function','VoteQuestion',tname,question,Time)
  3063. table.insert(vote.novote, pl)
  3064. end
  3065. wait(Time+1)
  3066. 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)
  3067. end)
  3068.  
  3069. set.MakeCommand('Shows you a list of tools that can be obtains via the give command',2,set.Prefix,{'tools','toollist'},{},0,function(plr,args)
  3070. local temptable={}
  3071. for i, v in pairs(set.Storage:children()) do
  3072. if v:IsA("Tool") or v:IsA("HopperBin") then
  3073. table.insert(temptable,{Object=v.Name,Desc=v:GetFullName()})
  3074. end
  3075. end
  3076. --set.Remote(plr,'SetSetting','toollist',temptable)
  3077. set.Remote(plr,'Function','ListGui','Tools',temptable)
  3078. end)
  3079.  
  3080. set.MakeCommand('Inserts whatever object belongs to the ID you supply, the object must be in the place owner\'s or ROBLOX\'s inventory',2,set.Prefix,{'insert','ins'},{'id'},1,function(plr,args)
  3081. local obj = game:service("InsertService"):LoadAsset(tonumber(args[1]))
  3082. if obj and #obj:children() >= 1 and plr.Character then
  3083. 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)
  3084. end
  3085. end)
  3086.  
  3087. set.MakeCommand('Remove admin objects',2,set.Prefix,{'clear','cleargame','clr'},{},0,function(plr,args)
  3088. for i,v in pairs(set.objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  3089. for i,v in pairs(set.cameras) do if v then table.remove(set.cameras,i) v:Destroy() end end
  3090. 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
  3091. set.objects = {}
  3092. set.RemoveMessage()
  3093. end)
  3094.  
  3095. set.MakeCommand('Reset lighting back to the setting it had on server start',2,set.Prefix,{'fix','resetlighting','undisco','unflash','fixlighting'},{},0,function(plr,args)
  3096. set.lighttask=false
  3097. wait(0.5)
  3098. game:service('Lighting').Ambient = set.OrigLightingSettings.abt
  3099. game:service('Lighting').GlobalShadows = set.OrigLightingSettings.gs
  3100. game:service('Lighting').ShadowColor = set.OrigLightingSettings.sc
  3101. game:service('Lighting').Outlines = set.OrigLightingSettings.ol
  3102. game:service('Lighting').OutdoorAmbient = set.OrigLightingSettings.oabt
  3103. game:service('Lighting').Brightness = set.OrigLightingSettings.brt
  3104. game:service('Lighting').TimeOfDay = set.OrigLightingSettings.time
  3105. game:service('Lighting').FogColor = set.OrigLightingSettings.fclr
  3106. game:service('Lighting').FogEnd = set.OrigLightingSettings.fe
  3107. game:service('Lighting').FogStart = set.OrigLightingSettings.fs
  3108. end)
  3109.  
  3110. set.MakeCommand('Opens the command box',2,set.Prefix,{'cmdbar','commandbar','cmdbox','commandbox','cmdgui','commandgui'},{},0,function(plr,args)
  3111. set.CmdBar(plr)
  3112. end)
  3113.  
  3114. set.MakeCommand('Countdown',2,set.Prefix,{'countdown'},{'time'},1,function(plr,args)
  3115. local num = math.min(tonumber(args[1]),120)
  3116. for i = num, 1, -1 do
  3117. coroutine.resume(coroutine.create(function() set.Message(" ", i, false, game:service('Players'):children(), 1) end))
  3118. wait(1)
  3119. end
  3120. end)
  3121.  
  3122. set.MakeCommand('Make a message and makes it stay for the amount of time (in seconds) you supply',2,set.Prefix,{'tm','timem','timedmessage'},{'time','message'},2,function(plr,args)
  3123. local num = args[1]
  3124. set.Message("Message from " .. plr.Name, args[2], false, game:service('Players'):children(), num)
  3125. end)
  3126.  
  3127. set.MakeCommand('Makes a message',2,set.Prefix,{'m','message'},{'message'},1,function(plr,args)
  3128. if not args[1] then return end
  3129. set.Message("Message from " .. plr.Name, args[1], true, game:service('Players'):children())
  3130. end)
  3131.  
  3132. set.MakeCommand('Makes a hint',2,set.Prefix,{'h','hint'},{'message'},1,function(plr,args)
  3133. if not args[1] then return end
  3134. set.Hint(plr.Name .. ": " .. args[1], game:service('Players'):children())
  3135. end)
  3136.  
  3137. set.MakeCommand('Shows you information about the target player',2,set.Prefix,{'info','age'},{'player'},1,function(plr,args)
  3138. local plz = set.GetPlayers(plr, args[1]:lower())
  3139. for i,v in pairs(plz) do
  3140. coroutine.wrap(function()
  3141. set.GetPlayerInfo(v,{plr},'Player Info')
  3142. end)()
  3143. end
  3144. end)
  3145.  
  3146. set.MakeCommand('Sets target player(s)\'s leadder stats to 0',2,set.Prefix,{'resetstats'},{'player'},1,function(plr,args)
  3147. local plrz = set.GetPlayers(plr, args[1]:lower())
  3148. for i, v in pairs(plrz) do
  3149. coroutine.wrap(function()
  3150. if v and v:findFirstChild("leaderstats") then
  3151. for a,q in pairs(v.leaderstats:children()) do
  3152. if q:IsA("IntValue") then q.Value = 0 end
  3153. end
  3154. end
  3155. end)()
  3156. end
  3157. end)
  3158.  
  3159. set.MakeCommand('Gives the target player(s) a gear from the catalog based on the ID you supply',2,set.Prefix,{'gear','givegear'},{'player','id'},2,function(plr,args)
  3160. local plrz = set.GetPlayers(plr, args[1]:lower())
  3161. for i, v in pairs(plrz) do
  3162. coroutine.resume(coroutine.create(function()
  3163. if v and v:findFirstChild("Backpack") then
  3164. local obj = game:service("InsertService"):LoadAsset(tonumber(args[2]))
  3165. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  3166. obj:Destroy()
  3167. end
  3168. end))
  3169. end
  3170. end)
  3171.  
  3172. set.MakeCommand('Prompts the player(s) to buy the product beloging to the ID you supply',2,set.Prefix,{'sell'},{'player','id','currency'},3,function(plr,args)
  3173. local plrz = set.GetPlayers(plr, args[1]:lower())
  3174. for i, v in pairs(plrz) do
  3175. coroutine.resume(coroutine.create(function()
  3176. local type = args[3] or 'default'
  3177. local t
  3178. if type:lower()=='tix' or type:lower()=='tickets' or type:lower()=='t' then
  3179. t=Enum.CurrencyType.Tix
  3180. elseif type:lower()=='robux' or type:lower()=='rb' or type:lower()=='r' then
  3181. t=Enum.CurrencyType.Robux
  3182. else
  3183. t=Enum.CurrencyType.Default
  3184. end
  3185. if v then
  3186. game:GetService("MarketplaceService"):PromptPurchase(v,tonumber(args[2]),false,t)
  3187. end
  3188. end))
  3189. end
  3190. end)
  3191.  
  3192. set.MakeCommand('Gives the target player(s) a hat based on the ID you supply',2,set.Prefix,{'hat','givehat'},{'player','id'},2,function(plr,args)
  3193. local plrz = set.GetPlayers(plr, args[1]:lower())
  3194. for i, v in pairs(plrz) do
  3195. coroutine.resume(coroutine.create(function()
  3196. if v and v.Character then
  3197. local obj = game:service("InsertService"):LoadAsset(tonumber(args[2]))
  3198. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  3199. obj:Destroy()
  3200. end
  3201. end))
  3202. end
  3203. end)
  3204.  
  3205. set.MakeCommand('Shows you the list of capes for the cape command',2,set.Prefix,{'capes','capelist'},{},0,function(plr,args)
  3206. 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"}
  3207. --set.Remote(plr,'SetSetting','CapeList',list)
  3208. set.Remote(plr,'Function','ListGui','Cape List',list)
  3209. end)
  3210.  
  3211. set.MakeCommand('Gives the target player(s) the cape specified, do '..set.Prefix..'capes to view a list of available capes ',2,set.Prefix,{'cape','givecape'},{'player','cape/color/id'},2,function(plr,args)
  3212. local plrz = set.GetPlayers(plr, args[1]:lower())
  3213. if not args[2] then args[2]='White' end
  3214. for i,v in pairs(plrz) do
  3215. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  3216. if args[2]:lower() == "new yeller" then set.Remote(v,'Function','Cape','Fabric',"New Yeller")
  3217. elseif args[2]:lower() == "pastel blue" then set.Remote(v,'Function','Cape','Fabric',"Pastel Blue")
  3218. elseif args[2]:lower() == "dusty rose" then set.Remote(v,'Function','Cape','Fabric',"Dusty Rose")
  3219. elseif args[2]:lower() == "cga brown" then set.Remote(v,'Function','Cape','Fabric',"CGA brown")
  3220. elseif args[2]:lower() == "random" then set.Remote(v,'Function','Cape','Fabric',BrickColor.random())
  3221. elseif args[2]:lower() == "shiny" then set.Remote(v,'Function','Cape','Plastic',"Institutional white",false,1)
  3222. elseif args[2]:lower() == "gold" then set.Remote(v,'Function','Cape','Plastic',"Bright yellow",false,0.4)
  3223. elseif args[2]:lower() == "kohl" then set.Remote(v,'Function','Cape','Fabric',"Really black","108597653")
  3224. elseif args[2]:lower() == "script" then set.Remote(v,'Function','Cape','Plastic',"White","151359194")
  3225. elseif args[2]:lower() == "batman" then set.Remote(v,'Function','Cape','Fabric',"Institutional white","108597669")
  3226. elseif args[2]:lower() == "epix" then set.Remote(v,'Function','Cape','Plastic',"Really black","149442745")
  3227. elseif args[2]:lower() == "superman" then set.Remote(v,'Function','Cape','Fabric',"Bright blue","108597677")
  3228. elseif args[2]:lower() == "swag" then set.Remote(v,'Function','Cape','Fabric',"Pink","109301474")
  3229. elseif args[2]:lower() == "donor" then set.Remote(v,'Function','Cape','Plastic',"White","149009184")
  3230. elseif args[2]:lower() == "starbucks" then set.Remote(v,'Function','Cape','Plastic',"Black","149248066")
  3231. elseif args[2]:lower() == "gomodern" then set.Remote(v,'Function','Cape','Plastic',"Really black","149438175")
  3232. elseif args[2]:lower() == "admin" then set.Remote(v,'Function','Cape','Plastic',"White","149092195")
  3233. elseif args[2]:lower() == "giovannis" then set.Remote(v,'Function','Cape','Plastic',"White","149808729")
  3234. elseif args[2]:lower() == "godofdonuts" then set.Remote(v,'Function','Cape','Plastic',"Institutional white","151034443")
  3235. elseif args[2]:lower() == "host" then set.Remote(v,'Function','Cape','Plastic',"Really black","152299000")
  3236. elseif args[2]:lower() == "cohost" then set.Remote(v,'Function','Cape','Plastic',"Really black","152298950")
  3237. elseif args[2]:lower() == "trainer" then set.Remote(v,'Function','Cape','Plastic',"Really black","152298976")
  3238. elseif args[2]:lower() == "ba" or args[2]:lower() == "beardedalien" or args[2]:lower() == "beard" then set.Remote(v,'Function','Cape','Plastic','White',172528001)
  3239. elseif BrickColor.new(args[2]) ~= nil then set.Remote(v,'Function','Cape','Fabric',args[2])
  3240. elseif tonumber(args[2]) ~= nil then set.Remote(v,'Function','Cape','Fabric','White',args[2])
  3241. end
  3242. end
  3243. end)
  3244.  
  3245. set.MakeCommand('Removes the target player(s)\'s cape',2,set.Prefix,{'uncape','removecape'},{'player'},1,function(plr,args)
  3246. local plrz = set.GetPlayers(plr, args[1]:lower())
  3247. for i, v in pairs(plrz) do
  3248. if v and v.Character then
  3249. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  3250. end
  3251. end
  3252. end)
  3253.  
  3254. set.MakeCommand('Makes the target player(s) slide when they walk',2,set.Prefix,{'slippery','iceskate','icewalk','slide'},{'player'},1,function(plr,args)
  3255. local plrz = set.GetPlayers(plr, args[1]:lower())
  3256. for i, v in pairs(plrz) do
  3257. set.Remote(v,'Function','Effect','slip')
  3258. end
  3259. end)
  3260.  
  3261. set.MakeCommand('NoClips the target player(s)',2,set.Prefix,{'noclip'},{'player'},1,function(plr,args)
  3262. local plrz = set.GetPlayers(plr, args[1]:lower())
  3263. for i, v in pairs(plrz) do
  3264. set.Remote(v,'Function','Noclip','norm')
  3265. end
  3266. end)
  3267.  
  3268. set.MakeCommand('Old flying NoClip',2,set.Prefix,{'flynoclip','oldnolcip'},{'player'},1,function(plr,args)
  3269. local plrz = set.GetPlayers(plr, args[1]:lower())
  3270. for i, v in pairs(plrz) do
  3271. set.Remote(v,'Function','Noclip','fly')
  3272. end
  3273. end)
  3274.  
  3275. set.MakeCommand('Un-NoClips the target player(s)',2,set.Prefix,{'clip','unnoclip'},{'player'},1,function(plr,args)
  3276. local plrz = set.GetPlayers(plr, args[1]:lower())
  3277. for i, v in pairs(plrz) do
  3278. set.Remote(v,'Function','Noclip','off')
  3279. end
  3280. end)
  3281.  
  3282. set.MakeCommand('Jails the target player(s), removing their tools until they are un-jailed',2,set.Prefix,{'jail','imprison'},{'player'},1,function(plr,args)
  3283. local plrz = set.GetPlayers(plr, args[1]:lower())
  3284. for i, v in pairs(plrz) do
  3285. coroutine.wrap(function()
  3286. if v.Character and v.Character:FindFirstChild("Torso") then
  3287. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  3288. local origpos = v.Character.Torso.Position
  3289. local mod = Instance.new("Model", game.Workspace) mod.Name = v.Name .. " Epix Jail" table.insert(set.objects, mod)
  3290. local value = Instance.new('StringValue',mod) value.Name='Player' value.Value=v.Name
  3291. 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)
  3292. set.JailedTools[v.Name]=Instance.new('Model')
  3293. local bottom = top:Clone() bottom.Transparency = 1 bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  3294. 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)
  3295. local back = front:Clone() back.Transparency = 1 back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  3296. 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)
  3297. local left = right:Clone() left.Transparency = 1 left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  3298. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  3299. local msh2 = msh:Clone() msh2.Parent = back
  3300. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  3301. local msh4 = msh3:Clone() msh4.Parent = left
  3302. local brick = Instance.new('Part',mod)
  3303. local box = Instance.new('SelectionBox',brick)
  3304. box.Adornee=brick
  3305. box.Color=BrickColor.new('White')
  3306. brick.Anchored=true
  3307. brick.CanCollide=false
  3308. brick.Transparency=1
  3309. brick.Size=Vector3.new(5,7,5)
  3310. brick.CFrame=cf--*CFrame.new(0,-1,0)
  3311. v.Character.Torso.CFrame = cf
  3312. for l,k in pairs(v.Backpack:children()) do
  3313. if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then
  3314. k.Parent=set.JailedTools[v.Name]
  3315. end
  3316. end
  3317. coroutine.wrap(function()
  3318. repeat
  3319. local player=game.Players:FindFirstChild(v.Name)
  3320. if not player then return end
  3321. local torso=player.Character:FindFirstChild('Torso')
  3322. if not torso then return end
  3323. if not set.JailedTools[v.Name] or set.JailedTools[v.Name]==nil then set.JailedTools[v.Name]=Instance.new('Model') end
  3324. for l,k in pairs(player.Backpack:children()) do
  3325. if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then
  3326. k.Parent=set.JailedTools[v.Name]--tools
  3327. end
  3328. end
  3329. if (torso.Position-origpos).magnitude>5 then
  3330. torso.CFrame = cf
  3331. end
  3332. wait()
  3333. until not mod or not mod.Parent or set.JailedTools[v.Name]==nil
  3334. end)()
  3335. end
  3336. end)()
  3337. end
  3338. end)
  3339.  
  3340. set.MakeCommand('UnJails the target player(s) and returns any tools that were taken from them while jailed',2,set.Prefix,{'unjail','free','release'},{'player'},1,function(plr,args)
  3341. local plrz = set.GetPlayers(plr, args[1]:lower())
  3342. for i, v in pairs(plrz) do
  3343. coroutine.wrap(function()
  3344. if v then
  3345. for a, jl in pairs(game.Workspace:children()) do
  3346. if jl.Name == v.Name .. " Epix Jail" then
  3347. jl:Destroy()
  3348. end
  3349. end
  3350. if set.JailedTools[v.Name] then
  3351. for j,tewl in pairs(set.JailedTools[v.Name]:children()) do
  3352. if tewl then
  3353. tewl.Parent=v.Backpack
  3354. end
  3355. end
  3356. set.JailedTools[v.Name]=nil
  3357. end
  3358. set.JailedTools[v.Name]=nil
  3359. end
  3360. end)()
  3361. end
  3362. end)
  3363.  
  3364. set.MakeCommand('Gives the target player(s) a little chat gui, when used will let them chat using dialog bubbles',2,set.Prefix,{'bchat','dchat','bubblechat','dialogchat'},{'player','color(red/green/blue)'},2,function(plr,args)
  3365. local color=Enum.ChatColor.Red
  3366. if not args[2] then
  3367. color=Enum.ChatColor.Red
  3368. elseif args[2]:lower()=='red' then
  3369. color=Enum.ChatColor.Red
  3370. elseif args[2]:lower()=='green' then
  3371. color=Enum.ChatColor.Green
  3372. elseif args[2]:lower()=='blue' then
  3373. color=Enum.ChatColor.Blue
  3374. end
  3375. for i,v in pairs(set.GetPlayers(plr,(args[1] or plr.Name))) do
  3376. set.Remote(v,"Function","BubbleChat",color)
  3377. end
  3378. end)
  3379.  
  3380. set.MakeCommand('Makes the target player(s)\'s character teleport back and forth rapidly, quite trippy, makes bricks appear to move as the player turns their character',2,set.Prefix,{'glitch','glitchdisorient','glitch1','gd'},{'player','intensity'},2,function(plr,args)
  3381. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  3382. local num=args[2] or 15
  3383. set.Remote(v,'Function','Glitch','trippy',num)
  3384. end
  3385. end)
  3386.  
  3387. set.MakeCommand('The same as gd but less trippy, teleports the target player(s) back and forth in the same direction, making two ghost like images of the game',2,set.Prefix,{'glitch2','glitchghost','gg'},{'player','intensity'},2,function(plr,args)
  3388. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  3389. local num=args[2] or 150
  3390. set.Remote(v,'Function','Glitch','ghost',num)
  3391. end
  3392. end)
  3393.  
  3394. set.MakeCommand('UnGlitchs the target player(s)',2,set.Prefix,{'unglitch','unglitchghost','ungd','ungg'},{'player'},1,function(plr,args)
  3395. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  3396. set.Remote(v,'Function','Glitch','off')
  3397. end
  3398. end)
  3399.  
  3400. set.MakeCommand('Shows you the current message of the day',0,set.AnyPrefix,{'motd','messageoftheday','daymessage'},{},0,function(plr,args)
  3401. set.PM('Message of the Day',plr,game:service('MarketplaceService'):GetProductInfo(set.MessageOfTheDayID).Description)
  3402. end)
  3403.  
  3404. set.MakeCommand('Makes a clone of target player(s)\'s character and parents their real on to their local camera, no one can see them until they are phased again',2,set.Prefix,{'phase'},{'player'},1,function(plr,args)
  3405. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  3406. set.Remote(v,'Function','Phase')
  3407. end
  3408. end)
  3409.  
  3410. set.MakeCommand('Removes the bubble chat gui from the target player(s)',2,set.Prefix,{'unbchat','unbubblechat','undchat','undialogchat'},{'player'},1,function(plr,args)
  3411. for i,v in pairs(set.GetPlayers(plr,(args[1] or plr.Name))) do
  3412. set.Remote(v,'Function','BubbleChat','off')
  3413. end
  3414. end)
  3415.  
  3416. set.MakeCommand('Gives the target player(s) tools that are in their StarterPack',2,set.Prefix,{'startertools','starttools'},{'player'},1,function(plr,args)
  3417. local plrz = set.GetPlayers(plr, args[1]:lower())
  3418. for i, v in pairs(plrz) do
  3419. coroutine.resume(coroutine.create(function()
  3420. if v and v:findFirstChild("Backpack") then
  3421. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  3422. end
  3423. end))
  3424. end
  3425. end)
  3426.  
  3427. set.MakeCommand('Gives the target player(s) a sword',2,set.Prefix,{'sword','givesword'},{'player'},1,function(plr,args)
  3428. local plrz = set.GetPlayers(plr, args[1]:lower())
  3429. for i, v in pairs(plrz) do
  3430. coroutine.resume(coroutine.create(function()
  3431. if v and v:findFirstChild("Backpack") then
  3432. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  3433. sword.GripForward = Vector3.new(-1,0,0)
  3434. sword.GripPos = Vector3.new(0,0,-1.5)
  3435. sword.GripRight = Vector3.new(0,1,0)
  3436. sword.GripUp = Vector3.new(0,0,1)
  3437. 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
  3438. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  3439. local cl=deps.SwordScript:clone() cl.Parent=sword cl.Disabled=false
  3440. end
  3441. end))
  3442. end
  3443. end)
  3444.  
  3445. set.MakeCommand('Clones the target player(s)',2,set.Prefix,{'clone','cloneplayer'},{'player'},1,function(plr,args)
  3446. local plrz = set.GetPlayers(plr, args[1]:lower())
  3447. for i, v in pairs(plrz) do
  3448. coroutine.wrap(function()
  3449. if v and v.Character then
  3450. v.Character.Archivable = true
  3451. local cl = v.Character:Clone()
  3452. table.insert(set.objects,cl)
  3453. cl.Parent = game.Workspace
  3454. cl:MoveTo(v.Character:GetModelCFrame().p)
  3455. cl:MakeJoints()
  3456. v.Character.Archivable = false
  3457. repeat wait() until not cl or not cl.Humanoid or cl.Humanoid.Health<=0
  3458. wait(5)
  3459. if cl then cl:Destroy() end
  3460. end
  3461. end)()
  3462. end
  3463. end)
  3464.  
  3465. set.MakeCommand('Configurable AIs made for training, :bot me 5 true true true makes 5 bots that attack, stack, and run to players to kill them',2,set.Prefix,{'bot','tbot','trainingbot','bots','robot','robots','dummy','dummys','testdummy','testdummys','dolls','doll'},{'plr','num','walk','attk','swarm','speed','dmg','hp','dist'},9,function(plr,args)
  3466. local walk=false
  3467. if args[3] then if args[3]:lower()=='true' or args[3]:lower()=='yes' then walk=true end end
  3468. local attack=false
  3469. if args[4] then if args[4]:lower()=='true' or args[4]:lower()=='yes' then attack=true end end
  3470. local health=args[8] or 100
  3471. local damage=args[7] or 10
  3472. local walkspeed=args[6] or 20
  3473. local dist=args[9] or 100
  3474. local swarm=false
  3475. if args[5] then if args[5]:lower()=='true' or args[5]:lower()=='yes' then swarm=true end end
  3476. local function makedolls(player)
  3477. local num=args[2] or 1
  3478. local pos=player.Character.Torso.CFrame
  3479. num=tonumber(num)
  3480. if num>50 then num=50 end
  3481. for i=1,num do
  3482. coroutine.wrap(function()
  3483. player.Character.Archivable = true
  3484. local cl = player.Character:Clone()
  3485. player.Character.Archivable = false
  3486. table.insert(set.objects,cl)
  3487. local anim=script['Script Dependencies'].Animate:Clone()
  3488. anim.Parent=cl
  3489. anim.Disabled=false
  3490. cl.Parent = game.Workspace
  3491. cl.Name='~=Bot=~'
  3492. if cl:FindFirstChild('Animate') then cl.Animate:Destroy() end
  3493. cl.Humanoid.MaxHealth=health
  3494. wait()
  3495. cl.Humanoid.Health=health
  3496. cl.Torso.CFrame=pos*CFrame.Angles(0,math.rad(360/num*i),0)*CFrame.new(5+.2*num,0,0)
  3497. cl:MakeJoints()
  3498. cl.Humanoid.WalkSpeed=walkspeed
  3499. for k,f in pairs(cl:children()) do if f.ClassName=='ForceField' then f:Destroy() end end
  3500. local run=true
  3501. local thing
  3502. local target
  3503. local chasing=false
  3504. local function find()
  3505. for k,n in pairs(game:service('Players'):GetPlayers()) do
  3506. coroutine.wrap(function()
  3507. if swarm and not chasing and n:DistanceFromCharacter(cl.Torso.Position) < tonumber(dist) then
  3508. n=n.Character
  3509. if not n:FindFirstChild('Humanoid') or not n:FindFirstChild('Torso') or n.Humanoid.Health>=math.huge or n:FindFirstChild('ForceField') then return end
  3510. target=n.Torso
  3511. chasing=true
  3512. 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
  3513. chasing=false
  3514. end
  3515. end)()
  3516. end
  3517. end
  3518. coroutine.wrap(function()
  3519. if not cl.Humanoid or not cl.Torso then return end
  3520. thing=cl.Torso.Touched:connect(function(hit)
  3521. coroutine.wrap(function()
  3522. if attack and run and cl and hit.Parent:FindFirstChild('Humanoid') and hit.Parent:FindFirstChild('Torso') and hit.Parent.Name~='~=Bot=~' then
  3523. if hit.Parent.Humanoid.Health>=math.huge or hit.Parent:FindFirstChild('ForceField') then return end
  3524. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-damage
  3525. target=hit.Parent.Torso
  3526. chasing=true
  3527. 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
  3528. chasing=false
  3529. end
  3530. end)()
  3531.  
  3532. end)
  3533. repeat
  3534. if not walk then return end
  3535. if cl.Humanoid.Sit then
  3536. cl.Humanoid.Jump=true
  3537. cl.Humanoid.Sit=false
  3538. end
  3539. if chasing then
  3540. wait()
  3541. cl.Humanoid.WalkToPoint=target.Position
  3542. if math.abs(cl.Torso.Position.Y-target.Position.Y)>7 then
  3543. cl.Humanoid.Jump=true
  3544. end
  3545. else
  3546. 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))
  3547. wait(1)
  3548. end
  3549. pcall(find)
  3550. wait()
  3551. until not cl or not cl.Humanoid or cl.Humanoid.Health<=0 or not run
  3552. end)()
  3553. repeat wait() until not cl or not cl.Humanoid or cl.Humanoid.Health<=0 or not run
  3554. run=false
  3555. pcall(function() thing:disconnect() end)
  3556. wait(2)
  3557. pcall(function() if cl then cl:Destroy() end end)
  3558. end)()
  3559. end
  3560. end
  3561. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  3562. makedolls(v)
  3563. end
  3564. end)
  3565.  
  3566. set.MakeCommand('Gives you a tool that lets you click where you want the target player to stand, hold r to rotate them',2,set.Prefix,{'clickteleport','teleporttoclick','ct','clicktp','forceteleport','ctp','ctt'},{'player'},1,function(plr,args)
  3567. local plrz = set.GetPlayers(plr, args[1]:lower())
  3568. for i, v in pairs(plrz) do
  3569. coroutine.wrap(function()
  3570. local tool=Instance.new('HopperBin',plr.Backpack)
  3571. local cl=deps.ClickToTool:clone()
  3572. cl.Target.Value=v.Name
  3573. cl.Mode.Value='Teleport'
  3574. cl.Parent=tool
  3575. cl.Disabled=false
  3576. end)()
  3577. end
  3578. end)
  3579.  
  3580. set.MakeCommand('Gives you a tool that lets you click where you want the target player to walk, hold r to rotate them',2,set.Prefix,{'clickwalk','cw','ctw','forcewalk','walktool','walktoclick','clickcontrol','forcewalk'},{'player'},1,function(plr,args)
  3581. local plrz = set.GetPlayers(plr, args[1]:lower())
  3582. for i, v in pairs(plrz) do
  3583. coroutine.wrap(function()
  3584. local tool=Instance.new('HopperBin',plr.Backpack)
  3585. local cl=deps.ClickToTool:clone()
  3586. cl.Target.Value=v.Name
  3587. cl.Mode.Value='Walk'
  3588. cl.Parent=tool
  3589. cl.Disabled=false
  3590. end)()
  3591. end
  3592. end)
  3593.  
  3594. set.MakeCommand('Swaps player1\'s and player2\'s bodies and tools',2,set.Prefix,{'bodyswap','bodysteal','bswap'},{'player1','player2'},2,function(plr,args)
  3595. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  3596. for i2,v2 in pairs(set.GetPlayers(plr,args[2])) do
  3597. local temptools=Instance.new('Model')
  3598. local tempcloths=Instance.new('Model')
  3599. local vpos=v.Character.Torso.CFrame
  3600. local v2pos=v2.Character.Torso.CFrame
  3601. local vface=v.Character.Head.face
  3602. local v2face=v2.Character.Head.face
  3603. vface.Parent=v2.Character.Head
  3604. v2face.Parent=v.Character.Head
  3605. for k,p in pairs(v.Character:children()) do
  3606. if p:IsA('BodyColors') or p:IsA('CharacterMesh') or p:IsA('Pants') or p:IsA('Shirt') or p:IsA('Hat') then
  3607. p.Parent=tempcloths
  3608. elseif p:IsA('Tool') then
  3609. p.Parent=temptools
  3610. end
  3611. end
  3612. for k,p in pairs(v.Backpack:children()) do
  3613. p.Parent=temptools
  3614. end
  3615. for k,p in pairs(v2.Character:children()) do
  3616. if p:IsA('BodyColors') or p:IsA('CharacterMesh') or p:IsA('Pants') or p:IsA('Shirt') or p:IsA('Hat') then
  3617. p.Parent=v.Character
  3618. elseif p:IsA('Tool') then
  3619. p.Parent=v.Backpack
  3620. end
  3621. end
  3622. for k,p in pairs(tempcloths:children()) do
  3623. p.Parent=v2.Character
  3624. end
  3625. for k,p in pairs(v2.Backpack:children()) do
  3626. p.Parent=v.Backpack
  3627. end
  3628. for k,p in pairs(temptools:children()) do
  3629. p.Parent=v2.Backpack
  3630. end
  3631. v2.Character.Torso.CFrame=vpos
  3632. v.Character.Torso.CFrame=v2pos
  3633. end
  3634. end
  3635. end)
  3636.  
  3637. set.MakeCommand('Lets you take control of the target player',2,set.Prefix,{'control','takeover'},{'player'},1,function(plr,args)
  3638. local plrz = set.GetPlayers(plr, args[1]:lower())
  3639. for i, v in pairs(plrz) do
  3640. coroutine.wrap(function()
  3641. if v and v.Character then
  3642. v.Character.Humanoid.PlatformStand = true
  3643. local w = Instance.new("Weld", plr.Character.Torso )
  3644. w.Part0 = plr.Character.Torso
  3645. w.Part1 = v.Character.Torso
  3646. local w2 = Instance.new("Weld", plr.Character.Head)
  3647. w2.Part0 = plr.Character.Head
  3648. w2.Part1 = v.Character.Head
  3649. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  3650. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  3651. w3.Part1 = v.Character:findFirstChild("Right Arm")
  3652. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  3653. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  3654. w4.Part1 = v.Character:findFirstChild("Left Arm")
  3655. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  3656. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  3657. w5.Part1 = v.Character:findFirstChild("Right Leg")
  3658. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  3659. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  3660. w6.Part1 = v.Character:findFirstChild("Left Leg")
  3661. plr.Character.Head.face:Destroy()
  3662. for i, p in pairs(v.Character:children()) do
  3663. if p:IsA("BasePart") then
  3664. p.CanCollide = false
  3665. end
  3666. end
  3667. for i, p in pairs(plr.Character:children()) do
  3668. if p:IsA("BasePart") then
  3669. p.Transparency = 1
  3670. elseif p:IsA("Hat") then
  3671. p:Destroy()
  3672. end
  3673. end
  3674. v.Character.Parent = plr.Character
  3675. --v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  3676. end
  3677. end)()
  3678. end
  3679. end)
  3680.  
  3681. set.MakeCommand('Refreshes the target player(s)\'s character',2,set.Prefix,{'refresh','reset'},{'player'},1,function(plr,args)
  3682. local plrz = set.GetPlayers(plr, args[1]:lower())
  3683. for i, v in pairs(plrz) do
  3684. coroutine.wrap(function()
  3685. local pos=v.Character.Torso.CFrame
  3686. local temptools={}
  3687. pcall(function() v.Character.Humanoid:UnequipTools() end)
  3688. wait()
  3689. for k,t in pairs(v.Backpack:children()) do
  3690. if t:IsA('Tool') or t:IsA('Hopperbin') then
  3691. table.insert(temptools,t)
  3692. end
  3693. end
  3694. v:LoadCharacter()
  3695. v.Character.Torso.CFrame=pos
  3696. for d,f in pairs(v.Character:children()) do
  3697. if f:IsA('ForceField') then f:Destroy() end
  3698. end
  3699. wait(1)
  3700. v.Backpack:ClearAllChildren()
  3701. for l,m in pairs(temptools) do
  3702. m:clone().Parent=v.Backpack
  3703. end
  3704. end)()
  3705. end
  3706. end)
  3707.  
  3708. set.MakeCommand('Kills the target player(s)',2,set.Prefix,{'kill'},{'player'},1,function(plr,args)
  3709. local plrz = set.GetPlayers(plr, args[1])
  3710. for i, v in pairs(plrz) do
  3711. coroutine.wrap(function()
  3712. if v and v.Character then v.Character:BreakJoints() end
  3713. end)()
  3714. end
  3715. end)
  3716.  
  3717. set.MakeCommand('Repsawns the target player(s)',2,set.Prefix,{'respawn'},{'player'},1,function(plr,args)
  3718. local plrz = set.GetPlayers(plr, args[1]:lower())
  3719. for i, v in pairs(plrz) do
  3720. coroutine.wrap(function()
  3721. if v and v.Character then v:LoadCharacter()
  3722. set.Remote(v,'Function','SetView','reset')
  3723. end
  3724. end)()
  3725. end
  3726. end)
  3727.  
  3728. set.MakeCommand('Rotates the target player(s) by 180 degrees or the angle you set',2,set.Prefix,{'trip'},{'player','angle'},2,function(plr,args)
  3729. local plrz = set.GetPlayers(plr, args[1]:lower())
  3730. local angle=180 or args[2]
  3731. for i, v in pairs(plrz) do
  3732. coroutine.wrap(function()
  3733. if v and v.Character and v.Character:findFirstChild("Torso") then
  3734. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(angle))
  3735. end
  3736. end)()
  3737. end
  3738. end)
  3739.  
  3740. set.MakeCommand('Stuns the target player(s)',2,set.Prefix,{'stun'},{'player'},1,function(plr,args)
  3741. local plrz = set.GetPlayers(plr, args[1]:lower())
  3742. for i, v in pairs(plrz) do
  3743. coroutine.wrap(function()
  3744. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  3745. v.Character.Humanoid.PlatformStand = true
  3746. end
  3747. end)()
  3748. end
  3749. end)
  3750.  
  3751. set.MakeCommand('UnStuns the target player(s)',2,set.Prefix,{'unstun'},{'player'},1,function(plr,args)
  3752. local plrz = set.GetPlayers(plr, args[1]:lower())
  3753. for i, v in pairs(plrz) do
  3754. coroutine.wrap(function()
  3755. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  3756. v.Character.Humanoid.PlatformStand = false
  3757. end
  3758. end)()
  3759. end
  3760. end)
  3761.  
  3762. set.MakeCommand('Forces the target player(s) to jump',2,set.Prefix,{'jump'},{'player'},1,function(plr,args)
  3763. local plrz = set.GetPlayers(plr, args[1]:lower())
  3764. for i, v in pairs(plrz) do
  3765. coroutine.wrap(function()
  3766. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  3767. v.Character.Humanoid.Jump = true
  3768. end
  3769. end)()
  3770. end
  3771. end)
  3772.  
  3773. set.MakeCommand('Forces the target player(s) to sit',2,set.Prefix,{'sit','seat'},{'player'},1,function(plr,args)
  3774. local plrz = set.GetPlayers(plr, args[1]:lower())
  3775. for i, v in pairs(plrz) do
  3776. coroutine.wrap(function()
  3777. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  3778. v.Character.Humanoid.Sit = true
  3779. end
  3780. end)()
  3781. end
  3782. end)
  3783.  
  3784. set.MakeCommand('Makes the target player(s) invisible',2,set.Prefix,{'invisible'},{'player'},1,function(plr,args)
  3785. local plrz = set.GetPlayers(plr, args[1]:lower())
  3786. for i, v in pairs(plrz) do
  3787. coroutine.wrap(function()
  3788. if v and v.Character then
  3789. for a, obj in pairs(v.Character:children()) do
  3790. 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
  3791. end
  3792. end
  3793. end)()
  3794. end
  3795. end)
  3796.  
  3797. set.MakeCommand('Makes the target player(s) visible',2,set.Prefix,{'visible'},{'player'},1,function(plr,args)
  3798. local plrz = set.GetPlayers(plr, args[1]:lower())
  3799. for i, v in pairs(plrz) do
  3800. coroutine.wrap(function()
  3801. if v and v.Character then
  3802. for a, obj in pairs(v.Character:children()) do
  3803. 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
  3804. end
  3805. end
  3806. end)()
  3807. end
  3808. end)
  3809.  
  3810. set.MakeCommand('Locks the target player(s)',2,set.Prefix,{'lock'},{'player'},1,function(plr,args)
  3811. local plrz = set.GetPlayers(plr,args[1]:lower())
  3812. for i, v in pairs(plrz) do
  3813. coroutine.wrap(function()
  3814. if v and v.Character then
  3815. for a, obj in pairs(v.Character:children()) do
  3816. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  3817. end
  3818. end
  3819. end)()
  3820. end
  3821. end)
  3822.  
  3823. set.MakeCommand('UnLocks the the target player(s), makes it so you can use btools on them',2,set.Prefix,{'unlock'},{'player'},1,function(plr,args)
  3824. local plrz = set.GetPlayers(plr, args[1]:lower())
  3825. for i, v in pairs(plrz) do
  3826. coroutine.wrap(function()
  3827. if v and v.Character then
  3828. for a, obj in pairs(v.Character:children()) do
  3829. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  3830. end
  3831. end
  3832. end)()
  3833. end
  3834. end)
  3835.  
  3836. set.MakeCommand('Explodes the target player(s)',2,set.Prefix,{'explode','boom','boomboom'},{'player'},1,function(plr,args)
  3837. local plrz = set.GetPlayers(plr, args[1]:lower())
  3838. for i, v in pairs(plrz) do
  3839. coroutine.wrap(function()
  3840. if v and v.Character and v.Character:findFirstChild("Torso") then
  3841. local ex = Instance.new("Explosion", game.Workspace)
  3842. ex.Position = v.Character.Torso.Position
  3843. ex.BlastRadius=20
  3844. end
  3845. end)()
  3846. end
  3847. end)
  3848.  
  3849. set.MakeCommand('Makes a PointLight on the target player(s) with the color specified',2,set.Prefix,{'light'},{'player','color'},2,function(plr,args)
  3850. local plrz = set.GetPlayers(plr, args[1]:lower())
  3851. local str = BrickColor.new('Bright blue').Color
  3852. if args[2] then
  3853. local teststr = args[2]
  3854. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  3855. end
  3856. for i, v in pairs(plrz) do
  3857. coroutine.wrap(function()
  3858. if v and v.Character and v.Character:findFirstChild("Torso") then
  3859. local p=Instance.new('PointLight',v.Character.Torso)
  3860. table.insert(set.objects,p)
  3861. p.Color=str
  3862. p.Brightness=5
  3863. p.Range=15
  3864. end
  3865. end)()
  3866. end
  3867. end)
  3868.  
  3869. set.MakeCommand('UnLights the target plyer(s)',2,set.Prefix,{'unlight'},{'player'},1,function(plr,args)
  3870. local plrz = set.GetPlayers(plr, args[1]:lower())
  3871. for i, v in pairs(plrz) do
  3872. coroutine.wrap(function()
  3873. if v and v.Character and v.Character:findFirstChild("Torso") then
  3874. for z, cl in pairs(v.Character.Torso:children()) do
  3875. if cl:IsA('PointLight') then cl:Destroy() end
  3876. end
  3877. end
  3878. end)()
  3879. end
  3880. end)
  3881.  
  3882. set.MakeCommand('Makes a dialog bubble appear over the target player(s) head with the desired message',-1,set.Prefix,{'talk','maketalk'},{'player','message'},2,function(plr,args)
  3883. local message = args[2]
  3884. for i,p in pairs(set.GetPlayers(plr, args[1]:lower())) do
  3885. coroutine.wrap(function()
  3886. game:service('Chat'):Chat(p.Character.Head,message,Enum.ChatColor.Blue)
  3887. end)()
  3888. end
  3889. end)
  3890.  
  3891. set.MakeCommand('Sets the target player(s) on fire, coloring the fire based on what you set',-1,set.Prefix,{'fire','makefire','givefire'},{'player','color'},2,function(plr,args)
  3892. local plrz = set.GetPlayers(plr, args[1]:lower())
  3893. local str = BrickColor.new('Bright orange').Color
  3894. if args[2] then
  3895. local teststr = args[2]
  3896. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  3897. end
  3898. for i, v in pairs(plrz) do
  3899. coroutine.wrap(function()
  3900. if v and v.Character and v.Character:findFirstChild("Torso") then
  3901. local f=Instance.new('Fire',v.Character.Torso)
  3902. local p=Instance.new('PointLight',v.Character.Torso)
  3903. table.insert(set.objects,f)
  3904. table.insert(set.objects,p)
  3905. p.Color=str
  3906. p.Brightness=5
  3907. p.Range=15
  3908. f.Color=str
  3909. f.SecondaryColor=str
  3910. end
  3911. end)()
  3912. end
  3913. end)
  3914.  
  3915. set.MakeCommand('Puts out the flames on the target player(s)',-1,set.Prefix,{'unfire','removefire','extinguish'},{'player'},1,function(plr,args)
  3916. local plrz = set.GetPlayers(plr, args[1]:lower())
  3917. for i, v in pairs(plrz) do
  3918. coroutine.wrap(function()
  3919. if v and v.Character and v.Character:findFirstChild("Torso") then
  3920. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") or cl:IsA('PointLight') then cl:Destroy() end end
  3921. end
  3922. end)()
  3923. end
  3924. end)
  3925.  
  3926. set.MakeCommand('Makes smoke come from the target player(s) with the desired color',-1,set.Prefix,{'smoke','givesmoke'},{'player','color'},2,function(plr,args)
  3927. local plrz = set.GetPlayers(plr, args[1]:lower())
  3928. local str = BrickColor.new('Bright orange').Color
  3929. if args[2] then
  3930. local teststr = args[2]
  3931. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  3932. end
  3933. for i, v in pairs(plrz) do
  3934. coroutine.wrap(function()
  3935. if v and v.Character and v.Character:findFirstChild("Torso") then
  3936. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(set.objects, cl)
  3937. cl.Color=str
  3938. end
  3939. end)()
  3940. end
  3941. end)
  3942.  
  3943. set.MakeCommand('Removes smoke from the target player(s)',-1,set.Prefix,{'unsmoke'},{'player'},1,function(plr,args)
  3944. local plrz = set.GetPlayers(plr, args[1]:lower())
  3945. for i, v in pairs(plrz) do
  3946. coroutine.wrap(function()
  3947. if v and v.Character and v.Character:findFirstChild("Torso") then
  3948. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  3949. end
  3950. end)()
  3951. end
  3952. end)
  3953.  
  3954. set.MakeCommand('Puts sparkles on the target player(s) with the desired color',-1,set.Prefix,{'sparkles'},{'player','color'},2,function(plr,args)
  3955. local plrz = set.GetPlayers(plr, args[1]:lower())
  3956. local str = BrickColor.new('Bright blue').Color
  3957. if args[2] then
  3958. local teststr = args[2]
  3959. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  3960. end
  3961. for i, v in pairs(plrz) do
  3962. coroutine.wrap(function()
  3963. if v and v.Character and v.Character:findFirstChild("Torso") then
  3964. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(set.objects, cl)
  3965. local p=Instance.new('PointLight',v.Character.Torso) table.insert(set.objects, p)
  3966. p.Color=str
  3967. p.Brightness=5
  3968. p.Range=15
  3969. cl.SparkleColor=str
  3970. end
  3971. end)()
  3972. end
  3973. end)
  3974.  
  3975. set.MakeCommand('Removes sparkles from the target player(s)',-1,set.Prefix,{'unsparkles'},{'player'},1,function(plr,args)
  3976. local plrz = set.GetPlayers(plr, args[1]:lower())
  3977. for i, v in pairs(plrz) do
  3978. coroutine.wrap(function()
  3979. if v and v.Character and v.Character:findFirstChild("Torso") then
  3980. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") or cl:IsA('PointLight') then cl:Destroy() end end
  3981. end
  3982. end)()
  3983. end
  3984. end)
  3985.  
  3986. set.MakeCommand('Gives a force field to the target player(s)',2,set.Prefix,{'ff','forcefield'},{'player'},1,function(plr,args)
  3987. local plrz = set.GetPlayers(plr, args[1]:lower())
  3988. for i, v in pairs(plrz) do
  3989. coroutine.wrap(function()
  3990. if v and v.Character then Instance.new("ForceField", v.Character) end
  3991. end)()
  3992. end
  3993. end)
  3994.  
  3995. set.MakeCommand('Removes force fields on the target player(s)',2,set.Prefix,{'unff','unforcefield'},{'player'},1,function(plr,args)
  3996. local plrz = set.GetPlayers(plr, args[1]:lower())
  3997. for i, v in pairs(plrz) do
  3998. coroutine.wrap(function()
  3999. if v and v.Character then
  4000. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  4001. end
  4002. end)()
  4003. end
  4004. end)
  4005.  
  4006. set.MakeCommand('Removes the target player(s)\'s character',2,set.Prefix,{'punish'},{'player'},1,function(plr,args)
  4007. local plrz = set.GetPlayers(plr, args[1]:lower())
  4008. for i, v in pairs(plrz) do
  4009. coroutine.wrap(function()
  4010. if v and v.Character then
  4011. v.Character.Parent = set.Storage
  4012. end
  4013. end)()
  4014. end
  4015. end)
  4016.  
  4017. set.MakeCommand('UnPunishes the target player(s)',2,set.Prefix,{'unpunish'},{'player'},1,function(plr,args)
  4018. local plrz = set.GetPlayers(plr, args[1]:lower())
  4019. for i, v in pairs(plrz) do
  4020. coroutine.wrap(function()
  4021. if v and v.Character then
  4022. v.Character.Parent = game:service("Workspace")
  4023. v.Character:MakeJoints()
  4024. end
  4025. end)()
  4026. end
  4027. end)
  4028.  
  4029. set.MakeCommand('Freezes the target player(s)',2,set.Prefix,{'freeze'},{'player'},1,function(plr,args)
  4030. local plrz = set.GetPlayers(plr, args[1]:lower())
  4031. for i, v in pairs(plrz) do
  4032. coroutine.wrap(function()
  4033. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4034. for a, obj in pairs(v.Character:children()) do
  4035. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  4036. end
  4037. end
  4038. end)()
  4039. end
  4040. end)
  4041.  
  4042. set.MakeCommand('UnFreezes the target players, thaws them out',2,set.Prefix,{'thaw','unfreeze'},{'player'},1,function(plr,args)
  4043. local plrz = set.GetPlayers(plr, args[1]:lower())
  4044. for i, v in pairs(plrz) do
  4045. coroutine.wrap(function()
  4046. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4047. for a, obj in pairs(v.Character:children()) do
  4048. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  4049. end
  4050. end
  4051. end)()
  4052. end
  4053. end)
  4054.  
  4055. set.MakeCommand('Heals the target player(s) (Regens their health)',2,set.Prefix,{'heal'},{'player'},1,function(plr,args)
  4056. local plrz = set.GetPlayers(plr, args[1]:lower())
  4057. for i, v in pairs(plrz) do
  4058. coroutine.wrap(function()
  4059. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4060. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  4061. end
  4062. end)()
  4063. end
  4064. end)
  4065.  
  4066. set.MakeCommand('Makes the target player(s) immortal, makes their health so high that normal non-explosive weapons can\'t kill them',2,set.Prefix,{'god','immortal'},{'player'},1,function(plr,args)
  4067. local plrz = set.GetPlayers(plr, args[1]:lower())
  4068. for i, v in pairs(plrz) do
  4069. coroutine.wrap(function()
  4070. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4071. v.Character.Humanoid.MaxHealth = math.huge
  4072. v.Character.Humanoid.Health = 9e9
  4073. end
  4074. end)()
  4075. end
  4076. end)
  4077.  
  4078. set.MakeCommand('Makes the target player(s) mortal again',2,set.Prefix,{'ungod','mortal'},{'player'},1,function(plr,args)
  4079. local plrz = set.GetPlayers(plr, args[1]:lower())
  4080. for i, v in pairs(plrz) do
  4081. coroutine.wrap(function()
  4082. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4083. v.Character.Humanoid.MaxHealth = 100
  4084. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  4085. end
  4086. end)()
  4087. end
  4088. end)
  4089.  
  4090. set.MakeCommand('Change Ambient',2,set.Prefix,{'ambient'},{'num','num','num'},3,function(plr,args)
  4091. game:service('Lighting').Ambient = Color3.new(args[1],args[2],args[3])
  4092. end)
  4093.  
  4094. set.MakeCommand('Change OutdoorAmbient',2,set.Prefix,{'oambient','outdoorambient'},{'num','num','num'},3,function(plr,args)
  4095. game:service('Lighting').OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  4096. end)
  4097.  
  4098. set.MakeCommand('Fog Off',2,set.Prefix,{'nofog','fogoff'},{},0,function(plr,args)
  4099. game:service('Lighting').FogEnd=1000000000000
  4100. end)
  4101.  
  4102. set.MakeCommand('Determines if shadows are on or off',2,set.Prefix,{'shadows'},{'on/off'},1,function(plr,args)
  4103. if args[1]:lower()=='on' then
  4104. game:service('Lighting').GlobalShadows=true
  4105. elseif args[1]:lower()=='off' then
  4106. game:service('Lighting').GlobalShadows=false
  4107. end
  4108. end)
  4109.  
  4110. set.MakeCommand('Determines if outlines are on or off',2,set.Prefix,{'outlines'},{'on/off'},1,function(plr,args)
  4111. if args[1]:lower()=='on' then
  4112. game:service('Lighting').Outlines=true
  4113. elseif args[1]:lower()=='off' then
  4114. game:service('Lighting').Outlines=false
  4115. end
  4116. end)
  4117.  
  4118. set.MakeCommand('Repeats <command> for <amount> of times every <interval> seconds',2,set.Prefix,{'repeat','loop'},{'amount','interval','command'},3,function(plr,args)
  4119. local amount = tonumber(args[1])
  4120. local timer = tonumber(args[2])
  4121. if timer<=0 then timer=1 end
  4122. local command = args[3]:lower()
  4123. local num=0
  4124. coroutine.wrap(function()
  4125. repeat
  4126. set.ChatCommand(plr,command,true)
  4127. wait(timer)
  4128. num=num+1
  4129. until num==amount
  4130. end)()
  4131. end)
  4132.  
  4133. set.MakeCommand('Change Brightness',2,set.Prefix,{'brightness'},{'number'},1,function(plr,args)
  4134. game:service('Lighting').Brightness =args[1]
  4135. end)
  4136.  
  4137. set.MakeCommand('Change Time',2,set.Prefix,{'time','timeofday'},{'time'},1,function(plr,args)
  4138. game:service('Lighting').TimeOfDay = args[1]
  4139. end)
  4140.  
  4141. set.MakeCommand('Fog Color',2,set.Prefix,{'fogcolor'},{'num','num','num'},3,function(plr,args)
  4142. game:service('Lighting').FogColor = Color3.new(args[1],args[2],args[3])
  4143. end)
  4144.  
  4145. set.MakeCommand('Fog Start/End',2,set.Prefix,{'fog'},{'start','end'},2,function(plr,args)
  4146. game:service('Lighting').FogEnd = args[2]
  4147. game:service('Lighting').FogStart = args[1]
  4148. end)
  4149.  
  4150. set.MakeCommand('Gives the target player(s) basic building tools',2,set.Prefix,{'btools','buildtools','buildingtools','buildertools'},{'player'},1,function(plr,args)
  4151. local plrz = set.GetPlayers(plr, args[1]:lower())
  4152. for i, v in pairs(plrz) do
  4153. coroutine.wrap(function()
  4154. if v and v:findFirstChild("Backpack") then
  4155. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  4156. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  4157. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  4158. local t4 = Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  4159. local cl=deps.ResizeScript:clone()
  4160. cl.Parent=t4
  4161. cl.Disabled=false
  4162. end
  4163. end)()
  4164. end
  4165. end)
  4166.  
  4167. set.MakeCommand('Places the desired tool into the target player(s)\'s StarterPack',2,set.Prefix,{'startergive'},{'player','toolname'},2,function(plr,args)
  4168. local plrz = set.GetPlayers(plr, args[1]:lower())
  4169. for i, v in pairs(plrz) do
  4170. coroutine.wrap(function()
  4171. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  4172. for a, tool in pairs(set.Storage:children()) do
  4173. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  4174. if args[2]:lower() == "all" or tool.Name:lower():find(args[2]:lower()) == 1 then tool:Clone().Parent = v.StarterGear end
  4175. end
  4176. end
  4177. end
  4178. end)()
  4179. end
  4180. end)
  4181.  
  4182. set.MakeCommand('Gives the target player(s) the desired tool(s)',2,set.Prefix,{'give','tool'},{'player','tool'},2,function(plr,args)
  4183. local plrz = set.GetPlayers(plr, args[1]:lower())
  4184. for i, v in pairs(plrz) do
  4185. coroutine.wrap(function()
  4186. for a, tool in pairs(set.Storage:children()) do
  4187. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  4188. if args[2]:lower() == "all" or tool.Name:lower():sub(1,#args[2])==args[2]:lower() then
  4189. tool:clone().Parent = v.Backpack
  4190. end
  4191. end
  4192. end
  4193. end)()
  4194. end
  4195. end)
  4196.  
  4197. set.MakeCommand('Steals player1\'s tools and gives them to player2',2,set.Prefix,{'steal','stealtools'},{'player1','player2'},2,function(plr,args)
  4198. local p1 = set.GetPlayers(plr, args[1]:lower())
  4199. local p2 = set.GetPlayers(plr, args[2]:lower())
  4200. coroutine.wrap(function()
  4201. for i,v in pairs(p1) do
  4202. coroutine.wrap(function()
  4203. for k,m in pairs(p2) do
  4204. for j,n in pairs(v.Backpack:children()) do
  4205. print(n.Name)
  4206. local b=n:clone()
  4207. n.Parent=m.Backpack
  4208. end
  4209. end
  4210. v.Backpack:ClearAllChildren()
  4211. end)()
  4212. end
  4213. end)()
  4214. end)
  4215.  
  4216. set.MakeCommand('Remove the target player(s)\'s tools',2,set.Prefix,{'removetools','notools'},{'player'},1,function(plr,args)
  4217. local plrz = set.GetPlayers(plr, args[1]:lower())
  4218. for i, v in pairs(plrz) do
  4219. coroutine.wrap(function()
  4220. if v and v.Character and v:findFirstChild("Backpack") then
  4221. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  4222. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  4223. end
  4224. end)()
  4225. end
  4226. end)
  4227.  
  4228. set.MakeCommand('Shows you what rank the target player(s) are in the group specified by groupID',2,set.Prefix,{'rank','getrank'},{'player','groupID'},2,function(plr,args)
  4229. local plrz = set.GetPlayers(plr, args[1]:lower())
  4230. for i, v in pairs(plrz) do
  4231. coroutine.wrap(function()
  4232. if v and v:IsInGroup(args[2]) then
  4233. set.Hint("[" .. v:GetRankInGroup(args[2]) .. "] " .. v:GetRoleInGroup(args[2]), {plr})
  4234. elseif v and not v:IsInGroup(args[2])then
  4235. set.Hint(v.Name .. " is not in the group " .. args[2], {plr})
  4236. end
  4237. end)()
  4238. end
  4239. end)
  4240.  
  4241. set.MakeCommand('Removes <number> HP from the target player(s)',2,set.Prefix,{'damage','hurt'},{'player','number'},2,function(plr,args)
  4242. local plrz = set.GetPlayers(plr, args[1]:lower())
  4243. for i, v in pairs(plrz) do
  4244. coroutine.wrap(function()
  4245. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4246. v.Character.Humanoid:TakeDamage(args[2])
  4247. end
  4248. end)()
  4249. end
  4250. end)
  4251.  
  4252. set.MakeCommand('Makes the target player(s)\'s gravity normal',2,set.Prefix,{'grav','bringtoearth'},{'player'},1,function(plr,args)
  4253. local plrz = set.GetPlayers(plr, args[1]:lower())
  4254. for i, v in pairs(plrz) do
  4255. coroutine.wrap(function()
  4256. if v and v.Character and v.Character:findFirstChild("Torso") then
  4257. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  4258. end
  4259. end)()
  4260. end
  4261. end)
  4262.  
  4263. set.MakeCommand('Set the target player(s)\'s gravity',2,set.Prefix,{'setgrav','gravity','setgravity'},{'player','number'},2,function(plr,args)
  4264. local plrz = set.GetPlayers(plr, args[1]:lower())
  4265. for i, v in pairs(plrz) do
  4266. coroutine.wrap(function()
  4267. if v and v.Character and v.Character:findFirstChild("Torso") then
  4268. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  4269. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  4270. 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
  4271. end
  4272. end)()
  4273. end
  4274. end)
  4275.  
  4276. set.MakeCommand('NoGrav the target player(s)',2,set.Prefix,{'nograv','nogravity','superjump'},{'player'},1,function(plr,args)
  4277. local plrz = set.GetPlayers(plr, args[1]:lower())
  4278. for i, v in pairs(plrz) do
  4279. coroutine.wrap(function()
  4280. if v and v.Character and v.Character:findFirstChild("Torso") then
  4281. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  4282. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  4283. 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
  4284. end
  4285. end)()
  4286. end
  4287. end)
  4288.  
  4289. set.MakeCommand('Set the target player(s)\'s health to <number>',2,set.Prefix,{'health','sethealth'},{'player','number'},2,function(plr,args)
  4290. local plrz = set.GetPlayers(plr, args[1]:lower())
  4291. for i, v in pairs(plrz) do
  4292. coroutine.wrap(function()
  4293. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4294. v.Character.Humanoid.MaxHealth = args[2]
  4295. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  4296. end
  4297. end)()
  4298. end
  4299. end)
  4300.  
  4301. set.MakeCommand('Set the target player(s)\'s WalkSpeed to <number>',2,set.Prefix,{'speed','setspeed','walkspeed'},{'player','number'},2,function(plr,args)
  4302. local plrz = set.GetPlayers(plr, args[1]:lower())
  4303. for i, v in pairs(plrz) do
  4304. coroutine.wrap(function()
  4305. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4306. v.Character.Humanoid.WalkSpeed = args[2]
  4307. end
  4308. end)()
  4309. end
  4310. end)
  4311.  
  4312. set.MakeCommand('Set the target player(s)\'s team to <team>',2,set.Prefix,{'team','setteam','changeteam'},{'player','team'},2,function(plr,args)
  4313. local plrz = set.GetPlayers(plr, args[1]:lower())
  4314. for i, v in pairs(plrz) do
  4315. coroutine.wrap(function()
  4316. if v and game:findFirstChild("Teams") then
  4317. for a, tm in pairs(game.Teams:children()) do
  4318. if tm.Name:lower():find(args[2]:lower()) == 1 then v.TeamColor = tm.TeamColor end
  4319. end
  4320. end
  4321. end)()
  4322. end
  4323. end)
  4324.  
  4325. set.MakeCommand('Set the target player(s)\'s field of view to <number> (min 1, max 120)',-1,set.Prefix,{'fov','fieldofview'},{'player','number'},2,function(plr,args)
  4326. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  4327. set.Remote(v,'Function','FieldOfView',args[2])
  4328. end
  4329. end)
  4330.  
  4331. set.MakeCommand('Teleport the target player(s) to the place belonging to <placeID>',2,set.Prefix,{'place'},{'player','placeID'},2,function(plr,args)
  4332. local plrz = set.GetPlayers(plr, args[1]:lower())
  4333. for i, v in pairs(plrz) do
  4334. coroutine.wrap(function()
  4335. set.PromptPlaceTeleport(v,"Teleport to "..args[2].."?",args[2])
  4336. end)()
  4337. end
  4338. end)
  4339.  
  4340. set.MakeCommand('Teleport player1(s) to player2 or a waypoint, use :tp player1 waypoint-WAYPOINTNAME to teleport people to waypoints',2,set.Prefix,{'tp','teleport'},{'player1','player2'},2,function(plr,args)
  4341. if args[2]:match('^waypoint%-(.*)') then
  4342. local m=args[2]:match('^waypoint%-(.*)')
  4343. local point
  4344. for i,v in pairs(set.Waypoints) do
  4345. if i:lower():sub(1,#m)==m:lower() then
  4346. point=v
  4347. end
  4348. end
  4349. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  4350. if point then
  4351. v.Character:MoveTo(point)
  4352. end
  4353. end
  4354. if not point then set.Hint('Waypoint '..m..' was not found.',{plr}) end
  4355. else
  4356. local plrz = set.GetPlayers(plr, args[1]:lower())
  4357. local plrz2 = set.GetPlayers(plr, args[2]:lower())
  4358. for i, v in pairs(plrz) do
  4359. coroutine.wrap(function()
  4360. for i2, v2 in pairs(plrz2) do
  4361. 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
  4362. if v.Character.Humanoid.Sit==true then
  4363. v.Character.Humanoid.Sit=false
  4364. wait(0.5)
  4365. end
  4366. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  4367. end
  4368. end
  4369. end)()
  4370. end
  4371. end
  4372. end)
  4373.  
  4374. set.MakeCommand('Teleport the target player(s) up by <height> studs',-1,set.Prefix,{'freefall','skydive'},{'player','height'},2,function(plr,args)
  4375. local plrz = set.GetPlayers(plr, args[1]:lower())
  4376. for i, v in pairs(plrz) do
  4377. coroutine.wrap(function()
  4378. if v and v.Character:FindFirstChild('Torso') then
  4379. v.Character.Torso.CFrame=v.Character.Torso.CFrame+Vector3.new(0,tonumber(args[2]),0)
  4380. end
  4381. end)()
  4382. end
  4383. end)
  4384.  
  4385. set.MakeCommand('Change the target player(s)\'s leader stat <stat> value to <value>',2,set.Prefix,{'change','leaderstat','stat'},{'player','stat','value'},3,function(plr,args)
  4386. local plrz = set.GetPlayers(plr, args[1]:lower())
  4387. for i, v in pairs(plrz) do
  4388. coroutine.wrap(function()
  4389. if v and v:findFirstChild("leaderstats") then
  4390. for a, st in pairs(v.leaderstats:children()) do
  4391. if st.Name:lower():find(args[2]:lower()) == 1 then st.Value = args[3] end
  4392. end
  4393. end
  4394. end)()
  4395. end
  4396. end)
  4397.  
  4398. set.MakeCommand('Give the target player(s) the shirt that belongs to <id>',2,set.Prefix,{'shirt','giveshirt'},{'player','id'},2,function(plr,args)
  4399. local plrz = set.GetPlayers(plr, args[1]:lower())
  4400. for i, v in pairs(plrz) do
  4401. coroutine.wrap(function()
  4402. if v and v.Character then
  4403. for g,k in pairs(v.Character:children()) do
  4404. if k:IsA("Shirt") then k:Destroy() end
  4405. end
  4406. local s=Instance.new('Shirt',v.Character)
  4407. s.ShirtTemplate="http://www.roblox.com/asset/?id="..args[2]
  4408. end
  4409. end)()
  4410. end
  4411. end)
  4412.  
  4413. set.MakeCommand('Give the target player(s) the pants that belongs to <id>',2,set.Prefix,{'pants','givepants'},{'player','id'},2,function(plr,args)
  4414. local plrz = set.GetPlayers(plr, args[1]:lower())
  4415. for i, v in pairs(plrz) do
  4416. coroutine.wrap(function()
  4417. if v and v.Character then
  4418. for g,k in pairs(v.Character:children()) do
  4419. if k:IsA("Pants") then k:Destroy() end
  4420. end
  4421. local s=Instance.new('Pants',v.Character)
  4422. s.PantsTemplate="http://www.roblox.com/asset/?id="..args[2]
  4423. end
  4424. end)()
  4425. end
  4426. end)
  4427.  
  4428. set.MakeCommand('Give the target player(s) the face that belongs to <id>',2,set.Prefix,{'face','giveface'},{'player','id'},2,function(plr,args)
  4429. local plrz = set.GetPlayers(plr, args[1]:lower())
  4430. for i, v in pairs(plrz) do
  4431. coroutine.wrap(function()
  4432. if not v.Character:FindFirstChild("Head") then return end
  4433. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  4434. v.Character.Head:findFirstChild("face"):Destroy()--.Texture = "http://www.roblox.com/asset/?id=" .. args[2]
  4435. end
  4436. game:service('InsertService'):LoadAsset(tonumber(args[2])):children()[1].Parent=v.Character:FindFirstChild("Head")
  4437. end)()
  4438. end
  4439. end)
  4440.  
  4441. set.MakeCommand('Swag the target player(s) up',-1,set.Prefix,{'swagify','swagger'},{'player'},1,function(plr,args)
  4442. local plrz = set.GetPlayers(plr, args[1]:lower())
  4443. for i, v in pairs(plrz) do
  4444. coroutine.wrap(function()
  4445. if v and v.Character then
  4446. for i,v in pairs(v.Character:children()) do
  4447. 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
  4448. 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
  4449. end
  4450. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  4451. set.Remote(v,'Function','Cape','Fabric','Pink',109301474)
  4452. end
  4453. end)()
  4454. end
  4455. end)
  4456.  
  4457. set.MakeCommand('Send the target player(s) to the moon!',-1,set.Prefix,{'rocket','firework'},{'player'},1,function(plr,args)
  4458. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  4459. coroutine.wrap(function()
  4460. if v.Character and v.Character:FindFirstChild("Torso") then
  4461. delay(0,function()
  4462. local speed = 10
  4463. local Part = Instance.new("Part")
  4464. Part.Parent = v.Character
  4465. local SpecialMesh = Instance.new("SpecialMesh")
  4466. SpecialMesh.Parent = Part
  4467. SpecialMesh.MeshId = "http://www.roblox.com/asset/?id=2251534"
  4468. SpecialMesh.MeshType = "FileMesh"
  4469. SpecialMesh.TextureId = "43abb6d081e0fbc8666fc92f6ff378c1"
  4470. SpecialMesh.Scale = Vector3.new(0.5,0.5,0.5)
  4471. local Weld = Instance.new("Weld")
  4472. Weld.Parent = Part
  4473. Weld.Part0 = Part
  4474. Weld.Part1 = v.Character.Torso
  4475. Weld.C0 = CFrame.new(0,-1,0)*CFrame.Angles(-1.5,0,0)
  4476. local BodyVelocity = Instance.new("BodyVelocity")
  4477. BodyVelocity.Parent = Part
  4478. BodyVelocity.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4479. BodyVelocity.velocity = Vector3.new(0,10*speed,0)
  4480. delay(0,function()
  4481. for i = 1,math.huge do
  4482. local Explosion = Instance.new("Explosion")
  4483. Explosion.Parent = Part
  4484. Explosion.BlastRadius = 0
  4485. Explosion.Position = Part.Position + Vector3.new(0,0,0)
  4486. wait()
  4487. end
  4488. end)
  4489. wait(3)
  4490. pcall(function()
  4491. BodyVelocity:remove()
  4492. Instance.new("Explosion",workspace).Position=v.Character.Torso.Position
  4493. v.Character:BreakJoints()
  4494. end)
  4495. end)
  4496. end
  4497. end)()
  4498. end
  4499. end)
  4500.  
  4501. set.MakeCommand('Make the target player(s) dance',-1,set.Prefix,{'dance'},{'player'},1,function(plr,args)
  4502. local plrz = set.GetPlayers(plr, args[1]:lower())
  4503. for i, v in pairs(plrz) do
  4504. set.Remote(v,'Function','Effect','dance')
  4505. end
  4506. end)
  4507.  
  4508. set.MakeCommand('Make the target player(s) break dance',-1,set.Prefix,{'breakdance','fundance','lolwut'},{'player'},1,function(plr,args)
  4509. local plrz = set.GetPlayers(plr, args[1])
  4510. for i, v in pairs(plrz) do
  4511. coroutine.wrap(function()
  4512. local color
  4513. local num=math.random(1,7)
  4514. if num==1 then
  4515. color='Really blue'
  4516. elseif num==2 then
  4517. color='Really red'
  4518. elseif num==3 then
  4519. color='Magenta'
  4520. elseif num==4 then
  4521. color='Lime green'
  4522. elseif num==5 then
  4523. color='Hot pink'
  4524. elseif num==6 then
  4525. color='New Yeller'
  4526. elseif num==7 then
  4527. color='White'
  4528. end
  4529. local hum=v.Character:FindFirstChild('Humanoid')
  4530. if not hum then return end
  4531. set.Remote(v,'Function','Effect','dance')
  4532. 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)
  4533. repeat hum.PlatformStand=true wait() until not hum or hum==nil or hum.Parent==nil
  4534. end)()
  4535. end
  4536. end)
  4537.  
  4538. set.MakeCommand('Make the target player(s) puke',-1,set.Prefix,{'puke','barf','throwup','vomit'},{'player'},1,function(plr,args)
  4539. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  4540. coroutine.wrap(function()
  4541. 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
  4542. local run=true
  4543. local k=Instance.new('StringValue',v.Character)
  4544. k.Name='Kohls Puke'
  4545. coroutine.wrap(function()
  4546. repeat
  4547. wait(0.15)
  4548. local p = Instance.new("Part",v.Character)
  4549. p.CanCollide = false
  4550. local color = math.random(1, 3)
  4551. local bcolor
  4552. if color == 1 then
  4553. bcolor = BrickColor.new(192)
  4554. elseif color == 2 then
  4555. bcolor = BrickColor.new(28)
  4556. elseif color == 3 then
  4557. bcolor = BrickColor.new(105)
  4558. end
  4559. p.BrickColor = bcolor
  4560. local m=Instance.new('BlockMesh',p)
  4561. p.Size=Vector3.new(0.1,0.1,0.1)
  4562. m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  4563. p.Locked = true
  4564. p.TopSurface = "Smooth"
  4565. p.BottomSurface = "Smooth"
  4566. p.CFrame = v.Character.Head.CFrame * CFrame.new(Vector3.new(0, 0, -1))
  4567. p.Velocity = v.Character.Head.CFrame.lookVector * 20 + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  4568. p.Anchored = false
  4569. m.Name='Puke Peice'
  4570. p.Name='Puke Peice'
  4571. p.Touched:connect(function(o)
  4572. 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
  4573. local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  4574. p:Destroy()
  4575. local g=Instance.new('Part',workspace)
  4576. g.Anchored=true
  4577. g.CanCollide=false
  4578. g.Size=Vector3.new(0.1,0.1,0.1)
  4579. g.Name='Puke Plate'
  4580. g.CFrame=cf
  4581. g.BrickColor=BrickColor.new(119)
  4582. local c=Instance.new('CylinderMesh',g)
  4583. c.Scale=Vector3.new(1,0.2,1)
  4584. c.Name='PukeMesh'
  4585. wait(10)
  4586. g:Destroy()
  4587. elseif o and o.Name=='Puke Plate' and p then
  4588. p:Destroy()
  4589. o.PukeMesh.Scale=o.PukeMesh.Scale+Vector3.new(0.5,0,0.5)
  4590. end
  4591. end)
  4592. until run==false or not k or not k.Parent or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head'))
  4593. end)()
  4594. wait(10)
  4595. run=false
  4596. k:Destroy()
  4597. end)()
  4598. end
  4599. end)
  4600.  
  4601. set.MakeCommand('Make the target player(s) bleed',-1,set.Prefix,{'cut','stab','shank'},{'player'},1,function(plr,args)
  4602. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  4603. coroutine.wrap(function()
  4604. 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
  4605. local run=true
  4606. local k=Instance.new('StringValue',v.Character)
  4607. k.Name='Kohls Bleed'
  4608. coroutine.wrap(function()
  4609. repeat
  4610. wait(0.15)
  4611. v.Character.Humanoid.Health=v.Character.Humanoid.Health-1
  4612. local p = Instance.new("Part",v.Character)
  4613. p.CanCollide = false
  4614. local color = math.random(1, 3)
  4615. local bcolo
  4616. if color == 1 then
  4617. bcolor = BrickColor.new(21)
  4618. elseif color == 2 then
  4619. bcolor = BrickColor.new(1004)
  4620. elseif color == 3 then
  4621. bcolor = BrickColor.new(21)
  4622. end
  4623. p.BrickColor = bcolor
  4624. local m=Instance.new('BlockMesh',p)
  4625. p.Size=Vector3.new(0.1,0.1,0.1)
  4626. m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  4627. p.Locked = true
  4628. p.TopSurface = "Smooth"
  4629. p.BottomSurface = "Smooth"
  4630. p.CFrame = v.Character.Torso.CFrame * CFrame.new(Vector3.new(2, 0, 0))
  4631. p.Velocity = v.Character.Head.CFrame.lookVector * 1 + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  4632. p.Anchored = false
  4633. m.Name='Blood Peice'
  4634. p.Name='Blood Peice'
  4635. p.Touched:connect(function(o)
  4636. 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
  4637. local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  4638. p:Destroy()
  4639. local g=Instance.new('Part',workspace)
  4640. g.Anchored=true
  4641. g.CanCollide=false
  4642. g.Size=Vector3.new(0.1,0.1,0.1)
  4643. g.Name='Blood Plate'
  4644. g.CFrame=cf
  4645. g.BrickColor=BrickColor.new(21)
  4646. local c=Instance.new('CylinderMesh',g)
  4647. c.Scale=Vector3.new(1,0.2,1)
  4648. c.Name='BloodMesh'
  4649. wait(10)
  4650. g:Destroy()
  4651. elseif o and o.Name=='Blood Plate' and p then
  4652. p:Destroy()
  4653. o.BloodMesh.Scale=o.BloodMesh.Scale+Vector3.new(0.5,0,0.5)
  4654. end
  4655. end)
  4656. until run==false or not k or not k.Parent or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head'))
  4657. end)()
  4658. wait(10)
  4659. run=false
  4660. k:Destroy()
  4661. end)()
  4662. end
  4663. end)
  4664.  
  4665. set.MakeCommand('Shows you the number of player points left in the game',5,set.Prefix,{'points','getpoints'},{},0,function(plr,args)
  4666. set.Hint('Available Player Points: '..game:GetService("PointsService"):GetAwardablePoints(),{plr})
  4667. end)
  4668.  
  4669. set.MakeCommand('Lets you give <player> <amount> player points',5,set.Prefix,{'givepoints','sendpoints'},{'player','amount'},2,function(plr,args)
  4670. for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  4671. local ran,failed=ypcall(function() game:GetService("PointsService"):AwardPoints(v.userId,tonumber(args[2])) end)
  4672. if ran and game:GetService("PointsService"):GetAwardablePoints()>=tonumber(args[2]) then
  4673. set.Hint('Gave '..args[2]..' points to '..v.Name,{plr})
  4674. elseif game:GetService("PointsService"):GetAwardablePoints()<tonumber(args[2])then
  4675. set.Hint("You don't have "..args[2]..' points to give to '..v.Name,{plr})
  4676. else
  4677. set.Hint("(Unknown Error) Failed to give "..args[2]..' points to '..v.Name,{plr})
  4678. end
  4679. set.Hint('Available Player Points: '..game:GetService("PointsService"):GetAwardablePoints(),{plr})
  4680. end
  4681. end)
  4682.  
  4683. set.MakeCommand('Slowly kills the target player(s)',-1,set.Prefix,{'poison'},{'player'},1,function(plr,args)
  4684. for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  4685. local torso=v.Character:FindFirstChild('Torso')
  4686. local larm=v.Character:FindFirstChild('Left Arm')
  4687. local rarm=v.Character:FindFirstChild('Right Arm')
  4688. local lleg=v.Character:FindFirstChild('Left Leg')
  4689. local rleg=v.Character:FindFirstChild('Right Leg')
  4690. local head=v.Character:FindFirstChild('Head')
  4691. local hum=v.Character:FindFirstChild('Humanoid')
  4692. if torso and larm and rarm and lleg and rleg and head and hum and not v.Character:FindFirstChild('KohlsPoisoned') then
  4693. local poisoned=Instance.new('BoolValue',v.Character)
  4694. poisoned.Name='KohlsPoisoned'
  4695. poisoned.Value=true
  4696. local tor=torso.BrickColor
  4697. local lar=larm.BrickColor
  4698. local rar=rarm.BrickColor
  4699. local lle=lleg.BrickColor
  4700. local rle=rleg.BrickColor
  4701. local hea=head.BrickColor
  4702. torso.BrickColor=BrickColor.new('Br. yellowish green')
  4703. larm.BrickColor=BrickColor.new('Br. yellowish green')
  4704. rarm.BrickColor=BrickColor.new('Br. yellowish green')
  4705. lleg.BrickColor=BrickColor.new('Br. yellowish green')
  4706. rleg.BrickColor=BrickColor.new('Br. yellowish green')
  4707. head.BrickColor=BrickColor.new('Br. yellowish green')
  4708. local run=true
  4709. coroutine.wrap(function() wait(10) run=false end)()
  4710. repeat
  4711. wait(1)
  4712. hum.Health=hum.Health-5
  4713. until (not poisoned) or (not poisoned.Parent) or (not run)
  4714. if poisoned and poisoned.Parent then
  4715. torso.BrickColor=tor
  4716. larm.BrickColor=lar
  4717. rarm.BrickColor=rar
  4718. lleg.BrickColor=lle
  4719. rleg.BrickColor=rle
  4720. head.BrickColor=hea
  4721. end
  4722. end
  4723. end
  4724. end)
  4725.  
  4726. set.MakeCommand('Makes the target player(s) say interesting things, makes it hard for them to walk, and eventually kills them',-1,set.Prefix,{'drug','intoxicate'},{'player'},1,function(plr,args)
  4727. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  4728. set.Remote(v,'Function','Drug')
  4729. end
  4730. end)
  4731.  
  4732. set.MakeCommand('Change the pitch o the currently playing song',2,set.Prefix,{'pitch'},{'number'},1,function(plr,args)
  4733. coroutine.wrap(function()
  4734. local pitch = args[1]
  4735. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v.Pitch=pitch end end
  4736. end)()
  4737. end)
  4738.  
  4739. set.MakeCommand('Start playing a song',2,set.Prefix,{'music','song','playsong'},{'id'},1,function(plr,args)
  4740. coroutine.wrap(function()
  4741. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  4742. local id = args[1]:lower()
  4743. local pitch = 1
  4744. local mp = game:service('MarketplaceService')
  4745. local volume = 1
  4746. 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
  4747. local name = 'Invalid ID '
  4748. pcall(function() if mp:GetProductInfo(id).AssetTypeId==3 then name = 'Now playing '..mp:GetProductInfo(id).Name end end)
  4749. local s = Instance.new("Sound")
  4750. s.Name='Sound'..set.RemoteObject
  4751. s.Parent=workspace
  4752. s.SoundId = "http://www.roblox.com/asset/?id=" .. id
  4753. s.Volume = volume
  4754. s.Pitch = pitch
  4755. s.Looped = true
  4756. s.archivable = false
  4757. pcall(function() s:Play()end)
  4758. set.Hint(name..' ('..id..')',game:service('Players'):children())
  4759. end)()
  4760. end)
  4761.  
  4762. set.MakeCommand('Stop the currently playing song',2,set.Prefix,{'stopmusic','musicoff'},{},0,function(plr,args)
  4763. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  4764. end)
  4765.  
  4766. set.MakeCommand('Shows you the script\'s available music list',2,set.Prefix,{'musiclist','listmusic','songs'},{},0,function(plr,args)
  4767. local listforclient={}
  4768. for i, v in pairs(set['MusicList']) do
  4769. table.insert(listforclient,v.Name)
  4770. end
  4771. --set.Remote(plr,'SetSetting','MusicList',listforclient)
  4772. set.Remote(plr,'Function','ListGui','Music List',listforclient)
  4773. end)
  4774.  
  4775. set.MakeCommand('Turns the target player(s) into a stick figure',-1,set.Prefix,{'stickify','stick','stickman'},{'player'},1,function(plr,args)
  4776. local plrz = set.GetPlayers(plr, args[1]:lower())
  4777. for kay, player in pairs(plrz) do
  4778. coroutine.wrap(function()
  4779. local m = player.Character
  4780. for i,v in pairs(m:GetChildren()) do
  4781. if v:IsA ("Part") then
  4782. local s = Instance.new("SelectionPartLasso")
  4783. s.Parent = m.Torso
  4784. s.Part = v
  4785. s.Humanoid = m.Humanoid
  4786. s.Color = BrickColor.new(0,0,0)
  4787. v.Transparency = 1
  4788. m.Head.Transparency = 0
  4789. m.Head.Mesh:Remove()
  4790. local b = Instance.new("SpecialMesh")
  4791. b.Parent = m.Head
  4792. b.MeshType = "Sphere"
  4793. b.Scale = Vector3.new(.5,1,1)
  4794. m.Head.BrickColor = BrickColor.new("Black")
  4795. end
  4796. end
  4797. end)()
  4798. end
  4799. end)
  4800.  
  4801. set.MakeCommand('Sends the target player(s) down a hole',-1,set.Prefix,{'hole','sparta'},{'player'},1,function(plr,args)
  4802. local plrz = set.GetPlayers(plr, args[1]:lower())
  4803. for kay, player in pairs(plrz) do
  4804. coroutine.wrap(function()
  4805. local torso=player.Character:FindFirstChild('Torso')
  4806. if torso then
  4807. local hole = Instance.new("Part",player.Character)
  4808. hole.Anchored = true
  4809. hole.CanCollide = false
  4810. hole.formFactor = Enum.FormFactor.Custom
  4811. hole.Size = Vector3.new(10,1,10)
  4812. hole.CFrame = torso.CFrame * CFrame.new(0,-3.3,-3)
  4813. hole.BrickColor = BrickColor.new("Really black")
  4814. local holeM = Instance.new("CylinderMesh",holeM)
  4815. torso.Anchored = true
  4816. local foot = torso.CFrame * CFrame.new(0,-3,0)
  4817. for i=1,10 do
  4818. torso.CFrame = foot * CFrame.fromEulerAnglesXYZ(-(math.pi/2)*i/10,0,0) * CFrame.new(0,3,0)
  4819. wait()
  4820. end
  4821. for i=1,5,0.2 do
  4822. torso.CFrame = foot * CFrame.new(0,-(i^2),0) * CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) * CFrame.new(0,3,0)
  4823. wait()
  4824. end
  4825. player.Character.Humanoid.Health=0
  4826. end
  4827. end)()
  4828. end
  4829. end)
  4830.  
  4831. set.MakeCommand('Crucifies the target players(s) (Old Roman punishment done to thousands of people, saying its offensive only means you are ignorant)',-1,set.Prefix,{'crucify','cross'},{'player'},1,function(plr,args)
  4832. for i,v in pairs(set.GetPlayers(plr,args[1]:lower())) do
  4833. local torso=v.Character['Torso']
  4834. local larm=v.Character['Left Arm']
  4835. local rarm=v.Character['Right Arm']
  4836. local lleg=v.Character['Left Leg']
  4837. local rleg=v.Character['Right Leg']
  4838. local head=v.Character['Head']
  4839. if torso and larm and rarm and lleg and rleg and head and not v.Character:FindFirstChild(v.Name..'kohlscrusify') then
  4840. local cru=Instance.new('Model',v.Character)
  4841. cru.Name=v.Name..'kohlscrusify'
  4842. local c1=Instance.new('Part',cru)
  4843. c1.BrickColor=BrickColor.new('Reddish brown')
  4844. c1.Material='Wood'
  4845. c1.CFrame=(v.Character.Torso.CFrame-v.Character.Torso.CFrame.lookVector)*CFrame.new(0,0,2)
  4846. c1.Size=Vector3.new(2,18.4,1)
  4847. c1.Anchored=true
  4848. local c2=c1:Clone()
  4849. c2.Parent=cru
  4850. c2.Size=Vector3.new(11,1.6,1)
  4851. c2.CFrame=c1.CFrame+Vector3.new(0,5,0)
  4852. torso.Anchored=true
  4853. wait(0.5)
  4854. torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0)
  4855. wait(0.5)
  4856. larm.Anchored=true
  4857. rarm.Anchored=true
  4858. lleg.Anchored=true
  4859. rleg.Anchored=true
  4860. head.Anchored=true
  4861. wait()
  4862. larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0)
  4863. rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0)
  4864. lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0)
  4865. rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0)
  4866. larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140)
  4867. rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140)
  4868. lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6)
  4869. rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6)
  4870. --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3)
  4871. local n1=Instance.new('Part',cru)
  4872. n1.BrickColor=BrickColor.new('Dark stone grey')
  4873. n1.Material='DiamondPlate'
  4874. n1.Size=Vector3.new(0.2,0.2,2)
  4875. n1.Anchored=true
  4876. local m=Instance.new('BlockMesh',n1)
  4877. m.Scale=Vector3.new(0.2,0.2,0.7)
  4878. n2=n1:clone()
  4879. n2.Parent=cru
  4880. n3=n1:clone()
  4881. n3.Parent=cru
  4882. n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0)
  4883. n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0)
  4884. n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0)
  4885. coroutine.wrap(function()
  4886. repeat
  4887. wait(0.1)
  4888. v.Character.Humanoid.Health=v.Character.Humanoid.Health-0.6
  4889. local p = Instance.new("Part",v.Character)
  4890. p.CanCollide = false
  4891. local color = math.random(1, 3)
  4892. local bcolo
  4893. if color == 1 then
  4894. bcolor = BrickColor.new(21)
  4895. parent=n1
  4896. elseif color == 2 then
  4897. bcolor = BrickColor.new(1004)
  4898. parent=n2
  4899. elseif color == 3 then
  4900. bcolor = BrickColor.new(21)
  4901. parent=n3
  4902. end
  4903. p.BrickColor = bcolor
  4904. local m=Instance.new('BlockMesh',p)
  4905. p.Size=Vector3.new(0.1,0.1,0.1)
  4906. m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  4907. p.Locked = true
  4908. p.TopSurface = "Smooth"
  4909. p.BottomSurface = "Smooth"
  4910. p.CFrame = parent.CFrame
  4911. p.Anchored = false
  4912. m.Name='Blood Peice'
  4913. p.Name='Blood Peice'
  4914. p.Touched:connect(function(o)
  4915. 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
  4916. local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  4917. p:Destroy()
  4918. local g=Instance.new('Part',workspace)
  4919. g.Anchored=true
  4920. g.CanCollide=false
  4921. g.Size=Vector3.new(0.1,0.1,0.1)
  4922. g.Name='Blood Plate'
  4923. g.CFrame=cf
  4924. g.BrickColor=BrickColor.new(21)
  4925. local c=Instance.new('CylinderMesh',g)
  4926. c.Scale=Vector3.new(1,0.2,1)
  4927. c.Name='BloodMesh'
  4928. wait(10)
  4929. g:Destroy()
  4930. elseif o and o.Name=='Blood Plate' and p then
  4931. p:Destroy()
  4932. o.BloodMesh.Scale=o.BloodMesh.Scale+Vector3.new(1,0,1)
  4933. end
  4934. end)
  4935. 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
  4936. end)()
  4937. end
  4938. end
  4939. end)
  4940.  
  4941. set.MakeCommand('Lets the target player(s) fly',2,set.Prefix,{'fly','flight'},{'player'},1,function(plr,args)
  4942. local plrz = set.GetPlayers(plr, args[1]:lower())
  4943. for i, v in pairs(plrz) do
  4944. set.Remote(v,'Function','Effect','fly')
  4945. end
  4946. end)
  4947.  
  4948. set.MakeCommand('Removes the target player(s)\'s ability to fly',2,set.Prefix,{'unfly','ground'},{'player'},1,function(plr,args)
  4949. local plrz = set.GetPlayers(plr, args[1])
  4950. for i, v in pairs(plrz) do
  4951. set.Remote(v,'Function','Effect','unfly')
  4952. end
  4953. end)
  4954.  
  4955. set.MakeCommand('Turns the place into a disco party',-1,set.Prefix,{'disco'},{},0,function(plr,args)
  4956. set.lighttask=false
  4957. wait(0.5)
  4958. coroutine.wrap(function()
  4959. set.lighttask = true
  4960. repeat
  4961. if set.lighttask==false then return end
  4962. local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  4963. game:service('Lighting').Ambient = color
  4964. game:service('Lighting').OutdoorAmbient = color
  4965. game:service('Lighting').FogColor = color
  4966. wait(0.1)
  4967. until set.lighttask==false
  4968. end)()
  4969. end)
  4970.  
  4971. set.MakeCommand('Makes the place flash',-1,set.Prefix,{'flash'},{},0,function(plr,args)
  4972. set.lighttask=false
  4973. wait(0.5)
  4974. coroutine.wrap(function()
  4975. set.lighttask=true
  4976. repeat
  4977. if set.lighttask==false then return end
  4978. game:service('Lighting').Ambient = Color3.new(1,1,1)
  4979. game:service('Lighting').OutdoorAmbient = Color3.new(1,1,1)
  4980. game:service('Lighting').FogColor = Color3.new(1,1,1)
  4981. game:service('Lighting').Brightness = 1
  4982. game:service('Lighting').TimeOfDay = 14
  4983. wait(0.1)
  4984. game:service('Lighting').Ambient = Color3.new(0,0,0)
  4985. game:service('Lighting').OutdoorAmbient = Color3.new(0,0,0)
  4986. game:service('Lighting').FogColor = Color3.new(0,0,0)
  4987. game:service('Lighting').Brightness = 0
  4988. game:service('Lighting').TimeOfDay = 0
  4989. wait(0.1)
  4990. until set.lighttask==false
  4991. end)()
  4992. end)
  4993.  
  4994. set.MakeCommand('Makes the target player(s) spin',-1,set.Prefix,{'spin'},{'player'},1,function(plr,args)
  4995. local plrz = set.GetPlayers(plr, args[1])
  4996. for i, v in pairs(plrz) do
  4997. coroutine.wrap(function()
  4998. if v and v.Character and v.Character:findFirstChild("Torso") then
  4999. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  5000. local torso = v.Character:findFirstChild("Torso")
  5001. 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)
  5002. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  5003. until not bg or bg.Parent ~= torso
  5004. end
  5005. end)()
  5006. end
  5007. end)
  5008.  
  5009. set.MakeCommand('Makes the target player(s) stop spinning',-1,set.Prefix,{'unspin'},{'player'},1,function(plr,args)
  5010. local plrz = set.GetPlayers(plr, args[1]:lower())
  5011. for i, v in pairs(plrz) do
  5012. coroutine.wrap(function()
  5013. if v and v.Character and v.Character:findFirstChild("Torso") then
  5014. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  5015. end
  5016. end)()
  5017. end
  5018. end)
  5019.  
  5020. set.MakeCommand('Turn the target player(s) into a dog',-1,set.Prefix,{'dog','dogify'},{'player'},1,function(plr,args)
  5021. local plrz = set.GetPlayers(plr, args[1]:lower())
  5022. for i, v in pairs(plrz) do
  5023. coroutine.wrap(function()
  5024. if v and v.Character and v.Character:findFirstChild("Torso") then
  5025. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5026. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5027. v.Character.Torso.Transparency = 1
  5028. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5029. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  5030. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  5031. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  5032. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  5033. 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
  5034. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  5035. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  5036. 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
  5037. end
  5038. end)()
  5039. end
  5040. end)
  5041.  
  5042. set.MakeCommand('Turn them back to normal',-1,set.Prefix,{'undog','undogify'},{'player'},1,function(plr,args)
  5043. local plrz = set.GetPlayers(plr, args[1]:lower())
  5044. for i, v in pairs(plrz) do
  5045. coroutine.wrap(function()
  5046. if v and v.Character and v.Character:findFirstChild("Torso") then
  5047. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5048. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5049. v.Character.Torso.Transparency = 0
  5050. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5051. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5052. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5053. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5054. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5055. 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
  5056. end
  5057. end)()
  5058. end
  5059. end)
  5060.  
  5061. set.MakeCommand('Turn the target player(s) into a creeper',-1,set.Prefix,{'creeper','creeperify'},{'player'},1,function(plr,args)
  5062. local plrz = set.GetPlayers(plr, args[1]:lower())
  5063. for i, v in pairs(plrz) do
  5064. coroutine.wrap(function()
  5065. if v and v.Character and v.Character:findFirstChild("Torso") then
  5066. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5067. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5068. v.Character.Torso.Transparency = 0
  5069. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5070. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  5071. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  5072. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  5073. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  5074. 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
  5075. end
  5076. end)()
  5077. end
  5078. end)
  5079.  
  5080. set.MakeCommand('Turn the target player(s) back to normal',-1,set.Prefix,{'uncreeper','uncreeperify'},{'player'},1,function(plr,args)
  5081. local plrz = set.GetPlayers(plr, args[1]:lower())
  5082. for i, v in pairs(plrz) do
  5083. coroutine.wrap(function()
  5084. if v and v.Character and v.Character:findFirstChild("Torso") then
  5085. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5086. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5087. v.Character.Torso.Transparency = 0
  5088. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5089. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5090. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5091. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5092. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5093. 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
  5094. end
  5095. end)()
  5096. end
  5097. end)
  5098.  
  5099. set.MakeCommand('Give the target player(s) a larger ego',-1,set.Prefix,{'bighead'},{'player'},1,function(plr,args)
  5100. local plrz = set.GetPlayers(plr, args[1]:lower())
  5101. for i, v in pairs(plrz) do
  5102. coroutine.wrap(function()
  5103. 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
  5104. end)()
  5105. end
  5106. end)
  5107.  
  5108. set.MakeCommand('REsize the target player(s)\'s character by <number>',-1,set.Prefix,{'resize','size'},{'player','number'},2,function(plr,args)
  5109. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  5110. if not (plr and plr.Character and plr.Character:findFirstChild('Torso') and plr.Character:findFirstChild('HumanoidRootPart')) then return end
  5111. local ags = {c = plr.Character, t = plr.Character.Torso, r = plr.Character.HumanoidRootPart}
  5112. ags.t.Anchored = true ags.t.BottomSurface = 0 ags.t.TopSurface = 0
  5113. local welds = {} --Credit to Drezmor for the orig command, credit to Kohltastrophe for making it work correctly l0l
  5114. for i2,v2 in pairs(ags.c:children()) do
  5115. if v2:IsA('BasePart') then v2.Anchored = true
  5116. elseif v2:IsA('Pants') or v2:IsA('Shirt') then v2.Parent = ags.t
  5117. end
  5118. end
  5119. print(args[2])
  5120. local function size(p)
  5121. for i2,v2 in pairs(p:children()) do
  5122. if v2:IsA('Weld') or v2:IsA('Motor') or v2:IsA('Motor6D') then
  5123. local p1 = v2.Part1 p1.Anchored = true v2.Part1 = nil
  5124. 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)
  5125. 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)
  5126. if p1.Name ~= 'Head' and p1.Name ~= 'Torso' then
  5127. p1.formFactor = 3
  5128. p1.Size = p1.Size*args[2]
  5129. elseif p1.Name ~= 'Torso' then
  5130. p1.Anchored = true
  5131. for i3,v3 in pairs(p1:children()) do if v3:IsA('Weld') then v3.Part0 = nil v3.Part1.Anchored = true end end
  5132. p1.formFactor = 3 p1.Size = p1.Size*args[2]
  5133. for i3,v3 in pairs(p1:children()) do if v3:IsA('Weld') then v3.Part0 = p1 v3.Part1.Anchored = false end end
  5134. end
  5135. if v2.Parent == ags.t then p1.BottomSurface = 0 p1.TopSurface = 0 end
  5136. p1.Anchored = false
  5137. v2.Part1 = p1
  5138. if v2.Part0 == ags.t then table.insert(welds,v2) p1.Anchored = true v2.Part0 = nil end
  5139. elseif v2:IsA('CharacterMesh') then
  5140. local bp = tostring(v2.BodyPart):match('%w+.%w+.(%w+)')
  5141. local msh = Instance.new('SpecialMesh')
  5142. if bp and ags.c:findFirstChild(bp) then msh.Parent = ags.c:findFirstChild(bp) end
  5143. msh.MeshId = 'http://www.roblox.com/asset/?id='..v2.MeshId
  5144. if v2.BaseTextureId ~= 0 or v2.BaseTextureId ~= '0' then msh.TextureId = 'http://www.roblox.com/asset/?id='..v2.BaseTextureId end
  5145. msh.Scale = msh.Scale*args[2] v2:Destroy()
  5146. elseif v2:IsA('SpecialMesh') and v2.Parent ~= ags.c.Head then v2.Scale = v2.Scale*args[2]
  5147. end size(v2)
  5148. end
  5149. end
  5150. size(ags.c)
  5151. ags.t.formFactor = 3
  5152. ags.t.Size = ags.t.Size*args[2]
  5153. for i2,v2 in pairs(welds) do v2.Part0 = ags.t v2.Part1.Anchored = false end
  5154. for i2,v2 in pairs(ags.c:children()) do if v2:IsA('BasePart') then v2.Anchored = false end end
  5155. local weld = Instance.new('Weld',ags.r) weld.Part0 = ags.r weld.Part1 = ags.t
  5156. end
  5157. end)
  5158.  
  5159. set.MakeCommand('Give the target player(s) a small head',-1,set.Prefix,{'smallhead','minihead'},{'player'},1,function(plr,args)
  5160. local plrz = set.GetPlayers(plr, args[1]:lower())
  5161. for i, v in pairs(plrz) do
  5162. coroutine.wrap(function()
  5163. 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
  5164. end)()
  5165. end
  5166. end)
  5167.  
  5168. set.MakeCommand('Fling the target player(s)',2,set.Prefix,{'fling'},{'player'},1,function(plr,args)
  5169. local plrz = set.GetPlayers(plr, args[1]:lower())
  5170. for i, v in pairs(plrz) do
  5171. coroutine.wrap(function()
  5172. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  5173. local xran local zran
  5174. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  5175. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  5176. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  5177. 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)
  5178. end
  5179. end)()
  5180. end
  5181. end)
  5182.  
  5183. set.MakeCommand('Make the target player(s)\'s character spazz out on the floor',-1,set.Prefix,{'seizure'},{'player'},1,function(plr,args)
  5184. local plrz = set.GetPlayers(plr, args[1]:lower())
  5185. for i, v in pairs(plrz) do
  5186. coroutine.wrap(function()
  5187. if v.Character:FindFIrstChild('Torso') then
  5188. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  5189. set.Remote(v,'Function','Effect','seizure')
  5190. end
  5191. end)()
  5192. end
  5193. end)
  5194.  
  5195. set.MakeCommand('Removes the effects of the seizure command',-1,set.Prefix,{'unseizure'},{'player'},1,function(plr,args)
  5196. for i,v in pairs(set.GetPlayers(plr, args[1])) do
  5197. set.Remote(v,'Function','Effect','unseizure')
  5198. end
  5199. end)
  5200.  
  5201. set.MakeCommand('Remove the target player(s)\'s arms and legs',-1,set.Prefix,{'removelimbs','delimb'},{'player'},1,function(plr,args)
  5202. local plrz = set.GetPlayers(plr, args[1])
  5203. for i, v in pairs(plrz) do
  5204. coroutine.wrap(function()
  5205. if v and v.Character then
  5206. for a, obj in pairs(v.Character:children()) do
  5207. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  5208. end
  5209. end
  5210. end)()
  5211. end
  5212. end)
  5213.  
  5214. set.MakeCommand('Name the target player(s) <name> or say hide to hide their character name',2,set.Prefix,{'name','rename'},{'player','name/hide'},2,function(plr,args)
  5215. local plrz = set.GetPlayers(plr, args[1]:lower())
  5216. for i, v in pairs(plrz) do
  5217. coroutine.wrap(function()
  5218. if v and v.Character and v.Character:findFirstChild("Head") then
  5219. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  5220. local char = v.Character
  5221. local mod = Instance.new("Model", char) mod.Name = args[2] or ''
  5222. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  5223. coroutine.wrap(function()
  5224. if args[2]:lower()~='hide' then
  5225. 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
  5226. else
  5227. mod.Name=''
  5228. end
  5229. end)()
  5230. cl.CanCollide=false
  5231. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  5232. char.Head.Transparency = 1
  5233. end
  5234. end)()
  5235. end
  5236. end)
  5237.  
  5238. set.MakeCommand('Put the target player(s)\'s back to normal',2,set.Prefix,{'unname','fixname'},{'player'},1,function(plr,args)
  5239. local plrz = set.GetPlayers(plr, args[1]:lower())
  5240. for i, v in pairs(plrz) do
  5241. coroutine.wrap(function()
  5242. if v and v.Character and v.Character:findFirstChild("Head") then
  5243. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  5244. end
  5245. end)()
  5246. end
  5247. end)
  5248.  
  5249. set.MakeCommand('Change the target player(s)\'s Right Leg package',-1,set.Prefix,{'rleg','rightleg','rightlegpackage'},{'player','id'},2,function(plr,args)
  5250. local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  5251. if id~=31 then set.Remote(plr,'Function','OutputGui','Id is not a right leg!') return end
  5252. local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  5253. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  5254. for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='RightLeg' then m:Destroy() end end
  5255. part.Parent=v.Character
  5256. end
  5257. end)
  5258.  
  5259. set.MakeCommand('Change the target player(s)\'s Left Leg package',-1,set.Prefix,{'lleg','leftleg','leftlegpackage'},{'player','id'},2,function(plr,args)
  5260. local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  5261. if id~=30 then set.Remote(plr,'Function','OutputGui','Id is not a left leg!') return end
  5262. local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  5263. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  5264. for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='LeftLeg' then m:Destroy() end end
  5265. part.Parent=v.Character
  5266. end
  5267. end)
  5268.  
  5269. set.MakeCommand('Change the target player(s)\'s Right Arm package',-1,set.Prefix,{'rarm','rightarm','rightarmpackage'},{'player','id'},2,function(plr,args)
  5270. local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  5271. if id~=28 then set.Remote(plr,'Function','OutputGui','Id is not a right arm!') return end
  5272. local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  5273. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  5274. for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='RightArm' then m:Destroy() end end
  5275. part.Parent=v.Character
  5276. end
  5277. end)
  5278.  
  5279. set.MakeCommand('Change the target player(s)\'s Left Arm package',-1,set.Prefix,{'larm','leftarm','leftarmpackage'},{'player','id'},2,function(plr,args)
  5280. local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  5281. if id~=29 then set.Remote(plr,'Function','OutputGui','Id is not a left arm!') return end
  5282. local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  5283. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  5284. for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='LeftArm' then m:Destroy() end end
  5285. part.Parent=v.Character
  5286. end
  5287. end)
  5288.  
  5289. set.MakeCommand('Change the target player(s)\'s Left Arm package',-1,set.Prefix,{'torso','torsopackage'},{'player','id'},2,function(plr,args)
  5290. local id=game:service('MarketplaceService'):GetProductInfo(args[2]).AssetTypeId
  5291. if id~=27 then set.Remote(plr,'Function','OutputGui','Id is not a torso!') return end
  5292. local part=game:service('InsertService'):LoadAsset(args[2]):children()[1]
  5293. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  5294. for k,m in pairs(v.Character:children()) do if m:IsA('CharacterMesh') and m.BodyPart=='Torso' then m:Destroy() end end
  5295. part.Parent=v.Character
  5296. end
  5297. end)
  5298.  
  5299. set.MakeCommand('Changes the target player(s)\'s character appearence to <ID>',-1,set.Prefix,{'char','character','appearance'},{'player','ID'},2,function(plr,args)
  5300. local plrz = set.GetPlayers(plr, args[1]:lower())
  5301. for i, v in pairs(plrz) do
  5302. coroutine.wrap(function()
  5303. if v and v.Character then
  5304. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. args[2]
  5305. v:LoadCharacter()
  5306. end
  5307. end)()
  5308. end
  5309. end)
  5310.  
  5311. set.MakeCommand('Put the target player(s)\'s character appearence back to normal',-1,set.Prefix,{'unchar','uncharacter','fixappearance'},{'player'},1,function(plr,args)
  5312. local plrz = set.GetPlayers(plr, args[1]:lower())
  5313. for i, v in pairs(plrz) do
  5314. coroutine.wrap(function()
  5315. if v and v.Character then
  5316. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  5317. v:LoadCharacter()
  5318. end
  5319. end)()
  5320. end
  5321. end)
  5322.  
  5323. set.MakeCommand('Turn the target player(s) into a suit zombie',-1,set.Prefix,{'infect','zombify'},{'player'},1,function(plr,args)
  5324. local plrz = set.GetPlayers(plr, args[1]:lower())
  5325. for i, v in pairs(plrz) do
  5326. coroutine.wrap(function()
  5327. if v and v.Character then
  5328. set.Infect(v.Character)
  5329. end
  5330. end)()
  5331. end
  5332. end)
  5333.  
  5334. set.MakeCommand('Make the target player(s)\'s character flash random colors',-1,set.Prefix,{'rainbowify','rainbow'},{'player'},1,function(plr,args)
  5335. local plrz = set.GetPlayers(plr, args[1]:lower())
  5336. for i, v in pairs(plrz) do
  5337. coroutine.wrap(function()
  5338. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  5339. if v and v.Character and v.Character:findFirstChild("Torso") then
  5340. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5341. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5342. set.Remote(v,'Function','Effect','rainbowify')
  5343. end
  5344. end)()
  5345. end
  5346. end)
  5347.  
  5348. set.MakeCommand('Make the target player(s)\'s character flash',-1,set.Prefix,{'flashify'},{'player'},1,function(plr,args)
  5349. local plrz = set.GetPlayers(plr, args[1]:lower())
  5350. for i, v in pairs(plrz) do
  5351. coroutine.wrap(function()
  5352. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  5353. if v and v.Character and v.Character:findFirstChild("Torso") then
  5354. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5355. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5356. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5357. set.Remote(v,'Function','Effect','flashify')
  5358. end
  5359. end)()
  5360. end
  5361. end)
  5362. --hold
  5363. set.MakeCommand('Make the target player(s) look like a noob',-1,set.Prefix,{'noobify','noob'},{'player'},1,function(plr,args)
  5364. local plrz = set.GetPlayers(plr, args[1]:lower())
  5365. for i, v in pairs(plrz) do
  5366. coroutine.wrap(function()
  5367. if v and v.Character then
  5368. set.Noobify(v.Character)
  5369. end
  5370. end)()
  5371. end
  5372. end)
  5373.  
  5374. set.MakeCommand('Turn the target player(s) into a ghost',-1,set.Prefix,{'ghostify','ghost'},{'player'},1,function(plr,args)
  5375. local plrz = set.GetPlayers(plr, args[1]:lower())
  5376. for i, v in pairs(plrz) do
  5377. coroutine.wrap(function()
  5378. if v and v.Character and v.Character:findFirstChild("Torso") then
  5379. set.Remote(v,'Function','Noclip','norm')
  5380. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5381. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5382. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5383. 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
  5384. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  5385. if prt.Name:find("Leg") then prt.Transparency = 1 end
  5386. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  5387. end end
  5388. end
  5389. end)()
  5390. end
  5391. end)
  5392.  
  5393. set.MakeCommand('Make the target player(s) look like gold',-1,set.Prefix,{'goldify','gold'},{'player'},1,function(plr,args)
  5394. local plrz = set.GetPlayers(plr, args[1]:lower())
  5395. for i, v in pairs(plrz) do
  5396. coroutine.wrap(function()
  5397. if v and v.Character and v.Character:findFirstChild("Torso") then
  5398. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5399. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5400. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5401. 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
  5402. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  5403. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  5404. end end
  5405. end
  5406. end)()
  5407. end
  5408. end)
  5409.  
  5410. set.MakeCommand('Make the target player(s)\'s character shiney',-1,set.Prefix,{'shiney','shineify','shine'},{'player'},1,function(plr,args)
  5411. local plrz = set.GetPlayers(plr, args[1]:lower())
  5412. for i, v in pairs(plrz) do
  5413. coroutine.wrap(function()
  5414. if v and v.Character and v.Character:findFirstChild("Torso") then
  5415. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5416. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5417. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5418. 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
  5419. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  5420. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  5421. end end
  5422. end
  5423. end)()
  5424. end
  5425. end)
  5426.  
  5427. set.MakeCommand('Make the target player(s) look normal',-1,set.Prefix,{'normal','normalify'},{'player'},1,function(plr,args)
  5428. local plrz = set.GetPlayers(plr, args[1]:lower())
  5429. for i, v in pairs(plrz) do
  5430. coroutine.wrap(function()
  5431. if v and v.Character and v.Character:findFirstChild("Torso") then
  5432. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  5433. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5434. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5435. v.Character.Torso.Transparency = 0
  5436. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5437. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5438. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5439. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5440. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5441. local parent=v:FindFirstChild('PlayerGui') or v:FindFirstChild('Backpack')
  5442. 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
  5443. for a, prt in pairs(v.Character:children()) do
  5444. if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  5445. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  5446. if prt.Name == "FAKETORSO" then prt:Destroy() end
  5447. if prt.Name == 'HumanoidRootPart' then prt.Transparency=1 end
  5448. elseif prt:findFirstChild("NameTag") then
  5449. prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  5450. elseif prt.Name=='Kohls Puke' or prt.Name=='Kohls Bleed' then
  5451. prt:Destroy()
  5452. elseif prt.Name==v.Name..'kohlscrusify' then
  5453. set.RunCommand('refresh',v.Name)
  5454. end
  5455. end
  5456. end
  5457. end)()
  5458. end
  5459. end)
  5460.  
  5461. set.MakeCommand('Makes the target player(s)\'s screen rapidly change colors',-1,set.Prefix,{'trippy'},{'player'},1,function(plr,args)
  5462. local plrz = set.GetPlayers(plr, args[1]:lower())
  5463. for i, v in pairs(plrz) do
  5464. set.Remote(v,'Function','Effect','trippy')
  5465. end
  5466. end)
  5467.  
  5468. set.MakeCommand('Removes any effects on the target player(s)',-1,set.Prefix,{'uneffect','uneffectgui','unblind','unstrobe','untrippy','undance','unflashify','unrainbowify','guifix','fixgui'},{'player'},1,function(plr,args)
  5469. local plrz = set.GetPlayers(plr, args[1]:lower())
  5470. for i, v in pairs(plrz) do
  5471. set.Remote(v,'Function','Effect','off')
  5472. end
  5473. end)
  5474.  
  5475. set.MakeCommand('Reverses the effects of the iceskate/slip command',-1,set.Prefix,{'unslip','unslippery','uniceskate'},{'player'},1,function(plr,args)
  5476. local plrz = set.GetPlayers(plr,args[1]:lower())
  5477. for i,v in pairs(plrz) do
  5478. set.Remote(v,'Function','Effect','unslip')
  5479. end
  5480. end)
  5481.  
  5482. set.MakeCommand('Makes the target player(s)\'s screen flash rapidly',-1,set.Prefix,{'strobe'},{'player'},1,function(plr,args)
  5483. local plrz = set.GetPlayers(plr,args[1]:lower())
  5484. for i, v in pairs(plrz) do
  5485. set.Remote(v,'Function','Effect','strobe')
  5486. end
  5487. end)
  5488.  
  5489. set.MakeCommand('Blinds the target player(s)',-1,set.Prefix,{'blind'},{'player'},1,function(plr,args)
  5490. local plrz = set.GetPlayers(plr, args[1]:lower())
  5491. for i, v in pairs(plrz) do
  5492. set.Remote(v,'Function','Effect','blind')
  5493. end
  5494. end)
  5495.  
  5496. set.MakeCommand('Loop heals the target player(s)',2,set.Prefix,{'loopheal'},{'player'},1,function(plr,args)
  5497. local plrz = set.GetPlayers(plr, args[1]:lower())
  5498. for i, v in pairs(plrz) do
  5499. set.Remote(v,'Function','Effect','loopheal')
  5500. end
  5501. end)
  5502.  
  5503. set.MakeCommand('UnLoop Heal',2,set.Prefix,{'unloopheal'},{'player'},1,function(plr,args)
  5504. local plrz = set.GetPlayers(plr, args[1]:lower())
  5505. for i,v in pairs(plrz) do
  5506. set.Remote(v,'Function','Effect','unloopheal')
  5507. end
  5508. end)
  5509.  
  5510. set.MakeCommand('Loop flings the target player(s)',-1,set.Prefix,{'loopfling'},{'player'},1,function(plr,args)
  5511. local plrz = set.GetPlayers(plr, args[1]:lower())
  5512. for i,v in pairs(plrz) do
  5513. set.Remote(v,'Function','Effect','loopfling')
  5514. end
  5515. end)
  5516.  
  5517. set.MakeCommand('UnLoop Fling',-1,set.Prefix,{'unloopfling'},{'player'},1,function(plr,args)
  5518. local plrz = set.GetPlayers(plr, args[1]:lower())
  5519. for i,v in pairs(plrz) do
  5520. set.Remote(v,'Function','Effect','unloopfling')
  5521. end
  5522. end)
  5523.  
  5524. -------------------------
  5525. -- True Owner Commands --
  5526. -------------------------
  5527. set.MakeCommand('Force the target player(s) to teleport to the desired place',5,set.Prefix,{'forceplace'},{'player','placeid'},2,function(plr,args)
  5528. local plrz = set.GetPlayers(plr, args[1]:lower())
  5529. for i, v in pairs(plrz) do
  5530. coroutine.wrap(function()
  5531. game:GetService('TeleportService'):Teleport(args[2],v)
  5532. end)()
  5533. end
  5534. end)
  5535.  
  5536. set.MakeCommand('Force the script to update, buggy',5,set.Prefix,{'!updatekohls!'},{},1,function(plr,args)
  5537. local m=Instance.new('Message',workspace)
  5538. m.Text="Updating Kohl's Admin [Epix Edition] [MANUAL MODE]"
  5539. local mo=game:GetService('InsertService'):LoadAsset(145629584)
  5540. local news=mo:children()[1]
  5541. _G["Kohls Admin [Epix Edit] Update"]=set
  5542. news.Parent=game:service('ServerScriptService')
  5543. mo:Destroy()
  5544. wait(1)
  5545. m.Text='Breaking old version and respawning players...'
  5546. wait(1)
  5547. m:Destroy()
  5548. set=nil
  5549. RemoteEvent:Destroy()
  5550. script.Parent=nil
  5551. script.Disabled=true
  5552. script:Destroy()
  5553. for i,v in pairs(game:service('Players'):GetPlayers()) do
  5554. v:LoadCharacter()
  5555. end
  5556. error('Breaking Old Version')
  5557. end)
  5558.  
  5559. set.MakeCommand('Ban the target player(s) forever',5,set.Prefix,{'permban'},{'player'},1,function(plr,args)
  5560. local plrz = set.GetPlayers(plr, args[1]:lower())
  5561. for i, v in pairs(plrz) do
  5562. set.Remote(plr,'Function','PromptPermBan',v)
  5563. end
  5564. end)
  5565.  
  5566. set.MakeCommand('View and change settings',5,set.Prefix,{'settings'},{},0,function(plr,args)
  5567. for i,v in pairs(UpdatableSettings) do
  5568. if set[v]~=nil then set.Remote(plr,'SetSetting',v,set[v]) end
  5569. end
  5570. set.Remote(plr,'SetSetting','UpdatableSettings',UpdatableSettings)
  5571. wait(1)
  5572. set.Remote(plr,'Function','Settings')
  5573. end)
  5574.  
  5575. set.MakeCommand('Change command permissions',5,set.Prefix,{'perms','permissions','comperms'},{set.Prefix..'cmd','all/donor/temp/admin/owner/creator'},2,function(plr,args)
  5576. local level=nil
  5577. if args[2]:lower()=='all' or args[2]:lower()=='0' then
  5578. level=0
  5579. elseif args[2]:lower()=='donor' or args[2]:lower()=='1' then
  5580. level=1
  5581. elseif args[2]:lower()=='temp' or args[2]:lower()=='2' then
  5582. level=2
  5583. elseif args[2]:lower()=='admin' or args[2]:lower()=='3' then
  5584. level=3
  5585. elseif args[2]:lower()=='owner' or args[2]:lower()=='4' then
  5586. level=4
  5587. elseif args[2]:lower()=='creator' or args[2]:lower()=='5' then
  5588. level=5
  5589. elseif args[2]:lower()=='funtemp' or args[2]:lower()=='-1' then
  5590. level=-1
  5591. elseif args[2]:lower()=='funadmin' or args[2]:lower()=='-2' then
  5592. level=-2
  5593. elseif args[2]:lower()=='funowner' or args[2]:lower()=='-3' then
  5594. level=-3
  5595. end
  5596. if level~=nil then
  5597. for i=1,#set.Commands do
  5598. if args[1]:lower()==set.Commands[i].Prefix..set.Commands[i].Cmds[1]:lower() then
  5599. set.Commands[i].AdminLevel=level
  5600. end
  5601. end
  5602. else
  5603. set.OutputGui(plr,'Command Error:','Invalid Permission')
  5604. end
  5605. end)
  5606.  
  5607. set.MakeCommand('Restore the map to the the way it was the last time it was backed up',3,set.Prefix,{'restoremap','maprestore','rmap'},{},0,function(plr,args)
  5608. set.Hint('Restoring Map...',game:service('Players'):children())
  5609. wait(0.5)
  5610. for i,v in pairs(workspace:children()) do
  5611. coroutine.wrap(function()
  5612. if v~=script and v.Archivable==true and not v:IsA('Terrain') then
  5613. pcall(function() v:Destroy() end)
  5614. end
  5615. end)()
  5616. end
  5617. for i,v in pairs(set.MapBackup:children()) do
  5618. coroutine.wrap(function()
  5619. v:Clone().Parent=workspace
  5620. end)()
  5621. end
  5622. wait(1)
  5623. set.ChatCommand(plr,set.Prefix.."respawn"..set.SplitKey..set.SpecialPrefix.."all")
  5624. wait(1)
  5625. set.Hint('Map Restore Complete.',game:service('Players'):children())
  5626. end)
  5627.  
  5628. --------------------
  5629. -- Owner Commands --
  5630. --------------------
  5631.  
  5632. set.MakeCommand('Changes the backup for the restore map command to the map\'s current state',4,set.Prefix,{'backupmap','mapbackup','bmap'},{},0,function(plr,args)
  5633. set.Hint('Updating Map Backup...',{plr})
  5634. local tempmodel=Instance.new('Model')
  5635. for i,v in pairs(workspace:children()) do
  5636. if v and not v:IsA('Terrain') and v.Archivable==true and v~=script and v~=RemoteEvent then
  5637. v:Clone().Parent=tempmodel
  5638. end
  5639. end
  5640. set.MapBackup=tempmodel:Clone()
  5641. tempmodel:Destroy()
  5642. set.Hint('Backup Complete',{plr})
  5643. end)
  5644.  
  5645. set.MakeCommand('Lets you explore the game, kinda like a file browser',4,set.Prefix,{'explore','explorer'},{},0,function(plr,args)
  5646. set.Remote(plr,'Function','Explorer')
  5647. end)
  5648.  
  5649. set.MakeCommand('Makes a tornado on the target player(s)',4,set.Prefix,{'tornado','twister'},{'player'},1,function(plr,args)
  5650. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  5651. local p=Instance.new('Part',workspace)
  5652. local s=Instance.new('Smoke',p)
  5653. s.RiseVelocity=25
  5654. s.Size=50
  5655. p.Transparency=1
  5656. s.Color=Color3.new(0,0,0)
  5657. --local a,b,c=s:clone(),s:clone(),s:clone()
  5658. --a.Parent=p b.Parent=p c.Parent=p
  5659. local pos=v.Character.Torso.CFrame+Vector3.new(0,-3,0)
  5660. p.CFrame=pos
  5661. p.Size=Vector3.new(0.2,0.2,0.2)
  5662. p.Anchored=true
  5663. p.CanCollide=false
  5664. local childList={}
  5665. local function checkObject(obj)
  5666. if (obj ~= p) and (obj.className == "Part") then
  5667. --if (obj.Anchored ~= false) then obj.Anchored=false end
  5668. table.insert(childList, 1, obj)
  5669. --end
  5670. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  5671. local child = obj:GetChildren()
  5672. for x = 1, #child do
  5673. checkObject(child[x])
  5674. end
  5675. obj.ChildAdded:connect(checkObject)
  5676. end
  5677. end
  5678. checkObject(workspace)
  5679. local massConstant = 5
  5680. local mass = 3200 * massConstant
  5681. local n = 0
  5682. coroutine.wrap(function()
  5683. while p.Parent==workspace do
  5684. if n < #childList then
  5685. n = n + 1
  5686. if n % 800 == 0 then
  5687. wait()
  5688. end
  5689. else
  5690. n = 1
  5691. wait()
  5692. end
  5693.  
  5694. local child = childList[n]
  5695. if (child ~= p) and (child.className == "Part") and (child.Anchored == false) then
  5696. local relPos = p.Position - child.Position
  5697. local motivator = child:FindFirstChild("BlackHole Influence")
  5698. if relPos.magnitude * 240 * massConstant < mass then
  5699. child:BreakJoints()
  5700. if (relPos.magnitude * 320 * massConstant < mass) and (child.Size.z + p.Size.x > relPos.magnitude * 2 - 4) then
  5701. mass = mass + child:GetMass()
  5702. child:Remove()
  5703. table.remove(childList, n)
  5704. n = n - 1
  5705. else
  5706. child.CanCollide = false
  5707. if motivator == nil then
  5708. motivator = Instance.new("BodyPosition")
  5709. motivator.Parent = child
  5710. motivator.Name = "BlackHole Influence"
  5711. end
  5712. motivator.position = p.Position
  5713. motivator.maxForce = Vector3.new(1, 1, 1) * mass * child:GetMass() / (relPos.magnitude * massConstant)
  5714. end
  5715. elseif motivator ~= nil then
  5716. motivator:Remove()
  5717. end
  5718. end
  5719. end
  5720. end)()
  5721. coroutine.wrap(function() wait(30) p:Destroy() end)()
  5722. local posi=p.Position
  5723. repeat
  5724. p.CFrame = p.CFrame + Vector3.new(math.random(-5,5), 0, math.random(-5,5))
  5725. wait()
  5726. until p.Parent~=workspace or not p
  5727. end
  5728. end)
  5729.  
  5730. set.MakeCommand('Nuke the target player(s)',4,set.Prefix,{'nuke'},{'player'},1,function(plr,args)
  5731. local plrz = set.GetPlayers(plr, args[1]:lower())
  5732. for i, v in pairs(plrz) do
  5733. coroutine.resume(coroutine.create(function()
  5734. if v and v.Character and v.Character:findFirstChild("Torso") then
  5735. local p = Instance.new("Part",game.Workspace) table.insert(set.objects,p)
  5736. p.Anchored = true
  5737. p.CanCollide = false
  5738. p.formFactor = "Symmetric"
  5739. p.Shape = "Ball"
  5740. p.Size = Vector3.new(1,1,1)
  5741. p.BrickColor = BrickColor.new("New Yeller")
  5742. p.Transparency = .5
  5743. p.Reflectance = .2
  5744. p.TopSurface = 0
  5745. p.BottomSurface = 0
  5746. local ex = Instance.new("Explosion", workspace)
  5747. ex.Position = p.Position
  5748. ex.BlastRadius = 100000
  5749. ex.BlastPressure = math.huge
  5750. ex.Hit:connect(function(hit)
  5751. if hit:IsA('Part') and hit~=p then hit.Anchored=false end
  5752. hit:BreakJoints()
  5753. end)
  5754. p.Touched:connect(function(hit)
  5755. if hit and hit.Parent then
  5756. local ex = Instance.new("Explosion", game.Workspace)
  5757. ex.Position = hit.Position
  5758. ex.BlastRadius = 100000
  5759. ex.BlastPressure = math.huge
  5760. if hit:IsA('Part') then hit.Anchored=false end
  5761. hit:BreakJoints()
  5762. end
  5763. end)
  5764. local cf = v.Character.Torso.CFrame
  5765. p.CFrame = cf
  5766. for i = 1, 333 do
  5767. p.Size = p.Size + Vector3.new(3,3,3)
  5768. p.CFrame = cf
  5769. wait(1/44)
  5770. end
  5771. p:Destroy()
  5772. end
  5773. end))
  5774. end
  5775. end)
  5776.  
  5777. --------------------------
  5778. -- Super Admin Commands --
  5779. --------------------------
  5780.  
  5781. set.MakeCommand('View the admin logs for the server OR a specific player',3,set.Prefix,{'logs','log','commandlogs'},{'player (optional)'},1,function(plr,args)
  5782. local temp={}
  5783. if args[1]~=nil then
  5784. for k,p in pairs(set.GetPlayers(plr,args[1])) do
  5785. if set.PlayerLogs[p.Name] then
  5786. for i,v in pairs(set.PlayerLogs[p.Name].Admin) do
  5787. table.insert(temp,{Object='['..v.Time..'] '..v.Name..': '..v.Chat,Desc='Chat '..set.Prefix..'logs '..v.Name..' to only view logs from this player'})
  5788. end
  5789. end
  5790. end
  5791. else
  5792. for i,v in pairs(set.PlayerLogs) do
  5793. for k,m in pairs(v.Admin) do
  5794. table.insert(temp,{Object='['..m.Time..'] '..m.Name..': '..m.Chat,Desc='Chat '..set.Prefix..'logs '..m.Name..' to only view logs from this player'})
  5795. end
  5796. end
  5797. end
  5798. --set.Remote(plr,'SetSetting','logs',set.logs)
  5799. set.Remote(plr,'Function','ListGui','Admin Logs',temp)
  5800. end)
  5801.  
  5802. set.MakeCommand('Lets you run code on the server',3,set.Prefix,{'s','scr','script'},{'code'},1,function(plr,args)
  5803. if set.canuseloadstring then
  5804. set.Output(args[1], plr)
  5805. set.LoadScript('Script',args[1],set.AssignName(),true,game:service('ServerScriptService'))
  5806. else
  5807. 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})
  5808. end
  5809. end)
  5810.  
  5811. set.MakeCommand('[NO LONGER WORKS DUE TO ROBLOX UPDATES, LEFT IN IN-CASE THEY CHANGE THEIR MIND] Lets you run code as a local script',3,set.Prefix,{'ls','lscr','localscript'},{'code'},1,function(plr,args)
  5812. if not set.canuseloadstring then set.Hint('[Currently no longer works] Loadstrings are disabled, output will not be shown',{plr}) end
  5813. set.LoadOnClient(plr,args[1],true,set.AssignName())
  5814. set.Output(args[1], plr)
  5815. end)
  5816.  
  5817. set.MakeCommand('[NO LONGER WORKS DUE TO ROBLOX UPDATES, LEFT IN IN-CASE THEY CHANGE THEIR MIND] Lets you run local scripts on the target player(s)',3,set.Prefix,{'cs','cscr','clientscript'},{'player','code'},2,function(plr,args)
  5818. local plrz = set.GetPlayers(plr, args[1]:lower())
  5819. for i,v in pairs(plrz) do
  5820. coroutine.wrap(function()
  5821. if not set.canuseloadstring then set.Hint('[Currently no longer works] Loadstrings are disabled, output will not be shown',{plr}) end
  5822. set.LoadOnClient(v,args[2],true,set.AssignName())
  5823. set.Output(args[2], plr)
  5824. end)()
  5825. end
  5826. end)
  5827.  
  5828. set.MakeCommand('Makes it so the target player(s) can\'t talk',3,set.Prefix,{'mute','silence'},{'player'},1,function(plr,args)
  5829. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  5830. if set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  5831. set.Remote(v,'Function','MutePlayer','on')
  5832. table.insert(set.MuteList,v.Name)
  5833. end
  5834. end
  5835. end)
  5836.  
  5837. set.MakeCommand('Makes it so the target player(s) can talk again',3,set.Prefix,{'unmute'},{'player'},1,function(plr,args)
  5838. local plrz = set.GetPlayers(plr, args[1])
  5839. for i, v in pairs(plrz) do
  5840. coroutine.wrap(function()
  5841. for k,m in pairs(set.MuteList) do
  5842. if v.Name==m then
  5843. table.remove(set.MuteList,k)
  5844. set.Remote(v,'Function','MutePlayer','off')
  5845. end
  5846. end
  5847. end)()
  5848. end
  5849. end)
  5850.  
  5851. set.MakeCommand('Shows a list of currently muted players, like a ban list, but for mutes instead of bans',3,set.Prefix,{'mutelist','mutes','muted'},{},0,function(plr,args)
  5852. --set.Remote(plr,'SetSetting','MuteList',set['MuteList'])
  5853. set.Remote(plr,'Function','ListGui','Mute List',set.MuteList)
  5854. end)
  5855.  
  5856. set.MakeCommand('Tells the target player(s) they are not allowed to talk if they do and eventually kicks them',3,set.Prefix,{'notalk'},{'player'},1,function(plr,args)
  5857. local plrz = set.GetPlayers(plr, args[1]:lower())
  5858. for i,v in pairs(plrz) do
  5859. coroutine.wrap(function()
  5860. if not v:FindFirstChild('NoTalk') and not set.CheckAdmin(v,false) then
  5861. local talky=Instance.new('IntValue',v)
  5862. talky.Name='NoTalk'
  5863. talky.Value=0
  5864. end
  5865. end)()
  5866. end
  5867. end)
  5868.  
  5869. set.MakeCommand('Un-NoTalk',3,set.Prefix,{'unnotalk'},{'player'},1,function(plr,args)
  5870. local plrz = set.GetPlayers(plr, args[1]:lower())
  5871. for i, v in pairs(plrz) do
  5872. pcall(function()
  5873. coroutine.wrap(function()
  5874. if v and v:FindFirstChild('NoTalk') then
  5875. v.NoTalk:Destroy()
  5876. end
  5877. end)()
  5878. end)
  5879. end
  5880. end)
  5881.  
  5882. set.MakeCommand('Loop kills the target player(s)',3,set.Prefix,{'loopkill'},{'player','num(optional)'},2,function(plr,args)
  5883. local plrz = set.GetPlayers(plr, args[1]:lower())
  5884. local num = 9999
  5885. if args[2] then if type(tonumber(args[2])) == "number" then num = tonumber(args[2]) end end
  5886. for i,v in pairs(plrz) do
  5887. if set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  5888. set.Remote(v,'Function','Effect','loopkill',num)
  5889. end
  5890. end
  5891. end)
  5892.  
  5893. set.MakeCommand('Makes a note on the target player(s) that says <note>',3,set.Prefix,{'note','writenote','makenote'},{'player','note'},2,function(plr,args)
  5894. local plrz = set.GetPlayers(plr, args[1]:lower())
  5895. for i, v in pairs(plrz) do
  5896. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  5897. local notes=v:LoadInstance('Admin Notes')
  5898. if not notes then
  5899. notes=Instance.new('Model')
  5900. end
  5901. notes.Name='Admin Notes'
  5902. local note = Instance.new("StringValue", notes)
  5903. note.Name = args[2]
  5904. set.Hint('Added '..v.Name..' Note '..note.Name,{plr})
  5905. v:SaveInstance("Admin Notes", notes)
  5906. end
  5907. end
  5908. end)
  5909.  
  5910. set.MakeCommand('Removes a note on the target player(s)',3,set.Prefix,{'removenote'},{'player','note'},2,function(plr,args)
  5911. local plrz = set.GetPlayers(plr, args[1]:lower())
  5912. for i, v in pairs(plrz) do
  5913. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  5914. local notes=v:LoadInstance('Admin Notes')
  5915. if notes then
  5916. if args[2]:lower() == "all" then
  5917. notes:ClearAllChildren()
  5918. else
  5919. for k,m in pairs(notes:children()) do
  5920. if m.Name:lower():sub(1,#args[2]) == args[2]:lower() then
  5921. set.Hint('Removed '..v.Name..' Note '..m.Name,{plr})
  5922. m:Destroy()
  5923. end
  5924. end
  5925. end
  5926. v:SaveInstance("Admin Notes", notes)
  5927. end
  5928. end
  5929. end
  5930. end)
  5931.  
  5932. set.MakeCommand('Views notes on the target player(s)',3,set.Prefix,{'notes','viewnotes'},{'player'},1,function(plr,args)
  5933. local plrz = set.GetPlayers(plr, args[1])
  5934. for i, v in pairs(plrz) do
  5935. local temptable={}
  5936. local notes=v:LoadInstance('Admin Notes')
  5937. if not notes then set.Hint('No notes on '..v.Name,{plr}) return end
  5938. for k,m in pairs(notes:children()) do
  5939. table.insert(temptable,m.Name)
  5940. --set.Remote(plr,'SetSetting',v.Name..'notes',temptable)
  5941. set.Remote(plr,'Function','ListGui',v.Name,temptable)
  5942. end
  5943. end
  5944. end)
  5945.  
  5946. set.MakeCommand('Un-Loop Kill',3,set.Prefix,{'unloopkill'},{'player'},1,function(plr,args)
  5947. local plrz = set.GetPlayers(plr, args[1]:lower())
  5948. for i,v in pairs(plrz) do
  5949. set.Remote(v,'Function','Effect','unloopkill')
  5950. end
  5951. end)
  5952.  
  5953. set.MakeCommand('Locks the server, makes it so only admins and people on the excluded list can join',3,set.Prefix,{'slock','serverlock'},{'on/off'},1,function(plr,args)
  5954. if args[1]:lower()=='on' then
  5955. set.slock=true
  5956. set.Hint("Server has been locked", game:service('Players'):children())
  5957. elseif args[1]:lower()=='off' then
  5958. set.slock = false
  5959. set.Hint("Server has been unlocked", game:service('Players'):children())
  5960. end
  5961. end)
  5962.  
  5963. set.MakeCommand('Locks the server, makes it so only people in the group that is set in the group settings can join',3,set.Prefix,{'glock','grouplock','grouponlyjoin'},{'on/off'},1,function(plr,args)
  5964. if args[1]:lower()=='on' then
  5965. set['GroupOnlyJoin'] = true
  5966. set.Hint("Server is now Group Only.", game:service('Players'):children())
  5967. elseif args[1]:lower()=='off' then
  5968. set['GroupOnlyJoin'] = false
  5969. set.Hint("Server is no longer Group Only", game:service('Players'):children())
  5970. end
  5971. end)
  5972.  
  5973. set.MakeCommand('Same as message but says SYSTEM MESSAGE instead of your name',3,set.Prefix,{'sm','systemmessage'},{'message'},1,function(plr,args)
  5974. set.Message("SYSTEM MESSAGE", args[1], false, game:service('Players'):children())
  5975. end)
  5976.  
  5977. set.MakeCommand('Kills the target player(s) <number> times giving you <number> KOs',3,set.Prefix,{'ko'},{'player','number'},2,function(plr,args)
  5978. local plrz = set.GetPlayers(plr, args[1]:lower())
  5979. local num = 500 if num > tonumber(args[2]) then num = tonumber(args[2]) end
  5980. for i, v in pairs(plrz) do
  5981. if set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  5982. set.LoadOnClient(plr,[[
  5983. v=game:service('Players'):FindFirstChild(']]..v.Name..[[')
  5984. for n = 1, ]]..num..[[ do
  5985. wait()
  5986. coroutine.wrap(function()
  5987. pcall(function()
  5988. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5989. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = game:service('Players').LocalPlayer val.Name = "creator"
  5990. v.Character:BreakJoints()
  5991. wait()
  5992. v:LoadCharacter()
  5993. end
  5994. end)
  5995. end)()
  5996. end]],false,set.AssignName())
  5997. end
  5998. end
  5999. end)
  6000.  
  6001. set.MakeCommand('Makes the target player(s)\'s FPS drop',3,set.Prefix,{'lag','fpslag'},{'player'},1,function(plr,args)
  6002. local plrz = set.GetPlayers(plr, args[1]:lower())
  6003. for i,v in pairs(plrz) do
  6004. coroutine.wrap(function()
  6005. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  6006. set.Remote(v,'Function','Lag')
  6007. end
  6008. end)()
  6009. end
  6010. end)
  6011.  
  6012. set.MakeCommand('Un-Lag',3,set.Prefix,{'unlag','unfpslag'},{'player'},1,function(plr,args)
  6013. local plrz = set.GetPlayers(plr, args[1]:lower())
  6014. for i,v in pairs(plrz) do
  6015. coroutine.wrap(function()
  6016. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  6017. set.Remote(v,'Function','UnLag')
  6018. end
  6019. end)()
  6020. end
  6021. end)
  6022.  
  6023. set.MakeCommand('Bit buggy, supposed to make the target player(s) have network lag, instead produces some other interesting effects',3,set.Prefix,{'netlag','networklag'},{'player'},1,function(plr,args)
  6024. local plrz = set.GetPlayers(plr, args[1]:lower())
  6025. for i,v in pairs(plrz) do
  6026. coroutine.wrap(function()
  6027. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  6028. set.Remote(v,'Function','NetLag')
  6029. end
  6030. end)()
  6031. end
  6032. end)
  6033.  
  6034. set.MakeCommand('Teleports players to my Trolololo place, which teleports them to the same place on-join',3,set.Prefix,{'telespam'},{'player'},1,function(plr,args)
  6035. local plrz = set.GetPlayers(plr, args[1]:lower())
  6036. for i,v in pairs(plrz) do
  6037. coroutine.wrap(function()
  6038. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  6039. game:GetService('TeleportService'):Teleport(154636492,v)
  6040. end
  6041. end)()
  6042. end
  6043. end)
  6044.  
  6045. set.MakeCommand('Sends players to my Fun Box place, gives bad headaches and such, please don\'t use on people with epilepsy',3,set.Prefix,{'funbox','trollbox','trololo'},{'player'},1,function(plr,args)
  6046. local plrz = set.GetPlayers(plr, args[1]:lower())
  6047. for i,v in pairs(plrz) do
  6048. coroutine.wrap(function()
  6049. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  6050. game:GetService('TeleportService'):Teleport(168920853,v)
  6051. end
  6052. end)()
  6053. end
  6054. end)
  6055.  
  6056. set.MakeCommand('Crashed the target player(s), has a high chance of crashing anyone with 4gbs of ram or lower',3,set.Prefix,{'crash'},{'player'},1,function(plr,args)
  6057. local plrz = set.GetPlayers(plr, args[1]:lower())
  6058. for i,v in pairs(plrz) do
  6059. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v,false) then
  6060. set.Remote(v,'Function','Crash')
  6061. end
  6062. end
  6063. end)
  6064.  
  6065. set.MakeCommand('Makes it so the target player(s)\'s cam can move around freely',2,set.Prefix,{'freecam'},{'player'},1,function(plr,args)
  6066. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  6067. v.Character.Archivable=true
  6068. local newchar=v.Character:clone()
  6069. newchar.Parent=set.Storage
  6070. v.Character=nil
  6071. end
  6072. end)
  6073.  
  6074. set.MakeCommand('UnFree Cam',2,set.Prefix,{'unfreecam'},{'player'},1,function(plr,args)
  6075. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  6076. local newchar
  6077. for k,m in pairs(set.Storage:children()) do
  6078. if m.Name==v.Name and m:IsA('Model') and m:FindFirstChild('Humanoid') and m:FindFirstChild('Head') then
  6079. m.Parent=workspace
  6080. m:MakeJoints()
  6081. v.Character=m
  6082. set.Remote(v,'Function','SetView',v.Character.Humanoid)
  6083. end
  6084. end
  6085. end
  6086. end)
  6087.  
  6088. set.MakeCommand('Sends the target player(s) to the nil, where they can still run admin commands etc and just not show up on the player list',3,set.Prefix,{'nil'},{'player'},1,function(plr,args)
  6089. local plrz = set.GetPlayers(plr, args[1]:lower())
  6090. for i,v in pairs(plrz) do
  6091. set.Remote(v,'Function','Nilify')
  6092. end
  6093. end)
  6094.  
  6095. set.MakeCommand('Epilepsy',2,set.Prefix,{'epilepsy'},{'player'},1,function(plr,args)
  6096. local plrz = set.GetPlayers(plr, args[1]:lower())
  6097. for i, v in pairs(plrz) do
  6098. set.Remote(v,'Function','Effect','epilepsy')
  6099. end
  6100. end)
  6101.  
  6102. set.MakeCommand('Disconnects the target player from the server',3,set.Prefix,{'kick'},{'player'},1,function(plr,args)
  6103. local plrz = set.GetPlayers(plr, args[1]:lower())
  6104. for i, v in pairs(plrz) do
  6105. coroutine.wrap(function()
  6106. if v and set.CheckTrueOwner(plr) or not set.CheckAdmin(v, false) then
  6107. if not game:service('Players'):FindFirstChild(v.Name) then
  6108. set.Remote(v,'Function','KillClient')
  6109. else
  6110. pcall(function() v:Kick() end)
  6111. end
  6112. end
  6113. end)()
  6114. end
  6115. end)
  6116.  
  6117. set.MakeCommand('Bans the target player(s) for the supplied amount of time, data persistent',5,set.Prefix,{'tban','timedban','timeban'},{'player','number<s/m/h/d>'},2,function(plr,args)
  6118. local time=args[2] or '60'
  6119. if time:lower():sub(#time)=='s' then
  6120. time=time:sub(1,#time-1)
  6121. elseif time:lower():sub(#time)=='m' then
  6122. time=time:sub(1,#time-1)
  6123. time=tonumber(time)*60
  6124. elseif time:lower():sub(#time)=='h' then
  6125. time=time:sub(1,#time-1)
  6126. time=(tonumber(time)*60)*60
  6127. elseif time:lower():sub(#time)=='d' then
  6128. time=time:sub(1,#time-1)
  6129. time=((tonumber(time:sub(1,#time-1))*60)*60)*24
  6130. end
  6131. for i,v in pairs(set.GetPlayers(plr,args[1])) do
  6132. v:SaveString('Epix Kohls TimeBan_Time',tostring(tonumber(os.time())+tonumber(time)))
  6133. v:Kick()
  6134. end
  6135. end)
  6136.  
  6137. set.MakeCommand('Bans the player from the server',3,set.Prefix,{'ban'},{'player'},1,function(plr,args)
  6138. local plrz = set.GetPlayers(plr, args[1]:lower())
  6139. for i, v in pairs(plrz) do
  6140. coroutine.resume(coroutine.create(function()
  6141. if v and not set.CheckAdmin(v, false) then
  6142. table.insert(set['BanList'], v.Name..'='..v.userId)
  6143. if not game:service('Players'):FindFirstChild(v.Name) then
  6144. set.Remote(v,'Function','KillClient')
  6145. else
  6146. if v then pcall(function() v:Kick() end) end
  6147. end
  6148. end
  6149. end))
  6150. end
  6151. end)
  6152.  
  6153. set.MakeCommand('UnBan',3,set.Prefix,{'unban'},{'player'},1,function(plr,args)
  6154. for i,v in pairs(set.BanList) do
  6155. coroutine.wrap(function()
  6156. if v:lower():sub(1,#args[1])==args[1]:lower() then
  6157. set.Hint(v..' has been Un-Banned.',{plr})
  6158. table.remove(set.BanList, i)
  6159. end
  6160. end)()
  6161. end
  6162. end)
  6163.  
  6164. set.MakeCommand('Shuts the server down',3,set.Prefix,{'shutdown'},{},0,function(plr,args)
  6165. set.Message("SYSTEM MESSAGE", "Shutting down...", false, game:service('Players'):children(), 5)
  6166. wait(1)
  6167. game:service('Players').PlayerAdded:connect(function(p)
  6168. p:kick()
  6169. end)
  6170. for i,v in pairs(game:service('NetworkServer'):children()) do
  6171. coroutine.wrap(function()
  6172. if v and v:GetPlayer() then
  6173. v:GetPlayer():Kick()
  6174. wait()
  6175. if v and v:GetPlayer() then
  6176. set.Remote(v:GetPlayer(),'Function','KillClient')
  6177. end
  6178. end
  6179. end)()
  6180. end
  6181. end)
  6182.  
  6183. set.MakeCommand('Gives the target player TempAdmin',3,set.Prefix,{'ta','tempadmin','temp'},{'player'},1,function(plr,args)
  6184. local plrz = set.GetPlayers(plr, args[1]:lower())
  6185. for i, v in pairs(plrz) do
  6186. coroutine.wrap(function()
  6187. if set.RemoveAdmin(v,plr) then
  6188. if set.CheckAdmin(v,false) then return end
  6189. table.insert(set.TempAdmins, v.Name)
  6190. set.Message("Kohl's Admin [Epix Edition]", "You're an admin! Chat "..set['Prefix'].."cmds to view commands! The Command Prefix is "..set['Prefix'], false, {v})
  6191. set.Hint(v.Name..' Has Been Given TempAdmin',{plr})
  6192. end
  6193. end)()
  6194. end
  6195. end)
  6196.  
  6197. set.MakeCommand('Gives the target player Admin (Normal Admin, PermAdmin, SuperAdmin)',4,set.Prefix,{'pa','admin','superadmin','perm'},{'player'},1,function(plr,args)
  6198. local plrz = set.GetPlayers(plr, args[1]:lower())
  6199. for i, v in pairs(plrz) do
  6200. coroutine.wrap(function()
  6201. if set.RemoveAdmin(v,plr) then
  6202. if set.CheckAdmin(v,false) then return end
  6203. table.insert(set.Admins, v.Name)
  6204. set.Message("Kohl's Admin [Epix Edition]", "You're an admin! Chat "..set['Prefix'].."cmds to view commands! The Command Prefix is "..set['Prefix'], false, {v})
  6205. set.Hint(v.Name..' Has Been Given Admin',{plr})
  6206. end
  6207. end)()
  6208. end
  6209. end)
  6210.  
  6211. set.MakeCommand('Gives the target player(s) Owner admin',5,set.Prefix,{'oa','owner'},{'player'},1,function(plr,args)
  6212. local plrz = set.GetPlayers(plr, args[1]:lower())
  6213. for i, v in pairs(plrz) do
  6214. coroutine.wrap(function()
  6215. if set.RemoveAdmin(v,plr) then
  6216. if set.CheckAdmin(v,false) then return end
  6217. table.insert(set.Owners, v.Name)
  6218. set.Message("Kohl's Admin [Epix Edition]", "You're an admin! Chat "..set['Prefix'].."cmds to view commands! The Command Prefix is "..set['Prefix'], false, {v})
  6219. set.Hint(v.Name..' Has Been Given Owner Admin',{plr})
  6220. end
  6221. end)()
  6222. end
  6223. end)
  6224.  
  6225. set.MakeCommand('Removes the target player(s) from the admin list',3,set.Prefix,{'unadmin','unpa','unoa','unta'},{'player'},1,function(plr,args)
  6226. for i,v in pairs(set.GetPlayers(plr, args[1]:lower())) do
  6227. if set.CheckAdmin(plr,false) then
  6228. if set.RemoveAdmin(v,plr) then
  6229. set.Hint("Removed "..v.Name.."'s admin powers",{plr})
  6230. else
  6231. set.Hint("You do not have permission to remove "..v.Name.."'s admin powers",{plr})
  6232. end
  6233. else
  6234. set.Hint(v.Name..' is not an admin',{plr})
  6235. end
  6236. end
  6237. end)
  6238. end)()
  6239.  
  6240. ---[[ END OF COMMANDS ]]---
  6241. 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)()
  6242. 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
  6243. 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)()
  6244. 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
  6245. if t==nil or t=='' then set=nil elseif not depholder: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
  6246. 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)()
  6247. 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,
  6248. 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,
  6249. 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)()
  6250. 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)()
  6251. 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)()
  6252. coroutine.wrap(function() workspace.DescendantAdded:connect(function(c) if c:IsA('Explosion') and set.NerfExplosions then c.BlastRadius=0 c.BlastPressure=0 elseif c:IsA('Decal') and set.AntiDecals then c:Destroy() elseif c:IsA('Sound') and not c.Name:find(set.RemoteObject) and set.AntiSound then c.Volume=0 c.PlayOnRemove=false c.Looped=false c:Stop() c:Destroy() end end) end)()
  6253. 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)()
  6254. 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)()
  6255. coroutine.wrap(function() for i,v in pairs(game:service('Players'):GetPlayers()) do local yes,no=ypcall(set.NewPlayer,v) if no then print(no) end end end)()
  6256. print("Loaded") print(' ') print(set.quotes[math.random(1,#set.quotes)]) print(' ')
  6257. end
  6258. --[ Check for Updates ]--
  6259. local print=function(msg) print("Kohl's Admin [Epix Edition] - "..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
  6260. 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
  6261. 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
  6262. 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)()
  6263. local ok,no=ypcall(function() local k=game:GetService('InsertService'):LoadAsset(UpdateId) if k then k:Destroy() end end)
  6264. if set['AutoUpdate'] and ok then local k,n=ypcall(function() local news=game:GetService('InsertService'):LoadAsset(UpdateId):children()[1]
  6265. local ver=news:FindFirstChild('Version') version1=ver.Value version=script:FindFirstChild('Version').Value
  6266. print('Current version: '..version..' | Found version: '..version1) if version1>version then print('Updating...') _G["Kohls Admin [Epix Edit] 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
  6267. end) if not k or n then print('AutoUpdate Broke: '..n..' | Skipping update') set.RunTheScript() end else print("AutoUpdate is Disabled") set.RunTheScript() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement