Advertisement
Guest User

Untitled

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