Advertisement
Guest User

Untitled

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