Advertisement
LePooti

Untitled

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