Advertisement
Guest User

Untitled

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