Advertisement
Guest User

hicksick

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