Advertisement
InfinityV2

Control22

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