Advertisement
Trioxide

BCGames' Admin Commands

Jan 25th, 2012
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 58.54 KB | None | 0 0
  1. --[[----------------------------------------------------------------------------------
  2. --Dont Edit The Below-----------------------------------------------------------------
  3. ------------------------------------------------------------------------------------]]
  4. Hung = {}
  5. Commands = {"rcolor/[Player]","color/[Player]/[ColorName]","resetmp","time/[Time]","launch/[Player]","flip/[Player]","sethead/[Player],[HeadSize]","bighead/[Player]","smallhead/[Player]","normhead/[Player]","hide/[Player]","unhide/[Player]","smoke/[Player]","unsmoke/[Player]","shadcol/[Color1]/[Color2]/[Color3]","b/[Player]/[BadgeID]","amb/[Color1]/[Color2]/[Color3]","brightness/[Number]","tools","gettool/[Player]/[Toolname]","give/[Player]/[Asset ID]","showid/[Player]","showuser/[Player]","adminlist","bannedlist","age/[Player]","disable/[Player","enable/[Player]","s/[Script]","poison/[Player]","burn/[Player]","m/[Message]","h/[Hint]","hang/[Player]","unhang/[Player]","kill/[Player]","ws/[Player]","be/[ID]","make/[Player]/[ID]","heal/[Player]","ban/[Player]","unban/[Player]","explode/[Player]","guim/[GUI Message]","edit/[Player]/[Stat]/[Amount]","clearscripts","get/[ApperalID]","kick/[Player]","jail/[Player]","unjail/[Player]","cmds","damage/[Player]/[Amount]","blind/[Player]","unblind/[Player]","trans/[Player]/[Level]","nograv/[Player]","setgrav/[Player]/[Amount]","grav/[Player]","unfreeze/[Player]","freeze/[Player]","invisible/[Player]","visble/[Player]","teleport/[Player1]/[Player2]","getbtools","givebtools/[Player]","jump/[Player]","sit/[Player]","fire/[Player]","unfire/[Player]","sparkles/[Player]","unsparkles/[Player]","spin/[Player]","unspin/[Player]","cloneh/[Player]","stealh/[Player]","wood/[Player]","plastic/[Player]","grass/[Player]","dimpl/[Player]","concrete/[Player]","ice/[Player]","corrmetal/[Player]","slate/[Player]","foil/[Player]","a/[Player]","ua/[Player]"}
  6. Commands_Count = table.maxn(Commands)
  7. Version_Number = 7
  8. print("There are "..Commands_Count.." Commands")
  9. script.Name = "BCGames' Admin Commands Version "..Version_Number..""
  10. Clo = nil
  11. --[[----------------------------------------------------------------------------------
  12. --Dont Edit The Above-----------------------------------------------------------------
  13. --------------------------------------------------------------------------------------
  14. --Edit The Below----------------------------------------------------------------------
  15. ------------------------------------------------------------------------------------]]
  16. Admins = {"BCGames","MrBCGames"}--Insert names here.
  17. DebugOutput = false --Output for the s/[Script] command
  18. AlertUpdate = true --Tells you when the script has been updated. RECCOMEMDED SET TO TRUE
  19. Banned = {} --Put who you want to be auto-banned here
  20. Texture = 00000000 --Put the ID of the admin shirt here.
  21. Creator_Enter_Badge = false --Make this true if you want to award a badge when you enter
  22. Badge_ID = 0000000 --If the above is true, set this to the badges ID
  23. --[[----------------------------------------------------------------------------------
  24. --Edit The Above----------------------------------------------------------------------
  25. --------------------------------------------------------------------------------------
  26. --Dont Edit The Below-----------------------------------------------------------------
  27. ------------------------------------------------------------------------------------]]
  28. --[[
  29.  
  30. Commands:
  31.  
  32. time/[Time]
  33. Changes the ingame time to [Time]. [Time] must be in this format: ##:##:##
  34.  
  35. resetmp
  36. Makes the max players count the games original value. *Saved by the variable MaxPlayers above*
  37.  
  38. color/[Player]/[ColorName]
  39. Turns Player ColorName. I.E. color/BCGames/Really red Be cafeful that you know the color names!
  40.  
  41. rcolor/[Player]
  42. Makes every part in Player a random color
  43.  
  44. launch/[Player]
  45. Straps Player to a rocket and launches them into the air, then explodes!
  46.  
  47. flip/[Player]
  48. Flips Player upsidedown!
  49.  
  50. normhead/[Player]
  51. Makes Player's head normal sized
  52.  
  53. smallhead/[Player]
  54. Makes Player's head small.
  55.  
  56. bighead/[Player]
  57. Makes Player's head BIG.
  58.  
  59. sethead/[Player]/[HeadSize]
  60. Makes Player's head HeadSize.
  61.  
  62. hide/[Player]
  63. Removes Player's username above their character.
  64.  
  65. unhide/[Player]
  66. Undos hide/[Player].
  67.  
  68. smoke/[Player]
  69. Inserts the smoke object into Player.
  70.  
  71. unsmoke/[Player]
  72. Removes a smoke object from Player.
  73.  
  74. shadcol/[Color1]/[Color2]/[Color3]
  75. Sets the shadow color. Color1, Color2, and Color3 are to be any number between 0 and 1.
  76.  
  77. b/[Player]/[BadgeID]
  78. Awards Player the badge with the given ID.
  79.  
  80. amb/[Color1]/[Color2]/[Color3]
  81. Sets the game ambient. Color1, Color2, and Color3 are to be any number between 0 and 1.
  82.  
  83. brightness/[Number]
  84. Sets the game brightness.
  85.  
  86. tools
  87. Displays all avaliable tools for gettool/[Player]/[ToolName].
  88.  
  89. gettool/[Player]/[ToolName]
  90. Gives Player the tool with the name ToolName.
  91.  
  92. give/[Player]/[Asset ID]
  93. Gives Player the asset with the clothing ID of 'Asset ID'.
  94.  
  95. showid/[Player]
  96. Displays Player's userID.
  97.  
  98. showpic/[Player]
  99. Displays what Player looks like.
  100.  
  101. age/[Player]
  102. Displays Player's account age in days.
  103.  
  104. adminlist
  105. Displays the admin list.
  106.  
  107. bannedlist
  108. Displays the banned list.
  109.  
  110. disable/[Player]
  111. disables Player. NOTE THAT IF THEY PRESS  THEN THEY WILL GET BACK UP.
  112.  
  113. enable/[Player]
  114. Undos disable command.
  115.  
  116. a/[Player]
  117. Admins Player.
  118.  
  119. ua/[Player]
  120. Unadmins Player.
  121.  
  122. cloneh/[Player]
  123. Copies Players hats and puts them on the speaker.
  124.  
  125. stealh/[Player]
  126. Steals Players hats and places them on the speaker.
  127.  
  128. wood/[Player]
  129. Makes Player made of wood.
  130.  
  131. plastic/[Player]
  132. Makes Player made of plastic.
  133.  
  134. slate/[Player]
  135. Makes Player made of slate.
  136.  
  137. grass/[Player]
  138. Makes Player made of grass.
  139.  
  140. corrmetal/[Player]
  141. Makes Player made of corroded metal.
  142.  
  143. foil/[Player]
  144. Makes Player made of foil.
  145.  
  146. ice/[Player]
  147. Makes Player made of ice.
  148.  
  149. dimpl/[Player]
  150. Makes Player made of diamond plate.
  151.  
  152. concrete/[Player]
  153. Makes Player made of concrete.
  154.  
  155. spin/[Player]
  156. Makes Player spin around.
  157.  
  158. unspin/[Player]
  159. Undos spin/[Player].
  160.  
  161. unfreeze/[Player]
  162. Thaws a frozen Player.
  163.  
  164. freeze/[Player]
  165. Freezes Player.
  166.  
  167. invisible/[Player]
  168. Makes Player invisible.
  169.  
  170. visble/[Player]
  171. Makes Player Visible.
  172.  
  173. teleport/[Player1]/[Player2]
  174. Teleports Player1 to Player2.
  175.  
  176. getbtools
  177. Gives the speaker Building Tools.
  178.  
  179. givebtools/[Player]
  180. Gives Player Building Tools.
  181.  
  182. jump/[Player]
  183. Makes Player Jump.
  184.  
  185. sit/[Player]
  186. Makes Player sit.
  187.  
  188. fire/[Player]
  189. Sets Player on fire without damage.
  190.  
  191. unfire/[Player]
  192. Removes fire from Player.
  193.  
  194. sparkles/[Player]
  195. Gives Player Sparkles =D.
  196.  
  197. unsparkles/[Player]
  198. Removes Players Sparkles D=.
  199.  
  200. nograv/[Player]
  201. Makes Player have no gravity likeness.
  202.  
  203. setgrav/[Player]/[Amount]
  204. Makes Players gravity Amount.
  205.  
  206. grav/[Player]
  207. Resets Players gravity.
  208.  
  209. s/[Script]
  210. Runs a script.
  211.  
  212. poison/[Player]
  213. Poisons a player and removes health until they die.
  214.  
  215. burn/[Player]
  216. Same as above but with fire.
  217.  
  218. m/[Message]
  219. Inserts a message for all to see.
  220.  
  221. h/[Hint]
  222. Inserts a hint for all to see.
  223.  
  224. hang/[Player]
  225. Rises Player into the air and removes thier tools.
  226.  
  227. unhang/[Player]
  228. Unhangs a hanged player and restores thier tools.
  229.  
  230. kill/[Player]
  231. Kills Player.
  232.  
  233. ws/[Player]/[WalkSpeed]
  234. Changes Players WalkSpeed to WalkSpeed.
  235.  
  236. be/[ID]
  237. Makes the speaker look like the user with given ID.
  238.  
  239. make/[Player]/[ID]
  240. Makes Player look like the user with the given ID.
  241.  
  242. heal/[Player]
  243. Fully heals Player.
  244.  
  245. ban/[Player]
  246. Bans Player from the game, preventing them from rejoining that server.
  247.  
  248. unban/[Player]
  249. Unbans a Banned player.
  250.  
  251. explode/[Player]
  252. Makes Player go BOOM.
  253.  
  254. guim/[GUI Message]
  255. Insert a GUI Message for all to see.
  256.  
  257. edit/[Player]/[Stat]/[Value]
  258. Makes Players Stat value Value.
  259.  
  260. clearscripts
  261. Removes all scripts created by s/[Script].
  262.  
  263. get/[Apperal ID]
  264. Give the speaker the clothing item with the Given ID.
  265.  
  266. kick/[Player]
  267. Removes Player from the game.
  268.  
  269. jail/[Player]
  270. Freezes Player and places a big black box around Player.
  271.  
  272. unjail/[Player]
  273. Undos jail/[Player].
  274.  
  275. cmds
  276. Displays the commands for this admin command script.
  277.  
  278. damage/[Player]/[Amount]
  279. Damages Player by Amount health. WILL NOT WORK IF Player HAS A FORCEFIELD.
  280.  
  281. blind/[Player]
  282. Places a Black Gui on Players screen.
  283.  
  284. unblind/[Player]
  285. Undos blind/[Player].
  286.  
  287. trans/[Player]/[Amount]
  288. Makes Player transparent by Amount. For Amount, put a number between 0 and 1.
  289. ]]
  290.  
  291. --[[----------------------------------------------------------------------------------
  292. --Dont Edit The Above-----------------------------------------------------------------
  293. ------------------------------------------------------------------------------------]]
  294.  
  295. function CheckUpdates()
  296.     A = game:GetService("InsertService"):LoadAsset(55452058):GetChildren()[1]
  297.     if Version_Number < A.Value then
  298.         return true
  299.     else
  300.         return false
  301.     end
  302.     A:remove()
  303. end
  304.  
  305. function updatez(p)
  306.     if AlertUpdate then
  307.         if p.userId == game.CreatorId then
  308.             repeat wait() until not Clo
  309.                 Clo = UpD:clone()
  310.                 Clo.Parent = p.PlayerGui
  311.                 Clo.Frame.TextButton.Script.Disabled = false
  312.                 Clo = nil
  313.         end
  314.     end
  315. end
  316.  
  317. function showOUTPUT(m,p)
  318.     pcall(function()
  319.         p.PlayerGui.Output.Frame.Line5.Text = p.PlayerGui.Output.Frame.Line4.Text
  320.         p.PlayerGui.Output.Frame.Line4.Text = p.PlayerGui.Output.Frame.Line3.Text
  321.         p.PlayerGui.Output.Frame.Line3.Text = p.PlayerGui.Output.Frame.Line2.Text
  322.         p.PlayerGui.Output.Frame.Line2.Text = p.PlayerGui.Output.Frame.Line1.Text
  323.         p.PlayerGui.Output.Frame.Line1.Text = m
  324.         if p.PlayerGui.Output.Frame.Line5.Text ~= "" then
  325.             p.PlayerGui.Output.Frame.Line5:GetChildren()[1].Visible = true
  326.         end
  327.         if p.PlayerGui.Output.Frame.Line4.Text ~= "" then
  328.             p.PlayerGui.Output.Frame.Line4:GetChildren()[1].Visible = true
  329.         end
  330.         if p.PlayerGui.Output.Frame.Line3.Text ~= "" then
  331.             p.PlayerGui.Output.Frame.Line3:GetChildren()[1].Visible = true
  332.         end
  333.         if p.PlayerGui.Output.Frame.Line2.Text ~= "" then
  334.             p.PlayerGui.Output.Frame.Line2:GetChildren()[1].Visible = true
  335.         end
  336.         if p.PlayerGui.Output.Frame.Line1.Text ~= "" then
  337.             p.PlayerGui.Output.Frame.Line1:GetChildren()[1].Visible = true
  338.         end
  339.     end)
  340. end
  341.  
  342. function giveDEBUGGUI(p)
  343.     repeat wait() until not Clo
  344.         Clo = Out:clone()
  345.         Clo.Parent = p.PlayerGui
  346.         Clo.Frame.Open_Close.ActivateScript.Disabled = false
  347.         Clo = nil
  348. end
  349.  
  350. function admin(plr)
  351.     Yes = false
  352.     for _,v in pairs(Admins) do
  353.         if string.lower(plr.Name) == v then
  354.             Yes = true
  355.             break
  356.         end
  357.     end
  358.     return true
  359. end
  360.  
  361. function showautofixgui(plr)
  362.     A=script.FIXED:clone()
  363.     A.Parent = plr.PlayerGui
  364.     A.Rem.Disabled = false
  365. end
  366.  
  367. function check_award(ID,Creator,Cre_ID,Enter_ID)
  368.     if Creator then
  369.         a=game.Players:GetChildren()
  370.         for i=1,#a do
  371.             if a[i].userId == Cre_ID then
  372.                 Is_Here = true
  373.             end
  374.         end
  375.         if Is_Here then
  376.             b=game.Players:GetChildren()
  377.             for x=1,#b do
  378.                 game:GetService("BadgeService"):AwardBadge(b[x].userId,ID)
  379.             end
  380.         end
  381.     end
  382. end
  383.  
  384. function autofix(plr)
  385.     plr.Chatted:connect(function(ms)
  386.         c, error = coroutine.resume(coroutine.create(function()
  387.             if player.Admin.Value then
  388.                 cc, errorr = coroutine.resume(coroutine.create(function()
  389.                     chatted(ms,player)
  390.                 end))
  391.             end
  392.         end))  
  393.         if not c then
  394.             showOUTPUT(error,plr)
  395.             showautofixgui(plr)    
  396.             --autofix(plr)
  397.         end
  398.     end)
  399. end
  400.  
  401. function checkifadmin(player)
  402.     Yes = false
  403.     AA=Instance.new("BoolValue",player)
  404.     AA.Name = "Admin"
  405.     player.Chatted:connect(function(ms)
  406.         c, error = coroutine.resume(coroutine.create(function()
  407.             if player.Admin.Value then
  408.                 cc, errorr = coroutine.resume(coroutine.create(function()
  409.                     chatted(ms,player)
  410.                 end))
  411.             end
  412.         end))
  413.         if not c then
  414.             showOUTPUT(error,player)
  415.             showautofixgui(player)
  416.             --autofix(player)
  417.         end
  418.     end)
  419.     for i=1,#Admins do
  420.         if (player.Name == Admins[i] or game:GetService("BadgeService"):UserHasBadge(player.userId, Texture)) then
  421.             Clo = GUi:clone()
  422.             Clo.Parent = player.PlayerGui
  423.             Clo.Frame.TextButton.Script.Disabled = false
  424.             AA.Value = true
  425.             player.CharacterAdded:connect(function(c)
  426.                 if DebugOutput then
  427.                     giveDEBUGGUI(player)
  428.                 end
  429.                 if CheckUpdates() then
  430.                     updatez(player)
  431.                 end
  432.             end)
  433.             repeat wait() until player:FindFirstChild("PlayerGui")
  434.             if DebugOutput then
  435.                 if not player.PlayerGui:FindFirstChild("Output") then
  436.                     giveDEBUGGUI(player)
  437.                 end
  438.             end
  439.             if CheckUpdates() then
  440.                 updatez(player)
  441.             end
  442.         end
  443.     end
  444. end
  445.  
  446. function findplr(plr,spe)
  447.     Chars = {}
  448.     count = 0
  449.     if plr == "all" then
  450.         b=game.Players:GetChildren()
  451.         for c=1,#b do
  452.             table.insert(Chars,b[c])
  453.         end
  454.         count = 1
  455.     elseif plr == "random" then
  456.         table.insert(Chars,game.Players:GetPlayers()[math.random(1,game.Players.NumPlayers)])
  457.         count = 1
  458.     elseif plr == "admins" then
  459.         for _,fs in pairs(game.Players:GetPlayers()) do
  460.             for _,wd in pairs(Admins) do
  461.                 if fs.Name == wd then
  462.                     table.insert(Chars,fs)
  463.                 end
  464.             end
  465.         end
  466.         count = 1
  467.     elseif plr == "nonadmins" then
  468.         for _,fss in pairs(game.Players:GetPlayers()) do
  469.             Yes = false
  470.             for _,wwd in pairs(Admins) do
  471.                 if fss.Name == wwd then
  472.                     Yes = true
  473.                 end
  474.             end
  475.             if not Yes then
  476.                 table.insert(Chars,fss)
  477.             end
  478.         end
  479.         count = 1
  480.     elseif plr == "others" then
  481.         b=game.Players:GetChildren()
  482.         for c=1,#b do
  483.             if b[c].Name ~= spe.Name then
  484.                 table.insert(Chars,b[c])
  485.             end
  486.         end
  487.         count = 1
  488.     elseif plr == "me" then
  489.         table.insert(Chars,spe)
  490.         count = 1
  491.     elseif plr == "randomadmin" then
  492.         Ad = Admins
  493.         for _,v in pairs(game.Players:GetPlayers()) do
  494.             pcall(function()
  495.                 if v.Admin.Value then
  496.                     table.insert(Ad,v)
  497.                 end
  498.             end)
  499.         end
  500.         for _,c in pairs(Ad) do
  501.             table.insert(Chars,c)
  502.         end
  503.         count = 1
  504.     elseif plr == "randomnonadmin" then
  505.         Ad = {}
  506.         for _,v in pairs(game.Players:GetPlayers()) do
  507.             pcall(function()
  508.                 if not v.Admin.Value then
  509.                     table.insert(Ad,v)
  510.                 end
  511.             end)
  512.         end
  513.         for _,c in pairs(Ad) do
  514.             table.insert(Chars,c)
  515.         end
  516.         count = 1
  517.     else
  518.         a=game.Players:GetChildren()
  519.         for i=1,#a do
  520.             if string.find(string.lower(a[i].Name),string.lower(plr)) == 1 then
  521.                 player = a[i]
  522.                 count = count+1
  523.             end
  524.         end
  525.         table.insert(Chars,player)
  526.     end
  527.     if count == 1 then
  528.         return Chars
  529.     elseif count == 0 then
  530.         return 0
  531.     elseif count > 1 then
  532.         return 0
  533.     end
  534. end
  535.  
  536. function findval(plr)
  537.     count = 0
  538.     Play = nil
  539.     for i=1,#Banned do
  540.         if string.find(string.lower(Banned[i]),string.lower(plr)) == 1 then
  541.             count = count+1
  542.             Play = i
  543.         end
  544.     end
  545.     if count == 1 then
  546.         return Play
  547.     elseif count == 0 then
  548.         return 0
  549.     end
  550. end
  551.  
  552. function findval2(plr)
  553.     count = 0
  554.     for i=1,#Admins do
  555.         if string.find(string.lower(Admins[i]),string.lower(plr.Name)) == 1 then
  556.             count = count+1
  557.             Play = i
  558.         end
  559.     end
  560.     if count == 1 then
  561.         return Play
  562.     elseif count == 0 then
  563.         return 0
  564.     end
  565. end
  566.  
  567. function findtool(plr)
  568.     count = 0
  569.     Play = {}
  570.     if plr == "all" then
  571.         for _,vv in pairs(game.Lighting:GetChildren()) do
  572.             if vv.className == "HopperBin" or vv.className == "Tool" then
  573.                 table.insert(Play,vv)
  574.             end
  575.         end
  576.         count = count +1
  577.     elseif plr ~= "all" then
  578.         for _,v in pairs(game.Lighting:GetChildren()) do
  579.             if v.className == "HopperBin" or v.className == "Tool" then
  580.                 if string.find(string.lower(v.Name),string.lower(plr)) == 1 then
  581.                     count = count +1
  582.                     table.insert(Play,v)
  583.                 end
  584.             end
  585.         end
  586.     end
  587.     if count == 1 then
  588.         return Play
  589.     elseif count == 0 then
  590.         return 0
  591.     end
  592. end
  593.  
  594. function findval3(statname,plr)
  595.     count = 0
  596.     for _,v in pairs(plr.leaderstats:GetChildren()) do
  597.         if string.find(string.lower(v.Name),string.lower(statname)) == 1 then
  598.             count = count +1
  599.             Play = v
  600.         end
  601.     end
  602.     if count == 1 then
  603.         return Play
  604.     elseif count == 0 then
  605.         return 0
  606.     end
  607. end
  608.  
  609. function findNEEDS()
  610.     Good = true
  611.     if script:FindFirstChild("Output") then
  612.         Out = script.Output:clone()
  613.     elseif not script:FindFirstChild("Output") then
  614.         Good = false
  615.     end
  616.     if script:FindFirstChild("Update") then
  617.         UpD = script.Update:clone()
  618.     elseif not script:FindFirstChild("Update") then
  619.         Good = false
  620.     end
  621.     if script:FindFirstChild("USERPIC") then
  622.         UPIC = script.USERPIC:clone()
  623.     elseif not script:FindFirstChild("USERPIC") then
  624.         print("There is no User Picture GUI")
  625.         Good = false
  626.     end
  627.     if script:FindFirstChild("GUI6") then
  628.         IDID = script.GUI6:clone()
  629.     elseif not script:FindFirstChild("GUI6") then
  630.         print("There is no Gui 6")
  631.         Good = false
  632.     end
  633.     if script:FindFirstChild("FIXED") then
  634.         UTA = script.FIXED:clone()
  635.     elseif not script:FindFirstChild("FIXED") then
  636.         print("There is no Fixxed GUI")
  637.         Good = false
  638.     end
  639.     if script:FindFirstChild("Admined") then
  640.         TA = script.Admined:clone()
  641.     elseif not script:FindFirstChild("Admined") then
  642.         print("There is no Temp Admin GUI")
  643.         Good = false
  644.     end
  645.     if script:FindFirstChild("UnAdmined") then
  646.         UTA = script.UnAdmined:clone()
  647.     elseif not script:FindFirstChild("UnAdmined") then
  648.         print("There is no Un-Temp Admin GUI")
  649.         Good = false
  650.     end
  651.     if script:FindFirstChild("SSource") then
  652.         SB = script.SSource:clone()
  653.     elseif not script:FindFirstChild("SSource") then
  654.         print("There is no Source.")
  655.         Good = false
  656.     end
  657.     if script:FindFirstChild("GUI4") then
  658.         GUUI = script.GUI4:clone()
  659.     elseif not script:FindFirstChild("GUI4") then
  660.         print("There is no GUI4.")
  661.         Good = false
  662.     end
  663.     if script:FindFirstChild("GUI5") then
  664.         GUI5 = script.GUI5:clone()
  665.     elseif not script:FindFirstChild("GUI5") then
  666.         print("There is no GUI5.")
  667.         Good = false
  668.     end
  669.     if script:FindFirstChild("GUI2") then
  670.         GUI2 = script.GUI2:clone()
  671.     elseif not script:FindFirstChild("GUI2") then
  672.         print("There is no GUI2.")
  673.         Good = false
  674.     end
  675.     if script:FindFirstChild("GUI3") then
  676.         GUI3 = script.GUI2:clone()
  677.     elseif not script:FindFirstChild("GUI3") then
  678.         print("There is no GUI3.")
  679.         Good = false
  680.     end
  681.     if script:FindFirstChild("GUI") then
  682.         GUi = script.GUI:clone()
  683.     elseif not script:FindFirstChild("GUI") then
  684.         print("There is no GUI.")
  685.         Good = false
  686.     end
  687.     return Good
  688. end
  689.  
  690. function scriptz(source,p,par)
  691.     Clone = SB:clone()
  692.     Clone.Owner.Value = p
  693.     Clone.Play.Value = source
  694.     if not par then
  695.         Clone.Parent = workspace
  696.     else
  697.         Clone.Parent = par
  698.     end
  699.     Clone.Disabled = false
  700.     Clone.Name = "BCGScripts"
  701. end
  702.  
  703. function mess(text,type)
  704.     a=Instance.new(type,workspace)
  705.     a.Text = text
  706.     wait(5)
  707.     a:remove()
  708. end
  709.  
  710. function chatted(msg,player)
  711.    
  712.     if string.lower(string.sub(msg,1,5)) == "time/" then
  713.         if string.len(msg) >= 6 then
  714.             game.Lighting.TimeOfDay = string.sub(msg,6)
  715.         end
  716.     end
  717.    
  718.     if string.sub(string.lower(msg),1) == "resetmp" then
  719.         game.Players.MaxPlayers = MaxPlayers
  720.     end
  721.    
  722.     if string.sub(string.lower(msg),1,6) == "color/" then
  723.         if string.len(msg) >= 7 then
  724.             Add = nil
  725.             for i=7,10000 do
  726.                 if string.sub(msg,i,i) == "/" then
  727.                     Add = i
  728.                     break
  729.                 elseif string.sub(msg,i,i) == "" then
  730.                     break
  731.                 end
  732.             end
  733.             if Add then
  734.                 Plr = findplr(string.sub(msg,7,Add-1),player)
  735.                 if Plr ~= 0 then
  736.                     for _,v in pairs(Plr) do
  737.                         for _,c in pairs(v.Character:GetChildren()) do
  738.                             if c.className == "Part" then
  739.                                 c.BrickColor = BrickColor.new(string.sub(msg,Add+1))
  740.                             end
  741.                         end
  742.                     end
  743.                 end
  744.             end
  745.         end
  746.     end
  747.    
  748.     if string.sub(string.lower(msg),1,7) == "rcolor/" then
  749.         if string.len(msg) >= 8 then
  750.             Plr = findplr(string.sub(msg,8),player)
  751.             if Plr ~= 0 then
  752.                 for _,v in pairs(Plr) do
  753.                     for _,c in pairs(v.Character:GetChildren()) do
  754.                         if c.className == "Part" then
  755.                             c.BrickColor = BrickColor.random()
  756.                         end
  757.                     end
  758.                 end
  759.             end
  760.         end
  761.     end
  762.  
  763.     if string.lower(string.sub(msg,1,7)) == "launch/" then
  764.         if string.len(msg) >= 8 then
  765.             plr = findplr(string.sub(msg,8),player)
  766.             if plr ~= 0 then
  767.                 for _,v in pairs(plr) do
  768.                     Rocket = Instance.new("Part")
  769.                     Rocket.Name = "BCGRocket"
  770.                     Rocket.Size = Vector3.new(1,8,1)
  771.                     Rocket.TopSurface = "Smooth"
  772.                     Rocket.BottomSurface = "Smooth"
  773.                     Weld = Instance.new("Weld")
  774.                     Weld.Part1 = v.Character.Torso
  775.                     Weld.Part0 = Rocket
  776.                     Weld.C0 = CFrame.new(0,0,-1)
  777.                     Body = Instance.new("BodyThrust")
  778.                     Body.force = Vector3.new(0,5700,0)
  779.                     Body.Parent = Rocket
  780.                     Rocket.Parent = v.Character
  781.                     Weld.Parent = v.Character.Torso
  782.                     scriptz([[
  783.                     for i=1,120 do
  784.                         local BOOM = Instance.new("Explosion")
  785.                         BOOM.BlastRadius = 0
  786.                         BOOM.Position = script.Parent.Position - Vector3.new(0,2,0)
  787.                         BOOM.Parent = game.Workspace
  788.                         wait(0.05)
  789.                     end
  790.                     local BOOM2 = Instance.new("Explosion")
  791.                     BOOM2.BlastRadius = 10
  792.                     BOOM2.Position = script.Parent.Position
  793.                     BOOM2.Parent = game.Workspace
  794.                     script.Parent.BodyThrust:remove()
  795.                     script.Parent.Parent.Humanoid.Health = 0
  796.                     ]],v,Rocket)
  797.                 end
  798.             end
  799.         end
  800.     end
  801.  
  802.     if string.lower(string.sub(msg,1,5)) == "flip/" then
  803.         if string.len(msg) >= 6 then
  804.             plr = findplr(string.sub(msg,6),player)
  805.             if plr ~= 0 then
  806.                 for _,v in pairs(plr) do
  807.                     torso = v.Character.Torso
  808.                     torso.CFrame = CFrame.new(torso.Position.x,torso.Position.y,torso.Position.z,0, 0, 1, 0, -1, 0, 1, 0, 0)
  809.                 end
  810.             end
  811.         end
  812.     end
  813.    
  814.     if string.lower(string.sub(msg,1,8)) == "bighead/" then
  815.         if string.len(msg) >= 9 then
  816.             stop = findplr(string.sub(msg,9),player)
  817.             if stop ~= 0 then
  818.                 for _,v in pairs(stop) do
  819.                     v.Character.Head.Mesh.Scale = Vector3.new(5,5,5)
  820.                 end
  821.             end
  822.         end
  823.     end
  824.    
  825.     if string.lower(string.sub(msg,1,10)) == "smallhead/" then
  826.         if string.len(msg) >= 11 then
  827.             stop = findplr(string.sub(msg,11),player)
  828.             if stop ~= 0 then
  829.                 for _,v in pairs(stop) do
  830.                     v.Character.Head.Mesh.Scale = Vector3.new(0.625,0.625,0.625)
  831.                 end
  832.             end
  833.         end
  834.     end
  835.    
  836.     if string.lower(string.sub(msg,1,9)) == "normhead/" then
  837.         if string.len(msg) >= 10 then
  838.             stop = findplr(string.sub(msg,10),player)
  839.             if stop ~= 0 then
  840.                 for _,v in pairs(stop) do
  841.                     v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25)
  842.                 end
  843.             end
  844.         end
  845.     end
  846.    
  847.     if string.lower(string.sub(msg,1,8)) == "sethead/" then
  848.         if string.len(msg) >= 9 then
  849.             Add = nil
  850.             Num = nil
  851.             for i=9,1000 do
  852.                 if string.sub(msg,i,i) == "/" then
  853.                     Add = i
  854.                     break
  855.                 elseif string.sub(msg,i,i) == "" then
  856.                     break
  857.                 end
  858.             end
  859.             if Add then
  860.                 stop = findplr(string.sub(msg,9,Add-1),player)
  861.                 if stop ~= 0 then
  862.                     Num = tonumber(string.sub(msg,Add+1))
  863.                     if Num then
  864.                         for _,v in pairs(stop) do
  865.                             v.Character.Head.Mesh.Scale = Vector3.new(Num,Num,Num)
  866.                         end
  867.                     end
  868.                 end
  869.             end
  870.         end
  871.     end
  872.    
  873.     if string.lower(string.sub(msg,1,5)) == "hide/" then
  874.         if string.len(msg) >= 6 then
  875.             stop = findplr(string.sub(msg,6))
  876.             if stop ~= 0 then
  877.                 for _,v in pairs(stop) do
  878.                     A = v.Character.Head:clone()
  879.                     A.face:remove()
  880.                     B = Instance.new("Weld",v.Character.Head)
  881.                     B.Name = "BCGWeld"
  882.                     B.Part1 = v.Character.Head
  883.                     B.Part0 = A
  884.                     v.Character.Head.Transparency = 1
  885.                     A.Name = "PseudoHead"
  886.                     A.Parent = v.Character
  887.                 end
  888.             end
  889.         end
  890.     end
  891.    
  892.     if string.lower(string.sub(msg,1,7)) == "unhide/" then
  893.         if string.len(msg) >= 8 then
  894.             stop = findplr(string.sub(msg,8))
  895.             if stop ~= 0 then
  896.                 for _,v in pairs(stop) do
  897.                     if v.Character:FindFirstChild("PseudoHead") then
  898.                         v.Character.PseudoHead:remove()
  899.                         v.Character.Head.Transparency = 0
  900.                     end
  901.                 end
  902.             end
  903.         end
  904.     end
  905.  
  906.     if string.lower(string.sub(msg,1,8)) == "unsmoke/" then
  907.         if string.len(msg)>=9 then
  908.             stop = findplr(string.sub(msg,9),player)
  909.             if stop ~= 0 then
  910.                 for x=1,#stop do
  911.                     Spark = stop[x].Character.Torso:FindFirstChild("BCGSmoke")
  912.                     if Spark then
  913.                         Spark:remove()
  914.                     end
  915.                 end
  916.             end
  917.         end
  918.     end
  919.  
  920.     if string.lower(string.sub(msg,1,6)) == "smoke/" then
  921.         if string.len(msg)>=7 then
  922.             stop = findplr(string.sub(msg,7),player)
  923.             if stop ~= 0 then
  924.                 for x=1,#stop do
  925.                     Spark = stop[x].Character.Torso:FindFirstChild("BCGSmoke")
  926.                     if not Spark then
  927.                         A=Instance.new("Smoke")
  928.                         A.Name = "BCGSmoke"
  929.                         A.Color = Color3.new((math.random(1,255))/255,(math.random(1,255))/255,(math.random(1,255))/255)
  930.                         A.Opacity = 0.5
  931.                         A.RiseVelocity = 5
  932.                         A.Parent = stop[x].Character.Torso
  933.                     end
  934.                 end
  935.             end
  936.         end
  937.     end
  938.  
  939.     if string.lower(string.sub(msg,1,8)) == "shadcol/" then
  940.         if string.len(msg) >= 9 then
  941.             I = nil
  942.             C = nil
  943.             for i=9,1000 do
  944.                 if string.sub(msg,i,i) == "/" then
  945.                     I = i
  946.                     break
  947.                 end
  948.             end
  949.             if I then
  950.                 for c=I+1,10000 do
  951.                     if string.sub(msg,c,c) == "/" then
  952.                         C = c
  953.                         break
  954.                     end
  955.                 end
  956.                 if C then
  957.                     game.Lighting.ShadowColor = Color3.new(tonumber(string.sub(msg,5,I-1)),tonumber(string.sub(msg,I+1,C-1)),tonumber(string.sub(msg,C+1)))
  958.                 end
  959.             end
  960.         end
  961.     end
  962.  
  963.     if string.lower(string.sub(msg,1,2)) == "b/" then
  964.         if string.len(msg) >= 3 then
  965.             I = nil
  966.             for i=3,9999 do
  967.                 if string.sub(msg,i,i) == "/" then
  968.                     I = i
  969.                     break
  970.                 end
  971.             end
  972.             if I then
  973.                 stop = findplr(string.sub(msg,3,I-1),player)
  974.                 if stop ~= 0 then
  975.                     ID = tonumber(string.sub(msg,I+1))
  976.                     if ID then
  977.                         for _,v in pairs(stop) do
  978.                             game:GetService("BadgeService"):AwardBadge(v.userId,ID)
  979.                         end
  980.                     end
  981.                 end
  982.             end
  983.         end
  984.     end
  985.  
  986.     if string.lower(string.sub(msg,1,4)) == "amb/" then
  987.         if string.len(msg) >= 5 then
  988.             I = nil
  989.             C = nil
  990.             for i=5,1000 do
  991.                 if string.sub(msg,i,i) == "/" then
  992.                     I = i
  993.                     break
  994.                 end
  995.             end
  996.             if I then
  997.                 for c=I+1,10000 do
  998.                     if string.sub(msg,c,c) == "/" then
  999.                         C = c
  1000.                         break
  1001.                     end
  1002.                 end
  1003.                 if C then
  1004.                     game.Lighting.Ambient = Color3.new(tonumber(string.sub(msg,5,I-1)),tonumber(string.sub(msg,I+1,C-1)),tonumber(string.sub(msg,C+1)))
  1005.                 end
  1006.             end
  1007.         end
  1008.     end
  1009.  
  1010.     if string.lower(string.sub(msg,1,11)) == "brightness/" then
  1011.         if string.len(msg) >= 12 then
  1012.             print(string.sub(msg,12))
  1013.             game.Lighting.Brightness = tonumber(string.sub(msg,12))
  1014.         end
  1015.     end
  1016.    
  1017.     if string.lower(string.sub(msg,1)) == "tools" then
  1018.         Toolz = {}
  1019.         for _,v in pairs(game.Lighting:GetChildren()) do
  1020.             if v.className == "Tool" or v.className == "HopperBin" then
  1021.                 table.insert(Toolz,v)
  1022.             end
  1023.         end
  1024.         for _,c in pairs(Toolz) do
  1025.             A = GUI5:clone()
  1026.             A.Parent = player.PlayerGui
  1027.             A.Frame.CMD.Text = c.Name
  1028.             wait(3)
  1029.             A:remove()
  1030.         end
  1031.     end
  1032.    
  1033.     if string.lower(string.sub(msg,1,8)) == "gettool/" then
  1034.         if string.len(msg) >= 9 then
  1035.             Plr = nil
  1036.             Tool = nil
  1037.             for i=9,1000 do
  1038.                 if string.sub(msg,i,i) == "/" then
  1039.                     Plr = i
  1040.                     break
  1041.                 elseif string.sub(msg,i,i) == "" then
  1042.                     break
  1043.                 end
  1044.             end
  1045.             if Plr then
  1046.                 stop = findplr(string.sub(msg,9,Plr-1),player)
  1047.                 if stop ~= 0 then
  1048.                     Toolz = findtool(string.sub(msg,Plr+1))
  1049.                     if Toolz then
  1050.                         for _,v in pairs(stop) do
  1051.                             for _,c in pairs(Toolz) do
  1052.                                 c:clone().Parent = v.Backpack
  1053.                             end
  1054.                         end
  1055.                     end
  1056.                 end
  1057.             end
  1058.         end
  1059.     end
  1060.    
  1061.     if string.lower(string.sub(msg,1,5)) == "give/" then
  1062.         if string.len(msg)>=6 then
  1063.             AAA = nil
  1064.             for sa=6,1000 do
  1065.                 if string.sub(msg,sa,sa) == "/" then
  1066.                     AAA = sa
  1067.                     break
  1068.                 elseif string.sub(msg,sa,sa) == "" then
  1069.                     break
  1070.                 end
  1071.             end
  1072.             stop = findplr(string.sub(msg,6,AAA-1),player)
  1073.             if stop ~= 0 then
  1074.                 for _,f in pairs(stop) do
  1075.                     ID = string.sub(msg,AAA+1)
  1076.                     Insert = game:GetService("InsertService"):LoadAsset(ID)
  1077.                     Child = Insert:GetChildren()
  1078.                     Check = false
  1079.                     for i=1,#Child do
  1080.                         if (Child[i].className == "Hat" or Child[i].className == "CharacterMesh" or Child[i].className == "Shirt" or Child[i].className == "Pants") then
  1081.                             Child[i].Parent = f.Character
  1082.                         end
  1083.                     end
  1084.                     Insert:remove()
  1085.                 end
  1086.             end
  1087.         end
  1088.     end
  1089.    
  1090.     if string.lower(string.sub(msg,1,7)) == "showid/" then
  1091.         if string.len(msg) >= 8 then
  1092.             stop = findplr(string.sub(msg,8),player)
  1093.             if stop ~= 0 then
  1094.                 for _,v in pairs(stop) do
  1095.                     A = IDID:clone()
  1096.                     A.Parent = player.PlayerGui
  1097.                     A.Frame.CMD.Text = v.userId
  1098.                     A.Frame.Namez.Text = v.Name
  1099.                     wait(5)
  1100.                     A:remove()
  1101.                 end
  1102.             end
  1103.         end
  1104.     end
  1105.    
  1106.     if string.lower(string.sub(msg,1,8)) == "showpic/" then
  1107.         if string.len(msg) >= 9 then
  1108.             stop = findplr(string.sub(msg,9),player)
  1109.             if stop ~= 0 then
  1110.                 for _,v in pairs(stop) do
  1111.                     A = UPIC:clone()
  1112.                     A.Frame.Pic.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..v.Name..""
  1113.                     A.Parent = player.PlayerGui
  1114.                     A.Frame.Namez.Text = v.Name
  1115.                     A.Rem.Disabled = false
  1116.                 end
  1117.             end
  1118.         end
  1119.     end
  1120.    
  1121.     if string.lower(string.sub(msg,1,4)) == "age/" then
  1122.         if string.len(msg) >= 5 then
  1123.             stop = findplr(string.sub(msg,5),player)
  1124.             if stop ~= 0 then
  1125.                 for _,v in pairs(stop) do
  1126.                     A = IDID:clone()
  1127.                     A.Parent = player.PlayerGui
  1128.                     A.Frame.CMD.Text = v.AccountAge
  1129.                     A.Frame.Namez.Text = v.Name
  1130.                     wait(5)
  1131.                     A:Remove()
  1132.                 end
  1133.             end
  1134.         end
  1135.     end
  1136.    
  1137.     if string.lower(string.sub(msg,1)) == "adminlist" then
  1138.         A = GUI5:clone()
  1139.         A.Parent = player.PlayerGui
  1140.         if #Admins == 0 then --lolwut?
  1141.             A.Frame.CMD.Text = "There are no admins!"
  1142.         elseif #Admins >= 1 then
  1143.             for i=1,#Admins do
  1144.                 A.Frame.CMD.Text = Admins[i]
  1145.                 wait(3)
  1146.             end
  1147.         end
  1148.         A:remove()
  1149.     end
  1150.    
  1151.     if string.lower(string.sub(msg,1)) == "bannedlist" then
  1152.         A = GUI5:clone()
  1153.         A.Parent = player.PlayerGui
  1154.         if #Banned == 0 then
  1155.             A.Frame.CMD.Text = "There are no banned users!"
  1156.         elseif #Banned >= 1 then
  1157.             for i=1,#Banned do
  1158.                 A.Frame.CMD.Text = Banned[i]
  1159.                 wait(3)
  1160.             end
  1161.         end
  1162.         A:remove()
  1163.     end
  1164.    
  1165.     if string.lower(string.sub(msg,1,8)) == "disable/" then
  1166.         if string.len(msg) >= 9 then
  1167.             plr = findplr(string.sub(msg,9),player)
  1168.             if plr ~= 0 then
  1169.                 for _,v in pairs(plr) do
  1170.                     v.Character.Humanoid.PlatformStand = true
  1171.                 end
  1172.             end
  1173.         end
  1174.     end
  1175.  
  1176.     if string.lower(string.sub(msg,1,7)) == "enable/" then
  1177.         if string.len(msg) >= 8 then
  1178.             plr = findplr(string.sub(msg,8),player)
  1179.             if plr ~= 0 then
  1180.                 for _,v in pairs(plr) do
  1181.                     v.Character.Humanoid.PlatformStand = false
  1182.                 end
  1183.             end
  1184.         end
  1185.     end
  1186.  
  1187.     if string.lower(string.sub(msg,1,2)) == "a/" then
  1188.         if string.len(msg) >= 3 then
  1189.             Go = false
  1190.             for _,v in pairs(Admins) do
  1191.                 if player.Name == v then
  1192.                     Go = true
  1193.                     break
  1194.                 end
  1195.             end
  1196.             if Go then
  1197.                 stop = findplr(string.sub(msg,3),player)
  1198.                 if stop ~= 0 then
  1199.                     for x=1,#stop do
  1200.                         if not stop[x].Admin.Value then
  1201.                             stop[x].Admin.Value = true
  1202.                             LOL = TA:clone()
  1203.                             LOL.Parent = stop[x].PlayerGui
  1204.                             LOL.Rem.Disabled = false
  1205.                         end
  1206.                     end
  1207.                 end
  1208.             end
  1209.         end
  1210.     end
  1211.  
  1212.     if string.lower(string.sub(msg,1,3)) == "ua/" then
  1213.         if string.len(msg) >= 4 then
  1214.             stop = findplr(string.sub(msg,4),player)
  1215.             if stop ~= 0 then
  1216.                 for x=1,#stop do
  1217.                     Go = false
  1218.                     for _,v in pairs(Admins) do
  1219.                         if player.Name == v then
  1220.                             Go = true
  1221.                             break
  1222.                         end
  1223.                     end
  1224.                     if Go then
  1225.                         if stop[x].Admin.Value then
  1226.                             Yes = true
  1227.                             for _,z in pairs(Admins) do
  1228.                                 if stop[x].Name == z then
  1229.                                     Yes = false
  1230.                                     break
  1231.                                 end
  1232.                             end
  1233.                             if Yes then
  1234.                                 LOL = UTA:clone()
  1235.                                 LOL.Parent = stop[x].PlayerGui
  1236.                                 stop[x].Admin.Value = false
  1237.                                 LOL.Rem.Disabled = false
  1238.                             end
  1239.                         end
  1240.                     end
  1241.                 end
  1242.             end
  1243.         end
  1244.     end
  1245.  
  1246.     if string.lower(string.sub(msg,1,4)) == "ice/" then
  1247.         if string.len(msg)>=5 then
  1248.             stop = findplr(string.sub(msg,5),player)
  1249.             if stop ~= 0 then
  1250.                 for x=1,#stop do
  1251.                     Char = stop[x].Character:GetChildren()
  1252.                     for i=1,#Char do
  1253.                         if Char[i].className == "Part" then
  1254.                             Char[i].Material = "Ice"
  1255.                         end
  1256.                     end
  1257.                 end
  1258.             end
  1259.         end
  1260.     end
  1261.  
  1262.     if string.lower(string.sub(msg,1,6)) == "grass/" then
  1263.         if string.len(msg)>=7 then
  1264.             stop = findplr(string.sub(msg,7),player)
  1265.             if stop ~= 0 then
  1266.                 for x=1,#stop do
  1267.                     Char = stop[x].Character:GetChildren()
  1268.                     for i=1,#Char do
  1269.                         if Char[i].className == "Part" then
  1270.                             Char[i].Material = "Grass"
  1271.                         end
  1272.                     end
  1273.                 end
  1274.             end
  1275.         end
  1276.     end
  1277.  
  1278.     if string.lower(string.sub(msg,1,5)) == "foil/" then
  1279.         if string.len(msg)>=6 then
  1280.             stop = findplr(string.sub(msg,6),player)
  1281.             if stop ~= 0 then
  1282.                 for x=1,#stop do
  1283.                     Char = stop[x].Character:GetChildren()
  1284.                     for i=1,#Char do
  1285.                         if Char[i].className == "Part" then
  1286.                             Char[i].Material = "Foil"
  1287.                         end
  1288.                     end
  1289.                 end
  1290.             end
  1291.         end
  1292.     end
  1293.  
  1294.     if string.lower(string.sub(msg,1,10)) == "corrmetal/" then
  1295.         if string.len(msg)>=11 then
  1296.             stop = findplr(string.sub(msg,11),player)
  1297.             if stop ~= 0 then
  1298.                 for x=1,#stop do
  1299.                     Char = stop[x].Character:GetChildren()
  1300.                     for i=1,#Char do
  1301.                         if Char[i].className == "Part" then
  1302.                             Char[i].Material = "CorrodedMetal"
  1303.                         end
  1304.                     end
  1305.                 end
  1306.             end
  1307.         end
  1308.     end
  1309.  
  1310.     if string.lower(string.sub(msg,1,6)) == "slate/" then
  1311.         if string.len(msg)>=7 then
  1312.             stop = findplr(string.sub(msg,7),player)
  1313.             if stop ~= 0 then
  1314.                 for x=1,#stop do
  1315.                     Char = stop[x].Character:GetChildren()
  1316.                     for i=1,#Char do
  1317.                         if Char[i].className == "Part" then
  1318.                             Char[i].Material = "Slate"
  1319.                         end
  1320.                     end
  1321.                 end
  1322.             end
  1323.         end
  1324.     end
  1325.  
  1326.     if string.lower(string.sub(msg,1,9)) == "concrete/" then
  1327.         if string.len(msg)>=10 then
  1328.             stop = findplr(string.sub(msg,10),player)
  1329.             if stop ~= 0 then
  1330.                 for x=1,#stop do
  1331.                     Char = stop[x].Character:GetChildren()
  1332.                     for i=1,#Char do
  1333.                         if Char[i].className == "Part" then
  1334.                             Char[i].Material = "Concrete"
  1335.                         end
  1336.                     end
  1337.                 end
  1338.             end
  1339.         end
  1340.     end
  1341.  
  1342.     if string.lower(string.sub(msg,1,6)) == "dimpl/" then
  1343.         if string.len(msg)>=7 then
  1344.             stop = findplr(string.sub(msg,7),player)
  1345.             if stop ~= 0 then
  1346.                 for x=1,#stop do
  1347.                     Char = stop[x].Character:GetChildren()
  1348.                     for i=1,#Char do
  1349.                         if Char[i].className == "Part" then
  1350.                             Char[i].Material = "DiamondPlate"
  1351.                         end
  1352.                     end
  1353.                 end
  1354.             end
  1355.         end
  1356.     end
  1357.  
  1358.     if string.lower(string.sub(msg,1,8)) == "plastic/" then
  1359.         if string.len(msg)>=9 then
  1360.             stop = findplr(string.sub(msg,9),player)
  1361.             if stop ~= 0 then
  1362.                 for x=1,#stop do
  1363.                     Char = stop[x].Character:GetChildren()
  1364.                     for i=1,#Char do
  1365.                         if Char[i].className == "Part" then
  1366.                             Char[i].Material = "Plastic"
  1367.                         end
  1368.                     end
  1369.                 end
  1370.             end
  1371.         end
  1372.     end
  1373.  
  1374.     if string.lower(string.sub(msg,1,5)) == "wood/" then
  1375.         if string.len(msg)>=6 then
  1376.             stop = findplr(string.sub(msg,6),player)
  1377.             if stop ~= 0 then
  1378.                 for x=1,#stop do
  1379.                     Char = stop[x].Character:GetChildren()
  1380.                     for i=1,#Char do
  1381.                         if Char[i].className == "Part" then
  1382.                             Char[i].Material = "Wood"
  1383.                         end
  1384.                     end
  1385.                 end
  1386.             end
  1387.         end
  1388.     end
  1389.  
  1390.     if string.lower(string.sub(msg,1,7)) == "stealh/" then
  1391.         if string.len(msg)>=8 then
  1392.             stop = findplr(string.sub(msg,8),player)
  1393.             if stop ~= 0 then
  1394.                 for z=1,#stop do
  1395.                     MyHats = player.Character:GetChildren()
  1396.                     for x=1,#MyHats do
  1397.                         if MyHats[x].className == "Hat" then
  1398.                             MyHats[x]:remove()
  1399.                         end
  1400.                     end
  1401.                     GetHats = stop[z].Character:GetChildren()
  1402.                     for i=1,#GetHats do
  1403.                         if GetHats[i].className == "Hat" then
  1404.                             GetHats[i].Parent = player.Character
  1405.                         end
  1406.                     end
  1407.                 end
  1408.             end
  1409.         end
  1410.     end
  1411.  
  1412.     if string.lower(string.sub(msg,1,7)) == "cloneh/" then
  1413.         if string.len(msg)>=8 then
  1414.             stop = findplr(string.sub(msg,8),player)
  1415.             if stop ~= 0 then
  1416.                 for z=1,#stop do
  1417.                     MyHats = player.Character:GetChildren()
  1418.                     for x=1,#MyHats do
  1419.                         if MyHats[x].className == "Hat" then
  1420.                             MyHats[x]:remove()
  1421.                         end
  1422.                     end
  1423.                     GetHats = stop[z].Character:GetChildren()
  1424.                     for i=1,#GetHats do
  1425.                         if GetHats[i].className == "Hat" then
  1426.                             GetHats[i]:clone().Parent = player.Character
  1427.                         end
  1428.                     end
  1429.                 end
  1430.             end
  1431.         end
  1432.     end
  1433.  
  1434.     if string.lower(string.sub(msg,1,5)) == "spin/" then
  1435.         if string.len(msg)>=6 then
  1436.             stop = findplr(string.sub(msg,6),player)
  1437.             if stop ~= 0 then
  1438.                 for x=1,#stop do
  1439.                     Check = stop[x].Character.Torso:FindFirstChild("Spin")
  1440.                     if not Check then
  1441.                         local bodySpin = Instance.new("BodyAngularVelocity")
  1442.                         bodySpin.P = 200000
  1443.                         bodySpin.angularvelocity = Vector3.new(0,15,0)
  1444.                         bodySpin.maxTorque = Vector3.new(bodySpin.P,bodySpin.P,bodySpin.P)
  1445.                         bodySpin.Name = "Spin"
  1446.                         bodySpin.Parent = stop[x].Character.Torso
  1447.                     end
  1448.                 end
  1449.             end
  1450.         end
  1451.     end
  1452.  
  1453.     if string.lower(string.sub(msg,1,7)) == "unspin/" then
  1454.         if string.len(msg)>=8 then
  1455.             stop = findplr(string.sub(msg,8),player)
  1456.             if stop ~= 0 then
  1457.                 for x=1,#stop do
  1458.                     Check = stop[x].Character.Torso:FindFirstChild("Spin")
  1459.                     if Check then
  1460.                         Check:remove()
  1461.                     end
  1462.                 end
  1463.             end
  1464.         end
  1465.     end
  1466.  
  1467.     if string.lower(string.sub(msg,1,9)) == "unfreeze/" then
  1468.         if string.len(msg)>=10 then
  1469.             stop = findplr(string.sub(msg,10),player)
  1470.             if stop ~= 0 then
  1471.                 for x=1,#stop do
  1472.                     Char = stop[x].Character:getChildren()
  1473.                     for i=1,#Char do
  1474.                         if Char[i].className == "Part" then
  1475.                             Char[i].Anchored = false
  1476.                             Char[i].Reflectance = 0
  1477.                         end
  1478.                     end
  1479.                     c,d = pcall(function()
  1480.                         stop[x].Character.Humanoid.WalkSpeed = stop[x].Character.Speed.Value
  1481.                         stop[x].Character.Speed:remove()
  1482.                     end)
  1483.                     if not c then
  1484.                         stop[x].Character.Humanoid.WalkSpeed = 16
  1485.                     end
  1486.                 end
  1487.             end
  1488.         end
  1489.     end
  1490.  
  1491.     if string.lower(string.sub(msg,1,7)) == "freeze/" then
  1492.         if string.len(msg)>= 8 then
  1493.             stop = findplr(string.sub(msg,8),player)
  1494.             if stop ~= 0 then
  1495.                 for x=1,#stop do
  1496.                     Char = stop[x].Character:GetChildren()
  1497.                     for i=1,#Char do
  1498.                         if Char[i].className == "Part" then
  1499.                             Char[i].Anchored = true
  1500.                             Char[i].Reflectance = 0.6
  1501.                         end
  1502.                     end
  1503.                     Speed = Instance.new("IntValue",stop[x].Character)
  1504.                     Speed.Value = stop[x].Character.Humanoid.WalkSpeed
  1505.                     Speed.Name = "Speed"
  1506.                     stop[x].Character.Humanoid.WalkSpeed = 0
  1507.                 end
  1508.             end
  1509.         end
  1510.     end
  1511.  
  1512.     if string.lower(string.sub(msg,1,10)) == "invisible/" then
  1513.         if string.len(msg)>=11 then
  1514.             stop = findplr(string.sub(msg,11),player)
  1515.             if stop ~= 0 then
  1516.                 for x=1,#stop do
  1517.                     if not stop[x].Character:FindFirstChild("PseudoHead") then
  1518.                         Char = stop[x].Character:GetChildren()
  1519.                         for i=1,#Char do
  1520.                             if Char[i].className == "Part" then
  1521.                                 Char[i].Transparency = 1
  1522.                             end
  1523.                             if Char[i].className == "Hat" then
  1524.                                 Char[i].Handle.Transparency = 1
  1525.                             end
  1526.                         end
  1527.                     end
  1528.                 end
  1529.             end
  1530.         end
  1531.     end
  1532.  
  1533.     if string.lower(string.sub(msg,1,8)) == "visible/" then
  1534.         if string.len(msg)>=9 then
  1535.             stop = findplr(string.sub(msg,9),player)
  1536.             if stop ~= 0 then
  1537.                 for x=1,#stop do
  1538.                     if not stop[x].Character:FindFirstChild("PseudoHead") then
  1539.                         Char = stop[x].Character:GetChildren()
  1540.                         for i=1,#Char do
  1541.                             if Char[i].className == "Part" then
  1542.                                 Char[i].Transparency = 0
  1543.                             end
  1544.                             if Char[i].className == "Hat" then
  1545.                                 Char[i].Handle.Transparency = 0
  1546.                             end
  1547.                         end
  1548.                     end
  1549.                 end
  1550.             end
  1551.         end
  1552.     end
  1553.  
  1554.     if string.lower(string.sub(msg,1,9)) == "teleport/" then
  1555.         if string.len(msg)>=10 then
  1556.             Add = nil
  1557.             for i=10,1000 do
  1558.                 if string.sub(msg,i,i) == "/" then
  1559.                     Add = i
  1560.                     break
  1561.                 elseif string.sub(msg,i,i)=="" then
  1562.                     break
  1563.                 end
  1564.             end
  1565.             stop1 = findplr(string.sub(msg,10,Add-1),player)
  1566.             stop2 = findplr(string.sub(msg,Add+1),player)
  1567.             if stop1 ~=0 and stop2 ~= 0 then
  1568.                 for x=1,#stop1 do
  1569.                     for z=1,#stop2 do
  1570.                         stop1[x].Character.Torso.CFrame = stop2[z].Character.Torso.CFrame
  1571.                     end
  1572.                 end
  1573.             end
  1574.         end
  1575.     end
  1576.  
  1577.     if string.lower(string.sub(msg,1)) == "getbtools" then
  1578.         local a = Instance.new("HopperBin")
  1579.         Go = false
  1580.         for _,v in pairs(Admins) do
  1581.             if player.Name == v then
  1582.                 Go = true
  1583.                 break
  1584.             end
  1585.         end
  1586.         if Go then
  1587.             a.BinType = "GameTool"
  1588.             a.Parent = player.Backpack
  1589.             local b = Instance.new("HopperBin")
  1590.             b.BinType = "Clone"
  1591.             b.Parent = player.Backpack
  1592.             local c = Instance.new("HopperBin")
  1593.             c.BinType = "Hammer"
  1594.             c.Parent = player.Backpack
  1595.         end
  1596.     end
  1597.  
  1598.     if string.lower(string.sub(msg,1,11)) == "givebtools/" then
  1599.         if string.len(msg)>=12 then
  1600.             Go = false
  1601.             for _,v in pairs(Admins) do
  1602.                 if player.Name == v then
  1603.                     Go = true
  1604.                     break
  1605.                 end
  1606.             end
  1607.             if Go then
  1608.                 stop = findplr(string.sub(msg,12),player)
  1609.                 if stop ~= 0 then
  1610.                     for x=1,#stop do
  1611.                         local a = Instance.new("HopperBin")
  1612.                         a.BinType = "GameTool"
  1613.                         a.Parent = stop[x].Backpack
  1614.                         local b = Instance.new("HopperBin")
  1615.                         b.BinType = "Clone"
  1616.                         b.Parent = stop[x].Backpack
  1617.                         local c = Instance.new("HopperBin")
  1618.                         c.BinType = "Hammer"
  1619.                         c.Parent = stop[x].Backpack
  1620.                     end
  1621.                 end
  1622.             end
  1623.         end
  1624.     end
  1625.  
  1626.     if string.lower(string.sub(msg,1,5)) == "jump/" then
  1627.         if string.len(msg)>=6 then
  1628.             stop = findplr(string.sub(msg,6),player)
  1629.             if stop ~= 0 then
  1630.                 for x=1,#stop do
  1631.                     stop[x].Character.Humanoid.Jump = true
  1632.                 end
  1633.             end
  1634.         end
  1635.     end
  1636.  
  1637.     if string.lower(string.sub(msg,1,4)) == "sit/" then
  1638.         if string.len(msg)>=5 then
  1639.             stop = findplr(string.sub(msg,5),player)
  1640.             if stop ~= 0 then
  1641.                 for x=1,#stop do
  1642.                     stop[x].Character.Humanoid.Sit = true
  1643.                 end
  1644.             end
  1645.         end
  1646.     end
  1647.  
  1648.     if string.lower(string.sub(msg,1,5)) == "fire/" then
  1649.         if string.len(msg)>=6 then
  1650.             stop = findplr(string.sub(msg,6),player)
  1651.             if stop ~= 0 then
  1652.                 for x=1,#stop do
  1653.                     Spark = stop[x].Character.Torso:FindFirstChild("BCGFire")
  1654.                     if not Spark then
  1655.                         A=Instance.new("Fire")
  1656.                         A.Name = "BCGFire"
  1657.                         A.Color = Color3.new((math.random(1,255))/255,(math.random(1,255))/255,(math.random(1,255))/255)
  1658.                         A.SecondaryColor = Color3.new((math.random(1,255))/255,(math.random(1,255))/255,(math.random(1,255))/255)
  1659.                         A.Parent = stop[x].Character.Torso
  1660.                     end
  1661.                 end
  1662.             end
  1663.         end
  1664.     end
  1665.  
  1666.     if string.lower(string.sub(msg,1,7)) == "unfire/" then
  1667.         if string.len(msg)>=8 then
  1668.             stop = findplr(string.sub(msg,8),player)
  1669.             if stop ~= 0 then
  1670.                 for x=1,#stop do
  1671.                     Spark = stop[x].Character.Torso:FindFirstChild("BCGFire")
  1672.                     if Spark then
  1673.                         Spark:remove()
  1674.                     end
  1675.                 end
  1676.             end
  1677.         end
  1678.     end
  1679.  
  1680.     if string.lower(string.sub(msg,1,9)) == "sparkles/" then
  1681.         if string.len(msg)>=10 then
  1682.             stop = findplr(string.sub(msg,10),player)
  1683.             if stop ~= 0 then
  1684.                 for x=1,#stop do
  1685.                     Spark = stop[x].Character.Torso:FindFirstChild("BCGSparks")
  1686.                     if not Spark then
  1687.                         Spark = Instance.new("Sparkles")
  1688.                         Spark.Name = "BCGSparks"
  1689.                         Spark.SparkleColor = Color3.new((math.random(1,255))/255,(math.random(1,255))/255,(math.random(1,255))/255)
  1690.                         Spark.Parent = stop[x].Character.Torso
  1691.                     end
  1692.                 end
  1693.             end
  1694.         end
  1695.     end
  1696.  
  1697.     if string.lower(string.sub(msg,1,11)) == "unsparkles/" then
  1698.         if string.len(msg)>=12 then
  1699.             stop = findplr(string.sub(msg,12),player)
  1700.             if stop ~= 0 then
  1701.                 for x=1,#stop do
  1702.                     Spark = stop[x].Character.Torso:FindFirstChild("BCGSparks")
  1703.                     if Spark then
  1704.                         Spark:remove()
  1705.                     end
  1706.                 end
  1707.             end
  1708.         end
  1709.     end
  1710.  
  1711.     if string.lower(string.sub(msg,1,5)) == "grav/" then
  1712.         if string.len(msg)>=6 then
  1713.             stop = findplr(string.sub(msg,6),player)
  1714.             if stop ~= 0 then
  1715.                 for x=1,#stop do
  1716.                     if stop[x].Character.Torso:FindFirstChild("BCGGrav") then
  1717.                         stop[x].Character.Torso:FindFirstChild("BCGGrav"):remove()
  1718.                     end
  1719.                 end
  1720.             end
  1721.         end
  1722.     end
  1723.  
  1724.     if string.lower(string.sub(msg,1,8)) == "setgrav/" then
  1725.         if string.len(msg)>=9 then
  1726.             Add = nil
  1727.             for i=9,1000 do
  1728.                 if string.sub(msg,i,i)=="/" then
  1729.                     Add = i
  1730.                     break
  1731.                 elseif string.sub(msg,i,i)=="" then
  1732.                     break
  1733.                 end
  1734.             end
  1735.             stop = findplr(string.sub(msg,9,Add-1),player)
  1736.             if stop ~= 0 then
  1737.                 for x=1,#stop do
  1738.                     if not stop[x].Character.Torso:FindFirstChild("BCGGrav") then
  1739.                         Count = 0
  1740.                         for _,v in pairs(stop[x].Character:GetChildren()) do
  1741.                             if v.className == "Part" then
  1742.                                 Count = Count +v:GetMass()
  1743.                             elseif v.className == "Hat" then
  1744.                                 Count = Count +v.Handle:GetMass()
  1745.                             end
  1746.                         end
  1747.                         Grav = Instance.new("BodyForce")
  1748.                         Grav.Name = "BCGGrav"
  1749.                         Grav.force = Vector3.new(0,(string.sub(msg,Add+1))+Count,0)
  1750.                         Grav.Parent = stop[x].Character.Torso
  1751.                     end
  1752.                 end
  1753.             end
  1754.         end
  1755.     end
  1756.  
  1757.     if string.lower(string.sub(msg,1,7)) == "nograv/" then
  1758.         if string.len(msg)>=8 then
  1759.             stop = findplr(string.sub(msg,8),player)
  1760.             if stop ~=0 then
  1761.                 for x=1,#stop do
  1762.                     if not stop[x].Character.Torso:FindFirstChild("BCGGrav") then
  1763.                         Count = 0
  1764.                         for _,v in pairs(stop[x].Character:GetChildren()) do
  1765.                             if v.className == "Part" then
  1766.                                 Count = Count +v:GetMass()
  1767.                             elseif v.className == "Hat" then
  1768.                                 Count = Count +v.Handle:GetMass()
  1769.                             end
  1770.                         end
  1771.                         Grav = Instance.new("BodyForce")
  1772.                         Grav.Name = "BCGGrav"
  1773.                         Grav.force = Vector3.new(0,2000+Count,0)
  1774.                         Grav.Parent = stop[x].Character.Torso
  1775.                     end
  1776.                 end
  1777.             end
  1778.         end
  1779.     end
  1780.  
  1781.     if string.lower(string.sub(msg,1,6)) == "trans/" then
  1782.         if string.len(msg)>=7 then
  1783.             Add = nil
  1784.             for i=7,1000 do
  1785.                 if string.sub(msg,i,i)=="/" then
  1786.                     Add = i
  1787.                     break
  1788.                 elseif string.sub(msg,i,i)=="" then
  1789.                     break
  1790.                 end
  1791.             end
  1792.             stop = findplr(string.sub(msg,7,Add-1),player)
  1793.             if stop ~= 0 then
  1794.                 for z=1,#stop do
  1795.                     Char = stop[z].Character:GetChildren()
  1796.                     for x=1,#Char do
  1797.                         if Char[x].className == "Part" then
  1798.                             Char[x].Transparency = (string.sub(msg,Add+1))
  1799.                         end
  1800.                         if Char[x].className == "Hat" then
  1801.                             Char[x].Handle.Transparency = (string.sub(msg,Add+1))
  1802.                         end
  1803.                     end
  1804.                 end
  1805.             end
  1806.         end
  1807.     end
  1808.  
  1809.     if string.lower(string.sub(msg,1,6)) == "blind/" then
  1810.         if string.len(msg)>=7 then
  1811.             Go = false
  1812.             for _,v in pairs(Admins) do
  1813.                 if player.Name == v then
  1814.                     Go = true
  1815.                     break
  1816.                 end
  1817.             end
  1818.             if Go then
  1819.                 stop = findplr(string.sub(msg,7),player)
  1820.                 if stop ~= 0 then
  1821.                     for x=1,#stop do
  1822.                         if not stop[x].PlayerGui:FindFirstChild("BlindGui") then
  1823.                             A=Instance.new("ScreenGui")
  1824.                             A.Name = "BlindGui"
  1825.                             B=Instance.new("Frame",A)
  1826.                             B.BackgroundColor3 = Color3.new(0,0,0)
  1827.                             B.Size = UDim2.new(5,0,5,0)
  1828.                             B.Position = UDim2.new(-0.005,0,-0.05,0)
  1829.                             A.Parent = stop[x].PlayerGui
  1830.                         end
  1831.                     end
  1832.                 end
  1833.             end
  1834.         end
  1835.     end
  1836.  
  1837.     if string.lower(string.sub(msg,1,8)) == "unblind/" then
  1838.         if string.len(msg)>=9 then
  1839.             Go = false
  1840.             for _,v in pairs(Admins) do
  1841.                 if player.Name == v then
  1842.                     Go = true
  1843.                     break
  1844.                 end
  1845.             end
  1846.             if Go then
  1847.                 stop = findplr(string.sub(msg,9),player)
  1848.                 if stop ~= 0 then
  1849.                     for x=1,#stop do
  1850.                         if stop[x].PlayerGui:FindFirstChild("BlindGui") then
  1851.                             stop[x].PlayerGui:FindFirstChild("BlindGui"):remove()
  1852.                         end
  1853.                     end
  1854.                 end
  1855.             end
  1856.         end
  1857.     end
  1858.  
  1859.     if string.lower(string.sub(msg,1,7)) == "damage/" then
  1860.         if string.len(msg)>=8 then
  1861.             Add = nil
  1862.             for i=8,1000 do
  1863.                 if string.sub(msg,i,i)=="/" then
  1864.                     Add = i
  1865.                     break
  1866.                 elseif string.sub(msg,i,i)=="" then
  1867.                     break
  1868.                 end
  1869.             end
  1870.             stop = findplr(string.sub(msg,8,Add-1),player)
  1871.             if stop ~= 0 then
  1872.                 for x=1,#stop do
  1873.                     Damage = string.sub(msg,Add+1)
  1874.                     stop[x].Character.Humanoid:TakeDamage(Damage)
  1875.                 end
  1876.             end
  1877.         end
  1878.     end
  1879.  
  1880.     if string.lower(string.sub(msg,1)) == "cmdcount" then
  1881.         A=GUI5:clone()
  1882.         A.Frame.CMD.Text = ""..Commands_Count.." Commands"
  1883.         A.Parent = player.PlayerGui
  1884.         wait(4)
  1885.         A:remove()
  1886.     end
  1887.  
  1888.     if string.lower(string.sub(msg,1)) == "cmds" then
  1889.         A = GUI5:clone()
  1890.         A.Parent = player.PlayerGui
  1891.         for i=1,#Commands do
  1892.             A.Frame.CMD.Text = Commands[i]
  1893.             wait(3)
  1894.         end
  1895.         A:remove()
  1896.     end
  1897.  
  1898.     if string.lower(string.sub(msg,1,7)) == "unjail/" then
  1899.         if string.len(msg)>=8 then
  1900.             stop = findplr(string.sub(msg,8),player)
  1901.             if stop ~= 0 then
  1902.                 for x=1,#stop do
  1903.                     if game.Workspace:FindFirstChild(""..stop[x].Name.."'s Cage") then
  1904.                         stop[x].Character.Torso.Anchored = false
  1905.                         stop[x].Character:FindFirstChild(""..stop[x].Name.."'s Cage"):remove()
  1906.                     end
  1907.                 end
  1908.             end
  1909.         end
  1910.     end
  1911.  
  1912.     if string.lower(string.sub(msg,1,5)) == "jail/" then
  1913.         if string.len(msg)>=6 then
  1914.             Cage = Instance.new("Part")
  1915.             Cage.Size = Vector3.new(10,10,10)
  1916.             Cage.CanCollide = false
  1917.             Cage.Anchored = true
  1918.             Cage.BrickColor = BrickColor.new("Really black")
  1919.             stop = findplr(string.sub(msg,6),player)
  1920.             if stop~=0 then
  1921.                 for x=1,#stop do
  1922.                     Cage.Name = ""..stop[x].Name.."'s Cage"
  1923.                     stop[x].Character.Torso.Anchored = true
  1924.                     Cage.Parent = stop[x].Character
  1925.                     Cage.CFrame = stop[x].Character.Torso.CFrame
  1926.                 end
  1927.             end
  1928.         end
  1929.     end
  1930.  
  1931.     if string.lower(string.sub(msg,1,5)) == "kick/" then
  1932.         if string.len(msg)>=6 then
  1933.             Go = false
  1934.             for _,v in pairs(Admins) do
  1935.                 if player.Name == v then
  1936.                     Go = true
  1937.                     break
  1938.                 end
  1939.             end
  1940.             if Go then
  1941.                 stop=findplr(string.sub(msg,6),player)
  1942.                 if stop~=0 then
  1943.                     for x=1,#stop do
  1944.                         stop[x]:remove()
  1945.                     end
  1946.                 end
  1947.             end
  1948.         end
  1949.     end
  1950.  
  1951.     if string.lower(string.sub(msg,1,4)) == "get/" then
  1952.         if string.len(msg)>=5 then
  1953.             ID = string.sub(msg,5)
  1954.             Insert = game:GetService("InsertService"):LoadAsset(ID)
  1955.             Child = Insert:GetChildren()
  1956.             Check = false
  1957.             for i=1,#Child do
  1958.                 if (Child[i].className == "Hat" or Child[i].className == "CharacterMesh" or Child[i].className == "Shirt" or Child[i].className == "Pants") then
  1959.                     Child[i].Parent = player.Character
  1960.                 end
  1961.             end
  1962.             Insert:remove()
  1963.         end
  1964.     end
  1965.  
  1966.     if string.lower(string.sub(msg,1,3)) == "ws/" then
  1967.         if string.len(msg)>=4 then
  1968.             Add = nil
  1969.             for i=4,1000 do
  1970.                 if string.sub(msg,i,i)=="/" then
  1971.                     Add = i
  1972.                     break
  1973.                 elseif string.sub(msg,i,i)=="" then
  1974.                     break
  1975.                 end
  1976.             end
  1977.             stop = findplr(string.sub(msg,4,Add-1),player)
  1978.             if stop ~=0 then
  1979.                 for x=1,#stop do
  1980.                     stop[x].Character.Humanoid.WalkSpeed = (string.sub(msg,Add+1))
  1981.                 end
  1982.             end
  1983.         end
  1984.     end
  1985.  
  1986.     if string.lower(string.sub(msg,1,3)) == "be/" then
  1987.         if string.len(msg)>=4 then
  1988.             fort = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="
  1989.             player.CharacterAppearance = ""..fort..""..string.sub(msg,4)..""
  1990.             player.Character:breakJoints()
  1991.         end
  1992.     end
  1993.  
  1994.     if string.lower(string.sub(msg,1,5)) == "make/" then
  1995.         if string.len(msg)>=6 then
  1996.             fort = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="
  1997.             Add = nil
  1998.             for i=6,1000 do
  1999.                 if string.sub(msg,i,i)=="/" then
  2000.                     Add = i
  2001.                     break
  2002.                 elseif string.sub(msg,i,i)=="" then
  2003.                     break
  2004.                 end
  2005.             end
  2006.             stop = findplr(string.sub(msg,6,Add-1),player)
  2007.             if stop ~= 0  then
  2008.                 for x=1,#stop do
  2009.                     stop[x].CharacterAppearance = ""..fort..""..string.sub(msg,Add+1)..""
  2010.                     stop[x].Character:breakJoints()
  2011.                 end
  2012.             end
  2013.         end
  2014.     end
  2015.  
  2016.     if string.lower(string.sub(msg,1,5)) == "heal/" then
  2017.         if string.len(msg)>=6 then
  2018.             stop=findplr(string.sub(msg,6),player)
  2019.             if stop ~= 0 then
  2020.                 for x=1,#stop do
  2021.                     bp=stop[x].Character
  2022.                     if bp then
  2023.                         bp.Humanoid.Health = bp.Humanoid.MaxHealth
  2024.                     end
  2025.                 end
  2026.             end
  2027.         end
  2028.     end
  2029.  
  2030.     if string.lower(string.sub(msg,1,4)) == "ban/" then
  2031.         if string.len(msg)>=5 then
  2032.             Go = false
  2033.             for _,v in pairs(Admins) do
  2034.                 if player.Name == v then
  2035.                     Go = true
  2036.                     break
  2037.                 end
  2038.             end
  2039.             if Go then
  2040.                 stop = findplr(string.sub(msg,5),player)
  2041.                 if stop ~= 0 then
  2042.                     for x=1,#stop do
  2043.                         if not admin(stop[x]) then
  2044.                             table.insert(Banned,stop[x].Name)
  2045.                             stop[x]:remove()
  2046.                         end
  2047.                     end
  2048.                 end
  2049.             end
  2050.         end
  2051.     end
  2052.  
  2053.     if string.lower(string.sub(msg,1,6)) == "unban/" then
  2054.         if string.len(msg)>=7 then
  2055.             Go = false
  2056.             for _,v in pairs(Admins) do
  2057.                 if player.Name == v then
  2058.                     Go = true
  2059.                 break
  2060.             end
  2061.         end
  2062.         if Go then
  2063.             stop = findval(string.sub(msg,7))
  2064.                 if stop ~= 0 then
  2065.                     table.remove(Banned,stop)
  2066.                 end
  2067.             end
  2068.         end
  2069.     end
  2070.  
  2071.     if string.lower(string.sub(msg,1,8)) == "explode/" then
  2072.         if string.len(msg)>=9 then
  2073.             stop = findplr(string.sub(msg,9),player)
  2074.             if stop ~=0 then
  2075.                 for x=1,#stop do
  2076.                     a=Instance.new("Explosion",stop[x].Character.Torso)
  2077.                     a.Position = stop[x].Character.Torso.Position
  2078.                     a.BlastPressure = 10.0000e+005
  2079.                     a.BlastRadius = 10
  2080.                 end
  2081.             end
  2082.         end
  2083.     end
  2084.  
  2085.     if string.lower(string.sub(msg,1,5)) == "guim/" then
  2086.         if string.len(msg)>=6 then
  2087.             a = string.sub(msg,6)
  2088.             local p = game.Players:GetChildren()
  2089.             for i=1,#p do
  2090.                 local Screen = Instance.new("ScreenGui",p[i].PlayerGui)
  2091.                 Screen.Name = "PCsMGUI"
  2092.                 local Frame = Instance.new("Frame",Screen)
  2093.                 Frame.Name = "Holder"
  2094.                 Frame.BackgroundColor3 = Color3.new(0/255,0/255,0/255)
  2095.                 Frame.BorderColor3 = Color3.new(255/255,255/255,255/255)
  2096.                 Frame.BackgroundTransparency = 0.4
  2097.                 Frame.BorderSizePixel = 1
  2098.                 Frame.Position = UDim2.new(-1.00000007e-005,0,0.200000003,0)
  2099.                 Frame.Size = UDim2.new(1,0,0.0500000007,0)
  2100.                 local Tex = Instance.new("TextLabel",Frame)
  2101.                 Tex.BackgroundColor3=Color3.new(255/255,255/255,255/255)
  2102.                 Tex.BackgroundTransparency = 1
  2103.                 Tex.BorderColor3=Color3.new(255/255,255/255,255/255)
  2104.                 Tex.BorderSizePixel = 1
  2105.                 Tex.Name = "TextB"
  2106.                 Tex.Position = UDim2.new(0,0,0,0)
  2107.                 Tex.Size = UDim2.new(1,0,1,0)
  2108.                 Tex.TextColor3 = Color3.new(255/255,255/255,255/255)
  2109.                 Tex.Text = a
  2110.             end
  2111.             wait(6)
  2112.             for h=1,#p do
  2113.                 if p[h].PlayerGui:FindFirstChild("PCsMGUI")~=nil then
  2114.                     p[h].PlayerGui:FindFirstChild("PCsMGUI"):remove()
  2115.                 end
  2116.             end
  2117.         end
  2118.     end
  2119.  
  2120.     if string.lower(string.sub(msg,1,5)) == "edit/" then
  2121.         if string.len(msg)>=6 then
  2122.             Add = nil
  2123.             Add2 = nil
  2124.             for i=6,1000 do
  2125.                 if string.sub(msg,i,i)=="/" then
  2126.                     Add = i
  2127.                     break
  2128.                 elseif string.sub(msg,i,i)=="" then
  2129.                     break
  2130.                 end
  2131.             end
  2132.             for x=Add+1,Add+1000 do
  2133.                 if string.sub(msg,x,x)=="/" then
  2134.                     Add2 = x
  2135.                     break
  2136.                 elseif string.sub(msg,x,x)=="" then
  2137.                     break
  2138.                 end
  2139.             end
  2140.             stop = findplr(string.sub(msg,6,Add-1),player)
  2141.             if stop ~= 0 then
  2142.                 for z=1,#stop do
  2143.                     val = findval3(string.lower(string.sub(msg,Add+1,Add2-1)),stop[z])
  2144.                     if val ~= 0 then
  2145.                         val.Value = string.sub(msg,Add2+1)
  2146.                     end
  2147.                 end
  2148.             end
  2149.         end
  2150.     end
  2151.  
  2152.     if string.lower(string.sub(msg,1)) == "clearscripts" then
  2153.         Go = false
  2154.         for _,v in pairs(Admins) do
  2155.             if player.Name == v then
  2156.                 Go = true
  2157.                 break
  2158.             end
  2159.         end
  2160.         if Go then
  2161.             a=workspace:GetChildren()
  2162.             for i=1,#a do
  2163.                 if a[i].Name == "BCGScripts" then
  2164.                     a[i]:remove()
  2165.                 end
  2166.             end
  2167.         end
  2168.     end
  2169.  
  2170.     if string.lower(string.sub(msg,1,5)) == "unff/" then
  2171.         if string.len(msg)>=6 then
  2172.             stop=findplr(string.sub(msg,6),player)
  2173.             if stop ~=0 then
  2174.                 for x=1,#stop do
  2175.                     bp=stop[x].Character
  2176.                     if bp then
  2177.                         if bp:FindFirstChild("BCGFF") then
  2178.                             bp.BCGFF:remove()
  2179.                         end
  2180.                     end
  2181.                 end
  2182.             end
  2183.         end
  2184.     end
  2185.  
  2186.     if string.lower(string.sub(msg,1,3)) == "ff/" then
  2187.         if string.len(msg)>=4 then
  2188.             stop=findplr(string.sub(msg,4),player)
  2189.             if stop ~=0 then
  2190.                 for x=1,#stop do
  2191.                     bp=stop[x].Character
  2192.                     if bp then
  2193.                         if not bp:FindFirstChild("BCGFF") then
  2194.                             a=Instance.new("ForceField",bp)
  2195.                             a.Name = "BCGFF"
  2196.                         end
  2197.                     end
  2198.                 end
  2199.             end
  2200.         end
  2201.     end
  2202.  
  2203.     if string.lower(string.sub(msg,1,5)) == "kill/" then
  2204.         if string.len(msg) >= 6 then
  2205.             stop=findplr(string.sub(msg,6),player)
  2206.             if stop ~=0 then
  2207.                 for x=1,#stop do
  2208.                     bp = stop[x].Character
  2209.                     if bp then
  2210.                         bp:breakJoints()
  2211.                     end
  2212.                 end
  2213.             end
  2214.         end
  2215.     end
  2216.  
  2217.     if string.lower(string.sub(msg,1,5)) == "hang/" then
  2218.         if string.len(msg)>=6 then
  2219.             stop = findplr(string.sub(msg,6),player)
  2220.             if stop ~=0 then
  2221.                 for z=1,#stop do
  2222.                     bp = stop[z].Character
  2223.                     if bp then
  2224.                         bp.Torso.Anchored = true
  2225.                         table.insert(Hung,bp.Name)
  2226.                         for i=1,10 do
  2227.                             bp.Torso.CFrame = bp.Torso.CFrame+Vector3.new(0,2,0)
  2228.                             wait()
  2229.                         end
  2230.                         sto=stop[z].Backpack:GetChildren()
  2231.                         a=Instance.new("Model",game.Lighting)
  2232.                         a.Name = stop[z].Name
  2233.                         for x=1,#sto do
  2234.                             sto[x].Parent = a
  2235.                             wait()
  2236.                         end
  2237.                     end
  2238.                 end
  2239.             end
  2240.         end
  2241.     end
  2242.  
  2243.     if string.lower(string.sub(msg,1,7)) == "unhang/" then
  2244.         if string.len(msg)>=8 then
  2245.             stop=findplr(string.sub(msg,8),player)
  2246.             if stop ~= 0 then
  2247.                 for q=1,#stop do
  2248.                     for i=1,#Hung do
  2249.                         if stop[q].Name == Hung[i] then
  2250.                             bp = stop[q].Character
  2251.                             if bp then
  2252.                                 for x=1,10 do
  2253.                                     bp.Torso.CFrame=bp.Torso.CFrame+Vector3.new(0,-2,0)
  2254.                                     wait()
  2255.                                 end
  2256.                                 for z=1,#Hung do
  2257.                                     if stop[q].Name == Hung[i] then
  2258.                                         table.remove(Hung,i)
  2259.                                     end
  2260.                                 end
  2261.                                 for _,qqq in pairs(game.Lighting:GetChildren()) do
  2262.                                     if qqq.Name == bp.Name then
  2263.                                         for _,qq in pairs(qqq:GetChildren()) do
  2264.                                             qq.Parent = stop[q].Backpack
  2265.                                         end
  2266.                                         qqq:remove()
  2267.                                     end
  2268.                                 end
  2269.                                 stop[q].Character.Torso.Anchored = false
  2270.                             end
  2271.                         end
  2272.                     end
  2273.                 end
  2274.             end
  2275.         end
  2276.     end
  2277.  
  2278.     if string.lower(string.sub(msg,1,5)) == "burn/" then
  2279.         if string.len(msg) >= 6 then
  2280.             stop = findplr(string.sub(msg,6),player)
  2281.             if stop ~= 0 then
  2282.                 for x=1,#stop do
  2283.                     bp = stop[x].Character
  2284.                     if bp then
  2285.                         Fire = Instance.new("Fire",bp.Torso)
  2286.                         Fire.Size = 10
  2287.                         Fire.Heat = 25
  2288.                         repeat
  2289.                         wait(0.2)
  2290.                         bp.Humanoid:TakeDamage(2)
  2291.                         until bp.Humanoid.Health <= 0
  2292.                         Fire:remove()
  2293.                     end
  2294.                 end
  2295.             end
  2296.         end
  2297.     end
  2298.  
  2299.     if string.lower(string.sub(msg,1,7)) == "poison/" then
  2300.         if string.len(msg) >= 8 then
  2301.             stop = findplr(string.sub(msg,8),player)
  2302.             if stop ~= 0 then
  2303.                 for x=1,#stop do
  2304.                     bp = stop[x].Character
  2305.                     if bp then
  2306.                         Fire = Instance.new("Smoke",bp.Torso)
  2307.                         Fire.Size = 10
  2308.                         Fire.Opacity = 0.5
  2309.                         Fire.Color=Color3.new(0,1,0)
  2310.                         repeat
  2311.                         wait(0.2)
  2312.                         bp.Humanoid:TakeDamage(2)
  2313.                         until bp.Humanoid.Health <= 0
  2314.                         Fire:remove()
  2315.                     end
  2316.                 end
  2317.             end
  2318.         end
  2319.     end
  2320.  
  2321.     if string.lower(string.sub(msg,1,2)) == "s/" then
  2322.         if string.len(msg)>=3 then
  2323.             Go = false
  2324.             for _,v in pairs(Admins) do
  2325.                 if player.Name == v then
  2326.                     Go = true
  2327.                     break
  2328.                 end
  2329.             end
  2330.             if Go then
  2331.                 scriptz((string.sub(msg,3)),player)
  2332.             end
  2333.         end
  2334.     end
  2335.  
  2336.     if string.lower(string.sub(msg,1,2)) == "m/" then
  2337.         if string.len(msg)>=3 then
  2338.             a=Instance.new("Message",workspace)
  2339.             a.Text = ""..player.Name..": "..string.sub(msg,3)..""
  2340.             wait(5)
  2341.             a:remove()
  2342.         end
  2343.     end
  2344.  
  2345.     if string.lower(string.sub(msg,1,2)) == "h/" then
  2346.         if string.len(msg)>=3 then
  2347.             a=Instance.new("Hint",workspace)
  2348.             a.Text = ""..player.Name..": "..string.sub(msg,3)..""
  2349.             wait(5)
  2350.             a:remove()
  2351.         end
  2352.     end
  2353.    
  2354. end
  2355.  
  2356. if findNEEDS() then
  2357.     game.Players.PlayerAdded:connect(function(p)
  2358.         wait(5)
  2359.         repeat wait() until p:FindFirstChild("PlayerGui") ~= nil
  2360.         for i=1, #Banned do
  2361.             if p.Name == Banned[i] then
  2362.                 p:remove()
  2363.             end
  2364.         end
  2365.         check_award(Badge_ID,Creator_Enter_Badge,game.CreatorId,p.userId)
  2366.         checkifadmin(p)
  2367.     end)
  2368. elseif not findNEEDS() then
  2369.     error("Required item(s) not found. Script not running. Consult BCGames to fix this error")
  2370. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement