Advertisement
Guest User

Untitled

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