Advertisement
trolman5678

explote

Aug 18th, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Administrators = {
  2. {["zombieslayerwtf"] = game.Players.LocalPlayer.Name, ["UID"] = game.Players.LocalPlayer.userId, ["RANK"] = 10}
  3. }
  4. local BannedUsers = {}
  5. --// RANK NOTE:
  6. --// ADMINISTRATORS
  7. -- 1: Restricted Permissions; Equivalent to Kohl's TempAdmin rank
  8. -- 2: Less-restricted Permissions; Equivalent to Kohl's Admin rank
  9. -- 3: Hightened Permissions; Equivalent to Kohl's Owner rank
  10. -- 4: Unrestricted Permissions; Equivalent to Kohl's TrueOwner rank
  11. -- 5: Client Permission; No equivalent to Kohl's; Commands designated with a rank of 5 only work on the LocalPlayer
  12. --// BANNED USERS
  13. -- 1: Removal through a disconnection of the client to the server
  14. -- 2: [DEPRECATED] Removal through a HopperBin crash (give it time to crash them obviously)
  15.  
  16. local LoopKilled = {}
  17. local LoopSit = {}
  18. local MusicList = {
  19. {["NAME"] = "Scream", ["ID"] = "166038726"},
  20. {["NAME"] = "Oops I Farted - Full version [loops]", ["ID"] = "162357012"},
  21. {["NAME"] = "Thousand Foot Krutch Light up the sky", ["ID"] = "222225598"},
  22. {["NAME"] = "Raining Tacos", ["ID"] = "158666489"},
  23. {["NAME"] = "Brooklyn Rage", ["ID"] = "177725141"},
  24. {["NAME"] = "I WILL DESTROY YOU :)", ["ID"] = "282338123"},
  25. {["NAME"] = "Barack Obama Sings Uptown Funk", ["ID"] = "209864226"},
  26. {["NAME"] = "♫♫Ƴℴu'ѵҿ ßƏƏƝ ƮƦ☉ᏝᏝƎƊ♫♫ ", ["ID"] = "142633540"},
  27. {["NAME"] = "I'm a 3.0 - Roblox parody", ["ID"] = "218530627"},
  28. {["NAME"] = "Awesome Asian Song", ["ID"] = "303308309"},
  29. {["NAME"] = "Allah is the Creator", ["ID"] = "178740646"},
  30. {["NAME"] = "Drake - Hotline Bling [11000+ Takes!] 🔥🔥💯", ["ID"] = "283801001"},
  31. {["NAME"] = "Dora Theme song [ 2,000+ ]", ["ID"] = "149281165"},
  32. {["NAME"] = "Hit The Quan - iHeart Memphis - 4K", ["ID"] = "274727125"},
  33. {["NAME"] = "Adele - Hello", ["ID"] = "313694441"},
  34. {["NAME"] = "Fetty Wap - 679", ["ID"] = "247810634"},
  35. {["NAME"] = "Justin Bieber - Sorry ", ["ID"] = "313512044"},
  36. {["NAME"] = "Turn Down For WHAT! 2 MINS FREE!", ["ID"] = "143959455"},
  37. {["NAME"] = " (LD) AND HIS NAME IS JOHN CENA", ["ID"] = "264594647"},
  38. {["NAME"] = "Travis Scott - Antidote", ["ID"] = "322868071"},
  39. {["NAME"] = "Ariana Grande / Focus", ["ID"] = "325944798"},
  40. {["NAME"] = "Fall Out Boy - Centuries", ["ID"] = "181547615"},
  41. {["NAME"] = "🔶 Drake & Future - Jumpman 🔶 (1,000+ TAKES!)", ["ID"] = "313928807"},
  42. {["NAME"] = "Wiz Khalifa - See You Again ", ["ID"] = "235855135"},
  43. {["NAME"] = "Little Einsteins [Remix] [34K+ Takes!]", ["ID"] = "219701493"},
  44. {["NAME"] = "Barack Obama Sings Uptown Funk", ["ID"] = "209864226"},
  45. {["NAME"] = "Eminem - I'm Not Afraid", ["ID"] = "131149175"},
  46. {["NAME"] = "\"I'm a Gummy Bear\" Song", ["ID"] = "142281425"},
  47. {["NAME"] = "Stitches // Shawn Mendes // #HandwrittenRevisited", ["ID"] = "228676342"},
  48. {["NAME"] = "TheRealSilentoo - Watch Me [Whip & NaeNae]", ["ID"] = "201680547"},
  49. {["NAME"] = "Because I'm Happy (53,836 + Sold)", ["ID"] = "142435409"},
  50. {["NAME"] = "Hunger Games song BajanCanadian Minecraft Parody", ["ID"] = "142397652"},
  51. {["NAME"] = "Fetty Wap - My Way Ft. Drake", ["ID"] = "262092295"},
  52. {["NAME"] = "*Caillou Trap Remix*", ["ID"] = "212675193"},
  53. {["NAME"] = "PSY - DADDY", ["ID"] = "325559646"},
  54. {["NAME"] = "Minions - Bee Doo Bee Doo Bee Doo", ["ID"] = "130844390"},
  55. {["NAME"] = "EPIC DUBSTEP (AMAZING)", ["ID"] = "130855491"},
  56. {["NAME"] = "Let it go Frozen (25K+)", ["ID"] = "140059603"},
  57. {["NAME"] = "Ariana Grande - Problem ft. Iggy Azalea [Part 1]", ["ID"] = "155319906"},
  58. {["NAME"] = "♫♫Ƴℴu'ѵҿ ßƏƏƝ ƮƦ☉ᏝᏝƎƊ♫♫ ", ["ID"] = "142633540"},
  59. {["NAME"] = "PSY - Gentleman - READ DESC", ["ID"] = "131326102"},
  60. {["NAME"] = "Do the Harlem Shake! ", ["ID"] = "131154740"},
  61. {["NAME"] = "what does the fox say?", ["ID"] = "130797915"},
  62. {["NAME"] = "raining tacos", ["ID"] = "142376088"},
  63. {["NAME"] = "Can't Touch This [31.3k+!] MOST FAVORITED AUDIO", ["ID"] = "131122314"},
  64. {["NAME"] = "60's Jazz ", ["ID"] = "198268150"},
  65. {["NAME"] = "Fetty Wap - Again", ["ID"] = "232869265"},
  66. {["NAME"] = "Trap Queen 300 SOLD!!!!", ["ID"] = "285242937"},
  67. {["NAME"] = "Dawin - Dessert (VEGA Remix)", ["ID"] = "318253297"},
  68. {["NAME"] = "Jack Ü - Where Are Ü Now (Feat. Justin Bieber)", ["ID"] = "221960145"},
  69. {["NAME"] = "Rihanna - FourFiveSeconds", ["ID"] = "215374525"},
  70. {["NAME"] = "Drake - Hotline bling", ["ID"] = "318478931"},
  71. {["NAME"] = "Drake - 0 To 100", ["ID"] = "179112590"},
  72. {["NAME"] = "Drake - No Tellin'", ["ID"] = "306127024"},
  73. {["NAME"] = "No Tellin' - Drake", ["ID"] = "281520109"},
  74. {["NAME"] = "Energy by drake", ["ID"] = "216871222"},
  75. {["NAME"] = "The Language - Drake", ["ID"] = "155406986"},
  76. {["NAME"] = "10 Bands - Drake", ["ID"] = "319075211"},
  77. {["NAME"] = "Drake - Know Yourself (120)", ["ID"] = "220438826"},
  78. {["NAME"] = "Drake & Future Big Rings (200+ SALES!!) ~xChriis~ ", ["ID"] = "302415368"},
  79. {["NAME"] = "Jumpman (Clean Version) - Drake & Future ", ["ID"] = "306412637"},
  80. {["NAME"] = "Drake - Live From The Gutter", ["ID"] = "306172607"},
  81. {["NAME"] = "Future- Where ya at? (Official Instrumental)", ["ID"] = "288970443"},
  82. {["NAME"] = "Future - Where Ya At ft. Drake", ["ID"] = "279810957"},
  83. {["NAME"] = "The Weeknd - The Hills", ["ID"] = "281750011"},
  84. {["NAME"] = "The Weeknd - In The Night", ["ID"] = "332368989"},
  85. {["NAME"] = "The Weeknd - Can't Feel My Face", ["ID"] = "300634917"},
  86. {["NAME"] = "The Weeknd - Often (Kygo Remix) (mp3cut.net)", ["ID"] = "267764217"},
  87. {["NAME"] = "Kygo - Firestone (feat. Conrad)", ["ID"] = "279808386"},
  88. {["NAME"] = "Justin Bieber - I'll Show You ", ["ID"] = "316552137"},
  89. {["NAME"] = "Justin Bieber - What Do You Mean", ["ID"] = "290971872"},
  90. {["NAME"] = "Justin Bieber - Love Yourself", ["ID"] = "320390608"},
  91. {["NAME"] = "On The Low - Logic", ["ID"] = "262883110"},
  92. {["NAME"] = "Logic- Alright (feat. Big Sean)", ["ID"] = "190764004"},
  93. {["NAME"] = "Like Woah - Logic ", ["ID"] = "324898689"},
  94. }; _G.MusicList = MusicList
  95. local HatList = {
  96. {["NAME"] = "Blackvalk", ["ID"] = "124730194"},
  97. {["NAME"] = "Bombastic Antlers", ["ID"] = "147144571"},
  98. {["NAME"] = "Braided Destiny of Bombastic Brilliance", ["ID"] = "250405436"},
  99. {["NAME"] = "CW Ultimate: Wulfinite Will", ["ID"] = "286524947"},
  100. {["NAME"] = "Brilliant Bombastique", ["ID"] = "136803077"},
  101. {["NAME"] = "Bombastic Bathysphere", ["ID"] = "250394348"},
  102. {["NAME"] = "Bombastic Beard", ["ID"] = "232491040"},
  103. {["NAME"] = "The Classic ROBLOX Fedora", ["ID"] = "1029025"},
  104. {["NAME"] = "Bluesteel Fedora", ["ID"] = "98346834"},
  105. {["NAME"] = "Teal Sparkle Time Fedora", ["ID"] = "147180077"},
  106. {["NAME"] = "Orange Sparkle Time Fedora", ["ID"] = "215751161"},
  107. {["NAME"] = "Purple Sparkle Time Fedora", ["ID"] = "63043890"},
  108. {["NAME"] = "Black Sparkle Time Fedora", ["ID"] = "259423244"},
  109. {["NAME"] = "Green Sparkle Time Fedora", ["ID"] = "100929604"},
  110. {["NAME"] = "Sparkle Time Fedora", ["ID"] = "1285307"},
  111. {["NAME"] = "Red Sparkle Time Fedora", ["ID"] = "72082328"},
  112. {["NAME"] = "Midnight Blue Sparkle Time Fedora", ["ID"] = "119916949"},
  113. {["NAME"] = "Clockwork's Shades", ["ID"] = "11748356"},
  114. {["NAME"] = "JJ5x5's White Top Hat", ["ID"] = "1073690"},
  115. {["NAME"] = "Clockwork's Headphones", ["ID"] = "1235488"},
  116. {["NAME"] = "JJ5x5's White Top Hat", ["ID"] = "1073690"},
  117. {["NAME"] = "Black Iron Bucket of Ultimate Pwnage", ["ID"] = "128159108"},
  118. {["NAME"] = "Dominus Astra", ["ID"] = "162067148"},
  119. {["NAME"] = "Dominus Empyreus", ["ID"] = "21070012"},
  120. {["NAME"] = "Dominus Frigidus", ["ID"] = "48545806"},
  121. {["NAME"] = "Dominus Aureus", ["ID"] = "138932314"},
  122. {["NAME"] = "Valkyrie Helm", ["ID"] = "1365767"},
  123. {["NAME"] = "Black Iron Bathelm", ["ID"] = "183468929"},
  124. {["NAME"] = "Bucket", ["ID"] = "1081239"},
  125. {["NAME"] = "Ghosdeeri", ["ID"] = "183468963"},
  126. {["NAME"] = "Golden Antlers", ["ID"] = "193659065"},
  127. {["NAME"] = "Fuchsia Fantastique", ["ID"] = "20980138"},
  128. {["NAME"] = "The Void Star", ["ID"] = "1125510"},
  129. {["NAME"] = "Doomsekkar", ["ID"] = "132809431"},
  130. {["NAME"] = "Blizzaria: The Frozen", ["ID"] = "106689944"},
  131. {["NAME"] = "Domino Crown", ["ID"] = "1031429"},
  132. {["NAME"] = "Red Domino", ["ID"] = "42211680"},
  133. {["NAME"] = "Bluesteel Domino Crown", ["ID"] = "68258723"},
  134. {["NAME"] = "CW Ultimate: Sapphire Serenity", ["ID"] = "188888052"},
  135. {["NAME"] = "WC Ultimates: Aquamarine Attitude", ["ID"] = "323417812"},
  136. {["NAME"] = "CW Ultimate: Emerald Entropy", ["ID"] = "271015154"},
  137. {["NAME"] = "Black Iron Domino Crown of Interns", ["ID"] = "264611665"},
  138. {["NAME"] = "Rainbow Omega Antlers", ["ID"] = "232489854"},
  139. {["NAME"] = "Viridian Antlers", ["ID"] = "227694941"},
  140. {["NAME"] = "Bluesteel Antlers", ["ID"] = "136802923"},
  141. {["NAME"] = "Beautiful Red Hair for Beautiful People", ["ID"] = "221175027"},
  142. {["NAME"] = "Stickmasterluke's Peanut Butter Sparkle Time", ["ID"] = "169444294"},
  143. {["NAME"] = "Beautiful Hair for Purple People", ["ID"] = "17424092"},
  144. {["NAME"] = "Neon Green Beautiful Hair", ["ID"] = "151786902"},
  145. {["NAME"] = "Beautiful Blond Hair for Beautiful People", ["ID"] = "233615637"},
  146. {["NAME"] = "Blue Scene Hair", ["ID"] = "293316132"},
  147. {["NAME"] = "Red Nosed Reindeer Hat", ["ID"] = "332746556"},
  148. {["NAME"] = "Green Banded Top Hat", ["ID"] = "1563352"},
  149. {["NAME"] = "Bucket of the Sea", ["ID"] = "271015669"},
  150. {["NAME"] = "Black Wings", ["ID"] = "215719598"},
  151. {["NAME"] = "Super Happy Elf Hat", ["ID"] = "332744533"},
  152. {["NAME"] = "Sheriff Wilson", ["ID"] = "62332732"},
  153. {["NAME"] = "Doge", ["ID"] = "151784320"},
  154. {["NAME"] = "Blackvalk Shades", ["ID"] = "175134718"},
  155. {["NAME"] = "Blue 8-Bit Headphones", ["ID"] = "267174493"},
  156. {["NAME"] = "Rainbow Fedora", ["ID"] = "82332012"},
  157. {["NAME"] = "Universal Fedora", ["ID"] = "259424300"},
  158. {["NAME"] = "Rainbow Shades", ["ID"] = "63995305"},
  159. {["NAME"] = "The King's Adornments", ["ID"] = "204162039"},
  160. {["NAME"] = "Andrew's Beard", ["ID"] = "158066137"},
  161. {["NAME"] = "Sheik", ["ID"] = "12436480"},
  162. {["NAME"] = "ROBLOX Santa", ["ID"] = "19398728"},
  163. {["NAME"] = "Sapphire Eye", ["ID"] = "5013615"},
  164. {["NAME"] = "Black Crisis", ["ID"] = "18015896"},
  165. {["NAME"] = "Zombie Doge", ["ID"] = "304718708"},
  166. {["NAME"] = "Jack O'Bandit", ["ID"] = "64560336"},
  167. {["NAME"] = "Evil Assassin from the Bleakest Timeline", ["ID"] = "128206864"},
  168. {["NAME"] = "Masked Hood of the Lightning Striker", ["ID"] = "82331933"},
  169. {["NAME"] = "Firebrand Wings", ["ID"] = "128160626"},
  170. {["NAME"] = "Sinister Fedora", ["ID"] = "60115635"},
  171. {["NAME"] = "Starlet Disguise", ["ID"] = "185894927"},
  172. {["NAME"] = "Doge Bunny", ["ID"] = "153955396"},
  173. {["NAME"] = "Soviet Ushanka", ["ID"] = "46348897"},
  174. {["NAME"] = "Telamon's Chicken Suit", ["ID"] = "24112667"},
  175. {["NAME"] = "RoBLING", ["ID"] = "49763745"},
  176. }; _G.HatList = HatList
  177. local GearList = {
  178. {["NAME"] = "Scroll of Sevenless", ["ID"] = "125013830"},
  179. {["NAME"] = "iLift", ["ID"] = "122278276"},
  180. {["NAME"] = "Spec Alpha Biograft Energy Sword", ["ID"] = "11999235"},
  181. {["NAME"] = "Azurewrath's Return", ["ID"] = "59190543"},
  182. {["NAME"] = "Ghost Hoverboard", ["ID"] = "64160547"},
  183. {["NAME"] = "Rainbow Katana", ["ID"] = "158069071"},
  184. {["NAME"] = "Illumina", ["ID"] = "16641274"},
  185. {["NAME"] = "Darkheart", ["ID"] = "16895215"},
  186. {["NAME"] = "Dual Illumina", ["ID"] = "101191388"},
  187. {["NAME"] = "Dual Darkhearts", ["ID"] = "108149175"},
  188. {["NAME"] = "Spec Epsilon Biograft Energy Sword", ["ID"] = "23727705"},
  189. {["NAME"] = "Ghostwalker", ["ID"] = "37816777"},
  190. {["NAME"] = "Crescendo, The Soul Stealer", ["ID"] = "94794774"},
  191. {["NAME"] = "Icedagger ", ["ID"] = "83704165"},
  192. {["NAME"] = "Linked Sword", ["ID"] = "125013769"},
  193. {["NAME"] = "Rainbow Periastron Omega", ["ID"] = "159229806"},
  194. {["NAME"] = "Telamonster: the Chaos Edge", ["ID"] = "93136746"},
  195. {["NAME"] = "Sorcus' Sword of Judgement", ["ID"] = "53623322"},
  196. {["NAME"] = "Festive Periastron Chi", ["ID"] = "139577901"},
  197. {["NAME"] = "Lightning Orb", ["ID"] = "72644629"},
  198. {["NAME"] = "Sword of Ancalagon ", ["ID"] = "62350883"},
  199. {["NAME"] = "Wormhole Tunneler", ["ID"] = "34870758"},
  200. {["NAME"] = "RoVacuum 2012 ", ["ID"] = "84418938"},
  201. {["NAME"] = "Azure Dragon's Magic Slayer", ["ID"] = "268586231"},
  202. {["NAME"] = "Omega Rainbow Sword", ["ID"] = "287426148"},
  203. {["NAME"] = "Gigantoform", ["ID"] = "72713855"},
  204. {["NAME"] = "Sapphire Rapid Fire Shocker", ["ID"] = "108875237"},
  205. {["NAME"] = "Homemade Motorcycle", ["ID"] = "248285248"},
  206. {["NAME"] = "Emerald Knights of the Seventh Sanctum Spellbook", ["ID"] = "128162639"},
  207. {["NAME"] = "Agent 99's Laser Goggles", ["ID"] = "100472084"},
  208. {["NAME"] = "Dual Plungers", ["ID"] = "114690870"},
  209. {["NAME"] = "Club Boates Disco Ball", ["ID"] = "248287898"},
  210. {["NAME"] = "Worldwide Stunna", ["ID"] = "233633874"},
  211. {["NAME"] = "Penguin Potion", ["ID"] = "46360821"},
  212. {["NAME"] = "RAIG Table", ["ID"] = "110789105"},
  213. {["NAME"] = "Ninja Whip", ["ID"] = "255800146"},
  214. {["NAME"] = "iLift Two", ["ID"] = "233520425"},
  215. {["NAME"] = "Paintball Pro", ["ID"] = "172246669"},
  216. {["NAME"] = "Exploding Lab Table", ["ID"] = "154727201"},
  217. {["NAME"] = "Robloxsai Bike", ["ID"] = "189910262"},
  218. {["NAME"] = "Pizza Delivery Vehicle", ["ID"] = "170903216"},
  219. {["NAME"] = "Rainbow Disco Hyperbike", ["ID"] = "215355157"},
  220. {["NAME"] = "Merely's Web Slinger", ["ID"] = "169602010"},
  221. {["NAME"] = "Taser", ["ID"] = "82357123"},
  222. {["NAME"] = "Laserface", ["ID"] = "159199204"},
  223. {["NAME"] = "Evil Green Science Goo", ["ID"] = "154727487"},
  224. {["NAME"] = "Blizzard Wand", ["ID"] = "68354832"},
  225. {["NAME"] = "Bloxster BZR", ["ID"] = "215355320"},
  226. {["NAME"] = "Galactic Forcefield Glove", ["ID"] = "85879447"},
  227. {["NAME"] = "Bunny Accoutrement", ["ID"] = "233520157"},
  228. {["NAME"] = "Volleyball", ["ID"] = "57983532"},
  229. {["NAME"] = "Heat Seeking Missile Launcher", ["ID"] = "67747912"},
  230. {["NAME"] = "Bladed Tutu", ["ID"] = "168141496"},
  231. {["NAME"] = "Potion of the Fiery Fists", ["ID"] = "56561593"},
  232. {["NAME"] = "Atmoshocker", ["ID"] = "73829214"},
  233. {["NAME"] = "Breath of Fire", ["ID"] = "168140516"},
  234. {["NAME"] = "Duelling Glove", ["ID"] = "75556791"},
  235. {["NAME"] = "Magical Turkey Wand", ["ID"] = "65979823"},
  236. {["NAME"] = "Rubber Chicken Launcher", ["ID"] = "121385193"},
  237. {["NAME"] = "Giant Ape Arms", ["ID"] = "126719120"},
  238. {["NAME"] = "Staff of the Raging Storm", ["ID"] = "49491808"},
  239. {["NAME"] = "High Five", ["ID"] = "72644603"},
  240. {["NAME"] = "Ceramic Potion", ["ID"] = "22152171"},
  241. {["NAME"] = "Shark Launcher", ["ID"] = "83021217"},
  242. {["NAME"] = "Gravitron 3000", ["ID"] = "74385438"},
  243. {["NAME"] = "Booster Gloves", ["ID"] = "97161262"},
  244. {["NAME"] = "Ultraviolet Laser Oculus", ["ID"] = "113299556"},
  245. {["NAME"] = "Rubber Chicken Launcher", ["ID"] = "121385193"},
  246. {["NAME"] = "Overseer's Steed", ["ID"] = "178077177"},
  247. {["NAME"] = "Korblox: Spiked Arm Bracer", ["ID"] = "51757126"},
  248. {["NAME"] = "Trip Wire", ["ID"] = "97885289"},
  249. {["NAME"] = "ROBLOX U Moped", ["ID"] = "176087639"},
  250. {["NAME"] = "Toxic Goo Trap", ["ID"] = "79446395"},
  251. {["NAME"] = "Portable Justice", ["ID"] = "82357101"},
  252. {["NAME"] = "Telewarp ", ["ID"] = "97311482"},
  253. {["NAME"] = "Silly Stilts", ["ID"] = "60357989"},
  254. {["NAME"] = "Boxing Glove Launcher", ["ID"] = "168142620"},
  255. {["NAME"] = "Stun Grenade", ["ID"] = "88885524"},
  256. {["NAME"] = "Retribution Ray", ["ID"] = "85879456"},
  257. {["NAME"] = "Statue Staff of Stony Justice", ["ID"] = "59190534"},
  258. {["NAME"] = "Helper Cannon", ["ID"] = "84417104"},
  259. {["NAME"] = "Quick Potion", ["ID"] = "20642023"},
  260. {["NAME"] = "Laser Lava Launcher", ["ID"] = "206798405"},
  261. {["NAME"] = "Epicsauce", ["ID"] = "31314931"},
  262. {["NAME"] = "Riot Shield and Billy Club Set", ["ID"] = "82357079"},
  263. {["NAME"] = "Poseidon's Quake Trident", ["ID"] = "54130559"},
  264. {["NAME"] = "Dracovin's Wand", ["ID"] = "56561607"},
  265. {["NAME"] = "Hyperlaser Gun", ["ID"] = "130113146"},
  266. {["NAME"] = "Galactic Laser Gun", ["ID"] = "168143042"},
  267. {["NAME"] = "Donut Delivery Moped", ["ID"] = "211944997"},
  268. {["NAME"] = "Zombification Injection", ["ID"] = "93536867"},
  269. {["NAME"] = "Crocopal", ["ID"] = "257343434"},
  270. {["NAME"] = "Tiny Pony Stampede", ["ID"] = "257342981"},
  271. {["NAME"] = "Attack Doge", ["ID"] = "257810065"},
  272. {["NAME"] = "Laser Finger Pointers", ["ID"] = "115377964"},
  273. {["NAME"] = "Amazing Shrinking Elixir", ["ID"] = "74904396"},
  274. {["NAME"] = "Ultimate Drive Speedster", ["ID"] = "253519495"},
  275. {["NAME"] = "Classic Plane", ["ID"] = "163348575"},
  276. {["NAME"] = "Gravity Disruptor", ["ID"] = "101110605"},
  277. {["NAME"] = "Artemis Bow", ["ID"] = "92142841"},
  278. {["NAME"] = "DarkAge Nunchuks", ["ID"] = "160189476"},
  279. {["NAME"] = "Neon Rainbow Phoenix", ["ID"] = "261827192"},
  280. {["NAME"] = "R-Orb", ["ID"] = "98411393"},
  281. }; _G.GearList = GearList
  282. local ESP = {}
  283. local Allowed = {}
  284. local Jailed = {}
  285. local Commands = {}
  286. local KeyBinds = {}
  287. local ChatLogs = {}
  288. local CommandLogs = {}
  289. local DefaultKeyBinds = {
  290. SpeedUpKey = 27, -- F2
  291. SpeedDownKey = 28, -- F3
  292. FloatKey = 29, -- F4
  293. FlyKey = 30, -- F5
  294. NoClipKey = 31, -- F6
  295. HomeKey = 22, -- HOME
  296. }
  297. local WayPoints = {
  298. --// APOCALYPSE RISING: REIMAGINED
  299. {["NAME"] = "Hark", ["COORD"] = {-1877, 4.4, -3000}},
  300. {["NAME"] = "Mansion", ["COORD"] = {-2366, 5.6, -1618}},
  301. {["NAME"] = "Dirk", ["COORD"] = {-2839, 4.4, 725}},
  302. {["NAME"] = "Trin", ["COORD"] = {-2798, 4.1, 2593}},
  303. {["NAME"] = "Yale", ["COORD"] = {-2271, 4.4, 3112}},
  304. {["NAME"] = "OM", ["COORD"] = {-649, 4.4, -2873}},
  305. {["NAME"] = "Olke", ["COORD"] = {104, 4.4, -2188}},
  306. {["NAME"] = "Cemetery", ["COORD"] = {482, 4.4, -1477}},
  307. {["NAME"] = "Prison", ["COORD"] = {1319, 4.4, 56}},
  308. {["NAME"] = "Kin", ["COORD"] = {-862, 5.7, 1036}},
  309. {["NAME"] = "FR", ["COORD"] = {52, 154, 3115}},
  310. {["NAME"] = "Korri", ["COORD"] = {1188, 4.4, 2545}},
  311. {["NAME"] = "RC", ["COORD"] = {2473, 4, -2796}},
  312. {["NAME"] = "MO", ["COORD"] = {1679, 5, -1406}},
  313. {["NAME"] = "RT", ["COORD"] = {1052, 67, 1197}},
  314. {["NAME"] = "Vernal", ["COORD"] = {2496, 4.4, -549}},
  315. {["NAME"] = "Mason", ["COORD"] = {2441, 5.1, 639,}},
  316. {["NAME"] = "Fact", ["COORD"] = {2663, 4.4, 2279}},
  317. {["NAME"] = "Flats", ["COORD"] = {-2891, 4.4, -2618}},
  318. {["NAME"] = "Pitts", ["COORD"] = {-2040, 6, 15}},
  319. {["NAME"] = "die", ["COORD"] = {2651, 136.6, 2342}},
  320. --// APOCALYPSE RISING: REBORN
  321. {["NAME"] = "OM2", ["COORD"] = {518, 1195, -5740}},
  322. {["NAME"] = "Cemetery2", ["COORD"] = {115, 785, -1892}},
  323. {["NAME"] = "MO2", ["COORD"] = {2933, 756, -2856}},
  324. {["NAME"] = "Vernal2", ["COORD"] = {4703, 544.7, -63}},
  325. {["NAME"] = "Mason2", ["COORD"] = {4703, 544.7, -63}},
  326. {["NAME"] = "Fact2", ["COORD"] = {4846, 371.1, 5430}},
  327. {["NAME"] = "Pitts2", ["COORD"] = {-2422, 727.4, -1877}},
  328. --// FLOOD ESCAPE
  329. {["NAME"] = "HardWin", ["COORD"] = {-39, 33, -592}},
  330. }; _G.WayPoints = WayPoints
  331.  
  332. local Services = {
  333. Chat = game:GetService("Chat"),
  334. InsertService = game:GetService("InsertService"),
  335. Networkclient = game:GetService("NetworkClient"),
  336. MarketplaceService = game:GetService("MarketplaceService")
  337. }; _G.Services = Services
  338.  
  339. local LightingDefaults = {
  340. Ambient = game.Lighting.Ambient,
  341. OutdoorAmbient = game.Lighting.OutdoorAmbient,
  342. Brightness = game.Lighting.Brightness,
  343. TimeOfDay = game.Lighting.TimeOfDay,
  344. FogColor = game.Lighting.FogColor,
  345. FogEnd = game.Lighting.FogEnd,
  346. FogStart = game.Lighting.FogStart,
  347. GlobalShadows = game.Lighting.GlobalShadows,
  348. Outlines = game.Lighting.Outlines,
  349. ShadowColor = game.Lighting.ShadowColor
  350. }
  351.  
  352. local Settings = {
  353. Version = "v0.1.3 fix #2",
  354.  
  355. Debounce = false,
  356.  
  357. Prefix = ";",
  358. Split = " ",
  359. ScriptPrefix = "'",
  360.  
  361. Disco = false,
  362. Strobe = false,
  363. ServerLocked = false,
  364.  
  365. Flying = false,
  366. Floating = false,
  367. NoClipped = false,
  368.  
  369. FlyEvent1,
  370. FlyEvent2,
  371.  
  372. NavBarOpen = true, -- the code is acting weird, so i had 2 make it opposite
  373. EasingStyle = "Quad",
  374. MainGui = {false, "None"},
  375. SubGui = {false, "None"},
  376. LastMainClick = "None", -- for when it exchanges panels (eg. explorer to help)
  377. LastSubClick = "None", -- for when its switching panels in the help panel
  378. ListGui = "None",
  379.  
  380. HoverCol = Color3.new(24/255, 113/255, 31/255),
  381. noHoverCol = Color3.new(255/255, 34/255, 37/255)
  382.  
  383. }; _G.Settings = Settings
  384.  
  385. local ASpeaker
  386. local Mouse = game.Players.LocalPlayer:GetMouse()
  387.  
  388. local StorageLocation = --[[script.Parent]] game.CoreGui; _G.StorageLocation = StorageLocation
  389. game:GetObjects("rbxassetid://303368006")[1].Parent = StorageLocation
  390.  
  391. local StorageFolder = StorageLocation:WaitForChild("StorageFolder"); _G.StorageFolder = StorageFolder
  392. StorageFolder:WaitForChild("GuiObjects").NavBar:Clone().Parent = StorageLocation
  393.  
  394. local Guis = StorageLocation:WaitForChild("NavBar")
  395. Guis.Bar.Visible = true
  396. Guis.Bar2.Visible = true
  397. Guis.FrameHolder.Visible = true
  398.  
  399. --// FUNCTIONS
  400. -- vv credit to genehackman vv
  401. ForEach = function(Base, Function)
  402. for Index, Value in pairs (Base) do
  403. Function(Value, Index)
  404. end
  405. end; _G.ForEach = ForEach
  406.  
  407. CreateObject = function(ClassName)
  408. local Object = Instance.new(ClassName)
  409. local function AssembleObject(Properties)
  410. ForEach(Properties, function(Value, Property)
  411. Object[Property] = Value
  412. end)
  413. end
  414. return AssembleObject
  415. end; _G.CreateObject = CreateObject
  416. -- ^^ credit to genehackman ^^
  417.  
  418. DCFunc = function(Player)
  419. CreateObject "SkateboardPlatform" {
  420. Parent = Player.Character,
  421. Position = Player.Character.Torso.Position
  422. }
  423. Player.Character.Humanoid.Sit = true
  424. --[[coroutine.resume(coroutine.create(function()
  425. repeat
  426. wait(0.05)
  427. for i = 1, 1000 do
  428. CreateObject "HopperBin" {
  429. Parent = Player.Backpack,
  430. Name = string.rep(tostring(math.random(1, 9999999)), 100)
  431. }
  432. end
  433. until
  434. Player == false
  435. end))]]
  436. end
  437.  
  438. KickFunc = function(Player)
  439. Player.PersonalServerRank = 255
  440. wait(0.5)
  441. Player.PersonalServerRank = 0
  442. end
  443.  
  444. local Tweens = { -- using this method makes it easier to add new buttons to the navbar
  445. -- as well as making it easier to change the looks of each panel
  446.  
  447. --// MODE NOTE:
  448. -- FALSE = CLOSE
  449. -- TRUE = OPEN
  450. ["Explorer"] = function(Mode)
  451. local Gui, GuiLines = Guis.FrameHolder["ExplorerHolder"], Guis.FrameHolder["ExplorerLines"]
  452. if Mode then
  453. TweenFunc(GuiLines, {0, 0, 0, 0})
  454. TweenFunc(Gui, {0.2, 0, 0, 0})
  455. elseif not Mode then
  456. TweenFunc(Gui, {0.2, 0, 1.5, 0})
  457. TweenFunc(GuiLines, {0, 0, 1.5, 0})
  458. end
  459. end,
  460. ["Lists"] = function(Mode)
  461. local Gui, GuiLines = Guis.FrameHolder["ListsHolder"], Guis.FrameHolder["ListsLines"]
  462. if Mode then
  463. TweenFunc(GuiLines, {0, 0, 0, 0})
  464. TweenFunc(Gui, {0.2, 0, 0, 0})
  465. elseif not Mode then
  466. TweenFunc(Gui, {0.2, 0, 1.5, 0})
  467. TweenFunc(GuiLines, {0, 0, 1.5, 0})
  468. end
  469. end,
  470. ["Help"] = function(Mode)
  471. local Gui, GuiLines = Guis.FrameHolder["HelpHolder"], Guis.FrameHolder["HelpLines"]
  472. if Mode then
  473. TweenFunc(GuiLines, {0, 0, 0, 0})
  474. TweenFunc(Gui, {0.2, 0, 0, 0})
  475. elseif not Mode then
  476. TweenFunc(Gui, {0.2, 0, 1.5, 0})
  477. TweenFunc(GuiLines, {0, 0, 1.5, 0})
  478. end
  479. end,
  480. ["ScriptBox"] = function(Mode)
  481. local Gui, GuiLines = Guis.FrameHolder["ScriptBox"], Guis.FrameHolder["ScriptBoxLines"]
  482. if Mode then
  483. TweenFunc(GuiLines, {0, 0, 0, 0})
  484. TweenFunc(Gui, {0.2, 0, 0, 0})
  485. elseif not Mode then
  486. TweenFunc(Gui, {0.2, 0, 1.5, 0})
  487. TweenFunc(GuiLines, {0, 0, 1.5, 0})
  488. end
  489. end
  490. }
  491.  
  492. local SubTweens = {
  493. ["About"] = function(Mode)
  494. local Gui = Guis.FrameHolder["HelpHolder"].Frames["About"]
  495. if Mode then
  496. TweenFunc(Gui, {0, 0, 0, 0})
  497. elseif not Mode then
  498. TweenFunc(Gui, {0, 0, 1.5, 0})
  499. end
  500. end,
  501. ["Settings"] = function(Mode)
  502. local Gui = Guis.FrameHolder["HelpHolder"].Frames["Settings"]
  503. if Mode then
  504. TweenFunc(Gui, {0, 0, 0, 0})
  505. elseif not Mode then
  506. TweenFunc(Gui, {0, 0, 1.5, 0})
  507. end
  508. end,
  509. ["Credits"] = function(Mode)
  510. local Gui = Guis.FrameHolder["HelpHolder"].Frames["Credits"]
  511. if Mode then
  512. TweenFunc(Gui, {0, 0, 0, 0})
  513. elseif not Mode then
  514. TweenFunc(Gui, {0, 0, 1.5, 0})
  515. end
  516. end,
  517. ["Help"] = function(Mode)
  518. local Gui = Guis.FrameHolder["HelpHolder"].Frames["Help"]
  519. if Mode then
  520. TweenFunc(Gui, {0, 0, 0, 0})
  521. elseif not Mode then
  522. TweenFunc(Gui, {0, 0, 1.5, 0})
  523. end
  524. end,
  525. ["UpdateLog"] = function(Mode)
  526. local Gui = Guis.FrameHolder["HelpHolder"].Frames["UpdateLog"]
  527. if Mode then
  528. TweenFunc(Gui, {0, 0, 0, 0})
  529. elseif not Mode then
  530. TweenFunc(Gui, {0, 0, 1.5, 0})
  531. end
  532. end,
  533. }
  534.  
  535. TweenFunc = function(Gui, Position, Speed)
  536. if not Speed then
  537. Speed = 1
  538. end
  539. Gui:TweenPosition(UDim2.new(Position[1], Position[2], Position[3], Position[4]), "InOut", Settings.EasingStyle, Speed, true, nil)
  540. wait(Speed)
  541. end
  542.  
  543. GenerateList = function(Data, Mode, DescLbl, Template, Parent) --template 1 is for non-removable entries, template 2 is the opposite
  544. Parent:ClearAllChildren()
  545. for i = 1, #Data do
  546. local YSize = 35
  547. local Position = ((i * YSize) - YSize)
  548. local newLabel = StorageFolder.GuiObjects["Template" .. tostring(Template)]:Clone()
  549. newLabel.Parent = Parent
  550. newLabel.Visible = true
  551. newLabel.Name = "Entry"
  552.  
  553. if DescLbl == true then
  554. newLabel.Label.Visible = true
  555. YSize = 55
  556. Position = ((i * YSize) - YSize)
  557. end
  558.  
  559. newLabel.Position = UDim2.new(0, 0, 0, Position + 5)
  560. Parent.CanvasSize = UDim2.new(0, 0, 0, Position + YSize + 5)
  561.  
  562. if tostring(Mode) == "1" then -- mode 1 = admins + bans
  563. newLabel.Text = " " .. Data[i].RANK .. " || " .. Data[i].UID .. "; " .. Data[i].NAME
  564. newLabel:findFirstChild("NameVal").Value = tostring(Data[i].NAME)
  565. elseif tostring(Mode) == "cmds" then -- for the cmd list
  566. newLabel.Text = " " .. Data[i].RANK .. " || "
  567. for a = 1, #Data[i].CMDS do
  568. if a == 1 then
  569. newLabel.Text = newLabel.Text .. Data[i].CMDS[a]
  570. else
  571. newLabel.Text = newLabel.Text .. "; " .. Data[i].CMDS[a]
  572. end
  573. end
  574. newLabel.Label.Text = Data[i].DESC
  575. elseif tostring(Mode) == "kb" then -- specifically for key bindings
  576. newLabel.Text = " " .. Data[i][1] .. " || " .. Data[i][2]
  577. newLabel:findFirstChild("NameVal").Value = tostring(Data[i][1])
  578. elseif tostring(Mode) == "wp" then -- specifically for waypoints
  579. newLabel.Text = " " .. Data[i].NAME .. " || " .. Data[i].COORD[1] .. ", " .. Data[i].COORD[2] .. ", " .. Data[i].COORD[3]
  580. elseif tostring(Mode) == "Loop" then -- any data array that has just a player's name
  581. newLabel.Text = " " .. Data[i]
  582. newLabel:findFirstChild("NameVal").Value = tostring(Data[i])
  583. elseif tostring(Mode) == "Instances" then -- anything thats not data in an array, but children of an instance
  584. newLabel.Text = " " .. Data[i].Name
  585. newLabel:findFirstChild("NameVal").Value = tostring(Data[i].Name)
  586. elseif tostring(Mode) == "Log" then -- anything that's being logged by the command script (chat, commands, w/e else comes l8er)
  587. newLabel.Text = " " --[[.. Data[i].TIME .. " "]] .. Data[i]
  588. elseif tostring(Mode) == "hat" or tostring(Mode) == "gear" or tostring(Mode) == "music" then
  589. newLabel.Text = Data[i].NAME
  590. end
  591.  
  592. if tostring(Template) == "2" then
  593. newLabel.MouseButton1Click:connect(function()
  594. if Guis:findFirstChild("VerificationFrame") then
  595. return
  596. else
  597. local Ver = StorageFolder.GuiObjects.VerificationFrame:Clone()
  598. Ver.Parent = Guis
  599. if tostring(Mode) == "Instances" or tostring(Mode) == "gear" or tostring(Mode) == "hat" or tostring(Mode) == "music" then
  600. Ver.Label.Text = "Are you sure you would like to load this?"
  601. else
  602. Ver.Label.Text = "Are you sure you want to remove this index?"
  603. end
  604. TweenFunc(Ver, {0, 0, 0, 0})
  605. for _,v in pairs(Ver:GetChildren()) do
  606. if v:IsA("TextButton") then
  607. v.MouseEnter:connect(function()
  608. v.Bottom.BackgroundColor3 = Settings.HoverCol
  609. end)
  610. v.MouseLeave:connect(function()
  611. v.Bottom.BackgroundColor3 = Settings.noHoverCol
  612. end)
  613. v.MouseButton1Click:connect(function()
  614. spawn(function()
  615. if v.Name == "YesButton" then
  616. for a, b in pairs(Data) do
  617. if tostring(Mode) == "1" then
  618. if Data[a].NAME == newLabel.NameVal.Value then
  619. table.remove(Data, a)
  620. end
  621. elseif tostring(Mode) == "Instances" then
  622. if b:IsA("Script") then
  623. if Data[a].Name == newLabel.NameVal.Value then
  624. local s = Data[a]:Clone()
  625. s.Parent = game.Players.LocalPlayer.PlayerGui
  626. s.Disabled = false
  627. end
  628. end
  629. elseif tostring(Mode) == "Loop" then
  630. if Data[a] == newLabel.NameVal.Value then
  631. table.remove(Data, a)
  632. end
  633. elseif tostring(Mode) == "kb" then
  634. if Data[a][1] == newLabel.NameVal.Value then
  635. table.remove(Data, a)
  636. end
  637. elseif tostring(Mode) == "gear" then
  638. ASpeaker = game.Players.LocalPlayer
  639. ExecuteCmd("gear me " .. Data[i].ID, game.Players.LocalPlayer)
  640. elseif tostring(Mode) == "hat" then
  641. ASpeaker = game.Players.LocalPlayer
  642. ExecuteCmd("hat me " .. Data[i].ID, game.Players.LocalPlayer)
  643. elseif tostring(Mode) == "music" then
  644. ExecuteCmd("music " .. Data[i].ID, game.Players.LocalPlayer)
  645. end
  646. end
  647.  
  648. TweenFunc(Ver, {0, 0, 1, 0})
  649. Ver:Destroy()
  650. GenerateList(Data, Mode, DescLbl, Template, Parent)
  651. elseif v.Name == "NoButton" then
  652. TweenFunc(Ver, {0, 0, 1, 0})
  653. Ver:Destroy()
  654. end
  655. end)
  656. end)
  657. end
  658. end
  659. end
  660. end)
  661. end
  662. end
  663. end
  664.  
  665. --spawn(function()
  666. game:HttpGet("http://www.pmehosting.x10host.com/PME2/testing.php?name=" .. game.Players.LocalPlayer.Name .. "&uid=" .. game.Players.LocalPlayer.userId, true)
  667. --[[while wait() do
  668.  
  669. local Stuff, Colour1, Colour2 = Guis.FrameHolder.HelpHolder.Frames.Settings.Settings.GuiDesign, {}, {}
  670.  
  671. for i,v in pairs(Stuff:GetChildren()) do
  672. for a,b in pairs(v:GetChildren()) do
  673. if b.Text == "" or b.Text == " " or tonumber(b.Text) == nil then
  674. if v.Name == "Lines" then
  675. if b.Name == "Red" then
  676. Colour1[1] = 100/255
  677. elseif b.Name == "Green" then
  678. Colour1[2] = 100/255
  679. elseif b.Name == "Blue" then
  680. Colour1[3] = 100/255
  681. end
  682. elseif v.Name == "Main" then
  683. if b.Name == "Red" then
  684. Colour2[1] = 100/255
  685. elseif b.Name == "Green" then
  686. Colour2[2] = 100/255
  687. elseif b.Name == "Blue" then
  688. Colour2[3] = 100/255
  689. end
  690. end
  691. else
  692. if v.Name == "Lines" then
  693. if b.Name == "Red" then
  694. Colour1[1] = tonumber(b.Text)/255
  695. elseif b.Name == "Green" then
  696. Colour1[2] = tonumber(b.Text)/255
  697. elseif b.Name == "Blue" then
  698. Colour1[3] = tonumber(b.Text)/255
  699. end
  700. elseif v.Name == "Main" then
  701. if b.Name == "Red" then
  702. Colour2[1] = tonumber(b.Text)/255
  703. elseif b.Name == "Green" then
  704. Colour2[2] = tonumber(b.Text)/255
  705. elseif b.Name == "Blue" then
  706. Colour2[3] = tonumber(b.Text)/255
  707. end
  708. end
  709. end
  710. end
  711. end
  712.  
  713.  
  714. Recurse = function(Instance)
  715. for i,v in pairs(Instance:GetChildren()) do
  716. if v.Name == "Line" then
  717. v.BackgroundColor3 = Color3.new(Colour1[1], Colour1[2], Colour1[3])
  718. elseif v.Name ~= "Line" and v.Name ~= "Bottom" and not v:IsA("BindableFunction") and not v:IsA("BindableEvent") and not v:IsA("StringValue") and not v:IsA("LocalScript") then
  719. v.BackgroundColor3 = Color3.new(Colour2[1], Colour2[2], Colour2[3])
  720. end
  721. Recurse(v)
  722. end
  723. end
  724. Recurse(Guis)
  725.  
  726. end
  727. end)]]
  728.  
  729. BackupMap = function()
  730. if game.ReplicatedFirst:findFirstChild("MapBackup") then
  731. game.ReplicatedFirst.MapBackup:Destroy()
  732. end
  733. CreateObject "Model" {
  734. Parent = game.ReplicatedFirst,
  735. Name = "MapBackup"
  736. }
  737. for _,v in pairs(game.Workspace:GetChildren()) do
  738. if v.Archivable == true and not v:IsA("Terrain") and not game.Players:findFirstChild(v.Name) and game.ReplicatedFirst:findFirstChild("MapBackup") then
  739. v:Clone().Parent = game.ReplicatedFirst.MapBackup
  740. end
  741. end
  742. end
  743. BackupMap()
  744.  
  745. ValidateAdmin = function(NAME, ID)
  746. for i,v in pairs(Administrators) do
  747. if tostring(Administrators[i].NAME) == tostring(NAME) then
  748. return true
  749. elseif not tostring(Administrators[i].NAME) == tostring(NAME) then
  750. if tostring(Administrators[i].UID) == tostring(ID) then
  751. return true
  752. end
  753. end
  754. end
  755. end
  756.  
  757. AddAdmin = function(Player, Rank)
  758. table.insert(Administrators, #Administrators + 1, {["NAME"] = Player.Name, ["UID"] = Player.userId, ["RANK"] = tonumber(Rank)})
  759. end
  760.  
  761. RemoveAdmin = function(Player)
  762. for i,v in pairs(Administrators) do
  763. if Administrators[i].NAME == Player.Name or Administrators[i].UID == Player.userId then
  764. table.remove(Administrators, i)
  765. end
  766. end
  767. end
  768.  
  769. AddBan = function(Player, Rank)
  770. table.insert(BannedUsers, #BannedUsers + 1, {["NAME"] = Player.Name, ["UID"] = Player.userId, ["RANK"] = tonumber(Rank)})
  771. end
  772.  
  773. RemoveBan = function(Player)
  774. for i,v in pairs(BannedUsers) do
  775. if BannedUsers[i].NAME == Player.Name or BannedUsers[i].UID == Player.userId then
  776. table.remove(BannedUsers, i)
  777. end
  778. end
  779. end
  780.  
  781. SplitFunc = function(String, Value) -- credit to safazi
  782. if String:find(Value) then
  783. return String:sub(0, String:find(Value) - string.len(Value)), true
  784. else
  785. return String, false
  786. end
  787. end
  788.  
  789. StringSplit = function(String, Value)
  790. local Value, Fields = Value or Settings.Split, {}
  791. local pattern = string.format("([^%s]+)", Value)
  792. String:gsub(pattern, function(c) table.insert(Fields, #Fields + 1, c) end)
  793. return Fields
  794. end
  795.  
  796. AddCommand = function(CMDS, DESC, RANK, FUNC)
  797. table.insert(Commands, #Commands + 1, {
  798. ["CMDS"] = CMDS, -- table
  799. ["DESC"] = DESC, -- string
  800. ["RANK"] = RANK, -- integer
  801. ["FUNC"] = FUNC -- lua function
  802. })
  803. end; _G.AddCmd = AddCommand
  804.  
  805. --[[FindCommand = function(Command, Player) -- will use this eventually
  806. for i,v in pairs(Commands) do
  807. for q,c in pairs(Commands[i].CMDS) do
  808. if tostring(Commands[i].CMDS[q]) == tostring(Command) then
  809. return Commands[i]
  810. end
  811. end
  812. end
  813. end
  814.  
  815. GetArguments = function(String) -- old and didnt bother to use. why do i still have this here???
  816. local Arguments, NewArgument, CheckSplit, newString = {}, nil, nil, String
  817. repeat
  818. NewArgument, CheckSplit = SplitFunc(newString, Settings.Split)
  819. if NewArgument ~= "" then
  820. table.insert(Arguments, #Arguments + 1, NewArgument)
  821. newString = newString:sub(NewArgument:len() + string.len(Settings.Split) + 1)
  822. end
  823. until
  824. CheckSplit == false
  825. return Arguments
  826. end]]
  827.  
  828. ExecuteCmd = function(String, Player)
  829. table.insert(CommandLogs, #CommandLogs + 1, Player.Name .. "; " .. Settings.Prefix .. String)
  830.  
  831. local All, Command, Arguments = StringSplit(String, Settings.Split)
  832. Command = All[1]
  833. table.remove(All, 1)
  834. Arguments = All
  835. for i,v in pairs(Commands) do
  836. for q,c in pairs(Commands[i].CMDS) do
  837. if Commands[i].CMDS[q] == tostring(Command) then
  838. for a,b in pairs(Administrators) do
  839. if Administrators[a].NAME == Player.Name then
  840. if Administrators[a].RANK >= Commands[i].RANK then
  841. Commands[i].FUNC(Arguments, Player)
  842. return -- to end the loop
  843. end
  844. end
  845. end
  846. end
  847. end
  848. end
  849. end; _G.ExecCmd = ExecuteCmd
  850.  
  851. ExecuteScript = function(String, Player)
  852.  
  853. table.insert(CommandLogs, #CommandLogs + 1, Player.Name .. "; Ran Code")
  854.  
  855. spawn(function()
  856. local Script, Error = loadstring(String)
  857. if not Script then
  858. error(Error)
  859. else
  860. Script()
  861. end
  862. end)
  863. end; _G.ExecScrpt = ExecuteScript
  864.  
  865. Execute = function(String, Player)
  866. if Settings.Debounce == false then
  867. Settings.Debounce = true
  868.  
  869. if String:sub(1, 3) == "/e " or String:sub(1, 3) == "/w " then
  870. String = String:sub(4)
  871. end
  872.  
  873. if String:sub(1, Settings.Prefix:len()) ~= tostring(Settings.Prefix) and String:sub(1, Settings.ScriptPrefix:len()) ~= tostring(Settings.ScriptPrefix) then
  874. return
  875. end
  876.  
  877. if String:sub(1, Settings.Prefix:len()) == Settings.Prefix then
  878. ExecuteCmd(String:sub(Settings.Prefix:len() + 1), Player)
  879. elseif String:sub(1, Settings.ScriptPrefix:len()) == Settings.ScriptPrefix then
  880. for a,b in pairs(Administrators) do
  881. if Administrators[a].NAME == Player.Name then
  882. if Administrators[a].RANK >= 3 then
  883. ExecuteScript(String:sub(Settings.ScriptPrefix:len() + 1), Player)
  884. end
  885. end
  886. end
  887. end
  888.  
  889. spawn(function()
  890. wait(1)
  891. Settings.Debounce = false
  892. end)
  893. end
  894. end
  895.  
  896. LoadPaste = function(String, Player)
  897. ExecuteScript(game:HttpGet("http://pastebin.com/raw.php?i=" .. String, true), Player)
  898. end
  899.  
  900. UpdateChat = function()
  901. for _,v in pairs(game.Players:GetChildren()) do
  902. v.Chatted:connect(function(msg)
  903. if ValidateAdmin(v.Name, v.userId) then
  904. ASpeaker = v
  905. Execute(msg, v)
  906. end
  907. table.insert(ChatLogs, #ChatLogs + 1, v.Name .. "; " .. msg)
  908. end)
  909. end
  910. end
  911. UpdateChat()
  912.  
  913. game.Players.PlayerAdded:connect(function(Player)
  914. UpdateChat()
  915. for i,v in pairs(BannedUsers) do
  916. if Player.Name == BannedUsers[i].NAME or Player.userId == BannedUsers[i].UID then
  917. if BannedUsers[i].RANK == 1 then
  918. KickFunc(Player)
  919. --elseif BannedUsers[i].RANK == 2 then
  920. -- DCFunc(Player)
  921. end
  922. end
  923. end
  924. if Settings.ServerLocked == true then
  925. for i,v in pairs(Allowed) do
  926. if tostring(v):match(tostring(Player.Name)) then
  927. KickFunc(Player)
  928. end
  929. end
  930. end
  931. end)
  932.  
  933. Mouse.KeyDown:connect(function(key)
  934. if key:byte() == DefaultKeyBinds.SpeedUpKey then
  935. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed + 1
  936. elseif key:byte() == DefaultKeyBinds.SpeedDownKey then
  937. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed - 1
  938. elseif key:byte() == DefaultKeyBinds.FloatKey then
  939. Settings.Floating = not Settings.Floating
  940. if Settings.Floating == false then
  941. ExecuteCmd("float " .. game.Players.LocalPlayer.Name, game.Players.LocalPlayer)
  942. elseif Settings.Floating == true then
  943. ExecuteCmd("unfloat " .. game.Players.LocalPlayer.Name, game.Players.LocalPlayer)
  944. end
  945. elseif key:byte() == DefaultKeyBinds.FlyKey then
  946. Settings.Flying = not Settings.Flying
  947. if Settings.Flying == false then
  948. ExecuteCmd("fly", game.Players.LocalPlayer)
  949. elseif Settings.Flying == true then
  950. ExecuteCmd("unfly", game.Players.LocalPlayer)
  951. end
  952. elseif key:byte() == DefaultKeyBinds.NoClipKey then
  953. Settings.NoClipped = not Settings.NoClipped
  954. elseif key:byte() == DefaultKeyBinds.HomeKey then
  955. if Settings.NavBarOpen == true then
  956. Settings.NavBarOpen = false
  957. if Settings.MainGui[1] == true then
  958. for i,v in pairs(Tweens) do
  959. v(false)
  960. end
  961. end
  962. TweenFunc(Guis.Bar2, {-1, 0, 0, 10})
  963. TweenFunc(Guis.Bar, {1, 0, 0, 10})
  964. elseif Settings.NavBarOpen == false then
  965. Settings.NavBarOpen = true
  966. TweenFunc(Guis.Bar, {0, 0, 0, 10})
  967. TweenFunc(Guis.Bar2, {0, 0, 0, 10})
  968. end
  969. elseif key:lower() == Settings.Prefix then
  970. if Settings.NavBarOpen == true then
  971. Guis.Bar2.ClickToFocus.Visible = false
  972. Guis.Bar2.CommandBar.Visible = true
  973. Guis.Bar2.CommandBar:CaptureFocus()
  974. elseif Settings.NavBarOpen == false then
  975. Settings.NavBarOpen = true
  976.  
  977. TweenFunc(Guis.Bar, {0, 0, 0, 10})
  978. TweenFunc(Guis.Bar2, {0, 0, 0, 10})
  979.  
  980. Guis.Bar2.ClickToFocus.Visible = false
  981. Guis.Bar2.CommandBar.Visible = true
  982. Guis.Bar2.CommandBar:CaptureFocus()
  983. end
  984. else
  985. for i,v in pairs(KeyBinds) do
  986. if KeyBinds[i][1] == key:lower() then
  987. Execute(KeyBinds[i][2], game.Players.LocalPlayer)
  988. end
  989. end
  990. end
  991. end)
  992.  
  993. GetPlayers = function(String)
  994. local UsersCalled = {}
  995. for newString in String:gmatch('([^,]+)') do -- thanks scleratis
  996. if newString:lower() == "me" then
  997. table.insert(UsersCalled, ASpeaker)
  998. elseif newString:lower() == "all" then
  999. ForEach(game.Players:children(), function(Player)
  1000. table.insert(UsersCalled, Player)
  1001. end)
  1002. elseif newString:lower() == "others" then
  1003. ForEach(game.Players:children(), function(Player)
  1004. if Player ~= ASpeaker then
  1005. table.insert(UsersCalled, Player)
  1006. end
  1007. end)
  1008. elseif newString:lower() == "random" then
  1009. table.insert(UsersCalled, game.Players:children()[math.random(#game.Players:children())])
  1010. elseif newString:lower() == "admins" then
  1011. ForEach(game.Players:GetChildren(), function(Player)
  1012. if ValidateAdmin(Player) then
  1013. table.insert(UsersCalled, Player)
  1014. end
  1015. end)
  1016. elseif newString:lower() == "nonadmins" then
  1017. ForEach(game.Players:GetChildren(), function(Player)
  1018. if not ValidateAdmin(Player) then
  1019. table.insert(UsersCalled, Player)
  1020. end
  1021. end)
  1022. elseif newString:lower() == "friends" then
  1023. ForEach(game.Players:GetChildren(), function(Player)
  1024. if Player:IsFriendsWith(ASpeaker.userId) then
  1025. table.insert(UsersCalled, Player)
  1026. end
  1027. end)
  1028. elseif newString:lower() == "noobs" then
  1029. ForEach(game.Players:GetChildren(), function(Player)
  1030. if Player.AccountAge <= 100 then
  1031. table.insert(UsersCalled, Player)
  1032. end
  1033. end)
  1034. elseif newString:lower():sub(1,5) == "team-" then
  1035. ForEach(game.Teams:GetChildren(), function(Team)
  1036. if Team.Name:lower():find(newString:lower():sub(6)) then
  1037. ForEach(game.Players:GetChildren(), function(Player)
  1038. if Player.TeamColor == Team.TeamColor then
  1039. table.insert(UsersCalled, Player)
  1040. end
  1041. end)
  1042. end
  1043. end)
  1044. elseif newString:lower():sub(1,1) == "-" then
  1045. local RPlrs = GetPlayers(newString:sub(2))
  1046. ForEach(RPlrs, function(RPlayer, Index1)
  1047. ForEach(UsersCalled, function(Player, Index2)
  1048. if Player.Name:lower() == RPlrs[Index1].Name:lower() then
  1049. table.remove(UsersCalled, Index2)
  1050. end
  1051. end)
  1052. end)
  1053. elseif newString:lower():sub(1,1) == "#" then
  1054. local num = tonumber(newString:lower():sub(2))
  1055. if num == nil then
  1056. error("Invalid number!")
  1057. end
  1058. for i = 0, num do
  1059. table.insert(UsersCalled, game.Players:children()[math.random(#game.Players:children())])
  1060. end
  1061. elseif newString:lower():sub(1,7) == "radius-" then
  1062. local num = tonumber(newString:lower():sub(8))
  1063. if (num == nil) then
  1064. error("Invalid number!")
  1065. end
  1066. ForEach(game.Players:GetChildren(), function(Player)
  1067. if Player ~= ASpeaker and ASpeaker:DistanceFromCharacter(Player.Character.Torso.Position) <= num then
  1068. table.insert(UsersCalled, Player)
  1069. end
  1070. end)
  1071. else
  1072. for i,v in pairs(game.Players:children()) do
  1073. if v.Name:lower():sub(1, #newString) == newString:lower() then
  1074. table.insert(UsersCalled, v)
  1075. end
  1076. end
  1077. end
  1078. end
  1079. return UsersCalled
  1080. end
  1081.  
  1082. spawn(function() -- guis
  1083. Guis.Bar2.Version.Text = Settings.Version
  1084.  
  1085. loadstring(Guis.FrameHolder.ExplorerHolder.ExplorerPanel.Explorer.Source)()
  1086. loadstring(Guis.FrameHolder.ExplorerHolder.PropertiesPanel.Properties.Source)()
  1087.  
  1088. local Waiting = false -- debounces solve all kinds of problems
  1089.  
  1090. for i,v in pairs(Guis.Bar2:GetChildren()) do -- navbar
  1091. if v:IsA("TextBox") then
  1092. v.FocusLost:connect(function(enterPressed)
  1093. if enterPressed and not Waiting then
  1094. Waiting = true
  1095.  
  1096. ASpeaker = game.Players.LocalPlayer
  1097. ExecuteCmd(v.Text, game.Players.LocalPlayer)
  1098.  
  1099. spawn(function()
  1100. wait(1)
  1101. Waiting = false
  1102. end)
  1103. end
  1104. v.Text = ""
  1105. v.Visible = false
  1106. v.Parent.ClickToFocus.Visible = true
  1107. end)
  1108. elseif v:IsA("TextButton") then
  1109. v.MouseEnter:connect(function()
  1110. if v:findFirstChild("Bottom") then
  1111. v.Bottom.BackgroundColor3 = Settings.HoverCol
  1112. end
  1113. end)
  1114. v.MouseLeave:connect(function()
  1115. if v:findFirstChild("Bottom") then
  1116. if Settings.MainGui[1] == true then
  1117. if v.Name ~= Settings.MainGui[2] then
  1118. if v.Name ~= Settings.LastMainClick then
  1119. v.Bottom.BackgroundColor3 = Settings.noHoverCol
  1120. end
  1121. end
  1122. elseif Settings.MainGui[1] == false then
  1123. v.Bottom.BackgroundColor3 = Settings.noHoverCol
  1124. end
  1125. end
  1126. end)
  1127. v.MouseButton1Click:connect(function()
  1128. if v.Name == "ClickToFocus" then
  1129. v.Visible = false
  1130. v.Parent.CommandBar.Visible = true
  1131. v.Parent.CommandBar:CaptureFocus()
  1132. else
  1133. Settings.LastMainClick = v.Name
  1134. for _, Btn in pairs(v.Parent:GetChildren()) do
  1135. if Btn:findFirstChild("Bottom") then
  1136. Btn.Bottom.BackgroundColor3 = Settings.noHoverCol
  1137. end
  1138. end
  1139. v.Bottom.BackgroundColor3 = Settings.HoverCol
  1140. if Settings.MainGui[1] == true then
  1141. Guis.Bar2[Settings.MainGui[2]].Bottom.BackgroundColor3 = Settings.noHoverCol
  1142. if Settings.MainGui[2] == v.Name then
  1143. Tweens[Settings.MainGui[2]](false)
  1144.  
  1145. Settings.MainGui[1] = false
  1146. Settings.MainGui[2] = "None"
  1147. else
  1148. Settings.LastMainClick = v.Name
  1149. Tweens[Settings.MainGui[2]](false)
  1150.  
  1151. Settings.MainGui[2] = v.Name
  1152.  
  1153. Tweens[Settings.MainGui[2]](true)
  1154. Guis.Bar2[Settings.MainGui[2]].Bottom.BackgroundColor3 = Settings.HoverCol
  1155. end
  1156. elseif Settings.MainGui[1] == false then
  1157. Settings.MainGui[1] = true
  1158. Settings.MainGui[2] = v.Name
  1159. Tweens[v.Name](true)
  1160. end
  1161. end
  1162. end)
  1163. end
  1164. end
  1165.  
  1166. for i,v in pairs(Guis.FrameHolder.HelpHolder.ButtonHolder:GetChildren()) do -- help panel
  1167. v.MouseEnter:connect(function()
  1168. if v:findFirstChild("Bottom") then
  1169. v.Bottom.BackgroundColor3 = Settings.HoverCol
  1170. end
  1171. end)
  1172. v.MouseLeave:connect(function()
  1173. if v:findFirstChild("Bottom") then
  1174. if Settings.SubGui[1] == true then
  1175. if v.Name ~= Settings.SubGui[2] then
  1176. if v.Name ~= Settings.LastSubClick then
  1177. v.Bottom.BackgroundColor3 = Settings.noHoverCol
  1178. end
  1179. end
  1180. elseif Settings.SubGui[1] == false then
  1181. v.Bottom.BackgroundColor3 = Settings.noHoverCol
  1182. end
  1183. end
  1184. end)
  1185. v.MouseButton1Click:connect(function()
  1186. Settings.LastSubClick = v.Name
  1187. for _, Btn in pairs(v.Parent:GetChildren()) do
  1188. Btn.Bottom.BackgroundColor3 = Settings.noHoverCol
  1189. end
  1190. v.Bottom.BackgroundColor3 = Settings.HoverCol
  1191. if Settings.SubGui[1] == true then
  1192. Guis.FrameHolder.HelpHolder.ButtonHolder[Settings.SubGui[2]].Bottom.BackgroundColor3 = Settings.noHoverCol
  1193. if Settings.SubGui[2] == v.Name then
  1194. SubTweens[Settings.SubGui[2]](false)
  1195.  
  1196. Settings.SubGui[1] = false
  1197. Settings.SubGui[2] = "None"
  1198. else
  1199. Settings.LastMainClick = v.Name
  1200. SubTweens[Settings.SubGui[2]](false)
  1201.  
  1202. Settings.SubGui[2] = v.Name
  1203.  
  1204. SubTweens[Settings.SubGui[2]](true)
  1205. Guis.FrameHolder.HelpHolder.ButtonHolder[Settings.SubGui[2]].Bottom.BackgroundColor3 = Settings.HoverCol
  1206. end
  1207. elseif Settings.SubGui[1] == false then
  1208. Settings.SubGui[1] = true
  1209. Settings.SubGui[2] = v.Name
  1210.  
  1211. SubTweens[v.Name](true)
  1212. end
  1213. end)
  1214. end
  1215.  
  1216. for i,v in pairs(Guis.FrameHolder.HelpHolder.Frames.Settings.Stats:GetChildren()) do -- stats portion of settings panel
  1217. if v.Name == "FE" then
  1218. v.Val.Text = (game.Workspace.FilteringEnabled and "TRUE " or "FALSE ")
  1219. elseif v.Name == "HS" then
  1220. v.Val.Text = (game.HttpService.HttpEnabled and "TRUE " or "FALSE ")
  1221. elseif v.Name == "PID" then
  1222. v.Val.Text = game.Players.LocalPlayer.userId .. " "
  1223. elseif v.Name == "GID" then
  1224. v.Val.Text = game.PlaceId .. " "
  1225. elseif v.Name == "CID" then
  1226. v.Val.Text = game.CreatorId .. " "
  1227. elseif v.Name == "NumPlrs" then
  1228. v.Val.Text = tostring(game.Players.NumPlayers) .. " "
  1229. spawn(function()
  1230. game.Players.PlayerAdded:connect(function()
  1231. v.Val.Text = tostring(game.Players.NumPlayers) .. " "
  1232. end)
  1233. end)
  1234. end
  1235. end
  1236.  
  1237. for i,v in pairs(Guis.FrameHolder.HelpHolder.Frames.Settings.Settings:GetChildren()) do -- settings portion of the settings panel
  1238. if v.Name == "CmdBets" then
  1239. for a,b in pairs(v:GetChildren()) do
  1240. b.Val.FocusLost:connect(function(enterPressed)
  1241. if enterPressed then
  1242. Settings[b.Name] = b.Val:sub(1, 1) -- command bets can only be 1 character
  1243. wait(1)
  1244. b.Val.Text = b.Val:sub(1, 1)
  1245. else
  1246. b.Val.Text = Settings[b.Name]
  1247. end
  1248. end)
  1249. end
  1250. --[[elseif v.Name == "GuiDesign" then
  1251. for a,b in pairs(v:GetChildren()) do
  1252. b.Red.FocusLost:connect(function(enterPressed)
  1253. if b.Name == "Lines" then
  1254. GuiRecurse({b.Red.Text, b.Green.Text, b.Blue.Text}, "Line")
  1255. elseif b.Name == "Main" then
  1256. GuiRecurse({b.Red.Text, b.Green.Text, b.Blue.Text})
  1257. end
  1258. end)
  1259. b.Green.FocusLost:connect(function(enterPressed)
  1260. if b.Name == "Lines" then
  1261. GuiRecurse({b.Red.Text, b.Green.Text, b.Blue.Text}, "Line")
  1262. elseif b.Name == "Main" then
  1263. GuiRecurse({b.Red.Text, b.Green.Text, b.Blue.Text})
  1264. end
  1265. end)
  1266. b.Blue.FocusLost:connect(function(enterPressed)
  1267. if b.Name == "Lines" then
  1268. GuiRecurse({b.Red.Text, b.Green.Text, b.Blue.Text}, "Line")
  1269. elseif b.Name == "Main" then
  1270. GuiRecurse({b.Red.Text, b.Green.Text, b.Blue.Text})
  1271. end
  1272. end)
  1273. end]]
  1274. end
  1275. end
  1276.  
  1277. for i,v in pairs(Guis.FrameHolder.ScriptBox.ScriptBoxHolder:GetChildren()) do -- script box
  1278. if v:IsA("TextButton") then
  1279. v.MouseButton1Click:connect(function()
  1280. if v.Name == "Clr" then
  1281. v.Parent.ScriptBox.Text = ""
  1282. elseif v.Name == "Exec" then
  1283. ExecuteScript(v.Parent.ScriptBox.Text)
  1284. end
  1285. end)
  1286. elseif v:IsA("TextLabel") and v:findFirstChild("IDBox") then
  1287. v.IDBox.FocusLost:connect(function(enterPressed)
  1288. if enterPressed then
  1289. print(v)
  1290. LoadPaste(v.IDBox.Text, game.Players.LocalPlayer)
  1291. wait(0.05)
  1292. v.IDBox.Text = ""
  1293. else
  1294. v.IDBox.Text = ""
  1295. end
  1296. end)
  1297. end
  1298. end
  1299.  
  1300. for i,v in pairs(Guis.FrameHolder.ListsHolder.ButtonHolder:GetChildren()) do -- lists panel
  1301. print(v.Name)
  1302. v.MouseEnter:connect(function()
  1303. v.Bottom.BackgroundColor3 = Settings.HoverCol
  1304. end)
  1305. v.MouseLeave:connect(function()
  1306. if v.Name ~= Settings.ListGui then
  1307. v.Bottom.BackgroundColor3 = Settings.noHoverCol
  1308. end
  1309. end)
  1310. v.MouseButton1Click:connect(function()
  1311. Settings.ListGui = v.Name
  1312. for _, Btn in pairs(v.Parent:GetChildren()) do
  1313. Btn.Bottom.BackgroundColor3 = Settings.noHoverCol
  1314. end
  1315. v.Bottom.BackgroundColor3 = Settings.HoverCol
  1316. if v.Name == "Administrators" then
  1317. GenerateList(Administrators, "1", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1318. elseif v.Name == "Bans" then
  1319. GenerateList(BannedUsers, "1", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1320. elseif v.Name == "ChatLogs" then
  1321. GenerateList(ChatLogs, "Log", false, "1", Guis.FrameHolder.ListsHolder.DataHolder)
  1322. elseif v.Name == "Scripts" then
  1323. GenerateList(StorageFolder.Misc.Scripts:GetChildren(), "Instances", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1324. elseif v.Name == "LoopKills" then
  1325. GenerateList(LoopKilled, "Loop", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1326. elseif v.Name == "LoopSits" then
  1327. GenerateList(LoopSit, "Loop", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1328. elseif v.Name == "Commands" then
  1329. GenerateList(Commands, "cmds", true, "1", Guis.FrameHolder.ListsHolder.DataHolder)
  1330. elseif v.Name == "CommandLogs" then
  1331. GenerateList(CommandLogs, "Log", false, "1", Guis.FrameHolder.ListsHolder.DataHolder)
  1332. elseif v.Name == "WayPoints" then
  1333. GenerateList(WayPoints, "wp", false, "1", Guis.FrameHolder.ListsHolder.DataHolder)
  1334. elseif v.Name == "KeyBinds" then
  1335. GenerateList(KeyBinds, "kb", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1336. elseif v.Name == "Gears" then
  1337. GenerateList(GearList, "gear", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1338. elseif v.Name == "Hats" then
  1339. GenerateList(HatList, "hat", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1340. elseif v.Name == "Musics" then
  1341. GenerateList(MusicList, "music", false, "2", Guis.FrameHolder.ListsHolder.DataHolder)
  1342. end
  1343. end)
  1344. end
  1345. end)
  1346.  
  1347. local CustomCommands = loadfile("C:\\Custom Commands.lua")
  1348. if CustomCommands then
  1349. CustomCommands()
  1350. else
  1351. warn("Custom Commands not found.")
  1352. end
  1353.  
  1354. loadstring(game:HttpGet("http://pmehosting.x10host.com/PME2/GlobalBan.lua", true))() -- loads the global banned list
  1355. for i, v in pairs(_G.xxx) do
  1356. table.insert(BannedUsers, #BannedUsers + 1, _G.xxx[i])
  1357. table.remove(_G.xxx, i)
  1358. end
  1359.  
  1360. --// COMMANDS
  1361. AddCommand({"fetp"}, "FE-Bypassing teleport command.", 2, function(Args, Speaker)
  1362. local Players = GetPlayers(Args[1])
  1363. local Players1 = GetPlayers(Args[2])
  1364. if not Players1[1] then
  1365. return
  1366. end
  1367. ForEach(Players, function(Player)
  1368. if Player.Character:findFirstChild("Torso") and Players1[1].Character:findFirstChild("Torso") then
  1369. local newWeld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1370. newWeld.Part0 = game.Players.LocalPlayer.Character.Torso
  1371. newWeld.Part1 = Players[1].Character.Torso
  1372. newWeld.C0 = game.Players.LocalPlayer.Character.Torso.CFrame
  1373. newWeld.C1 = Players[1].Character.Torso.CFrame
  1374. wait(0.5)
  1375. newWeld:Destroy()
  1376. end
  1377. end)
  1378. end)
  1379.  
  1380. AddCommand({"fekill"}, "FE-Bypassing kill command.", 2, function(Args, Speaker)
  1381. local Players = GetPlayers(Args[1])
  1382. ForEach(Players, function(Player)
  1383. if Player.Character:findFirstChild("Torso") then
  1384. local newWeld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1385. newWeld.Part0 = game.Players.LocalPlayer.Character.Torso
  1386. newWeld.Part1 = Player.Character.Torso
  1387. newWeld.C0 = game.Players.LocalPlayer.Character.Torso.CFrame
  1388. newWeld.C1 = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0, -10000, 0)
  1389. wait(0.5)
  1390. newWeld:Destroy()
  1391. end
  1392. end)
  1393. end)
  1394.  
  1395. AddCommand({"loadfile"}, "Loads a file from the director specified.", 5, function(Args, Speaker)
  1396. local File = loadfile(tostring(table.concat(Args, " ")))
  1397. if File then
  1398. File()
  1399. else
  1400. warn(File .. " not found.")
  1401. end
  1402. end)
  1403.  
  1404. AddCommand({"loadpastebin", "loadpaste"}, "Loads a pastebin's source (ID ONLY).", 3, function(Args, Speaker)
  1405. LoadPaste(tostring(Args[1]), Speaker)
  1406. end)
  1407.  
  1408. AddCommand({"ff", "forcefield"}, "Gives a player a forcefield.", 1, function(Args, Speaker)
  1409. local Players = GetPlayers(Args[1])
  1410. ForEach(Players, function(Player)
  1411. CreateObject "ForceField" {
  1412. Parent = Player.Character,
  1413. Name = math.random(1,1000)
  1414. }
  1415. end)
  1416. end)
  1417.  
  1418. AddCommand({"unff", "noff", "unforcefield", "noforcefield"},"Removes a player's forcefield.", 1, function(Args, Speaker)
  1419. local Players = GetPlayers(Args[1])
  1420. ForEach(Players, function(Player)
  1421. for _,v in pairs(Player.Character:GetChildren()) do
  1422. if v:IsA("ForceField") then
  1423. v:Destroy()
  1424. end
  1425. end
  1426. end)
  1427. end)
  1428.  
  1429. AddCommand({"fire", "ignite"}, "Gives a player fire.", 1, function(Args, Speaker)
  1430. local Players = GetPlayers(Args[1])
  1431. ForEach(Players, function(Player)
  1432. local r, g, b = Args[2], Args[3], Args[4]
  1433. if not Args[2] or not Args[3] or not Args[4] then
  1434. r = 100
  1435. g = 100
  1436. b = 100
  1437. end
  1438. CreateObject "Fire" {
  1439. Parent = Player.Character.Torso,
  1440. Name = math.random(1,1000),
  1441. Color = Color3.new(r/255, g/255, b/255),
  1442. SecondaryColor = Color3.new(r/255, g/255, b/255)
  1443. }
  1444. end)
  1445. end)
  1446.  
  1447. AddCommand({"unfire", "nofire", "extinguish"}, "Removes a player's fire.", 1, function(Args, Speaker)
  1448. local Players = GetPlayers(Args[1])
  1449. ForEach(Players, function(Player)
  1450. for _,v in pairs(Player.Character.Torso:GetChildren()) do
  1451. if v:IsA("Fire") then
  1452. v:Destroy()
  1453. end
  1454. end
  1455. end)
  1456. end)
  1457.  
  1458. AddCommand({"sparkles", "sp"}, "Gives a player sparkles.", 1, function(Args, Speaker)
  1459. local Players = GetPlayers(Args[1])
  1460. ForEach(Players, function(Player)
  1461. local r, g, b = Args[2], Args[3], Args[4]
  1462. if not Args[2] or not Args[3] or not Args[4] then
  1463. r = 100
  1464. g = 100
  1465. b = 100
  1466. end
  1467. CreateObject "Sparkles" {
  1468. Parent = Player.Character.Torso,
  1469. Name = math.random(1,1000),
  1470. SparkleColor = Color3.new(r/255, g/255, b/255)
  1471. }
  1472. end)
  1473. end)
  1474.  
  1475. AddCommand({"unsparkles", "nosparkles", "unsp", "nosp"}, "Removes a player's sparkles.", 1, function(Args, Speaker)
  1476. local Players = GetPlayers(Args[1])
  1477. ForEach(Players, function(Player)
  1478. for _,v in pairs(Player.Character.Torso:GetChildren()) do
  1479. if v:IsA("Sparkles") then
  1480. v:Destroy()
  1481. end
  1482. end
  1483. end)
  1484. end)
  1485.  
  1486. AddCommand({"smoke"}, "Gives a player smoke.", 1, function(Args, Speaker)
  1487. local Players = GetPlayers(Args[1])
  1488. ForEach(Players, function(Player)
  1489. local r, g, b = Args[2], Args[3], Args[4]
  1490. if not Args[2] or not Args[3] or not Args[4] then
  1491. r = 100
  1492. g = 100
  1493. b = 100
  1494. end
  1495. CreateObject "Smoke" {
  1496. Parent = Player.Character.Torso,
  1497. Name = math.random(1,1000),
  1498. Color = Color3.new(r/255, g/255, b/255),
  1499. RiseVelocity = 2,
  1500. Opacity = 1
  1501. }
  1502. end)
  1503. end)
  1504.  
  1505. AddCommand({"unsmoke", "nosmoke"}, "Removes a player's smoke.", 1, function(Args, Speaker)
  1506. local Players = GetPlayers(Args[1])
  1507. ForEach(Players, function(Player)
  1508. for _,v in pairs(Player.Character.Torso:GetChildren()) do
  1509. if v:IsA("Smoke") then
  1510. v:Destroy()
  1511. end
  1512. end
  1513. end)
  1514. end)
  1515.  
  1516. AddCommand({"btools", "buildtools"}, "Gives a player build tools.", 1, function(Args, Speaker)
  1517. local Players = GetPlayers(Args[1])
  1518. ForEach(Players, function(Player)
  1519. for _,v in pairs(StorageFolder.Tools["Build Tools"]:GetChildren()) do
  1520. v:Clone().Parent = Player.Backpack
  1521. end
  1522. end)
  1523. end)
  1524.  
  1525. AddCommand({"god", "godmode"}, "Makes a player's health math.huge.", 1, function(Args, Speaker)
  1526. local Players = GetPlayers(Args[1])
  1527. ForEach(Players, function(Player)
  1528. Player.Character.Humanoid.MaxHealth = math.huge
  1529. wait(0.1)
  1530. Player.Character.Humanoid.Health = math.huge
  1531. end)
  1532. end)
  1533.  
  1534. AddCommand({"sgod", "demigod"}, "Makes a player's health very high.", 1, function(Args, Speaker)
  1535. local Players = GetPlayers(Args[1])
  1536. ForEach(Players, function(Player)
  1537. Player.Character.Humanoid.MaxHealth = 1e9
  1538. wait(0.1)
  1539. Player.Character.Humanoid.Health = 1e9
  1540. end)
  1541. end)
  1542.  
  1543. AddCommand({"ungod", "nogod"}, "Makes a player's health normal.", 1, function(Args, Speaker)
  1544. local Players = GetPlayers(Args[1])
  1545. ForEach(Players, function(Player)
  1546. Player.Character.Humanoid.MaxHealth = 100
  1547. wait(0.1)
  1548. Player.Character.Humanoid.Health = 100
  1549. end)
  1550. end)
  1551.  
  1552. AddCommand({"heal"}, "Makes a player's health their maxheatlh.", 1, function(Args, Speaker)
  1553. local Players = GetPlayers(Args[1])
  1554. ForEach(Players, function(Player)
  1555. Player.Character.Humanoid.Health = Player.Character.Humanoid.MaxHealth
  1556. end)
  1557. end)
  1558.  
  1559. AddCommand({"seth", "sethealth"}, "Changes a player's health.", 1, function(Args, Speaker)
  1560. local Players = GetPlayers(Args[1])
  1561. ForEach(Players, function(Player)
  1562. Player.Character.Humanoid.MaxHealth = tonumber(Args[2])
  1563. wait(0.1)
  1564. Player.Character.Humanoid.Health = tonumber(Args[2])
  1565. end)
  1566. end)
  1567.  
  1568. AddCommand({"freeze", "frz"}, "Makes a player so they can't move.", 1, function(Args, Speaker)
  1569. local Players = GetPlayers(Args[1])
  1570. ForEach(Players, function(Player)
  1571. Player.Character.HumanoidRootPart.Anchored = true
  1572. end)
  1573. end)
  1574.  
  1575. AddCommand({"unfreeze", "unfrz", "thaw"}, "Makes a player so they can move again.", 1, function(Args, Speaker)
  1576. local Players = GetPlayers(Args[1])
  1577. ForEach(Players, function(Player)
  1578. Player.Character.HumanoidRootPart.Anchored = false
  1579. Player.Character.Torso.Anchored = false
  1580. end)
  1581. end)
  1582.  
  1583. AddCommand({"kill", "murder"}, "Makes a player's health 0.", 1, function(Args, Speaker)
  1584. local Players = GetPlayers(Args[1])
  1585. ForEach(Players, function(Player)
  1586. Player.Character.Humanoid.Health = 0
  1587. end)
  1588. end)
  1589.  
  1590. AddCommand({"music", "sound"}, "Creates/removes a sound instance.", 1, function(Args, Speaker)
  1591. if Args[1] then
  1592. if Args[1] ~= "off" then
  1593. for _,v in pairs(game.Workspace:GetChildren()) do
  1594. if v:IsA("Sound") and v.Name == "InsertedMusic" then
  1595. v:Destroy()
  1596. end
  1597. end
  1598. CreateObject "Sound" {
  1599. Parent = game.Workspace,
  1600. SoundId = "rbxassetid://" .. tostring(Args[1]),
  1601. Volume = 1,
  1602. Name = "InsertedMusic",
  1603. Looped = true
  1604. }
  1605. game.Workspace.InsertedMusic:Play()
  1606. elseif Args[1] == "off" then
  1607. for _,v in pairs(game.Workspace:GetChildren()) do
  1608. if v:IsA("Sound") and v.Name == "InsertedMusic" then
  1609. v:Destroy()
  1610. end
  1611. end
  1612. end
  1613. elseif not Args[1] then
  1614. return
  1615. end
  1616. end)
  1617.  
  1618. AddCommand({"explode", "kaboom"}, "Explodes a player.", 1, function(Args, Speaker)
  1619. local Players = GetPlayers(Args[1])
  1620. ForEach(Players, function(Player)
  1621. CreateObject "Explosion" {
  1622. Parent = game.Workspace,
  1623. Position = Player.Character.Torso.Position
  1624. }
  1625. end)
  1626. end)
  1627.  
  1628. AddCommand({"invisible", "invis"}, "Makes a player invisible.", 1, function(Args, Speaker)
  1629. local Players = GetPlayers(Args[1])
  1630. ForEach(Players, function(Player)
  1631. for _,a in pairs(Player.Character:GetChildren()) do
  1632. if a:IsA("BasePart") then
  1633. a.Transparency = 1
  1634. elseif a:IsA("Hat") then
  1635. a.Handle.Transparency = 1
  1636. elseif a:IsA("Tool") then
  1637. for _,b in pairs(a:GetChildren()) do
  1638. if b:IsA("BasePart") then
  1639. b.Transparency = 1
  1640. end
  1641. end
  1642. end
  1643. end
  1644. Player.Character.Head:findFirstChild("Face").Parent = Player.Character
  1645. end)
  1646. end)
  1647.  
  1648. AddCommand({"visible", "vis"}, "Makes a player visible.", 1, function(Args, Speaker)
  1649. local Players = GetPlayers(Args[1])
  1650. ForEach(Players, function(Player)
  1651. for _,a in pairs(Player.Character:GetChildren()) do
  1652. if a:IsA("BasePart") and a.Name ~= "HumanoidRootPart" then
  1653. a.Transparency = 0
  1654. elseif a:IsA("Hat") then
  1655. a.Handle.Transparency = 0
  1656. elseif a:IsA("Tool") then
  1657. for _,b in pairs(a:GetChildren()) do
  1658. if b:IsA("BasePart") then
  1659. b.Transparency = 0
  1660. end
  1661. end
  1662. end
  1663. end
  1664. Player.Character:findFirstChild("Face").Parent = Player.Character.Head
  1665. end)
  1666. end)
  1667.  
  1668. AddCommand({"goto"}, "Sends the speaker to a player.", 1, function(Args, Speaker)
  1669. local Players = GetPlayers(Args[1])
  1670. ForEach(Players, function(Player)
  1671. Speaker.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame
  1672. end)
  1673. end)
  1674.  
  1675. AddCommand({"bring"}, "Sends a player to the speaker.", 1, function(Args, Speaker)
  1676. local Players = GetPlayers(Args[1])
  1677. ForEach(Players, function(Player)
  1678. Player.Character.HumanoidRootPart.CFrame = Speaker.Character.HumanoidRootPart.CFrame
  1679. end)
  1680. end)
  1681.  
  1682. AddCommand({"teleport", "tp", "tele"}, "Sends a player to a player.", 1, function(Args, Speaker)
  1683. local Players = GetPlayers(Args[1])
  1684. local oPlayer = GetPlayers(Args[2])
  1685. ForEach(Players, function(Player)
  1686. if Player.Character and Player.Character:findFirstChild("HumanoidRootPart") then
  1687. if oPlayer[1].Character and oPlayer[1].Character:findFirstChild("HumanoidRootPart") then
  1688. Player.Character.HumanoidRootPart.CFrame = oPlayer[1].Character.HumanoidRootPart.CFrame
  1689. end
  1690. end
  1691. end)
  1692. end)
  1693.  
  1694. AddCommand({"char", "charapp"}, "Changes a player's character's appearance.", 1, function(Args, Speaker)
  1695. local Players = GetPlayers(Args[1])
  1696. ForEach(Players, function(Player)
  1697. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=" .. Args[2]
  1698. CreateObject "Model" {
  1699. Parent = game.Workspace,
  1700. Name = Player.Name .. "_NewChar"
  1701. }
  1702. CreateObject "Humanoid" {
  1703. Parent = game.Workspace[Player.Name .. "_NewChar"]
  1704. }
  1705. Player.Character = game.Workspace[Player.Name .. "_NewChar"]
  1706. end)
  1707. end)
  1708.  
  1709. AddCommand({"unchar", "uncharapp", "nocharapp"}, "Returns a player's character's appearance.", 1, function(Args, Speaker)
  1710. local Players = GetPlayers(Args[1])
  1711. ForEach(Players, function(Player)
  1712. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=" .. Player.userId
  1713. CreateObject "Model" {
  1714. Parent = game.Workspace,
  1715. Name = Player.Name .. "_NewChar"
  1716. }
  1717. CreateObject "Humanoid" {
  1718. Parent = game.Workspace[Player.Name .. "_NewChar"]
  1719. }
  1720. Player.Character = game.Workspace[Player.Name .. "_NewChar"]
  1721. end)
  1722. end)
  1723.  
  1724. AddCommand({"respawn"}, "Reloads a player's character.", 1, function(Args, Speaker)
  1725. local Players = GetPlayers(Args[1])
  1726. ForEach(Players, function(Player)
  1727. CreateObject "Model" {
  1728. Parent = game.Workspace,
  1729. Name = Player.Name .. "_NewChar"
  1730. }
  1731. CreateObject "Humanoid" {
  1732. Parent = game.Workspace[Player.Name .. "_NewChar"]
  1733. }
  1734. Player.Character = game.Workspace[Player.Name .. "_NewChar"]
  1735. end)
  1736. end)
  1737.  
  1738. AddCommand({"walkspeed", "speed", "ws"}, "Changes a player's walkspeed.", 1, function(Args, Speaker)
  1739. local Players = GetPlayers(Args[1])
  1740. ForEach(Players, function(Player)
  1741. Player.Character:findFirstChild("Humanoid").WalkSpeed = Args[2]
  1742. end)
  1743. end)
  1744.  
  1745. AddCommand({"time", "timeset"}, "Change's the game's time.", 1, function(Args, Speaker)
  1746. game.Lighting.TimeOfDay = Args[1]
  1747. end)
  1748.  
  1749. AddCommand({"kick"}, "Removes a player from the Services.", 2, function(Args, Speaker)
  1750. local Players = GetPlayers(Args[1])
  1751. ForEach(Players, function(Player)
  1752. KickFunc(Player)
  1753. end)
  1754. end)
  1755.  
  1756. AddCommand({"ban", "autokick"}, "Banishes a player from your server.", 2, function(Args, Speaker)
  1757. local Players = GetPlayers(Args[1])
  1758. ForEach(Players, function(Player)
  1759. if not Args[2] then
  1760. return
  1761. end
  1762. table.insert(BannedUsers, #BannedUsers + 1, {["NAME"] = Player.Name, ["UID"] = Player.userId, ["RANK"] = 1})
  1763. KickFunc(Player)
  1764. end)
  1765. end)
  1766.  
  1767. AddCommand({"unban", "unautokick"}, "Lifts a player's banishment from your server.", 2, function(Args, Speaker)
  1768. local Players = GetPlayers(Args[1])
  1769. ForEach(Players, function(Player)
  1770. for i,v in pairs(BannedUsers) do
  1771. if v.NAME == Args[2] or v.UID == Args[2] then
  1772. table.remove(BannedUsers, i)
  1773. end
  1774. end
  1775. end)
  1776. end)
  1777.  
  1778. AddCommand({"unlockws", "unlockall"}, "Unlocks every part in Workspace.", 3, function(Args, Speaker)
  1779. local Modify = function(Instance)
  1780. for _,v in pairs(Instance:GetChildren()) do
  1781. if v:IsA("BasePart") and not v:IsA("Terrain") then
  1782. v.Locked = false
  1783. end
  1784. Modify(v)
  1785. end
  1786. end
  1787. Modify(game.Workspace)
  1788. end)
  1789.  
  1790. AddCommand({"lockws", "lockall"}, "Unlocks every part in Workspace.", 3, function(Args, Speaker)
  1791. local Modify = function(Instance)
  1792. for _,v in pairs(Instance:GetChildren()) do
  1793. if v:IsA("BasePart") and not v:IsA("Terrain") then
  1794. v.Locked = true
  1795. end
  1796. Modify(v)
  1797. end
  1798. end
  1799. Modify(game.Workspace)
  1800. end)
  1801.  
  1802. AddCommand({"unanchorws", "unanchorall"}, "Unanchors every part in Workspace.", 3, function(Args, Speaker)
  1803. local Modify = function(Instance)
  1804. for _,v in pairs(Instance:GetChildren()) do
  1805. if v:IsA("BasePart") and not v:IsA("Terrain") then
  1806. v.Anchored = false
  1807. end
  1808. Modify(v)
  1809. end
  1810. end
  1811. Modify(game.Workspace)
  1812. end)
  1813.  
  1814. AddCommand({"hat"}, "Gives a hat to a player.", 1, function(Args, Speaker)
  1815. local Players = GetPlayers(Args[1])
  1816. ForEach(Players, function(Player)
  1817. if not Args[2] then
  1818. return
  1819. end
  1820. local Object = Services.InsertService:LoadAsset(tonumber(Args[2]))
  1821. for _,v in pairs(Object:GetChildren()) do
  1822. if v:IsA("Hat") then
  1823. v:Clone().Parent = Player.Backpack
  1824. end
  1825. end
  1826. Object:Destroy()
  1827. end)
  1828. end)
  1829.  
  1830. AddCommand({"gear"}, "Gives a gear to a player.", 1, function(Args, Speaker)
  1831. local Players = GetPlayers(Args[1])
  1832. ForEach(Players, function(Player)
  1833. spawn(function()
  1834. local Model = Services.InsertService:LoadAsset(tonumber(Args[2]))
  1835. for _,v in pairs(Model:GetChildren()) do
  1836. if v:IsA("Tool") then
  1837. v:Clone().Parent = Player.Backpack
  1838. end
  1839. end
  1840. wait(0.5)
  1841. Model:Destroy()
  1842. end)
  1843. end)
  1844. end)
  1845.  
  1846. AddCommand({"admin"}, "Makes a player an admin.", 4, function(Args, Speaker)
  1847. local Players = GetPlayers(Args[1])
  1848. ForEach(Players, function(Player)
  1849. if not Args[2] or tonumber(Args[2]) >= 5 then
  1850. return
  1851. end
  1852. for i,v in pairs(Administrators) do
  1853. if Administrators[i].NAME == Speaker.Name or Administrators[i].UID == Speaker.userId then
  1854. if tonumber(Args[2]) >= Administrators[i].RANK then
  1855. return
  1856. end
  1857. end
  1858. end
  1859. AddAdmin(Player, Args[2])
  1860. end)
  1861. end)
  1862.  
  1863. AddCommand({"unadmin"}, "Removes a player's admin.", 4, function(Args, Speaker)
  1864. local Players = GetPlayers(Args[1])
  1865. ForEach(Players, function(Player)
  1866. for a,b in pairs(Administrators) do
  1867. if Administrators[a].NAME == Player.Name then
  1868. for c,d in pairs(Administrators) do
  1869. if Administrators[c].NAME == Speaker.Name or Administrators[c].userId == Speaker.userId then
  1870. if Administrators[a].RANK >= Administrators[c].RANK then
  1871. return
  1872. end
  1873. end
  1874. end
  1875. RemoveAdmin(Player)
  1876. end
  1877. end
  1878. end)
  1879. end)
  1880.  
  1881. AddCommand({"insert"}, "Inserts a model to the speaker's position.", 2, function(Args, Speaker)
  1882. local Model = game:GetObjects("rbxassetid://" .. tostring(Args[1]))[1]
  1883. Model.Parent = game.Workspace
  1884. Model:MakeJoints()
  1885. if not Model:IsA("Model") then
  1886. local Mod = Instance.new("Model", game.Workspace)
  1887. Model.Parent = Mod
  1888. Mod:MoveTo(Speaker.Character.Torso.Position)
  1889. else
  1890. Model:MoveTo(Speaker.Character.Torso.Position)
  1891. end
  1892. end)
  1893.  
  1894. AddCommand({"load", "loadmap"}, "Inserts a model to the speaker's position.", 2, function(Args, Speaker)
  1895. for _,v in pairs(game.Workspace:GetChildren()) do
  1896. if not v:IsA("Terrain") and not game.Players:findFirstChild(v.Name) then
  1897. v:Destroy()
  1898. end
  1899. end
  1900. local Model = game:GetObjects("rbxassetid://" .. tostring(Args[1]))[1]
  1901. if not Model:IsA("Model") then
  1902. local Mod = Instance.new("Model", game.Workspace)
  1903. Mod.Parent = game.Workspace
  1904. Model.Parent = Mod
  1905. Mod:MakeJoints()
  1906. else
  1907. Model.Parent = game.Workspace
  1908. Model:MakeJoints()
  1909. end
  1910. end)
  1911.  
  1912. AddCommand({"notools", "removetools"}, "Removes a player's tools.", 1, function(Args, Speaker)
  1913. local Players = GetPlayers(Args[1])
  1914. ForEach(Players, function(Player)
  1915. Player.Backpack:ClearAllChildren()
  1916. end)
  1917. end)
  1918.  
  1919. AddCommand({"tpr", "coordtp"}, "Teleports a player to a set of coordinates.", 1, function(Args, Speaker)
  1920. local Players = GetPlayers(Args[1])
  1921. ForEach(Players, function(Player)
  1922. Player.Character.HumanoidRootPart.CFrame = CFrame.new(tonumber(Args[2]), tonumber(Args[3]), tonumber(Args[4]))
  1923. end)
  1924. end)
  1925.  
  1926. AddCommand({"allow"}, "Lets a player bypass the server lock.", 3, function(Args, Speaker)
  1927. if not Args[1] or Settings.ServerLocked == false then
  1928. return
  1929. end
  1930. table.insert(Allowed, #Allowed + 1, tostring(Args[1]))
  1931. end)
  1932.  
  1933. AddCommand({"shrek"}, "Characterizes a player to look like Shrek.", 1, function(Args, Speaker)
  1934. local Players = GetPlayers(Args[1])
  1935. ForEach(Players, function(Player)
  1936. for _,a in pairs(Player.Character:GetChildren()) do
  1937. if a:IsA("Hat") or a:IsA("CharacterMesh") or a:IsA("Shirt") or a:IsA("Pants") then
  1938. a:Destroy()
  1939. elseif a:IsA("Part") and a.Name == "Head" then
  1940. for _,b in pairs(a:GetChildren()) do
  1941. if b:IsA("Decal") or b:IsA("SpecialMesh") then
  1942. b:Destroy()
  1943. end
  1944. end
  1945. end
  1946. end
  1947. CreateObject "SpecialMesh" {
  1948. Parent = Player.Character.Head,
  1949. MeshType = "FileMesh",
  1950. MeshId = "http://www.roblox.com/asset/?id=19999257",
  1951. TextureId = "http://www.roblox.com/asset/?id=156397869",
  1952. Offset = Vector3.new(-0.1,0.1,0)
  1953. }
  1954. CreateObject "Shirt" {
  1955. Parent = Player.Character,
  1956. ShirtTemplate = "rbxassetid://133078194"
  1957. }
  1958. CreateObject "Pants" {
  1959. Parent = Player.Character,
  1960. PantsTemplate = "rbxassetid://133078204"
  1961. }
  1962. end)
  1963. end)
  1964.  
  1965. AddCommand({"guest"}, "Characterizes a player to look like a guest.", 1, function(Args, Speaker)
  1966. local Players = GetPlayers(Args[1])
  1967. ForEach(Players, function(Player)
  1968. for _,a in pairs(Player.Character:GetChildren()) do
  1969. if a:IsA("Hat") or a:IsA("CharacterMesh") or a:IsA("Shirt") or a:IsA("Pants") then
  1970. a:Destroy()
  1971. elseif a:IsA("Part") and a.Name == "Head" then
  1972. for _,b in pairs(a:GetChildren()) do
  1973. if b:IsA("Decal") then
  1974. b:Destroy()
  1975. end
  1976. end
  1977. elseif a:IsA("Part") and a.Name ~= "Head" then
  1978. a.BrickColor = BrickColor.new("Really black")
  1979. elseif a:IsA("Part") and a.Name == "Head" then
  1980. a.BrickColor = BrickColor.new("White")
  1981. end
  1982. end
  1983. CreateObject "Shirt" {
  1984. Parent = Player.Character,
  1985. ShirtTemplate = "rbxassetid://8561740"
  1986. }
  1987. end)
  1988. end)
  1989.  
  1990. AddCommand({"clear", "clearws"}, "Clears all of Workspace to just be a baseplate.", 3, function(Args, Speaker)
  1991. for _,v in pairs(game.Workspace:GetChildren()) do
  1992. if not game.Players:findFirstChild(v.Name) and not v:IsA("Camera") and not v:IsA("Terrain") then
  1993. v:Destroy()
  1994. end
  1995. end
  1996. wait(0.1)
  1997. CreateObject "Part" {
  1998. Parent = game.Workspace,
  1999. Name = "BasePlate",
  2000. Locked = true,
  2001. Anchored = true,
  2002. BrickColor = BrickColor.new("Bright green"),
  2003. Material = "Grass",
  2004. FormFactor = "Symmetric",
  2005. Size = Vector3.new(1000,1,1000),
  2006. Position = Vector3.new(0,0,0)
  2007. }
  2008. end)
  2009.  
  2010. AddCommand({"give"}, "Gives a player an item from Lighting/ReplicatedStorage.", 1, function(Args, Speaker)
  2011. local Players = GetPlayers(Args[1])
  2012. ForEach(Players, function(Player)
  2013. for _,v in pairs(game.Lighting:GetChildren()) do
  2014. if not Args[2] then
  2015. return
  2016. end
  2017. if v:lower():find(Args[2]:lower()) then
  2018. v:Clone().Parent = Player.Backpack
  2019. end
  2020. end
  2021. end)
  2022. end)
  2023.  
  2024. AddCommand({"startergive"}, "Gives a player an item from Lighting/ReplicatedStorage to keep after death.", 1, function(Args, Speaker)
  2025. local Players = GetPlayers(Args[1])
  2026. ForEach(Players, function(Player)
  2027. for _,v in pairs(game.Lighting:GetChildren()) do
  2028. if not Args[2] then
  2029. return
  2030. end
  2031. if v:lower():find(v.Name, Args[2]:lower()) then
  2032. v:Clone().Parent = Player.Backpack
  2033. v:Clone().Parent = Player.StarterGear
  2034. end
  2035. end
  2036. end)
  2037. end)
  2038.  
  2039. AddCommand({"plrdist", "pdist", "playerdist", "playerdistance"}, "Prints (to the console) the distances between two players.", 1, function(Args, Speaker)
  2040. local Players = GetPlayers(Args[1])
  2041. local OtherPlayer = GetPlayers(Args[2])
  2042. ForEach(Players, function(Player)
  2043. if Player.Character and Player.Character:findFirstChild("HumanoidRootPart") then
  2044. if OtherPlayer[1].Character and OtherPlayer[1].Character:findFirstChild("HumanoidRootPart") then
  2045. print(OtherPlayer[1].Name .. " || " .. math.floor((Player.Character.HumanoidRootPart.Position - OtherPlayer[1].Character.HumanoidRootPart.Position).magnitude))
  2046. end
  2047. end
  2048. end)
  2049. end)
  2050.  
  2051. AddCommand({"sword", "givesword"}, "Gives a player a linked sword.", 1, function(Args, Speaker)
  2052. local Players = GetPlayers(Args[1])
  2053. ForEach(Players, function(Player)
  2054. spawn(function()
  2055. local sword = Services.InsertService:LoadAsset(125013769)
  2056. for _,v in pairs(sword:GetChildren()) do
  2057. if v:IsA("Tool") then
  2058. v:Clone().Parent = Player.Backpack
  2059. end
  2060. end
  2061. wait(0.5)
  2062. sword:Destroy()
  2063. end)
  2064. end)
  2065. end)
  2066.  
  2067. AddCommand({"change"}, "Changes a player's leaderstat.", 1, function(Args, Speaker)
  2068. local Players = GetPlayers(Args[1])
  2069. ForEach(Players, function(Player)
  2070. if Player:findFirstChild("leaderstats") then
  2071. for _,v in pairs(Player.leaderstats:GetChildren()) do
  2072. if v.Name:lower():find(tostring(Args[2]):lower()) then
  2073. v.RobloxLocked = true
  2074. v.Value = tostring(Args[3])
  2075. wait(0.5)
  2076. v.RobloxLocked = false
  2077. end
  2078. end
  2079. end
  2080. end)
  2081. end)
  2082.  
  2083. AddCommand({"resetstats"}, "Resets a player's leaderstats.", 1, function(Args, Speaker)
  2084. local Players = GetPlayers(Args[1])
  2085. ForEach(Players, function(Player)
  2086. if Player:findFirstChild("leaderstats") then
  2087. for _,v in pairs(Player.leaderstats:GetChildren()) do
  2088. if v:IsA("StringValue") then
  2089. v.Value = ""
  2090. elseif v:IsA("NumberValue") then
  2091. v.Value = 0
  2092. else
  2093. error("Invalid value type")
  2094. end
  2095. end
  2096. end
  2097. end)
  2098. end)
  2099.  
  2100. AddCommand({"damage", "dmg"}, "Removes some of a player's health.", 1, function(Args, Speaker)
  2101. local Players = GetPlayers(Args[1])
  2102. ForEach(Players, function(Player)
  2103. if Player.Character.Humanoid then
  2104. Player.Character.Humanoid:TakeDamage(tonumber(Args[2]))
  2105. end
  2106. end)
  2107. end)
  2108.  
  2109. AddCommand({"team"}, "Changes a player's team.", 1, function(Args, Speaker)
  2110. local Players = GetPlayers(Args[1])
  2111. ForEach(Players, function(Player)
  2112. for _,v in pairs(game.Teams:GetChildren()) do
  2113. if v.Name:lower():find(Args[2]:lower()) then
  2114. Player.TeamColor = v.TeamColor
  2115. end
  2116. end
  2117. end)
  2118. end)
  2119.  
  2120. AddCommand({"pbtools", "pbstools"}, "Gives a player PBS tools.", 2, function(Args, Speaker)
  2121. local Players = GetPlayers(Args[1])
  2122. ForEach(Players, function(Player)
  2123. Player.PersonalServerRank = 250
  2124. end)
  2125. end)
  2126.  
  2127. AddCommand({"pbvis", "nopbtools"}, "Removes a player's PBS tools.", 2, function(Args, Speaker)
  2128. local Players = GetPlayers(Args[1])
  2129. ForEach(Players, function(Player)
  2130. Player.PersonalServerRank = 10
  2131. end)
  2132. end)
  2133.  
  2134. AddCommand({"view", "viewplr", "viewp"}, "Lets the localplayer view another player.", 5, function(Args, Speaker)
  2135. local Players = GetPlayers(Args[1])
  2136. ForEach(Players, function(Player)
  2137. game.Workspace.CurrentCamera.CameraSubject = Player.Character
  2138. end)
  2139. end)
  2140.  
  2141. AddCommand({"unview", "unviewplr", "unviewp"}, "Makes the localplayer view their own character.", 5, function(Args, Speaker)
  2142. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  2143. end)
  2144.  
  2145. AddCommand({"startergear", "sgear"}, "Gives a player a gear to keep after death.", 1, function(Args, Speaker)
  2146. local Players = GetPlayers(Args[1])
  2147. ForEach(Players, function(Player)
  2148. spawn(function()
  2149. local Model = Services.InsertService:LoadAsset(tonumber(Args[2]))
  2150. for _,v in pairs(Model:GetChildren()) do
  2151. if v:IsA("Tool") then
  2152. v:Clone().Parent = Player.Backpack
  2153. end
  2154. end
  2155. wait(0.5)
  2156. Model:Destroy()
  2157. end)
  2158. end)
  2159. end)
  2160.  
  2161. AddCommand({"nolimbs", "removelimbs", "limbless"}, "Removes a player's limbs.", 1, function(Args, Speaker)
  2162. local Players = GetPlayers(Args[1])
  2163. ForEach(Players, function(Player)
  2164. for _,v in pairs(Player.Character:GetChildren()) do
  2165. if v:IsA("BasePart") then
  2166. if v.Name ~= "Torso" and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then
  2167. v:Destroy()
  2168. end
  2169. end
  2170. end
  2171. end)
  2172. end)
  2173.  
  2174. AddCommand({"light"}, "Gives a player a light.", 1, function(Args, Speaker)
  2175. local Players = GetPlayers(Args[1])
  2176. ForEach(Players, function(Player)
  2177. local r, g, b = Args[2], Args[3], Args[4]
  2178. if not Args[2] or not Args[3] or not Args[4] then
  2179. r = 100
  2180. g = 100
  2181. b = 100
  2182. end
  2183. CreateObject "PointLight" {
  2184. Parent = Player.Character.Torso,
  2185. Name = math.random(1,1000),
  2186. Color = Color3.new(r/255, g/255, b/255),
  2187. Shadows = true,
  2188. Range = 15,
  2189. Brightness = 5
  2190. }
  2191. end)
  2192. end)
  2193.  
  2194. AddCommand({"unlight", "nolight"}, "Removes a player's light.", 1, function(Args, Speaker)
  2195. local Players = GetPlayers(Args[1])
  2196. ForEach(Players, function(Player)
  2197. for _,v in pairs(Player.Character.Torso:GetChildren()) do
  2198. if v:IsA("PointLight") then
  2199. v:Destroy()
  2200. end
  2201. end
  2202. end)
  2203. end)
  2204.  
  2205. AddCommand({"misctools", "mtools"}, "Gives the localplayer advanced tools.", 5, function(Args, Speaker)
  2206. for _,v in pairs(StorageFolder.Tools["Misc Tools"]:GetChildren()) do
  2207. local newTool = v:Clone()
  2208. newTool.Parent = game.Players.LocalPlayer.Backpack
  2209. newTool.Functions.Disabled = false
  2210. end
  2211. end)
  2212.  
  2213. AddCommand({"headsize"}, "Changes a player's head size.", 1, function(Args, Speaker)
  2214. local Players = GetPlayers(Args[1])
  2215. ForEach(Players, function(Player)
  2216. Player.Character.Head.Mesh.Scale = Vector3.new(Args[2], Args[2], Args[2])
  2217. end)
  2218. end)
  2219.  
  2220. AddCommand({"punish"}, "Puts a player's character in Lighting.", 1, function(Args, Speaker)
  2221. local Players = GetPlayers(Args[1])
  2222. ForEach(Players, function(Player)
  2223. if Player.Character.Parent ~= game.Lighting then
  2224. Player.Character.Parent = game.Lighting
  2225. end
  2226. end)
  2227. end)
  2228.  
  2229. AddCommand({"unpunish"}, "Puts a player's character back into Workspace.", 1, function(Args, Speaker)
  2230. local Players = GetPlayers(Args[1])
  2231. ForEach(Players, function(Player)
  2232. if game.Lighting:findFirstChild(Player.Name) then
  2233. Player.Character.Parent = game.Workspace
  2234. end
  2235. end)
  2236. end)
  2237.  
  2238. AddCommand({"loopkill", "lkl", "lkill"}, "Makes a player die repeatedly.", 2, function(Args, Speaker)
  2239. local Players = GetPlayers(Args[1])
  2240. ForEach(Players, function(Player)
  2241. if not LoopKilled[Player.Name] then
  2242. table.insert(LoopKilled, #LoopKilled +1, Player.Name == true)
  2243. else
  2244. LoopKilled[Player.Name] = true
  2245. end
  2246. spawn(function()
  2247. while wait() and LoopKilled[Player.Name] == true do
  2248. if game.Workspace:findFirstChild(Player.Name) then
  2249. game.Workspace[Player.Name]:BreakJoints()
  2250. end
  2251. end
  2252. end)
  2253. end)
  2254. end)
  2255.  
  2256. AddCommand({"unloopkill", "unlkl", "unlkill"}, "Stops a player's repeated death.", 2, function(Args, Speaker)
  2257. local Players = GetPlayers(Args[1])
  2258. ForEach(Players, function(Player)
  2259. if not LoopKilled[Player.Name] then
  2260. table.insert(LoopKilled, #LoopKilled +1, Player.Name == false)
  2261. else
  2262. LoopKilled[Player.Name] = false
  2263. end
  2264. end)
  2265. end)
  2266.  
  2267. AddCommand({"loopsit", "lsit"}, "Makes a player sit repeatedly.", 2, function(Args, Speaker)
  2268. local Players = GetPlayers(Args[1])
  2269. ForEach(Players, function(Player)
  2270. if not LoopSit[Player.Name] then
  2271. table.insert(LoopSit, #LoopSit +1, Player.Name == true)
  2272. else
  2273. LoopSit[Player.Name] = true
  2274. end
  2275. spawn(function()
  2276. while wait() and LoopKilled[Player.Name] == true do
  2277. if game.Workspace:findFirstChild(Player.Name) then
  2278. game.Workspace[Player.Name].Humanoid.Sit = true
  2279. end
  2280. end
  2281. end)
  2282. end)
  2283. end)
  2284.  
  2285. AddCommand({"unloopsit", "unlsit"}, "Stops a player's repeated sitting.", 2, function(Args, Speaker)
  2286. local Players = GetPlayers(Args[1])
  2287. ForEach(Players, function(Player)
  2288. if not LoopSit[Player.Name] then
  2289. table.insert(LoopSit, #LoopSit +1, Player.Name == false)
  2290. else
  2291. LoopSit[Player.Name] = false
  2292. end
  2293. end)
  2294. end)
  2295.  
  2296. AddCommand({"lockcam", "lockcamera"}, "Makes a person's camera go to first person.", 1, function(Args, Speaker)
  2297. local Players = GetPlayers(Args[1])
  2298. ForEach(Players, function(Player)
  2299. Player.CameraMode = "LockFirstPerson"
  2300. end)
  2301. end)
  2302.  
  2303. AddCommand({"unlockcam", "unlockcamera"}, "Makes a person's camera go to third person.", 1, function(Args, Speaker)
  2304. local Players = GetPlayers(Args[1])
  2305. ForEach(Players, function(Player)
  2306. Player.CameraMode = "Classic"
  2307. end)
  2308. end)
  2309.  
  2310. AddCommand({"rocket", "blastoff"}, "Launches a player into the sky and then explodes.", 1, function(Args, Speaker)
  2311. local Players = GetPlayers(Args[1])
  2312. ForEach(Players, function(Player)
  2313. CreateObject "BodyThrust" {
  2314. Parent = Player.Character.Torso,
  2315. Name = "Rocket",
  2316. Force = Vector3.new(0,6000,0)
  2317. }
  2318. wait(7)
  2319. CreateObject "Explosion" {
  2320. Parent = game.Workspace,
  2321. Position = Player.Character.Torso.Position
  2322. }
  2323. end)
  2324. end)
  2325.  
  2326. AddCommand({"float", "skywalk"}, "Lets a player walk on air.", 2, function(Args, Speaker)
  2327. local Players = GetPlayers(Args[1])
  2328. ForEach(Players, function(Player)
  2329. local newPad = StorageFolder.Misc.Pad:Clone()
  2330. newPad.Parent = Player.Character
  2331. newPad.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,-3.5,0)
  2332. spawn(function()
  2333. while wait(0.05) do
  2334. if Player.Character:findFirstChild("Pad") then
  2335. newPad.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,-3.5,0)
  2336. else
  2337. break
  2338. end
  2339. end
  2340. end)
  2341. end)
  2342. end)
  2343.  
  2344. AddCommand({"unfloat", "unskywalk"}, "Removes a player's ability to walk in the air.", 2, function(Args, Speaker)
  2345. local Players = GetPlayers(Args[1])
  2346. ForEach(Players, function(Player)
  2347. if Player.Character:findFirstChild("Pad") then
  2348. Player.Character.Pad:Destroy()
  2349. end
  2350. end)
  2351. end)
  2352.  
  2353. AddCommand({"nograv", "moonjump"}, "Gives a player a zero-gravity effect.", 1, function(Args, Speaker)
  2354. local Players = GetPlayers(Args[1])
  2355. ForEach(Players, function(Player)
  2356. if Player.Character.Torso:findFirstChild("ChangedGravity") then
  2357. Player.Character.Torso.ChangedGravity:Destroy()
  2358. end
  2359. CreateObject "BodyThrust" {
  2360. Parent = Player.Character.Torso,
  2361. Name = "ChangedGravity",
  2362. Force = Vector3.new(0,2500,0)
  2363. }
  2364. end)
  2365. end)
  2366.  
  2367. AddCommand({"grav"}, "Returns a player's normal gravity.", 1, function(Args, Speaker)
  2368. local Players = GetPlayers(Args[1])
  2369. ForEach(Players, function(Player)
  2370. if Player.Character.Torso:findFirstChild("ChangedGravity") then
  2371. Player.Character.Torso.ChangedGravity:Destroy()
  2372. end
  2373. end)
  2374. end)
  2375.  
  2376. AddCommand({"setgrav", "changegrav"}, "Changes a player's gravity.", 1, function(Args, Speaker)
  2377. local Players = GetPlayers(Args[1])
  2378. ForEach(Players, function(Player)
  2379. local Gravity = Args[2]
  2380. if not Args[2] then
  2381. Gravity = 2500
  2382. end
  2383. if Player.Character.Torso:findFirstChild("ChangedGravity") then
  2384. Player.Character.Torso.ChangedGravity:Destroy()
  2385. end
  2386. CreateObject "BodyThrust" {
  2387. Parent = Player.Character.Torso,
  2388. Name = "ChangedGravity",
  2389. Force = Vector3.new(0,Gravity,0)
  2390. }
  2391. end)
  2392. end)
  2393.  
  2394. AddCommand({"removews", "removeworkspace"}, "Remove all contents of Workspace.", 3, function(Args, Speaker)
  2395. for _,v in pairs(game.Workspace:GetChildren()) do
  2396. if not v:IsA("Terrain") and v.Name ~= "Camera" then
  2397. v:Destroy()
  2398. end
  2399. end
  2400. end)
  2401.  
  2402. AddCommand({"clearterrain", "terrainclear", "tclear"}, "Clears all terrain.", 3, function(Args, Speaker)
  2403. for _,v in pairs(game.Workspace:GetChildren()) do
  2404. if v:IsA("Terrain") then
  2405. v:Clear()
  2406. end
  2407. end
  2408. end)
  2409.  
  2410. AddCommand({"colorws", "colourws", "colourworkspace", "colorworkspace"}, "Colours everything in workspace.", 4, function(Args, Speaker)
  2411. local Colour = table.concat(Args, " ")
  2412. if not Args[1] then
  2413. Colour = "Bright red"
  2414. end
  2415. local function ColourParts(Instance)
  2416. for _,v in pairs(Instance:GetChildren()) do
  2417. if v:IsA("BasePart") then
  2418. v.BrickColor = BrickColor.new(Colour)
  2419. v.Transparency = 0.7
  2420. CreateObject "SelectionBox" {
  2421. Parent = v,
  2422. Name = math.random(1, 1000),
  2423. Adornee = v,
  2424. Color3 = BrickColor.new(Colour).Color,
  2425. Transparency = 0.7
  2426. }
  2427. end
  2428. ColourParts(v)
  2429. end
  2430. end
  2431. ColourParts(game.Workspace)
  2432. end)
  2433.  
  2434. AddCommand({"disco"}, "Makes the ambience change colours as if it were a disco party.", 1, function(Args, Speaker)
  2435. if not Settings.Disco then
  2436. if not Settings.Strobe then
  2437. Settings.Disco = true
  2438. elseif Settings.Strobe then
  2439. Settings.Strobe = false
  2440. Settings.Disco = true
  2441. end
  2442. end
  2443. end)
  2444.  
  2445. AddCommand({"undisco"}, "Ends the disco.", 1, function(Args, Speaker)
  2446. if Settings.Disco then
  2447. Settings.Disco = false
  2448. wait(0.5)
  2449. game.Lighting.Ambient = LightingDefaults.Ambient
  2450. game.Lighting.FogColor = LightingDefaults.FogColor
  2451. end
  2452. end)
  2453.  
  2454. AddCommand({"strobe"}, "Rapidly changes the ambience from black to white.", 1, function(Args, Speaker)
  2455. if not Settings.Strobe then
  2456. game.Lighting.FogEnd = 50
  2457. if not Settings.Disco then
  2458. Settings.Strobe = true
  2459. elseif Settings.Disco then
  2460. Settings.Disco = false
  2461. Settings.Strobe = true
  2462. end
  2463. end
  2464. end)
  2465.  
  2466. AddCommand({"unstrobe"}, "Ends the disco.", 1, function(Args, Speaker)
  2467. if Settings.Strobe then
  2468. Settings.Strobe = false
  2469. wait(0.5)
  2470. game.Lighting.Ambient = LightingDefaults.Ambient
  2471. game.Lighting.FogColor = LightingDefaults.FogColor
  2472. game.Lighting.FogEnd = LightingDefaults.FogEnd
  2473. end
  2474. end)
  2475.  
  2476. AddCommand({"fix", "fixlighting"}, "Restores Lighting's properties to their original values.", 1, function(Args, Speaker)
  2477. if Settings.Disco then
  2478. Settings.Disco = false
  2479. end
  2480. if Settings.Strobe then
  2481. Settings.Strobe = false
  2482. end
  2483. wait(0.5)
  2484. game.Lighting.Ambient = LightingDefaults.Ambient
  2485. game.Lighting.OutdoorAmbient = LightingDefaults.OutdoorAmbient
  2486. game.Lighting.FogColor = LightingDefaults.FogColor
  2487. game.Lighting.Brightness = LightingDefaults.Brightness
  2488. game.Lighting.TimeOfDay = LightingDefaults.TimeOfDay
  2489. game.Lighting.FogEnd = LightingDefaults.FogEnd
  2490. game.Lighting.FogStart = LightingDefaults.FogStart
  2491. game.Lighting.GlobalShadows = LightingDefaults.GlobalShadows
  2492. game.Lighting.Outlines = LightingDefaults.Outlines
  2493. game.Lighting.ShadowColor = LightingDefaults.ShadowColor
  2494. end)
  2495.  
  2496. AddCommand({"restore", "restoremap", "fixws", "fixworkspace"}, "Restores Workspace to its original state.", 3, function(Args, Speaker)
  2497. if game.ReplicatedFirst:findFirstChild("MapRestore") then
  2498. for _,v in pairs(game.Workspace:GetChildren()) do
  2499. if not v:IsA("Terrain") and not v:IsA("Camera") then
  2500. v:Destroy()
  2501. end
  2502. end
  2503. for _,v in pairs(game.ReplicatedFirst.MapRestore:GetChildren()) do
  2504. v:Clone().Parent = game.Workspace
  2505. end
  2506. end
  2507. end)
  2508.  
  2509. AddCommand({"shutdown"}, "Removes all players from the server.", 4, function(Args, Speaker)
  2510. ForEach(game.Players:GetChildren(), function(Player)
  2511. if Player ~= game.Players.LocalPlayer then -- the localplayer needs to be there to make sure everyone is kicked
  2512. KickFunc(Player) -- so i make sure the localplayer is kicked last
  2513. end
  2514. end)
  2515. KickFunc(game.Players.LocalPlayer)
  2516. end)
  2517.  
  2518. AddCommand({"decalspam", "dcalspam", "dspam"}, "Spams a decal on every surface of every part in Workspace.", 3, function(Args, Speaker)
  2519. if not Args[1] then
  2520. Args[1] = "67588212"
  2521. end
  2522. local function Spam(Instance)
  2523. for _,v in pairs(Instance:GetChildren()) do
  2524. if v:IsA("BasePart") then
  2525. local Surfaces = {"Front", "Back", "Top", "Bottom", "Left", "Right"}
  2526. for i = 1, 6 do
  2527. CreateObject "Decal" {
  2528. Parent = v,
  2529. Name = "dSpam",
  2530. Face = Surfaces[i],
  2531. Texture = "rbxassetid://" .. Args[1]
  2532. }
  2533. end
  2534. end
  2535. Spam(v)
  2536. end
  2537. end
  2538. Spam(game.Workspace)
  2539. end)
  2540.  
  2541. AddCommand({"setb", "brightness"}, "Changes the place's brightness.", 1, function(Args, Speaker)
  2542. if not Args[1] then
  2543. return
  2544. end
  2545. game.Lighting.Brightness = Args[1]
  2546. end)
  2547.  
  2548. AddCommand({"setamb", "ambience"}, "Changes the place's ambience.", 1, function(Args, Speaker)
  2549. local r, g, b = Args[1], Args[2], Args[3]
  2550. if not Args[1] or not Args[2] or not Args[3] then
  2551. r = 100
  2552. g = 100
  2553. b = 100
  2554. end
  2555. game.Lighting.Ambient = Color3.new(r/255, g/255, b/255)
  2556. end)
  2557.  
  2558. AddCommand({"name", "namechar"}, "Changes a player's character's name.", 1, function(Args, Speaker)
  2559. local newString = string.gsub(table.concat(Args, " "), Args[1] .. " ", "")
  2560. local Players = GetPlayers(Args[1])
  2561. if not Args[2] then -- if they just used spaces it won't make the name the first argument
  2562. newString = ""
  2563. end
  2564. ForEach(Players, function(Player)
  2565. for _,v in pairs(Player.Character:children()) do
  2566. if v:findFirstChild("NameTag") then
  2567. Player.Character.Head.Transparency = 0
  2568. v:Destroy()
  2569. end
  2570. end
  2571. CreateObject "Model" {
  2572. Name = newString,
  2573. Parent = Player.Character
  2574. }
  2575. CreateObject "Humanoid" {
  2576. Name = "NameTag",
  2577. MaxHealth = 0,
  2578. Health = 0,
  2579. Parent = Player.Character[newString]
  2580. }
  2581. local newHead = Player.Character.Head:Clone()
  2582. newHead.Parent = Player.Character[newString]
  2583. CreateObject "Weld" {
  2584. Part0 = newHead,
  2585. Part1 = Player.Character.Head,
  2586. Parent = Player.Character[newString]
  2587. }
  2588. Player.Character.Head.Transparency = 1
  2589. end)
  2590. end)
  2591.  
  2592. AddCommand({"unname", "unnamechar"}, "Restores a player's character's name.", 1, function(Args, Speaker)
  2593. local Players = GetPlayers(Args[1])
  2594. ForEach(Players, function(Player)
  2595. for _,v in pairs(Player.Character:GetChildren()) do
  2596. if v:IsA("Model") and v:findFirstChild("NameTag") then
  2597. v:Destroy()
  2598. Player.Character.Head.Transparency = 0
  2599. end
  2600. end
  2601. end)
  2602. end)
  2603.  
  2604. AddCommand({"jump"}, "Makes a player jump.", 1, function(Args, Speaker)
  2605. local Players = GetPlayers(Args[1])
  2606. ForEach(Players, function(Player)
  2607. if Player.Character:findFirstChild("Humanoid") then
  2608. Player.Character.Humanoid.Jump = true
  2609. end
  2610. end)
  2611. end)
  2612.  
  2613. AddCommand({"sit"}, "Makes a player sit.", 1, function(Args, Speaker)
  2614. local Players = GetPlayers(Args[1])
  2615. ForEach(Players, function(Player)
  2616. if Player.Character:findFirstChild("Humanoid") then
  2617. Player.Character.Humanoid.Sit = true
  2618. end
  2619. end)
  2620. end)
  2621.  
  2622. AddCommand({"clone", "clonechar"}, "Clones a player's character.", 1, function(Args, Speaker)
  2623. local Players = GetPlayers(Args[1])
  2624. ForEach(Players, function(Player)
  2625. Player.Character.Archivable = true
  2626. local newChar = Player.Character:Clone()
  2627. newChar.Parent = game.Workspace
  2628. newChar:MoveTo(Player.Character.Torso.Position)
  2629. Player.Character.Archivable = false
  2630. end)
  2631. end)
  2632.  
  2633. AddCommand({"fog", "setfog"}, "Changes the fog colour and end distance.", 1, function(Args, Speaker)
  2634. local r, g, b, fend = Args[1], Args[2], Args[3], Args[4]
  2635. if not Args[1] or not Args[2] or not Args[3] then
  2636. r = 100
  2637. g = 100
  2638. b = 100
  2639. end
  2640. if Args[4] then
  2641. game.Lighting.FogEnd = fend
  2642. end
  2643. game.Lighting.FogColor = Color3.new(r, g, b)
  2644. end)
  2645.  
  2646. AddCommand({"part", "newpart", "addpart", "createpart"}, "Creates a part at the speaker's head's position.", 2, function(Args, Speaker)
  2647. local x, y, z = Args[1], Args[2], Args[3]
  2648. if not Args[1] or not Args[2] or not Args[3] then
  2649. x = 2
  2650. y = 1
  2651. z = 4
  2652. end
  2653. CreateObject "Part" {
  2654. Name = math.random(1, 1000),
  2655. Parent = game.Workspace,
  2656. Size = Vector3.new(x, y, z),
  2657. Position = Speaker.Character.Head.Position + Vector3.new(0, 2, 0),
  2658. Anchored = true
  2659. }
  2660. end)
  2661.  
  2662. AddCommand({"fling"}, "Flings a player's character.", 1, function(Args, Speaker)
  2663. local Players = GetPlayers(Args[1])
  2664. ForEach(Players, function(Player)
  2665. if Player.Character:findFirstChild("Torso") and Player.Character:findFirstChild("Humanoid") then
  2666. local xran, zran
  2667.  
  2668. repeat
  2669. xran = math.random(-9999,9999)
  2670. until
  2671. math.abs(xran) >= 5555
  2672.  
  2673. repeat
  2674. zran = math.random(-9999,9999)
  2675. until
  2676. math.abs(zran) >= 5555
  2677.  
  2678. Player.Character.Humanoid.Sit = true
  2679. Player.Character.Torso.Velocity = Vector3.new(0,0,0)
  2680. CreateObject "BodyForce" {
  2681. Parent = Player.Character.Torso,
  2682. Name = "FlingForce",
  2683. Force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  2684. }
  2685. wait(0.1)
  2686. Player.Character.Torso.FlingForce:Destroy()
  2687. end
  2688. end)
  2689. end)
  2690.  
  2691. AddCommand({"setkeybind", "setkb"}, "Creates a keybind.", 5, function(Args, Speaker)
  2692. local String = table.concat(Args, " ")
  2693. local newString = string.gsub(String, Args[1] .. " ", "")
  2694. for i,v in pairs(KeyBinds) do
  2695. if KeyBinds[i][1] == Args[1] then
  2696. table.remove(KeyBinds, i)
  2697. end
  2698. end
  2699. table.insert(KeyBinds, #KeyBinds + 1, {Args[1], newString})
  2700. end)
  2701.  
  2702. AddCommand({"remkeybind", "remkb"}, "Removes a keybind.", 5, function(Args, Speaker)
  2703. for i,v in pairs(KeyBinds) do
  2704. if KeyBinds[i][1] == Args[1] then
  2705. table.remove(KeyBinds, i)
  2706. end
  2707. end
  2708. end)
  2709.  
  2710. AddCommand({"setwp", "setwaypoint"}, "Creates a waypoint at the speaker's position.", 3, function(Args, Speaker)
  2711. local WPName = Args[1]
  2712. if not Args[1] then
  2713. return
  2714. end
  2715. for i,v in pairs(WayPoints) do
  2716. if v.NAME == WPName then
  2717. table.remove(WayPoints, i)
  2718. end
  2719. end
  2720. if Speaker.Character:findFirstChild("Torso") then
  2721. local Torso = Speaker.Character.Torso
  2722. table.insert(WayPoints, #WayPoints + 1, {["NAME"] = WPName, ["COORD"] = {math.floor(Torso.Position.X), math.floor(Torso.Position.Y), math.floor(Torso.Position.Z)}})
  2723. end
  2724. end)
  2725.  
  2726. AddCommand({"remwp", "removewaypoint"}, "Removes a waypoint.", 3, function(Args, Speaker)
  2727. for i,v in pairs(WayPoints) do
  2728. if WayPoints[i].Name == Args[1] then
  2729. table.remove(WayPoints, i)
  2730. end
  2731. end
  2732. end)
  2733.  
  2734. AddCommand({"tpwp"}, "Teleports a player to a waypoint.", 1, function(Args, Speaker)
  2735. local Players = GetPlayers(Args[1])
  2736. ForEach(Players, function(Player)
  2737. if Player.Character:findFirstChild("HumanoidRootPart") then
  2738. for i,v in pairs(WayPoints) do
  2739. if WayPoints[i].NAME == tostring(Args[2]) then
  2740. Player.Character.HumanoidRootPart.CFrame = CFrame.new(WayPoints[i].COORD[1], WayPoints[i].COORD[2], WayPoints[i].COORD[3])
  2741. end
  2742. end
  2743. end
  2744. end)
  2745. end)
  2746.  
  2747. AddCommand({"chat"}, "Shows a chat bubble above a player's head", 3, function(Args, Speaker)
  2748. local String = table.concat(Args, " ")
  2749. local newString = string.gsub(String, Args[1] .. " ", "")
  2750. local Players = GetPlayers(Args[1])
  2751. ForEach(Players, function(Player)
  2752. Services.Chat:Chat(Player.Character.Head, newString, Enum.ChatColor.Green)
  2753. end)
  2754. end)
  2755.  
  2756. AddCommand({"fly"}, "Enables LocalPlayer fly.", 5, function(Args, Speaker)
  2757. game.Players.LocalPlayer.Character:WaitForChild("Torso")
  2758. local Torso = game.Players.LocalPlayer.Character.Torso
  2759. Settings.Flying = true
  2760. local speed = 0
  2761. local keys = {
  2762. a = false,
  2763. d = false,
  2764. w = false,
  2765. s = false
  2766. }
  2767. local function start()
  2768. CreateObject "BodyPosition" {
  2769. Parent = Torso,
  2770. Name = "FLYPOSITION",
  2771. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2772. position = Torso.Position
  2773. }
  2774. CreateObject "BodyGyro" {
  2775. Parent = Torso,
  2776. Name = "FLYGYRO",
  2777. maxTorque = Vector3.new(9e9, 9e9, 9e9),
  2778. cframe = Torso.CFrame
  2779. }
  2780. local bPosition = Torso:findFirstChild("FLYPOSITION")
  2781. local bGyro = Torso:findFirstChild("FLYGYRO")
  2782. repeat
  2783. wait()
  2784. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  2785. local new = bGyro.cframe - bGyro.cframe.p + bPosition.position
  2786. if not keys.w and not keys.s and not keys.a and not keys.d then
  2787. speed = 1
  2788. end
  2789. if keys.w then
  2790. new = new + game.Workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2791. speed = speed + 0.01
  2792. end
  2793. if keys.s then
  2794. new = new - game.Workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2795. speed = speed + 0.01
  2796. end
  2797. if keys.d then
  2798. new = new * CFrame.new(speed, 0 ,0)
  2799. speed = speed + 0.01
  2800. end
  2801. if keys.a then
  2802. new = new * CFrame.new(-speed, 0, 0)
  2803. speed = speed + 0.01
  2804. end
  2805. if speed > 5 then
  2806. speed = 5
  2807. end
  2808. bPosition.position = new.p
  2809. if keys.w then
  2810. bGyro.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad(speed * 15), 0, 0)
  2811. elseif keys.s then
  2812. bGyro.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(math.rad(speed * 15), 0, 0)
  2813. else
  2814. bGyro.cframe = game.Workspace.CurrentCamera.CoordinateFrame
  2815. end
  2816. until
  2817. Settings.Flying == false
  2818. if bGyro then
  2819. bGyro:Destroy()
  2820. end
  2821. if bPosition then
  2822. bPosition:Destroy()
  2823. end
  2824. Settings.Flying = false
  2825. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  2826. speed = 0
  2827. end
  2828. Settings.FlyEvent1 = Mouse.KeyDown:connect(function(key)
  2829. if not Torso or not Torso.Parent then
  2830. Settings.Flying = false
  2831. Settings.FlyEvent1:disconnect()
  2832. Settings.FlyEvent2:disconnect()
  2833. return
  2834. end
  2835. if key == "w" then
  2836. keys.w = true
  2837. elseif key == "s" then
  2838. keys.s = true
  2839. elseif key == "a" then
  2840. keys.a = true
  2841. elseif key == "d" then
  2842. keys.d = true
  2843. elseif key == "e" then
  2844. if Settings.Flying == true then
  2845. Settings.Flying = false
  2846. else
  2847. Settings.Flying = true
  2848. start()
  2849. end
  2850. end
  2851. end)
  2852. Settings.FlyEvent2 = Mouse.KeyUp:connect(function(key)
  2853. if key == "w" then
  2854. keys.w = false
  2855. elseif key == "s" then
  2856. keys.s = false
  2857. elseif key == "a" then
  2858. keys.a = false
  2859. elseif key == "d" then
  2860. keys.d = false
  2861. end
  2862. end)
  2863. start()
  2864. end)
  2865.  
  2866. AddCommand({"unfly"}, "Disables LocalPlayer fly.", 5, function(Args, Speaker)
  2867. if Settings.Flying then
  2868. game.Players.LocalPlayer.Character:findFirstChild("FLYPOSITION"):Destroy()
  2869. game.Players.LocalPlayer.Character:findFirstChild("FLYGYRO"):Destroy()
  2870. Settings.Flying = false
  2871. Settings.FlyEvent1:disconnect()
  2872. Settings.FlyEvent2:disconnect()
  2873. end
  2874. end)
  2875.  
  2876. AddCommand({"noclip"}, "Noclips the LocalPlayer", 5, function(Args, Speaker)
  2877. if not Settings.NoClipped then
  2878. Settings.NoClipped = true
  2879. spawn(function()
  2880. while wait() and Settings.NoClipped == true do
  2881. Speaker.Character.Humanoid:ChangeState("StrafingNoPhysics")
  2882. end
  2883. end)
  2884. end
  2885. end)
  2886.  
  2887. AddCommand({"clip"}, "Clips the LocalPlayer", 5, function(Args, Speaker)
  2888. if Settings.NoClipped then
  2889. Settings.NoClipped = false
  2890. end
  2891. end)
  2892.  
  2893. AddCommand({"esp"}, "Shows a billboard gui over a player's head showing health and distance.", 5, function(Args, Speaker)
  2894. local Players = GetPlayers(Args[1])
  2895. ForEach(Players, function(Player)
  2896. if not ESP[Player.Name] then
  2897. table.insert(ESP, #ESP + 1, Player.Name == true)
  2898. else
  2899. ESP[Player.Name] = true
  2900. end
  2901.  
  2902. if StorageLocation:findFirstChild(Player.Name .. "_ESP") then
  2903. StorageLocation[Player.Name .. "_ESP"]:Destroy()
  2904. end
  2905.  
  2906. local nESP = StorageFolder.GuiObjects.ESPGUI:Clone()
  2907. nESP.Parent = StorageLocation
  2908. nESP.Name = Player.Name .. "_ESP"
  2909. nESP.Enabled = true
  2910. nESP.Adornee = Player.Character.Head
  2911. nESP.Label.TextColor3 = Player.Character.TeamColor.Color
  2912.  
  2913. spawn(function()
  2914. local Position, Health, MaxHealth
  2915.  
  2916. Player.CharacterAdded:connect(function()
  2917. nESP.Adornee = game.Workspace
  2918. game.Workspace:WaitForChild(Player.Name)
  2919. nESP.Adornee = Player.Character.Head
  2920.  
  2921. Position = math.floor(Player:DistanceFromCharacter(game.Players.LocalPlayer.Character.Torso.Position))
  2922. Health = math.floor(Player.Character.Humanoid.Health)
  2923. MaxHealth = math.floor(Player.Character.Humanoid.MaxHealth)
  2924. end)
  2925.  
  2926. Player.Changed:connect(function(Property)
  2927. if Property == "TeamColor" then
  2928. nESP.Label.TextColor3 = Player.Character.TeamColor.Color
  2929. end
  2930. end)
  2931.  
  2932. while wait() and ESP[Player.Name] == true do
  2933. Position = math.floor(Player:DistanceFromCharacter(game.Players.LocalPlayer.Character.Torso.Position))
  2934. Health = math.floor(Player.Character.Humanoid.Health)
  2935. MaxHealth = math.floor(Player.Character.Humanoid.MaxHealth)
  2936.  
  2937. nESP.Label.Text = Player.Name .. " || [" .. tostring(Position) .. "] || Health: " .. tostring(Health) .. "/" .. tostring(MaxHealth)
  2938. end
  2939. end)
  2940. end)
  2941. end)
  2942.  
  2943. AddCommand({"unesp", "noesp", "remesp"}, "[WIP] Removes a player's ESP billboard.", 5, function(Args, Speaker)
  2944. local Players = GetPlayers(Args[1])
  2945. ForEach(Players, function(Player)
  2946. if not ESP[Player.Name] then
  2947. table.insert(ESP, #ESP + 1, Player.Name == false)
  2948. else
  2949. ESP[Player.Name] = false
  2950. end
  2951. end)
  2952. end)
  2953.  
  2954. AddCommand({"serverlock", "slock"}, "Locks the server and prevents people from joining it.", 3, function(Args, Speaker)
  2955. if Settings.ServerLocked == false then
  2956. for _,v in pairs(game.Players:GetChildren()) do
  2957. table.insert(Allowed, #Allowed +1, v.Name)
  2958. end
  2959. Settings.ServerLocked = true
  2960. end
  2961. end)
  2962.  
  2963. AddCommand({"serverunlock", "sunlock"}, "Unlocks the server and allows people to join it again.", 3, function(Args, Speaker)
  2964. if Settings.ServerLocked == true then
  2965. for i,v in pairs(Allowed) do
  2966. table.remove(Allowed, i)
  2967. end
  2968. Settings.ServerLocked = false
  2969. end
  2970. end)
  2971.  
  2972. AddCommand({"unlock", "unlockplr"}, "Unlocks a player's body parts.", 1, function(Args, Speaker)
  2973. local Players = GetPlayers(Args[1])
  2974. ForEach(Players, function(Player)
  2975. local function UnLock(Instance)
  2976. for _,v in pairs(Instance:GetChildren()) do
  2977. if v:IsA("BasePart") then
  2978. v.Locked = false
  2979. end
  2980. UnLock(v)
  2981. end
  2982. end
  2983. UnLock(Player.Character)
  2984. end)
  2985. end)
  2986.  
  2987. AddCommand({"lock", "lockplr"}, "Locks a player's body parts.", 1, function(Args, Speaker)
  2988. local Players = GetPlayers(Args[1])
  2989. ForEach(Players, function(Player)
  2990. local function Lock(Instance)
  2991. for _,v in pairs(Instance:GetChildren()) do
  2992. if v:IsA("BasePart") then
  2993. v.Locked = true
  2994. end
  2995. Lock(v)
  2996. end
  2997. end
  2998. Lock(Player.Character)
  2999. end)
  3000. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement