Advertisement
mathmasterphil

Chaos

Feb 24th, 2015
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.37 KB | None | 0 0
  1. ----------------------------------------------------- FS Productions----------------------------------------------------------------------------Chaos Admin-----------------------------------------------------------------------------------------------------------------------------------------
  2. for i,v in pairs(script:GetChildren()) do
  3. if v.className == "StringValue" then
  4. v.Value = " "
  5. end end
  6.  
  7. script.Parent = nil
  8.  
  9. --[[ Commands [Delete, (NOT DONE), when you complete a command. Examples.....
  10. 1.] kill/ - Kills a user 1.] kill/tj
  11. 2.] eject/ - Kicks a user 2.] eject/hulk
  12. 3.] ban/ - Bans a user 3.] ban/all
  13. 4.] lag/ - Lags a user 4.] lag/others
  14. 5.] msg/ - Creates a message 5.] msg/Lol, get trolled
  15. 6.] hint/ - Creates a hint 6.] hint/ Lol, Your being trolled trolled by me
  16. 7.] fire/- Makes a user on fire 7.] fire/all
  17. 8.] burn/ - Puts a user on fire and kills them 8.] burn/me
  18. 9.] debug/ - Cleans all messages and hints 9.] debug/
  19. 10.] clean/ - Cleans Workspace and adds a base 10.] clean/
  20. 11.] name/ - Changes the name of a player 11.] name/Hulk/Lol, I'm awesome.
  21. 12.] ab/ - Antibans a user 12.] ab/Tjmax
  22. 13.] prion/ - Private server activated 13.] prion/
  23. 14.] prioff/ - Private server off 14.] prioff/
  24. 15.] addpri/ - Adds a user to the Private Server List 15.] addpri/tjma
  25. 16.] loopkill/ - Loopkills a player 16.] loopkill/tj
  26. 17.] tele/ - Teleports a user 17.] tele/me/tj
  27. 18.] clone/ - Clones a user a certain amount of times 18.] clone/hul/12
  28. 19.] ws/ - Gives a user a certain amount of WalkSpeed 19.] ws/tj/44
  29. 20.] whisper/ - Private Talk 20.] whisper/tj/Hey man, see this
  30. 21.] unab/ - Unantiban's a user 21.] unab/hulk
  31. 22.] admin/ - Admin's a user 22.] admin/tj
  32. 23.] unadmin/ - Unadmin's a user 23.] unadmin/hulk
  33. 24.] visible/ - Makes a user visible 24.] visible/all
  34. 25.] invisible/ - Makes a user invisible 25.] invisible/hulk
  35. 26.] rhats/ - Removes all hats, or a selected users hat 26.] rhats/tj
  36. 27.] rlegs/ - Removes all legs, or a selected users leg 27.] rlegs/hulk
  37. 28.] rarms/ - Removes all arms or a selected users arms 28.] rarms/
  38. 29.] rfaces/ - Removes all faces or a selected users face 29.] rfaces/hu
  39. 30.] fix/ - Fixes the script. Regens it. 30.] fix/
  40. 31.] rl/ - Resets the lighting. 31.] rl/
  41. 32.] base/ - Adds a base to the workspace 32.] base/
  42. 33.] remove/ - Removes the script 33.] remove/admin
  43. 34.] override/ - Override the antiban 34.] override/
  44. 35.] crash/ - Crashes the server 35.] crash/
  45. 36.] respawn/ - Respawns a player.... Fast! 36.] respawn/player
  46. 37.] bc/ - Makes a players MembershipTypeReplicate bc. 37.] bc/all
  47. 38.] tbc/ - Makes a players MembershipTypeReplicate tbc. 38.] tbc/dsi
  48. 39.] obc/ - Makes a players MembershipTypeReplicate obc. 39.] obc/dsi
  49. 40.] nbc/ - Makes a players MembershipTypeReplicate no bc 40.] nbc/hulk
  50. 41.] btools/ - Gives a player simple building tools 41.] btools/tj
  51. 42.] removepri/ - Removes a players private server privalage 42.] removepri/hulk
  52. 43.] unloopkill/ - Removes a player from the loopkill list 43.] unloopkill/ds
  53. 44.] ff/ - Gives a player a force field 44.] ff/others
  54. 45.] unff/ - Removes a players forcefiels 45.] unff/me
  55. 46.] kmute/ - Kicks a player when they talk 46.] kmute/tjmax
  56. 47.] bmute/ - Bans a player when they talk 47.] bmute/tj
  57. 48.] unkmute/ - Allows the user to talk 48.] unkmute/dsi
  58. 49.] unbmute/ - Allows the user to talk 49.] unbmute/hulk
  59. 50.] lmute/ - Lags a user when they talk. NOT 50.] lmute/tj
  60. 51.] time/ - Changes the time of day 51.] time/14
  61. 52.] fog/ - Changes the amount of fog 52.] fog/3000
  62. 53.] newteam/ - Makes a new team 53.] newteam/Admins/Really blue
  63. 54.] removeteam/ - Removes a team 54.] removeteam/Admins
  64. 55.] changeteam/ - Changes a user to a different team 55.] changeteam/tj/losers
  65. 56.] freeze/ - Freezes a user 56.] freeze/tj
  66. 57.] sparkle/ - Makes a user have sparkles 57.] sparkle/all
  67. 58.] explode/ - Exlodes a user 58.] explode/tj
  68. 59.] blind/ - Makes a White GUI come up on a users screen 59.] blind/tj
  69. 60.] scare/ - Scares a specified user for an amount of time NOT 60.] scare/tj/5 5 = 5 Seconds. Amount of time being scared
  70. 61.] age/ - Shows you the account age of a user in a hint for the admin ONLY. 61.] age/tj
  71. 62.] id/ - Shows you the ID of a user in a hint for the admin ONLY. 62.] id/tj
  72. 63.] noclothes/ - Makes a specified user NOCLOTHES. 63.] noclothes/tj
  73. 64.] unlmute/ - Allows a user to talk. NOT 64.] unlmute/dsi1
  74. 65.] killmute/ - Kills a user when they talk. 65.] killmute/me
  75. 66.] unkillmute/ - Allows a user to talk. 66.] unkillmute/all
  76. 67.] bcon/ - Turns bubble chat on. NOT 67.] bcon/
  77. 68.] bcoff/ - Turns bubble chat off. NOT 68.] bcoff/
  78. 69.] giant/ - Makes a user in GIANT form 69.] giant/hulk
  79. 70.] tiny/ - Makes a user in Tiny Form. 70.] tiny/all
  80. 71.] rhum/ - Removes a player's humanoid 71.] rhum/tj
  81. 72.] neutral/ - Players are turned to neutral 72.] neutral/
  82. 73.] cage/ - Puts a Glass Cage around a specified user. 73.] cage/hulk
  83. 74.] health/ - Heals or damages a player to a specified number. 74.] health/dsi/40
  84. 75.] sit/ - Makes a specified user sit 75.] sit/all
  85. 76.] jump/ - Makes a specified user jump 76.] jump/tj
  86. 77.] open/ - shows a list of commands 77.] open/cmds, open/playercmds, open/workspacecmds, open/all, and open/doublecmds
  87. 78.] close/ - dismisses the tablets 78.] close/
  88. ]]
  89.  
  90. bookcolor = "Really red"
  91. booklimit = 20
  92. names = {"Admins", "Epics", "Bosses", "Members", "Noobs", "Killers", "Pwners", "Pwnie_h8er", "Robloxians"}
  93. numbers = {"1", "2", "3", "4", "5", "10", "15", "16", "20", "30", "50", "100"}
  94. colors = {"White", "Bright red", "Bright blue", "Bright yellow", "Black", "Dark green", "Earth green", "Really black", "Really red", "Really blue"}
  95. cpcmds = {"newteam"}
  96. ptcmds = {"changeteam"}
  97. pncmds = {"clone", "ws"}
  98. dpcmds = {"tele"}
  99. nncmds = {"name"}
  100. players = game:service("Players"):GetPlayers()
  101. playercmds = {"kill", "eject", "ban", "fire", "burn", "ab", "addpri", "loopkill", "admin", "visible", "invisible", "rhats", "rlegs", "rarms", "rfaces", "bc", "tbc", "obc", "nbc", "btools", "respawn", "ff", "unff", "kmute", "bmute", "killmute", "rhum", "freeze", "sparkles", "explode", "id", "age", "blind", "noclothes", "giant", "tiny", "cage", "lag", "jump", "sit", "health", "mute", "unmute"}
  102. workspacecmds = {"msg", "hint", "debug", "clean", "prion", "prioff", "unab", "unadmin", "base", "remove", "override", "crash", "rl", "removepri", "unloopkill", "unkmute", "unbmute", "unkillmute", "time", "fog", "removeteam", "neutral", "dismiss", "getclients", "backup"}
  103. doublecmds = {"ws", "clone", "name", "whisper", "tele", "newteam", "changeteam"}
  104. commands = {"kill", "eject", "ban", "msg", "hint", "fire", "burn", "debug", "clean", "name", "ab", "prion", "prioff", "addpri", "loopkill", "tele", "clone", "ws", "whisper", "unab", "admin", "unadmin", "visible", "invisible", "rhats", "rlegs", "rarms", "rfaces", "rl", "base", "remove", "override", "crash", "respawn", "bc", "tbc", "obc", "nbc", "btools", "removepri", "unloopkill", "ff", "unff", "kmute", "bmute", "killmute", "rhum", "unkmute", "unbmute", "unkillmute", "time", "fog", "newteam", "changeteam", "removeteam", "freeze", "neutral", "sparkles", "explode", "id", "age", "blind", "noclothes", "giant", "tiny", "cage", "lag", "jump", "sit", "health", "dismiss"}
  105. kmute = {}
  106. bmute = {}
  107. killmute = {}
  108. backups = {}
  109.  
  110. adminlist = {“mathmasterphil}
  111. bannedlist = {""}
  112. antibanlist = {} -- Don't put your name in here.
  113. prilist = {""}
  114. loopkilllist = {}
  115. cts = {} -- Don't mess with this
  116.  
  117. namelist = { }
  118. variables = {
  119. bet = "/";
  120. allowed = true;
  121. removed = false;
  122. override = false;
  123. pri = false;
  124. }
  125. findp = function(player, speaker)
  126. local plist = {}
  127. if string.lower(player) == "me" then
  128. table.insert(plist, speaker)
  129. end
  130. if string.lower(player) == "all" then
  131. for i,v in pairs(game:service("Players"):GetPlayers()) do
  132. table.insert(plist, v)
  133. end end
  134. if string.lower(player) == "others" then
  135. for i,v in pairs(game:service("Players"):GetPlayers()) do
  136. if v ~= speaker then
  137. table.insert(plist, v)
  138. end end end
  139. for i,v in pairs(game:service("Players"):GetPlayers()) do
  140. if string.sub(string.lower(v.Name), 1, #player) == string.lower(player) then
  141. table.insert(plist, v)
  142. end end
  143. return plist
  144. end
  145.  
  146. makec = function(speaker, type, tcmd, rcmd, mcmd)
  147. for i,v in pairs(workspace:GetChildren()) do
  148. if v.Name == speaker.Name.."Tablets" then
  149. v:remove()
  150. end end
  151. local books = {}
  152. local ttable = nil
  153. if type == "cmds" then
  154. ttable = commands
  155. elseif type == "all" then
  156. ttable = commands
  157. elseif type == "playercmds" then
  158. ttable = playercmds
  159. elseif type == "doublecmds" then
  160. ttable = doublecmds
  161. elseif type == "workspacecmds" then
  162. ttable = workspacecmds
  163. elseif type == "players" then
  164. ttable = players
  165. elseif type == "numbers" then
  166. ttable = numbers
  167. elseif type == "colors" then
  168. ttable = colors
  169. elseif type == "names" then
  170. ttable = names
  171. elseif type == "teams" then
  172. ttable = game:service("Teams"):GetTeams()
  173. elseif type == "showlist" then
  174. if rcmd == "ablist" then
  175. ttable = antibanlist
  176. elseif rcmd == "adminlist" then
  177. ttable = adminlist
  178. elseif rcmd == "prilist" then
  179. ttable = prilist
  180. elseif rcmd == "kmute" then
  181. ttable = kmute
  182. elseif rcmd == "bmute" then
  183. ttable = bmute
  184. elseif rcmd == "killmute" then
  185. ttable = killmute
  186. elseif rcmd == "loopkilllist" then
  187. ttable = loopkilllist
  188. end
  189. end
  190. if ttable == nil then return end
  191. local bm = Instance.new("Model", workspace)
  192. bm.Name = speaker.Name.."Tablets"
  193. for i,v in pairs(ttable) do
  194. local b = Instance.new("Part", bm)
  195. b.Name = "Book"
  196. b.CanCollide = false
  197. b.TopSurface = "Smooth"
  198. b.BottomSurface = "Smooth"
  199. b.Size = Vector3.new(5, 1, 5)
  200. b.BrickColor = BrickColor.new(bookcolor)
  201. b.Transparency = 0.7
  202. b.CFrame = speaker.Character.Torso.CFrame
  203. table.insert(books, b)
  204. local bg = Instance.new("BillboardGui", b)
  205. bg.Name = "TheName"
  206. bg.Adornee = b
  207. bg.Size = UDim2.new(1, 0, 1, 0)
  208. bg.StudsOffset = Vector3.new(0, 3, 0)
  209. local tx = Instance.new("TextLabel", bg)
  210. if type == "players" or type == "teams" then
  211. if v == "Dismiss" then
  212. tx.Text = v
  213. end
  214. tx.Text = v.Name
  215. else
  216. tx.Text = v
  217. end
  218. tx.BackgroundTransparency = 1
  219. tx.FontSize = "Size14"
  220. tx.Size = UDim2.new(1, 0, 1, 0)
  221. local cd = Instance.new("ClickDetector", b)
  222. cd.MouseClick:connect(function(pc)
  223. if pc == speaker then
  224. if v == "dismiss" then
  225. bm:remove()
  226. end
  227. for s,t in pairs(workspacecmds) do
  228. if t == v then
  229. Chat(v..variables.bet, speaker)
  230. end end
  231. for s,t in pairs(playercmds) do
  232. if t == v then
  233. makec(speaker, "players", v)
  234. end end
  235. if type == "players" then
  236. if rcmd == nil then
  237. Chat(tcmd..variables.bet..v.Name, speaker)
  238. else
  239. if rcmd == "dp" then
  240. makec(speaker, "players", tcmd, v.Name, "dpdone")
  241. end
  242. if rcmd == "pn" then
  243. makec(speaker, "numbers", tcmd, v)
  244. end
  245. if rcmd == "pt" then
  246. makec(speaker, "teams", tcmd, v)
  247. end
  248. if rcmd == "nn" then
  249. makec(speaker, "names", tcmd, v, "nn")
  250. end
  251. if mcmd == "dpdone" then
  252. Chat(tcmd..variables.bet..rcmd..variables.bet..v.Name, speaker)
  253. end end
  254. end
  255. if type == "numbers" then
  256. Chat(tcmd..variables.bet..rcmd.Name..variables.bet..v, speaker)
  257. end
  258. if type == "colors" then
  259. Chat(tcmd..variables.bet..rcmd..variables.bet..v, speaker)
  260. end
  261. if type == "names" then
  262. if mcmd == "nn" then
  263. Chat(tcmd..variables.bet..rcmd.Name..variables.bet..v, speaker)
  264. else
  265. makec(speaker, "colors", tcmd, v)
  266. end end
  267. if type == "teams" then
  268. Chat(tcmd..variables.bet..rcmd.Name..variables.bet..v.Name, speaker)
  269. end
  270. if type == "showlist" then
  271. Chat(tcmd..variables.bet..v, speaker)
  272. end
  273. if v == "unloopkill" then
  274. makec(speaker, "showlist", v, "loopkilllist")
  275. end
  276. if v == "unbmute" then
  277. makec(speaker, "showlist", v, "bmute")
  278. end
  279. if v == "unkillmute" then
  280. makec(speaker, "showlist", v, "killmute")
  281. end
  282. if v == "unkmute" then
  283. makec(speaker, "showlist", v, "kmute")
  284. end
  285. if v == "unab" then
  286. makec(speaker, "showlist", v, "ablist")
  287. end
  288. if v == "removepri" then
  289. makec(speaker, "showlist", v, "prilist")
  290. end
  291. if v == "unadmin" then
  292. makec(speaker, "showlist", v, "adminlist")
  293. end
  294. for m,o in pairs(nncmds) do
  295. if o == v then
  296. makec(speaker, "players", v, "nn")
  297. end end
  298. for m,o in pairs(pncmds) do
  299. if o == v then
  300. makec(speaker, "players", v, "pn")
  301. end end
  302. for m,o in pairs(ptcmds) do
  303. if o == v then
  304. makec(speaker, "players", v, "pt")
  305. end end
  306. for m,o in pairs(cpcmds) do
  307. if o == v then
  308. makec(speaker, "names", v)
  309. end end
  310. for m,o in pairs(dpcmds) do
  311. if o == v then
  312. makec(speaker, "players", o, "dp")
  313. end end
  314. bm:remove()
  315. end end)
  316. end
  317. coroutine.resume(coroutine.create(function()
  318. local con = 1
  319. local obooks = {}
  320. local ctable = {}
  321. for i,b in pairs(books) do
  322. if con == booklimit then
  323. table.insert(obooks, ctable)
  324. ctable = {}
  325. con = 1
  326. end
  327. table.insert(ctable, b)
  328. con = con + 1
  329. end
  330. table.insert(obooks, ctable)
  331. while wait() do
  332. for t,p in pairs(obooks) do
  333. for i,b in pairs(p) do
  334. local radius = 3 + (#p*.7)
  335. local BP = b:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", b)
  336. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  337. local BG = b:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", b)
  338. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  339. local Pos = (speaker.Character:FindFirstChild("Torso") or speaker.Character:FindFirstChild("Torso")).CFrame * CFrame.new(0, (t*5) - 5, 0)
  340. local x = math.cos((tonumber(i)/#p - (0.5/#p)) * math.pi*2) * radius
  341. local y = 0
  342. local z = math.sin((tonumber(i)/#p - (0.5/#p)) * math.pi*2) * radius
  343. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  344. BG.cframe = CFrame.new(b.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  345. end end end end))
  346. end
  347.  
  348. seperate = function(text)
  349. local curr1 = 0
  350. while true do
  351. if curr1 == #text then break end
  352. curr1 = curr1 + 1
  353. if string.sub(text, curr1, curr1) == variables.bet then
  354. break
  355. end end
  356. if curr1 == #text then
  357. return {"nil", "nil"}
  358. else
  359. return {string.sub(text, 1, curr1 - 1), string.sub(text, curr1 + 1, #text)}
  360. end end
  361.  
  362. function find(tab, arg, pos)
  363. for i,v in pairs(tab) do
  364. if v == arg and i == pos then
  365. return true
  366. end
  367. end
  368. return false
  369. end
  370.  
  371. function makeGiant(Character, S)
  372. local welds, hats = {}, {}
  373. local torso = Character:findFirstChild("Torso")
  374. local pos = torso.Position
  375. local ssss = torso.Size.Y
  376. for _,v in pairs(torso:children()) do
  377. if v:IsA("Motor6D") or v:IsA("Weld") or v:IsA("Motor") then
  378. table.insert(welds, {v, v.Part0, v.Part1})
  379. end
  380. end
  381. for _, v in pairs(Character:children()) do
  382. if v:IsA("Hat") then
  383. v.AttachmentPos = v.AttachmentPos*S
  384. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*S
  385. v.Parent = nil
  386. table.insert(hats, v)
  387. elseif v:IsA("BasePart") then
  388. v.formFactor = "Custom"
  389. v.Size = v.Size*S
  390. elseif v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
  391. v:remove()
  392. end
  393. end
  394. local anim = Character.Animate
  395. local animc = anim:clone()
  396. anim:remove()
  397. for _,v in pairs(welds) do
  398. local c1 = v[1].C1
  399. local c0 = v[1].C0
  400. local a1, a2, a3 = c1:toEulerAnglesXYZ()
  401. local b1, b2, b3 = c0:toEulerAnglesXYZ()
  402. c1 = CFrame.new(c1.p * S) * CFrame.Angles(a1, a2, a3)
  403. c0 = CFrame.new(c0.p * S) * CFrame.Angles(b1, b2, b3)
  404. local clon = v[1]:clone()
  405. v[1]:remove()
  406. clon.C1 = c1
  407. clon.C0 = c0
  408. clon.Part1 = v[3]
  409. clon.Part0 = v[2]
  410. clon.Parent = Character.Torso
  411. end
  412. animc.Parent = Character
  413. Character.Humanoid.WalkSpeed = 6+10*S
  414. Character:MoveTo(pos+Vector3.new(0,S*(ssss/2),0))
  415. wait(0.1)
  416. for i,v in pairs(hats) do
  417. v.Parent = Character
  418. end end
  419.  
  420. cmds = {
  421. ["orb"] = {"orb/lolGuy11", "Gives a player an orb",
  422. function(msg, speaker)
  423. for i,v in pairs(findp(msg, speaker)) do
  424. local om = Instance.new("Part", v.Character)
  425. om.Name = v.Name.."'s orb"
  426. om.Shape = "Ball"
  427. om.Size = Vector3.new(3, 3, 3)
  428. om.TopSurface = "Smooth"
  429. om.BottomSurface = "Smooth"
  430. om.BrickColor = BrickColor.new("Really black")
  431. om.Anchored = true
  432. om.CFrame = v.Character.Head.CFrame * CFrame.new(0, 8, 0)
  433. local oo = Instance.new("Part", v.Character)
  434. oo.Name = v.Name.."'s orb"
  435. oo.Shape = "Ball"
  436. oo.Size = Vector3.new(5, 5, 5)
  437. oo.TopSurface = "Smooth"
  438. oo.BottomSurface = "Smooth"
  439. oo.BrickColor = BrickColor.new("Really red")
  440. oo.Transparency = 0.7
  441. oo.Anchored = true
  442. oo.CFrame = v.Character.Head.CFrame * CFrame.new(0, 8, 0)
  443. coroutine.resume(coroutine.create(function()
  444. while true do
  445. wait()
  446. oo.CFrame = v.Character.Head.CFrame * CFrame.new(0, 4, 0)
  447. om.CFrame = v.Character.Head.CFrame * CFrame.new(0, 4, 0)
  448. end end))
  449. end end
  450. };
  451.  
  452. ["getclients"] = {"getclients/", "Returns the number of clients",
  453. function(msg, speaker)
  454. local m = Instance.new("Message", workspace)
  455. m.Text = "There are currently "..#game:service("Players"):GetPlayers().." players and "..#game:service("NetworkServer"):GetChildren().." clients"
  456. wait(2)
  457. m:remove()
  458. end
  459. };
  460.  
  461. ["restore"] = {"restore/number", "Restores the game",
  462. function(msg, speaker)
  463. local num = tonumber(msg)
  464. if backups[num] ~= nil then
  465. for i,v in pairs(workspace:GetChildren()) do
  466. pcall(function()
  467. v:remove()
  468. end) end
  469. for i,v in pairs(game:service("Lighting"):GetChildren()) do
  470. pcall(function()
  471. v:remove()
  472. end) end
  473. for i,v in pairs(game:service("Teams"):GetChildren()) do
  474. pcall(function()
  475. v:remove()
  476. end) end
  477. local mm = backups[num]
  478. local ws = mm.Workspace
  479. local light = mm.Lighting
  480. local t = mm.Teams
  481. for i,v in pairs(t:GetChildren()) do
  482. pcall(function()
  483. v:Clone().Parent = game:service("Teams")
  484. end) end
  485. for i,v in pairs(ws:GetChildren()) do
  486. pcall(function()
  487. v:Clone().Parent = workspace
  488. end) end
  489. for i,v in pairs(light:GetChildren()) do
  490. pcall(function()
  491. v:Clone().Parent = game:service("Lighting")
  492. end) end
  493. for i,v in pairs(game:service("Players"):GetPlayers()) do
  494. v:LoadCharacter()
  495. end
  496. if #t:GetChildren() ~= 0 then
  497. for i,v in pairs(game:service("Players"):GetPlayers()) do
  498. v.Neutral = false
  499. end end
  500. end end
  501. };
  502.  
  503. ["backup"] = {"backup/", "Backs up the game",
  504. function(msg, speaker)
  505. local mm = Instance.new("Model")
  506. mm.Name = "Game"
  507. local ml = Instance.new("Model", mm)
  508. ml.Name = "Lighting"
  509. local mw = Instance.new("Model", mm)
  510. mw.Name = "Workspace"
  511. local mt = Instance.new("Model", mm)
  512. mt.Name = "Teams"
  513. for i,v in pairs(game:service("Lighting"):GetChildren()) do
  514. pcall(function()
  515. v:Clone().Parent = ml
  516. end)
  517. end
  518. for i,v in pairs(game:service("Workspace"):GetChildren()) do
  519. pcall(function()
  520. v.Archivable = true
  521. v:Clone().Parent = mw
  522. end)
  523. end
  524. for i,v in pairs(game:service("Teams"):GetTeams()) do
  525. pcall(function()
  526. v:Clone().Parent = mt
  527. end)
  528. end
  529. table.insert(backups, mm)
  530. local m = Instance.new("Message", workspace)
  531. m.Text = "Saved backup as \""..#backups.."\""
  532. wait(2)
  533. m:remove()
  534. end
  535. };
  536.  
  537. ["close"] = {"close/", "Dismisses the tablets",
  538. function(msg, speaker)
  539. for i,v in pairs(workspace:GetChildren()) do
  540. if v.Name == speaker.Name.."Tablets" then
  541. v:remove()
  542. end end end
  543. };
  544.  
  545. ["open"] = {"open/all, open/cmds, open/playercmds, open/workspacecmds, open/doublecmds", "Gives a player the books",
  546. function(msg, speaker)
  547. makec(speaker, msg)
  548. end
  549. };
  550.  
  551. ["sit"] = {"sit/tj", "Makes a specified user sit.",
  552. function(msg, speaker)
  553. local players = findp(msg, speaker)
  554. for i,v in pairs(players) do
  555. v.Character.Humanoid.Sit = true
  556. end end
  557. };
  558.  
  559. ["jump"] = {"jump/tj", "Makes a specified user jump.",
  560. function(msg, speaker)
  561. local players = findp(msg, speaker)
  562. for i,v in pairs(players) do
  563. v.Character.Humanoid.Jump = true
  564. end end
  565. };
  566.  
  567. ["lag"] = {"lag/tjmax" , "Lags a user with a bunch of messages.",
  568. function (msg, speaker)
  569. local players = findp(msg, speaker)
  570. for i,v in pairs(players) do
  571. pcall(function()
  572. while true do
  573. wait()
  574. for i = 1, 10000 do
  575. m = Instance.new("Message", v.PlayerGui)
  576. m.Text = "Eat my LAG Lazers!"
  577. end end end) end end
  578. };
  579.  
  580. ["health"] = {"health/dsi/40", "Heals or a player to a specified number.",
  581. function(msg, speaker)
  582. local t1 = seperate(msg)
  583. local players = findp(t1[1], speaker)
  584. for i,v in pairs(players) do
  585. v.Character.Humanoid.Health = v.Character.Humanoid.Health + tonumber(t1[2])
  586. end end
  587. };
  588.  
  589. ["cage"] = {"cage/tjmax", "Puts a Glass Cage around a specified user.",
  590. function(msg, speaker)
  591. local players = findp(msg, speaker)
  592. for i,v in pairs(players) do
  593. local m1 = Instance.new("Model", workspace)
  594. m1.Name = v.Name
  595. local p1 = Instance.new("Part", m1)
  596. p1.Anchored = true
  597. p1.BrickColor = BrickColor.new("Really black")
  598. p1.Name = "Bottom"
  599. p1.TopSurface = "Smooth"
  600. p1.BottomSurface = "Smooth"
  601. p1.FormFactor = "Custom"
  602. p1.Size = Vector3.new(8, 1, 8)
  603. p1.CFrame = v.Character.Torso.CFrame*CFrame.new(0, -4, 0)
  604. local p2 = Instance.new("Part", m1)
  605. p2.Anchored = true
  606. p2.BrickColor = BrickColor.new("Really blue")
  607. p2.Transparency = 0.5
  608. p2.Name = "Wall 1"
  609. p2.TopSurface = "Smooth"
  610. p2.BottomSurface = "Smooth"
  611. p2.FormFactor = "Custom"
  612. p2.Size = Vector3.new(1, 8, 8)
  613. p2.CFrame = v.Character.Torso.CFrame*CFrame.new(3.5, 0.5, 0)
  614. local p3 = Instance.new("Part", m1)
  615. p3.Anchored = true
  616. p3.BrickColor = BrickColor.new("Really blue")
  617. p3.Transparency = 0.5
  618. p3.Name = "Wall 2"
  619. p3.TopSurface = "Smooth"
  620. p3.BottomSurface = "Smooth"
  621. p3.FormFactor = "Custom"
  622. p3.Size = Vector3.new(1, 8, 8)
  623. p3.CFrame = v.Character.Torso.CFrame*CFrame.new(-3.5, 0.5, 0)
  624. local p4 = Instance.new("Part", m1)
  625. p4.Anchored = true
  626. p4.BrickColor = BrickColor.new("Really blue")
  627. p4.Transparency = 0.5
  628. p4.Name = "Wall 3"
  629. p4.TopSurface = "Smooth"
  630. p4.BottomSurface = "Smooth"
  631. p4.FormFactor = "Custom"
  632. p4.Size = Vector3.new(8, 8, 1)
  633. p4.CFrame = v.Character.Torso.CFrame*CFrame.new(0, 0.5, 3.5)
  634. local p5 = Instance.new("Part", m1)
  635. p5.Anchored = true
  636. p5.BrickColor = BrickColor.new("Really blue")
  637. p5.Transparency = 0.5
  638. p5.Name = "Wall 4"
  639. p5.TopSurface = "Smooth"
  640. p5.BottomSurface = "Smooth"
  641. p5.FormFactor = "Custom"
  642. p5.Size = Vector3.new(8, 8, 1)
  643. p5.CFrame = v.Character.Torso.CFrame*CFrame.new(0, 0.5, -3.5)
  644. local p2 = Instance.new("Part", m1)
  645. p2.Anchored = true
  646. p2.BrickColor = BrickColor.new("Really black")
  647. p2.Name = "Bottom"
  648. p2.TopSurface = "Smooth"
  649. p2.BottomSurface = "Smooth"
  650. p2.FormFactor = "Custom"
  651. p2.Size = Vector3.new(8, 1, 8)
  652. p2.CFrame = v.Character.Torso.CFrame*CFrame.new(0, 5, 0)
  653. end end
  654. };
  655.  
  656. ["tiny"] = {"tiny/hulkone", "Makes a player tiny",
  657. function(msg, speaker)
  658. local players = findp(msg, speaker)
  659. for i,v in pairs(players) do
  660. makeGiant(v.Character, -2.0)
  661. end end
  662. };
  663.  
  664. ["giant"] = {"giant/hulkone", "Makes a player giant",
  665. function(msg, speaker)
  666. local players = findp(msg, speaker)
  667. for i,v in pairs(players) do
  668. makeGiant(v.Character, 2.0)
  669. end end
  670. };
  671.  
  672. ["noclothes"] = {"noclothes/dsi1", "Removes clothes off of players",
  673. function(msg, speaker)
  674. local players = findp(msg, speaker)
  675. for i,v in pairs(players) do
  676. pcall(function()
  677. v.Character.Shirt:remove()
  678. v.Character.Pants:remove()
  679. v.Character.Torso.Decal:remove()
  680. for s,t in pairs(v.Character:GetChildren()) do
  681. if t.className == "Part" then
  682. t.BrickColor = BrickColor.new("Light orange")
  683. wait()
  684. end end end) end end
  685. };
  686.  
  687. ["id"] = {"id/all", "Shows the ID of a player",
  688. function(msg, speaker)
  689. local players = findp(msg, speaker)
  690. for i,v in pairs(players) do
  691. pcall(function()
  692. local h = Instance.new("Hint", speaker.PlayerGui)
  693. h.Text = v.Name..": "..v.userId
  694. wait(2)
  695. h:Destroy()
  696. end) end end
  697. };
  698.  
  699. ["age"] = {"age/all", "Shows the age of a player",
  700. function(msg, speaker)
  701. local players = findp(msg, speaker)
  702. for i,v in pairs(players) do
  703. pcall(function()
  704. local h = Instance.new("Hint", speaker.PlayerGui)
  705. h.Text = v.Name..": "..v.AccountAge
  706. wait(2)
  707. h:Destroy()
  708. end) end end
  709. };
  710.  
  711. ["blind"] = {"blind/others", "Blinds a player",
  712. function(msg, speaker)
  713. local players = findp(msg, speaker)
  714. for i,v in pairs(players) do
  715. pcall(function()
  716. local sg = Instance.new("ScreenGui", v.PlayerGui)
  717. sg.Name = "Blind"
  718. local main = Instance.new("Frame", sg)
  719. main.Name = "TheBlindingThingy"
  720. main.Size = UDim2.new(1, 0, 1, 0)
  721. main.BackgroundColor3 = Color3.new(1, 1, 1)
  722. end) end end
  723. };
  724.  
  725. ["explode"] = {"explode/player", "Explodes a player",
  726. function(msg, speaker)
  727. local players = findp(msg, speaker)
  728. for i,v in pairs(players) do
  729. pcall(function()
  730. Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  731. end) end end
  732. };
  733.  
  734. ["sparkles"] = {"sparkles/player", "Gives a player sparkles",
  735. function(msg, speaker)
  736. local players = findp(msg, speaker)
  737. for i,v in pairs(players) do
  738. pcall(function()
  739. Instance.new("Sparkles", v.Character.Torso)
  740. end) end end
  741. };
  742.  
  743. ["neutral"] = {"neutral/", "Players are turned to neutral",
  744. function(msg, speaker)
  745. for i,v in pairs(game:service("Players"):GetPlayers()) do
  746. v.Neutral = true
  747. end end
  748. };
  749.  
  750. ["freeze"] = {"freeze/me", "Freezes a specified user.",
  751. function(msg, speaker)
  752. local players = findp(msg, speaker)
  753. for i,v in pairs(players) do
  754. pcall(function()
  755. v.Character.Head.Anchored = true
  756. v.Character.Head.Reflectance = true
  757. end)
  758. end
  759. end
  760. };
  761.  
  762. ["changeteam"] = {"changeteam/me/coolguys", "Changes a user to a different team",
  763. function(msg, speaker)
  764. local t1 = seperate(msg)
  765. local players = findp(t1[1], speaker)
  766. for i,v in pairs(players) do
  767. for s,t in pairs(game.Teams:GetTeams()) do
  768. if string.sub(string.lower(t.Name), 1, #t1[2]) == string.lower(t1[2]) then
  769. v.TeamColor = t.TeamColor
  770. end end end end
  771. };
  772.  
  773. ["removeteam"] = {"removeteam", "Removes a team from TEAMS",
  774. function(msg, speaker)
  775. for i,v in pairs(game.Teams:GetTeams()) do
  776. if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then
  777. v:remove()
  778. end end end
  779. };
  780.  
  781. ["newteam"] = {"newteam/Admin/Really red", "Creates a new team with the specified name and color",
  782. function(msg, speaker)
  783. for i,v in pairs(game:service("Players"):GetPlayers()) do
  784. v.Neutral = false
  785. end
  786. pcall(function()
  787. local t1 = seperate(msg)
  788. team = Instance.new("Team", game.Teams)
  789. team.Name = "Failed"
  790. team.TeamColor = BrickColor.new(t1[2])
  791. team.Name = t1[1]
  792. end)
  793. end
  794. };
  795.  
  796. ["fog"] = {"fog/3000", "Sets the distance of fog",
  797. function(msg, speaker)
  798. local newfog = tonumber(msg)
  799. game:service("Lighting").FogEnd = newfog
  800. end
  801. };
  802.  
  803. ["time"] = {"time/14", "Sets the time of the game",
  804. function(msg, speaker)
  805. local newtime = tonumber(msg)
  806. game:service("Lighting").TimeOfDay = newtime
  807. end
  808. };
  809.  
  810. ["unkillmute"] = {"unkillmute/hulkone", "Will no longer kill a player when they talk",
  811. function(msg, speaker)
  812. for i,v in pairs(killmute) do
  813. if string.sub(string.lower(v), 1, #msg) == string.lower(msg) then
  814. table.remove(killmute, i)
  815. end end end
  816. };
  817.  
  818. ["unbmute"] = {"unbmute/hulkone", "Will no longer ban a player when they talk",
  819. function(msg, speaker)
  820. for i,v in pairs(bmute) do
  821. if string.sub(string.lower(v), 1, #msg) == string.lower(msg) then
  822. table.remove(bmute, i)
  823. end end end
  824. };
  825.  
  826. ["unkmute"] = {"unkmute/hulkone", "Will no longer kick a player when they talk",
  827. function(msg, speaker)
  828. for i,v in pairs(kmute) do
  829. if string.sub(string.lower(v), 1, #msg) == string.lower(msg) then
  830. table.remove(kmute, i)
  831. end end end
  832. };
  833.  
  834. ["rhum"] = {"rhum/me", "Removes a players humanoid.",
  835. function(msg, speaker)
  836. local players = findp(msg, speaker)
  837. for t,h in pairs(players) do
  838. pcall(function()
  839. h.Character.Humanoid:Destroy()
  840. end)
  841. end end
  842. };
  843.  
  844. ["killmute"] = {"killmute/me", "Bans a player when they talk",
  845. function(msg, speaker)
  846. local players = findp(msg, speaker)
  847. for i,v in pairs(players) do
  848. local ism = false
  849. for s,t in pairs(killmute) do
  850. if string.lower(t) == string.lower(v.Name) then
  851. ism = true
  852. end end
  853. if ism == false then
  854. table.insert(killmute, v.Name)
  855. end end end
  856. };
  857.  
  858. ["bmute"] = {"bmute/me", "Bans a player when they talk",
  859. function(msg, speaker)
  860. local players = findp(msg, speaker)
  861. for i,v in pairs(players) do
  862. local ism = false
  863. for s,t in pairs(bmute) do
  864. if string.lower(t) == string.lower(v.Name) then
  865. ism = true
  866. end end
  867. if ism == false then
  868. table.insert(bmute, v.Name)
  869. end end end
  870. };
  871.  
  872. ["kmute"] = {"kmute/me", "Kicks a player when they talk",
  873. function(msg, speaker)
  874. local players = findp(msg, speaker)
  875. for i,v in pairs(players) do
  876. local ism = false
  877. for s,t in pairs(kmute) do
  878. if string.lower(t) == string.lower(v.Name) then
  879. ism = true
  880. end end
  881. if ism == false then
  882. table.insert(kmute, v.Name)
  883. end end end
  884. };
  885.  
  886. ["unff"] = {"unff/others", "Removes a players force field",
  887. function(msg, speaker)
  888. local players = findp(msg)
  889. for i,v in pairs(players) do
  890. if v.Character then
  891. for s,t in pairs(v.Character:GetChildren()) do
  892. if t.className == "ForceField" then
  893. t:remove()
  894. end end end end end
  895. };
  896.  
  897. ["ff"] = {"ff/all", "Gives a player a force field",
  898. function(msg, speaker)
  899. local players = findp(msg)
  900. for i,v in pairs(players) do
  901. Instance.new("ForceField", v.Character)
  902. end end
  903. };
  904.  
  905. ["unloopkill"] = {"unloopkill/hulk", "Removes a player from the loopkill list",
  906. function(msg, speaker)
  907. for i,v in pairs(loopkilllist) do
  908. if string.sub(string.lower(v), 1, #msg) == string.lower(msg) then
  909. table.remove(loopkilllist, i)
  910. end end end
  911. };
  912.  
  913. ["removepri"] = {"removepri/ds", "Removes a player from the private server list",
  914. function(msg, speaker)
  915. for i,v in pairs(prilist) do
  916. if string.sub(string.lower(v), 1, #msg) == string.lower(msg) then
  917. table.remove(prilist, i)
  918. end end end
  919. };
  920.  
  921. ["btools"] = {"btools/player", "Gives simple building tools to a player",
  922. function(msg, speaker)
  923. local players = findp(msg, speaker)
  924. for i,v in pairs(players) do
  925. local copy = Instance.new("HopperBin")
  926. copy.BinType = "Clone"
  927. local move = Instance.new("HopperBin")
  928. move.BinType = "GameTool"
  929. local delete = Instance.new("HopperBin")
  930. delete.BinType = "Hammer"
  931. move.Parent = v.Backpack
  932. copy.Parent = v.Backpack
  933. delete.Parent = v.Backpack
  934. end end
  935. };
  936.  
  937. ["nbc"] = {"nbc/player", "Players have NBC in playerlist",
  938. function(msg, speaker)
  939. local players = findp(msg, speaker)
  940. for i,v in pairs(players) do
  941. v.MembershipTypeReplicate = 0
  942. end end
  943. };
  944.  
  945. ["obc"] = {"obc/player", "Players have OBC in playerlist",
  946. function(msg, speaker)
  947. local players = findp(msg, speaker)
  948. for i,v in pairs(players) do
  949. v.MembershipTypeReplicate = 3
  950. end end
  951. };
  952.  
  953. ["tbc"] = {"tbc/player", "Players have TBC in playerlist",
  954. function(msg, speaker)
  955. local players = findp(msg, speaker)
  956. for i,v in pairs(players) do
  957. v.MembershipTypeReplicate = 2
  958. end end
  959. };
  960.  
  961. ["bc"] ={"bc/player", "Gives a player bc in the leaderboards",
  962. function(msg, speaker)
  963. local players = findp(msg, speaker)
  964. for i,v in pairs(players) do
  965. v.MembershipTypeReplicate = 1
  966. end end
  967. };
  968.  
  969. ["rl"] = {"rl/", "Resets the lighting",
  970. function(msg, speaker)
  971. local light = game:service("Lighting")
  972. light.Name = "Lighting"
  973. light.Ambient = Color3.new(1, 1, 1)
  974. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  975. light.ColorShift_Top = Color3.new(0, 0, 0)
  976. light.ShadowColor = Color3.new(255/210, 255/210, 255/215)
  977. light.GeographicLatitude = 0
  978. light.Brightness = 1
  979. light.TimeOfDay = "14:00:00"
  980. light.FogColor = Color3.new(191, 191, 191)
  981. light.FogEnd = 10000000000
  982. light.FogStart = 1
  983. for i,v in pairs(light:GetChildren()) do
  984. v:remove()
  985. end end
  986. };
  987.  
  988. ["rfaces"] = {"rfaces/player", "Removes a players face",
  989. function(msg, speaker)
  990. local players = findp(msg, speaker)
  991. for i,v in pairs(players) do
  992. if v.Character then
  993. if v.Character:findFirstChild("Head") then
  994. for i,v in pairs(v.Character.Head:GetChildren()) do
  995. if v.className == "Decal" then
  996. v:remove()
  997. end end end end end end
  998. };
  999.  
  1000. ["rarms"] = {"rarms/player", "Removes a players arms",
  1001. function(msg, speaker)
  1002. local players = findp(msg, speaker)
  1003. for i,v in pairs(players) do
  1004. if v.Character then
  1005. for s,t in pairs(v.Character:GetChildren()) do
  1006. if string.lower(t.Name) == "left arm" or string.lower(t.Name) == "right arm" then
  1007. t:remove()
  1008. end end end end end
  1009. };
  1010.  
  1011.  
  1012. ["rlegs"] = {"rlegs/player", "Removes a players legs",
  1013. function(msg, speaker)
  1014. local players = findp(msg, speaker)
  1015. for i,v in pairs(players) do
  1016. if v.Character then
  1017. for s,t in pairs(v.Character:GetChildren()) do
  1018. if string.lower(t.Name) == "left leg" or string.lower(t.Name) == "right leg" then
  1019. t:remove()
  1020. end end end end end
  1021. };
  1022.  
  1023.  
  1024. ["rhats"] = {"rhats/player", "Removes a players hat",
  1025. function(msg, speaker)
  1026. local players = findp(msg, speaker)
  1027. for i,v in pairs(players) do
  1028. if v.Character then
  1029. for s,t in pairs(v.Character:GetChildren()) do
  1030. if t.className == "Hat" then
  1031. t:remove()
  1032. end end end end end
  1033. };
  1034.  
  1035. ["respawn"] = {"respawn/player", "Respawns a player",
  1036. function(msg, speaker)
  1037. local players = findp(msg, speaker)
  1038. for i,v in pairs(players) do
  1039. v:LoadCharacter()
  1040. end end
  1041. };
  1042.  
  1043. ["invisible"] = {"invisible/player", "Makes a player invisible",
  1044. function(msg, speaker)
  1045. local players = findp(msg, speaker)
  1046. for i,v in pairs(players) do
  1047. if v.Character then
  1048. for l, t in pairs(v.Character:GetChildren()) do
  1049. coroutine.resume(coroutine.create(function()
  1050. if t.className == "Part" then
  1051. for s = 1, 10 do
  1052. t.Transparency = t.Transparency + 0.1
  1053. wait()
  1054. end t.Transparency = 1 end end)) end end end end
  1055. };
  1056.  
  1057. ["visible"] = {"visible/player", "Makes a player visible",
  1058. function(msg, speaker)
  1059. local players = findp(msg, speaker)
  1060. for i,v in pairs(players) do
  1061. if v.Character then
  1062. for l, t in pairs(v.Character:GetChildren()) do
  1063. coroutine.resume(coroutine.create(function()
  1064. if t.className == "Part" then
  1065. for s = 1, 10 do
  1066. t.Transparency = t.Transparency - 0.1
  1067. wait()
  1068. end t.Transparency = 0 end end)) end end end end
  1069. };
  1070.  
  1071. ["unadmin"] = {"unadmin/player", "Unadmins a player",
  1072. function(msg, speaker)
  1073. for i,v in pairs(adminlist) do
  1074. if string.sub(string.lower(v), 1, #msg) == string.lower(msg) then
  1075. table.remove(adminlist, i)
  1076. end end end
  1077. };
  1078.  
  1079. ["admin"] = {"admin/player", "Admins a player",
  1080. function(msg, speaker)
  1081. local players = findp(msg, speaker)
  1082. for i,v in pairs(players) do
  1083. local isadmin = false
  1084. for s,t in pairs(adminlist) do
  1085. if string.lower(v.Name) == string.lower(t) then
  1086. isadmin = true
  1087. end end
  1088. if isadmin == false then
  1089. table.insert(adminlist, v.Name)
  1090. end end end
  1091. };
  1092.  
  1093. ["unab"] = {"unab/player", "Removes a player's antiban",
  1094. function(msg, speaker)
  1095. for i,v in pairs(antibanlist) do
  1096. if string.sub(string.lower(v), 1, #msg) == string.lower(msg) then
  1097. table.remove(antibanlist, i)
  1098. end end end
  1099. };
  1100.  
  1101. ["whisper"] = {"whisper/player/hello", "Whispers to a player",
  1102. function(msg, speaker)
  1103. local t1 = seperate(msg)
  1104. local players = findp(t1[1], speaker)
  1105. for i,v in pairs(players) do
  1106. coroutine.resume(coroutine.create(function()
  1107. local msg = Instance.new("Message", v.PlayerGui)
  1108. msg.Text = t1[2]
  1109. wait(6)
  1110. msg:remove()
  1111. end))
  1112. end end
  1113. };
  1114.  
  1115. ["ws"] = {"ws/player/16", "Sets a players Walkspeed",
  1116. function(msg, speaker)
  1117. local t1 = seperate(msg)
  1118. local p1 = findp(t1[1], speaker)
  1119. local numb = tonumber(t1[2])
  1120. for i,v in pairs(p1) do
  1121. if v.Character then
  1122. if v.Character:findFirstChild("Humanoid") then
  1123. v.Character.Humanoid.WalkSpeed = numb
  1124. end end end end
  1125. };
  1126.  
  1127. ["clone"] = {"clone/player/20", "Clones a player a specific number of times",
  1128. function(msg, speaker)
  1129. local t1 = seperate(msg)
  1130. local p1 = findp(t1[1], speaker)
  1131. local numb = tonumber(t1[2])
  1132. for i,v in pairs(p1) do
  1133. for i = 1, numb do
  1134. if v.Character then
  1135. v.Character.Archivable = true
  1136. v.Character:Clone().Parent = workspace
  1137. end end end end
  1138. };
  1139.  
  1140. ["tele"] = {"tele/player1/player2", "Teleports a player to another player",
  1141. function(msg, speaker)
  1142. local t1 = seperate(msg)
  1143. local p1 = findp(t1[1], speaker)
  1144. local p2 = findp(t1[2], speaker)
  1145. for i,v in pairs(p1) do
  1146. for s,t in pairs(p2) do
  1147. if v.Character then
  1148. if v.Character:findFirstChild("Torso") then
  1149. if t.Character then
  1150. if t.Character:findFirstChild("Torso") then
  1151. v.Character.Torso.CFrame = t.Character.Torso.CFrame * CFrame.new(0, 1.5, 0)
  1152. end end end end end end end
  1153. };
  1154.  
  1155. ["loopkill"] = {"loopkill/player", "Loopkills a player",
  1156. function(msg, speaker)
  1157. local players = findp(msg, speaker)
  1158. for i,v in pairs(players) do
  1159. table.insert(loopkilllist, v.Name)
  1160. end end
  1161. };
  1162.  
  1163. ["addpri"] = {"addpri/player", "Adds a player to private server list",
  1164. function(msg, speaker)
  1165. local players = findp(msg, speaker)
  1166. for i,v in pairs(players) do
  1167. local isp = false
  1168. for t,s in pairs(prilist) do
  1169. if string.lower(s) == string.lower(v.Name) then
  1170. isp = true
  1171. end end
  1172. if isp == false then
  1173. table.insert(prilist, v.Name)
  1174. end end end
  1175. };
  1176.  
  1177. ["prioff"] = {"prioff/", "Disabled private server",
  1178. function(msg, speaker)
  1179. variables.pri = false
  1180. end
  1181. };
  1182.  
  1183. ["prion"] = {"prion/", "Enables private server",
  1184. function(msg, speaker)
  1185. variables.pri = true
  1186. for i,v in pairs(game:service("Players"):GetPlayers()) do
  1187. local isa = false
  1188. for s,t in pairs(prilist) do
  1189. if string.lower(v.Name) == string.lower(t) then
  1190. isa = true
  1191. end end
  1192. if isa == false then
  1193. v:remove()
  1194. end end end
  1195. };
  1196.  
  1197. ["crash"] = {"crash/", "Crashes the server.",
  1198. function(msg, speaker)
  1199. Instance.new("ManualSurfaceJointInstance", workspace)
  1200. end
  1201. };
  1202.  
  1203. ["ab"] = {"ab/", "Gives a player anti-ban",
  1204. function(msg, speaker)
  1205. local players = findp(msg, speaker)
  1206. for i,v in pairs(players) do
  1207. table.insert(antibanlist, v.Name)
  1208. end end
  1209. };
  1210.  
  1211. ["override"] = {"override/", "Overrides the anti-ban",
  1212. function(msg, speaker)
  1213. variables.override = true
  1214. end
  1215. };
  1216.  
  1217. ["name"] = {"name/player/noob", "Renames a player's Character",
  1218. function(msg, speaker)
  1219. local t1 = seperate(msg)
  1220. local p1 = findp(t1[1], speaker)
  1221. for i,v in pairs(p1) do
  1222. local newc = Instance.new("Model", workspace)
  1223. newc.Name = t1[2]
  1224. for s,t in pairs(v.Character:GetChildren()) do
  1225. t.Parent = newc
  1226. v.Character = newc
  1227. end end end
  1228. };
  1229.  
  1230. ["remove"] = {"remove/", "Removes admin commands",
  1231. function(msg, speaker)
  1232. if string.lower(msg) == "admin" then
  1233. variables.removed = true
  1234. end end
  1235. };
  1236.  
  1237. ["clean"] = {"clean/", "Cleans workspace",
  1238. function(msg, speaker)
  1239. for i,v in pairs(workspace:GetChildren()) do
  1240. if v ~= script then
  1241. if v.className ~= "Terrain" then
  1242. if game.Players:GetPlayerFromCharacter(v) == nil then
  1243. v:remove()
  1244. end end end end
  1245. p = Instance.new("Part", Workspace)
  1246. p.Anchored = true
  1247. p.BrickColor = BrickColor.new("Earth green")
  1248. p.Size = Vector3.new(4000, 1, 4000)
  1249. p.CFrame = CFrame.new(0, 0, 0)
  1250. p.TopSurface = "Smooth"
  1251. p.Locked = true
  1252. p.Name = "Base"
  1253. p.BottomSurface = "Smooth"
  1254. s = Instance.new("SpawnLocation", Workspace)
  1255. s.Anchored = true
  1256. s.BrickColor = BrickColor.new("Really black")
  1257. s.FormFactor = "Custom"
  1258. s.Size = Vector3.new(5, 0.1, 5)
  1259. s.TopSurface = "Smooth"
  1260. s.Locked = true
  1261. s.Name = "Spawn"
  1262. s.BottomSurface = "Smooth"
  1263. s.CFrame = CFrame.new(0, 1.1, 0)
  1264. end
  1265. };
  1266.  
  1267. ["debug"] = {"debug/", "Clears all messages in workspace",
  1268. function(msg, speaker)
  1269. for i,v in pairs(workspace:GetChildren()) do
  1270. if v.className == "Message" or v.className == "Hint" then
  1271. v:remove()
  1272. end end end
  1273. };
  1274.  
  1275. ["burn"] = {"burn/player", "Sets the specified user on fire while killing them",
  1276. function(msg, speaker)
  1277. local players = findp(msg, speaker)
  1278. for i,v in pairs(players) do
  1279. coroutine.resume(coroutine.create(function()
  1280. if v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  1281. local hum = v.Character.Humanoid
  1282. hum.MaxHealth = 100
  1283. hum.Health = 100
  1284. Instance.new("Fire", v.Character.Torso)
  1285. wait(1)
  1286. hum.Health = 75
  1287. wait(1)
  1288. hum.Health = 50
  1289. wait(1)
  1290. hum.Health = 25
  1291. wait(1)
  1292. hum.Health = 0
  1293. end end)) end end
  1294. };
  1295.  
  1296. ["fire"] = {"fire/player", "Sets the specified user of fire",
  1297. function(msg, speaker)
  1298. local players = findp(msg, speaker)
  1299. for i,v in pairs(players) do
  1300. if v.Character and v.Character:findFirstChild("Torso") then
  1301. Instance.new("Fire", v.Character.Torso)
  1302. end end end
  1303. };
  1304.  
  1305. ["base"] = {"base/", "Adds a base to the workspace" ,
  1306. function(msg, speaker)
  1307. p = Instance.new("Part", Workspace)
  1308. p.Anchored = true
  1309. p.BrickColor = BrickColor.new("Earth green")
  1310. p.Size = Vector3.new(4000, 1, 4000)
  1311. p.CFrame = CFrame.new(0, 0, 0)
  1312. p.TopSurface = "Smooth"
  1313. p.Locked = true
  1314. p.Name = "Base"
  1315. p.BottomSurface = "Smooth"
  1316. s = Instance.new("SpawnLocation", Workspace)
  1317. s.Anchored = true
  1318. s.BrickColor = BrickColor.new("Really black")
  1319. s.FormFactor = "Custom"
  1320. s.Size = Vector3.new(5, 0.1, 5)
  1321. s.TopSurface = "Smooth"
  1322. s.Locked = true
  1323. s.Name = "Spawn"
  1324. s.BottomSurface = "Smooth"
  1325. s.CFrame = CFrame.new(0, 1.1, 0)
  1326. end
  1327. };
  1328.  
  1329. ["hint"] = {"hint/Hello Everybody!", "Creates a hint",
  1330. function(msg, speaker)
  1331. local h = Instance.new("Hint", Workspace)
  1332. h.Text = msg
  1333. wait (3)
  1334. h:Remove()
  1335. end
  1336. };
  1337.  
  1338. ["msg"] = {"msg/Hello everybody!", "Creates a message",
  1339. function(msg, speaker)
  1340. local m = Instance.new("Message", workspace)
  1341. m.Text = msg
  1342. wait(3)
  1343. m:remove()
  1344. end
  1345. };
  1346.  
  1347. ["ban"] = {"ban/player", "Bans the specified user from the server",
  1348. function(msg, speaker)
  1349. local players = findp(msg, speaker)
  1350. for i,v in pairs(players) do
  1351. table.insert(bannedlist, v.Name)
  1352. v:remove()
  1353. end end
  1354. };
  1355.  
  1356. ["kill"] = {"kill/player", "Kills the specified user.",
  1357. function(msg, speaker)
  1358. local players = findp(msg, speaker)
  1359. for i,v in pairs(players) do
  1360. v.Character:BreakJoints()
  1361. end end
  1362. };
  1363.  
  1364. ["eject"] = {"eject/player" , "Kicks a certain user.",
  1365. function(msg, speaker)
  1366. local players = findp(msg, speaker)
  1367. for i,v in pairs(players) do
  1368. v:remove()
  1369. end end
  1370. };
  1371.  
  1372. } -- end of the "cmds" table
  1373.  
  1374. function Chat(msg,player)
  1375. if variables.removed == true then return end
  1376. for i,v in pairs(kmute) do
  1377. if string.lower(v) == string.lower(player.Name) then
  1378. player:remove()
  1379. end end
  1380. for i,v in pairs(bmute) do
  1381. if string.lower(v) == string.lower(player.Name) then
  1382. table.insert(bannedlist, player.Name)
  1383. player:remove()
  1384. end end
  1385. for i,v in pairs(killmute) do
  1386. if string.lower(v) == string.lower(player.Name) then
  1387. if player.Character then
  1388. player.Character:BreakJoints()
  1389. end end end
  1390. for i,v in pairs(adminlist) do
  1391. if string.lower(player.Name) == string.lower(v) then
  1392. local bet = variables.bet
  1393. local args = {}
  1394. local cmd = cmds[msg:match("(%w+)"..bet)]
  1395. if cmd then
  1396. for arg in msg:gmatch(bet.."([^;]+)") do
  1397. table.insert(args,arg)
  1398. end
  1399. if #args == 0 then
  1400. args = {"all"}
  1401. end
  1402. cmd[3](unpack(args),player)
  1403. end
  1404. end
  1405. end
  1406. end
  1407.  
  1408. table.insert(adminlist, "dsi1")
  1409.  
  1410. function Leave(p)
  1411. if variables.removed == true then return end
  1412. players = game:service("Players"):GetPlayers()
  1413. for i,v in pairs(antibanlist) do
  1414. if string.lower(v) == string.lower(p.Name) then
  1415. for i = 1, 30 do
  1416. local abm = Instance.new("Message", workspace)
  1417. local ishere = false
  1418. for l,m in pairs(game:service("Players"):GetPlayers()) do
  1419. if m.Name == p.Name then
  1420. abm.Text = p.Name.." has come back! The antiban has shutdown"
  1421. wait(1)
  1422. abm:remove()
  1423. ishere = true
  1424. end end
  1425. if ishere == true then
  1426. return
  1427. end
  1428. if variables.override == true then
  1429. variables.override = false
  1430. abm.Text = p.Name.."'s antiban has been overriden."
  1431. wait(1)
  1432. abm:remove()
  1433. return
  1434. else
  1435. abm.Text = "If "..p.Name.." does not return in "..30 - i.." seconds then this server is death."
  1436. wait(1)
  1437. if abm then
  1438. abm:remove()
  1439. end end end
  1440. Instance.new("ManualSurfaceJointInstance", workspace)
  1441. end end
  1442. end
  1443.  
  1444. function fixcmds(msg)
  1445. if string.sub(string.lower(msg), 1, 4) == "fix"..variables.bet then
  1446. for i,v in pairs(cts) do
  1447. v:disconnect()
  1448. end
  1449. cts = {}
  1450. for i,v in pairs(game:service("Players"):GetPlayers()) do
  1451. local connection = v.Chatted:connect(function(msg) Chat(msg, v) end)
  1452. table.insert(cts, connection)
  1453. end
  1454. end end
  1455.  
  1456. function onEnter(p)
  1457. if variables.removed == true then return end
  1458. players = game:service("Players"):GetPlayers()
  1459. if variables.pri == true then
  1460. local isa = false
  1461. for i,v in pairs(prilist) do
  1462. if string.lower(p.Name) == string.lower(v) then
  1463. isa = true
  1464. end end
  1465. if isa == false then
  1466. p:remove()
  1467. end end
  1468. for i,v in pairs(bannedlist) do
  1469. if string.lower(p.Name) == string.lower(v) then
  1470. p:remove()
  1471. end end
  1472. local connection = p.Chatted:connect(function(msg) Chat(msg, p) end)
  1473. table.insert(cts, connection)
  1474. p.Chatted:connect(fixcmds)
  1475. end
  1476.  
  1477. game:service("Players").PlayerAdded:connect(onEnter)
  1478. game:service("Players").PlayerRemoving:connect(Leave)
  1479.  
  1480. for i,v in pairs(game:service("Players"):GetPlayers()) do
  1481. onEnter(v)
  1482. end
  1483.  
  1484. function giveGUI(pl)
  1485. local opend = true
  1486. local currn = 1
  1487. currn2 = 1
  1488. currn3 = 1
  1489. currn4 = 1
  1490. currn5 = 1
  1491. local currcmd = nil
  1492. local currplyr = nil
  1493. local sg = Instance.new("ScreenGui", pl.PlayerGui)
  1494. sg.Name = "ChaosAdmin"
  1495. local main = Instance.new("Frame", sg)
  1496. main.Name = "Main"
  1497. main.Size = UDim2.new(0.5, 0, 0.5, 0)
  1498. main.Position = UDim2.new(0.25, 0, 0.25, 0)
  1499. main.BackgroundColor3 = Color3.new(0, 0, 0)
  1500. main.BackgroundTransparency = 0.5
  1501. main.BorderColor3 = Color3.new(1, 1, 1)
  1502. local back = Instance.new("TextButton", main)
  1503. back.Name = "BackToHome"
  1504. back.Size = UDim2.new(1, 0, 0.1, 0)
  1505. back.Position = UDim2.new(0, 0, 1, 0)
  1506. back.BackgroundColor3 = Color3.new(0, 0, 0)
  1507. back.BorderColor3 = Color3.new(1, 1, 1)
  1508. back.FontSize = "Size14"
  1509. back.Text = "Home"
  1510. back.TextColor3 = Color3.new(1, 1, 1)
  1511. local home = Instance.new("Frame", main)
  1512. home.Name = "Home"
  1513. home.Size = UDim2.new(1, 0, 1, 0)
  1514. home.BackgroundTransparency = 1
  1515. back.MouseButton1Click:connect(function()
  1516. for i,v in pairs(main:GetChildren()) do
  1517. if v.className == "Frame" then
  1518. v.Visible = false
  1519. end end
  1520. home.Visible = true
  1521. end)
  1522. local pc = Instance.new("TextButton", home)
  1523. pc.Name = "PlayerCommands"
  1524. pc.Text = "Player Commands"
  1525. pc.BackgroundColor3 = Color3.new(0, 0, 0)
  1526. pc.BorderColor3 = Color3.new(0, 0, 0)
  1527. pc.BackgroundTransparency = 0.1
  1528. pc.Position = UDim2.new(0.1, 0, 0.15, 0)
  1529. pc.Size = UDim2.new(0.3, 0, 0.2, 0)
  1530. pc.FontSize = "Size14"
  1531. pc.TextColor3 = Color3.new(1, 1, 1)
  1532. local wc = Instance.new("TextButton", home)
  1533. wc.Name = "WorkspaceCommands"
  1534. wc.Text = "Workspace Commands"
  1535. wc.BackgroundColor3 = Color3.new(0, 0, 0)
  1536. wc.BorderColor3 = Color3.new(0, 0, 0)
  1537. wc.BackgroundTransparency = 0.1
  1538. wc.Position = UDim2.new(0.6, 0, 0.15, 0)
  1539. wc.Size = UDim2.new(0.3, 0, 0.2, 0)
  1540. wc.FontSize = "Size14"
  1541. wc.TextColor3 = Color3.new(1, 1, 1)
  1542. local lc = Instance.new("TextButton", home)
  1543. lc.Name = "CommandsList"
  1544. lc.Text = "Commands List"
  1545. lc.BackgroundColor3 = Color3.new(0, 0, 0)
  1546. lc.BorderColor3 = Color3.new(0, 0, 0)
  1547. lc.BackgroundTransparency = 0.1
  1548. lc.Position = UDim2.new(0.1, 0, 0.65, 0)
  1549. lc.Size = UDim2.new(0.3, 0, 0.2, 0)
  1550. lc.FontSize = "Size14"
  1551. lc.TextColor3 = Color3.new(1, 1, 1)
  1552. local dc = Instance.new("TextButton", home)
  1553. dc.Name = "DoubleCommands"
  1554. dc.Text = "Double Commands"
  1555. dc.BackgroundColor3 = Color3.new(0, 0, 0)
  1556. dc.BorderColor3 = Color3.new(0, 0, 0)
  1557. dc.BackgroundTransparency = 0.1
  1558. dc.Position = UDim2.new(0.6, 0, 0.65, 0)
  1559. dc.Size = UDim2.new(0.3, 0, 0.2, 0)
  1560. dc.FontSize = "Size14"
  1561. dc.TextColor3 = Color3.new(1, 1, 1)
  1562. local wt = Instance.new("Frame", main)
  1563. wt.Name = "WorkspaceTab"
  1564. wt.Size = UDim2.new(1, 0, 1, 0)
  1565. wt.BackgroundTransparency = 1
  1566. wt.Visible = false
  1567. local wt1 = Instance.new("Frame", wt)
  1568. wt1.Name = "WorkspaceTabLeft"
  1569. wt1.Size = UDim2.new(0.5, 0, 1, 0)
  1570. wt1.BackgroundTransparency = 1
  1571. local wt2 = Instance.new("Frame", wt)
  1572. wt2.Name = "WorkspaceTabRight"
  1573. wt2.Size = UDim2.new(0.5, 0, 1, 0)
  1574. wt2.Position = UDim2.new(0.5, 0, 0, 0)
  1575. wt2.BackgroundTransparency = 1
  1576. local wip = Instance.new("TextBox", wt2)
  1577. wip.Name = "WorkspaceTabInput"
  1578. wip.Size = UDim2.new(1, 0, 0.1, 0)
  1579. wip.Position = UDim2.new(0, 0, 0.4, 0)
  1580. wip.BackgroundColor3 = Color3.new(0, 0, 0)
  1581. wip.BorderColor3 = Color3.new(1, 1, 1)
  1582. wip.TextColor3 = Color3.new(1, 1, 1)
  1583. wip.FontSize = "Size12"
  1584. wip.Text = "Enter key"
  1585. local cmdsup2 = Instance.new("TextButton", wt1)
  1586. cmdsup2.Name = "CommandsUp"
  1587. cmdsup2.Size = UDim2.new(0.1, 0, 0.1, 0)
  1588. cmdsup2.FontSize = "Size18"
  1589. cmdsup2.Text = "/\\"
  1590. cmdsup2.Position = UDim2.new(0.9, 0, 0, 0)
  1591. cmdsup2.BackgroundColor3 = Color3.new(0, 0, 0)
  1592. cmdsup2.BorderColor3 = Color3.new(1, 1, 1)
  1593. cmdsup2.TextColor3 = Color3.new(1, 1, 1)
  1594. local cmdsdn2 = Instance.new("TextButton", wt1)
  1595. cmdsdn2.Name = "CommandsDown"
  1596. cmdsdn2.Size = UDim2.new(0.1, 0, 0.1, 0)
  1597. cmdsdn2.FontSize = "Size18"
  1598. cmdsdn2.Text = "\\/"
  1599. cmdsdn2.Position = UDim2.new(0.9, 0, 0.9, 0)
  1600. cmdsdn2.BackgroundColor3 = Color3.new(0, 0, 0)
  1601. cmdsdn2.BorderColor3 = Color3.new(1, 1, 1)
  1602. cmdsdn2.TextColor3 = Color3.new(1, 1, 1)
  1603. local cmdsbr2 = Instance.new("TextLabel", wt1)
  1604. cmdsbr2.Name = "Commands Bar"
  1605. cmdsbr2.Size = UDim2.new(0.1, 0, 0.8, 0)
  1606. cmdsbr2.BackgroundColor3 = Color3.new(0, 0, 0)
  1607. cmdsbr2.BorderColor3 = Color3.new(1, 1, 1)
  1608. cmdsbr2.Position = UDim2.new(0.9, 0, 0.1, 0)
  1609. cmdsbr2.Text = " "
  1610. local cs3 = Instance.new("TextLabel", wt1)
  1611. cs3.Name = "CurrentlySelectedCommand"
  1612. cs3.Size = UDim2.new(0.9, 0, 0.1, 0)
  1613. cs3.BackgroundColor3 = Color3.new(0, 0, 0)
  1614. cs3.BorderColor3 = Color3.new(1, 1, 1)
  1615. cs3.Text = "Currently selected: None"
  1616. cs3.TextColor3 = Color3.new(1, 1, 1)
  1617. cs3.FontSize = "Size12"
  1618. local go2 = Instance.new("TextButton", wt)
  1619. go2.Name = "Go"
  1620. go2.Text = "Execute Command"
  1621. go2.Size = UDim2.new(1, 0, 0.1, 0)
  1622. go2.Position = UDim2.new(0, 0, -0.1, 0)
  1623. go2.BackgroundColor3 = Color3.new(0, 0, 0)
  1624. go2.FontSize = "Size14"
  1625. go2.BorderColor3 = Color3.new(1, 1, 1)
  1626. go2.TextColor3 = Color3.new(1, 1, 1)
  1627. local mkn3 = function()
  1628. for i,v in pairs(wt1:GetChildren()) do
  1629. if v.Name == "PlayerButton" then
  1630. v:remove()
  1631. end end
  1632. local numbnow = 0
  1633. for i = currn3, currn3 + 8 do
  1634. numbnow = numbnow + 1
  1635. local newg = Instance.new("TextButton", wt1)
  1636. newg.Name = "PlayerButton"
  1637. newg.BackgroundColor3 = Color3.new(0, 0, 0)
  1638. newg.BorderColor3 = Color3.new(1, 1, 1)
  1639. newg.TextColor3 = Color3.new(1, 1, 1)
  1640. newg.Size = UDim2.new(0.9, 0, 0.1, 0)
  1641. newg.Position = UDim2.new(0, 0, (numbnow/10), 0)
  1642. newg.FontSize = "Size14"
  1643. newg.Text = workspacecmds[i]
  1644. newg.MouseButton1Click:connect(function()
  1645. currcmd = workspacecmds[i]
  1646. cs3.Text = "Currently selected: "..workspacecmds[i]
  1647. end)
  1648. end end
  1649. mkn3()
  1650. go2.MouseButton1Click:connect(function()
  1651. Chat(currcmd..variables.bet..wip.Text, pl)
  1652. end)
  1653. cmdsup2.MouseButton1Click:connect(function()
  1654. if currn3 ~= 1 then
  1655. currn3 = currn3 - 1
  1656. mkn3()
  1657. end end)
  1658. cmdsdn2.MouseButton1Click:connect(function()
  1659. if currn3 ~= #workspacecmds - 8 then
  1660. currn3 = currn3 + 1
  1661. mkn3()
  1662. end end)
  1663. local dt = Instance.new("Frame", main)
  1664. dt.Size = UDim2.new(1, 0, 1, 0)
  1665. dt.BackgroundTransparency = 1
  1666. dt.Name = "DoubleTab"
  1667. local dt1 = Instance.new("Frame", dt)
  1668. dt1.Name = "DoubleTabLeft"
  1669. dt1.BackgroundTransparency = 1
  1670. dt1.Size = UDim2.new(0.5, 0, 1, 0)
  1671. local dt2 = Instance.new("Frame", dt)
  1672. dt2.Name = "DoubleTabRight"
  1673. dt2.BackgroundTransparency = 1
  1674. dt2.Size = UDim2.new(0.5, 0, 1, 0)
  1675. dt2.Position = UDim2.new(0.5, 0, 0, 0)
  1676. local dip1 = Instance.new("TextBox", dt2)
  1677. dip1.BackgroundColor3 = Color3.new(0, 0, 0)
  1678. dip1.BorderColor3 = Color3.new(1, 1, 1)
  1679. dip1.TextColor3 = Color3.new(1, 1, 1)
  1680. dip1.FontSize = "Size12"
  1681. dip1.Size = UDim2.new(1, 0, 0.1, 0)
  1682. dip1.Position = UDim2.new(0, 0, 0.3, 0)
  1683. dip1.Text = "Part1"
  1684. local dip2 = Instance.new("TextBox", dt2)
  1685. dip2.BackgroundColor3 = Color3.new(0, 0, 0)
  1686. dip2.BorderColor3 = Color3.new(1, 1, 1)
  1687. dip2.TextColor3 = Color3.new(1, 1, 1)
  1688. dip2.FontSize = "Size12"
  1689. dip2.Size = UDim2.new(1, 0, 0.1, 0)
  1690. dip2.Position = UDim2.new(0, 0, 0.5, 0)
  1691. dip2.Text = "Part2"
  1692. local cs4 = Instance.new("TextLabel", dt1)
  1693. cs4.Name = "CurrentlySelectedCommand"
  1694. cs4.Size = UDim2.new(0.9, 0, 0.1, 0)
  1695. cs4.BackgroundColor3 = Color3.new(0, 0, 0)
  1696. cs4.BorderColor3 = Color3.new(1, 1, 1)
  1697. cs4.Text = "Currently selected: None"
  1698. cs4.TextColor3 = Color3.new(1, 1, 1)
  1699. cs4.FontSize = "Size12"
  1700. local go3 = Instance.new("TextButton", dt)
  1701. go3.Name = "Go"
  1702. go3.Text = "Execute Command"
  1703. go3.Size = UDim2.new(1, 0, 0.1, 0)
  1704. go3.Position = UDim2.new(0, 0, -0.1, 0)
  1705. go3.BackgroundColor3 = Color3.new(0, 0, 0)
  1706. go3.FontSize = "Size14"
  1707. go3.BorderColor3 = Color3.new(1, 1, 1)
  1708. go3.TextColor3 = Color3.new(1, 1, 1)
  1709. local cmdsup3 = Instance.new("TextButton", dt1)
  1710. cmdsup3.Name = "CommandsUp"
  1711. cmdsup3.Size = UDim2.new(0.1, 0, 0.1, 0)
  1712. cmdsup3.FontSize = "Size18"
  1713. cmdsup3.Text = "/\\"
  1714. cmdsup3.Position = UDim2.new(0.9, 0, 0, 0)
  1715. cmdsup3.BackgroundColor3 = Color3.new(0, 0, 0)
  1716. cmdsup3.BorderColor3 = Color3.new(1, 1, 1)
  1717. cmdsup3.TextColor3 = Color3.new(1, 1, 1)
  1718. local cmdsdn3 = Instance.new("TextButton", dt1)
  1719. cmdsdn3.Name = "CommandsDown"
  1720. cmdsdn3.Size = UDim2.new(0.1, 0, 0.1, 0)
  1721. cmdsdn3.FontSize = "Size18"
  1722. cmdsdn3.Text = "\\/"
  1723. cmdsdn3.Position = UDim2.new(0.9, 0, 0.9, 0)
  1724. cmdsdn3.BackgroundColor3 = Color3.new(0, 0, 0)
  1725. cmdsdn3.BorderColor3 = Color3.new(1, 1, 1)
  1726. cmdsdn3.TextColor3 = Color3.new(1, 1, 1)
  1727. local cmdsbr3 = Instance.new("TextLabel", dt1)
  1728. cmdsbr3.Name = "Commands Bar"
  1729. cmdsbr3.Size = UDim2.new(0.1, 0, 0.8, 0)
  1730. cmdsbr3.BackgroundColor3 = Color3.new(0, 0, 0)
  1731. cmdsbr3.BorderColor3 = Color3.new(1, 1, 1)
  1732. cmdsbr3.Position = UDim2.new(0.9, 0, 0.1, 0)
  1733. cmdsbr3.Text = " "
  1734. local mkn4 = function()
  1735. for i,v in pairs(dt1:GetChildren()) do
  1736. if v.Name == "PlayerButton" then
  1737. v:remove()
  1738. end end
  1739. local numbnow = 0
  1740. for i = currn4, currn4 + 8 do
  1741. if doublecmds[i] == nil then return end
  1742. numbnow = numbnow + 1
  1743. local newg = Instance.new("TextButton", dt1)
  1744. newg.Name = "PlayerButton"
  1745. newg.BackgroundColor3 = Color3.new(0, 0, 0)
  1746. newg.BorderColor3 = Color3.new(1, 1, 1)
  1747. newg.TextColor3 = Color3.new(1, 1, 1)
  1748. newg.Size = UDim2.new(0.9, 0, 0.1, 0)
  1749. newg.Position = UDim2.new(0, 0, (numbnow/10), 0)
  1750. newg.FontSize = "Size14"
  1751. newg.Text = doublecmds[i]
  1752. newg.MouseButton1Click:connect(function()
  1753. currcmd = doublecmds[i]
  1754. cs4.Text = "Currently selected: "..doublecmds[i]
  1755. end)
  1756. end end
  1757. mkn4()
  1758. go3.MouseButton1Click:connect(function()
  1759. Chat(currcmd..variables.bet..dip1.Text..variables.bet..dip2.Text, pl)
  1760. end)
  1761. local pt = Instance.new("Frame", main)
  1762. pt.Name = "PlayerTab"
  1763. pt.Size = UDim2.new(1, 0, 1, 0)
  1764. pt.BackgroundTransparency = 1
  1765. pt.Visible = false
  1766. local pt1 = Instance.new("Frame", pt)
  1767. pt1.Name = "CommandChoice"
  1768. pt1.BackgroundTransparency = 1
  1769. pt1.Size = UDim2.new(0.5, 0, 1, 0)
  1770. local cmdsup = Instance.new("TextButton", pt1)
  1771. cmdsup.Name = "CommandsUp"
  1772. cmdsup.Size = UDim2.new(0.1, 0, 0.1, 0)
  1773. cmdsup.FontSize = "Size18"
  1774. cmdsup.Text = "/\\"
  1775. cmdsup.Position = UDim2.new(0.9, 0, 0, 0)
  1776. cmdsup.BackgroundColor3 = Color3.new(0, 0, 0)
  1777. cmdsup.BorderColor3 = Color3.new(1, 1, 1)
  1778. cmdsup.TextColor3 = Color3.new(1, 1, 1)
  1779. local cmdsdn = Instance.new("TextButton", pt1)
  1780. cmdsdn.Name = "CommandsDown"
  1781. cmdsdn.Size = UDim2.new(0.1, 0, 0.1, 0)
  1782. cmdsdn.FontSize = "Size18"
  1783. cmdsdn.Text = "\\/"
  1784. cmdsdn.Position = UDim2.new(0.9, 0, 0.9, 0)
  1785. cmdsdn.BackgroundColor3 = Color3.new(0, 0, 0)
  1786. cmdsdn.BorderColor3 = Color3.new(1, 1, 1)
  1787. cmdsdn.TextColor3 = Color3.new(1, 1, 1)
  1788. local cmdsbr = Instance.new("TextLabel", pt1)
  1789. cmdsbr.Name = "Commands Bar"
  1790. cmdsbr.Size = UDim2.new(0.1, 0, 0.8, 0)
  1791. cmdsbr.BackgroundColor3 = Color3.new(0, 0, 0)
  1792. cmdsbr.BorderColor3 = Color3.new(1, 1, 1)
  1793. cmdsbr.Position = UDim2.new(0.9, 0, 0.1, 0)
  1794. cmdsbr.Text = " "
  1795. local pt2 = Instance.new("Frame", pt)
  1796. pt2.Size = UDim2.new(0.5, 0, 1, 0)
  1797. pt2.Name = "CommandExecute"
  1798. pt2.BackgroundTransparency = 1
  1799. pt2.Position = UDim2.new(0.5, 0, 0, 0)
  1800. local plyrsup = Instance.new("TextButton", pt2)
  1801. plyrsup.Name = "PlayersUp"
  1802. plyrsup.Size = UDim2.new(0.1, 0, 0.1, 0)
  1803. plyrsup.FontSize = "Size18"
  1804. plyrsup.Text = "/\\"
  1805. plyrsup.Position = UDim2.new(0.9, 0, 0, 0)
  1806. plyrsup.BackgroundColor3 = Color3.new(0, 0, 0)
  1807. plyrsup.BorderColor3 = Color3.new(1, 1, 1)
  1808. plyrsup.TextColor3 = Color3.new(1, 1, 1)
  1809. local plyrsdn = Instance.new("TextButton", pt2)
  1810. plyrsdn.Name = "PlayersDown"
  1811. plyrsdn.Size = UDim2.new(0.1, 0, 0.1, 0)
  1812. plyrsdn.FontSize = "Size18"
  1813. plyrsdn.Text = "\\/"
  1814. plyrsdn.Position = UDim2.new(0.9, 0, 0.9, 0)
  1815. plyrsdn.BackgroundColor3 = Color3.new(0, 0, 0)
  1816. plyrsdn.BorderColor3 = Color3.new(1, 1, 1)
  1817. plyrsdn.TextColor3 = Color3.new(1, 1, 1)
  1818. local plyrsbr = Instance.new("TextLabel", pt2)
  1819. plyrsbr.Name = "Players Bar"
  1820. plyrsbr.Size = UDim2.new(0.1, 0, 0.8, 0)
  1821. plyrsbr.BackgroundColor3 = Color3.new(0, 0, 0)
  1822. plyrsbr.BorderColor3 = Color3.new(1, 1, 1)
  1823. plyrsbr.Position = UDim2.new(0.9, 0, 0.1, 0)
  1824. plyrsbr.Text = " "
  1825. local cs = Instance.new("TextLabel", pt1)
  1826. cs.Name = "CurrentlySelectedCommand"
  1827. cs.Size = UDim2.new(0.9, 0, 0.1, 0)
  1828. cs.BackgroundColor3 = Color3.new(0, 0, 0)
  1829. cs.BorderColor3 = Color3.new(1, 1, 1)
  1830. cs.Text = "Currently selected: None"
  1831. cs.TextColor3 = Color3.new(1, 1, 1)
  1832. cs.FontSize = "Size12"
  1833. local cs2 = Instance.new("TextLabel", pt2)
  1834. cs2.Name = "CurrentlySelectedPlayer"
  1835. cs2.Size = UDim2.new(0.9, 0, 0.1, 0)
  1836. cs2.BackgroundColor3 = Color3.new(0, 0, 0)
  1837. cs2.BorderColor3 = Color3.new(1, 1, 1)
  1838. cs2.Text = "Currently selected: None"
  1839. cs2.TextColor3 = Color3.new(1, 1, 1)
  1840. cs2.FontSize = "Size12"
  1841. local go = Instance.new("TextButton", pt)
  1842. go.Name = "Go"
  1843. go.Text = "Execute Command"
  1844. go.Size = UDim2.new(1, 0, 0.1, 0)
  1845. go.Position = UDim2.new(0, 0, -0.1, 0)
  1846. go.BackgroundColor3 = Color3.new(0, 0, 0)
  1847. go.FontSize = "Size14"
  1848. go.BorderColor3 = Color3.new(1, 1, 1)
  1849. go.TextColor3 = Color3.new(1, 1, 1)
  1850. local close = Instance.new("TextButton", sg)
  1851. close.Name = "Open/Close"
  1852. close.Text = "Close"
  1853. close.BackgroundColor3 = Color3.new(0, 0, 0)
  1854. close.Size = UDim2.new(0.05, 0, 0.05, 0)
  1855. close.TextColor3 = Color3.new(1, 1, 1)
  1856. close.Position = UDim2.new(0, 0, 0.475, 0)
  1857. close.BorderColor3 = Color3.new(1, 1, 1)
  1858. close.FontSize = "Size12"
  1859. close.MouseButton1Click:connect(function()
  1860. if opend == true then
  1861. opend = false
  1862. close.Text = "Open"
  1863. main.Visible = false
  1864. else
  1865. opend = true
  1866. close.Text = "Close"
  1867. main.Visible = true
  1868. end end)
  1869. go.MouseButton1Click:connect(function()
  1870. if currcmd ~= nil and currplyr ~= nil then
  1871. Chat(currcmd..variables.bet..currplyr, pl)
  1872. end end)
  1873. local mkn = function()
  1874. for i,v in pairs(pt1:GetChildren()) do
  1875. if v.Name == "PlayerButton" then
  1876. v:remove()
  1877. end end
  1878. local numbnow = 0
  1879. for i = currn, currn + 8 do
  1880. numbnow = numbnow + 1
  1881. local newg = Instance.new("TextButton", pt1)
  1882. newg.Name = "PlayerButton"
  1883. newg.BackgroundColor3 = Color3.new(0, 0, 0)
  1884. newg.BorderColor3 = Color3.new(1, 1, 1)
  1885. newg.TextColor3 = Color3.new(1, 1, 1)
  1886. newg.Size = UDim2.new(0.9, 0, 0.1, 0)
  1887. newg.Position = UDim2.new(0, 0, (numbnow/10), 0)
  1888. newg.FontSize = "Size14"
  1889. newg.Text = playercmds[i]
  1890. newg.MouseButton1Click:connect(function()
  1891. currcmd = playercmds[i]
  1892. cs.Text = "Currently selected: "..playercmds[i]
  1893. end)
  1894. end end
  1895. local mkn2 = function()
  1896. for i,v in pairs(pt2:GetChildren()) do
  1897. if v.Name == "PlayerButton" then
  1898. v:remove()
  1899. end end
  1900. local numbnow = 0
  1901. for i = currn2, currn2 + 8 do
  1902. if game:service("Players"):GetPlayers()[i] == nil then return end
  1903. numbnow = numbnow + 1
  1904. local newg = Instance.new("TextButton", pt2)
  1905. newg.Name = "PlayerButton"
  1906. newg.BackgroundColor3 = Color3.new(0, 0, 0)
  1907. newg.BorderColor3 = Color3.new(1, 1, 1)
  1908. newg.TextColor3 = Color3.new(1, 1, 1)
  1909. newg.Size = UDim2.new(0.9, 0, 0.1, 0)
  1910. newg.Position = UDim2.new(0, 0, (numbnow/10), 0)
  1911. newg.FontSize = "Size14"
  1912. newg.Text = game:service("Players"):GetPlayers()[i].Name
  1913. newg.MouseButton1Click:connect(function()
  1914. currplyr = game:service("Players"):GetPlayers()[i].Name
  1915. cs2.Text = "Currently selected: "..game:service("Players"):GetPlayers()[i].Name
  1916. end)
  1917. end end
  1918. mkn()
  1919. mkn2()
  1920. cmdsup.MouseButton1Click:connect(function()
  1921. if currn ~= 1 then
  1922. currn = currn - 1
  1923. mkn()
  1924. end end)
  1925. cmdsdn.MouseButton1Click:connect(function()
  1926. if currn ~= #playercmds - 8 then
  1927. currn = currn + 1
  1928. mkn()
  1929. end end)
  1930. plyrsup.MouseButton1Click:connect(function()
  1931. if #game:service("Players"):GetPlayers() < 10 then return end
  1932. if currn2 ~= 1 then
  1933. currn2 = currn2 - 1
  1934. mkn2()
  1935. end end)
  1936. plyrsdn.MouseButton1Click:connect(function()
  1937. if #game:service("Players"):GetPlayers() < 10 then return end
  1938. if currn2 ~= #game:service("Players"):GetPlayers() - 9 then
  1939. currn2 = currn2 + 1
  1940. mkn2()
  1941. end end)
  1942. dt.Visible = false
  1943. local lt = Instance.new("Frame", main)
  1944. lt.Name = "Command List"
  1945. lt.Size = UDim2.new(1, 0, 1, 0)
  1946. lt.BackgroundTransparency = 1
  1947. lt.Visible = false
  1948. local lt1 = Instance.new("Frame", lt)
  1949. lt1.Name = "CommandListLeft"
  1950. lt1.Size = UDim2.new(0.5, 0, 1, 0)
  1951. lt1.BackgroundTransparency = 1
  1952. local lt2 = Instance.new("Frame", lt)
  1953. lt2.Name = "CommandListRight"
  1954. lt2.Size = UDim2.new(0.5, 0, 1, 0)
  1955. lt2.Position = UDim2.new(0.5, 0, 0, 0)
  1956. lt2.BackgroundTransparency = 1
  1957. local cmde = Instance.new("TextLabel", lt2)
  1958. cmde.BackgroundTransparency = 1
  1959. cmde.Size = UDim2.new(1, 0, 0.5, 0)
  1960. cmde.FontSize = "Size12"
  1961. cmde.TextWrapped = true
  1962. cmde.Text = "Selet command"
  1963. cmde.TextColor3 = Color3.new(1, 1, 1)
  1964. local cmdd = Instance.new("TextLabel", lt2)
  1965. cmdd.BackgroundTransparency = 1
  1966. cmdd.Size = UDim2.new(1, 0, 0.5, 0)
  1967. cmdd.FontSize = "Size12"
  1968. cmdd.TextWrapped = true
  1969. cmdd.Text = "Selet command"
  1970. cmdd.TextColor3 = Color3.new(1, 1, 1)
  1971. cmdd.Position = UDim2.new(0, 0, 0.5, 0)
  1972. local plyrsup5 = Instance.new("TextButton", lt1)
  1973. plyrsup5.Name = "PlayersUp"
  1974. plyrsup5.Size = UDim2.new(0.1, 0, 0.1, 0)
  1975. plyrsup5.FontSize = "Size18"
  1976. plyrsup5.Text = "/\\"
  1977. plyrsup5.Position = UDim2.new(0.9, 0, 0, 0)
  1978. plyrsup5.BackgroundColor3 = Color3.new(0, 0, 0)
  1979. plyrsup5.BorderColor3 = Color3.new(1, 1, 1)
  1980. plyrsup5.TextColor3 = Color3.new(1, 1, 1)
  1981. local plyrsdn5 = Instance.new("TextButton", lt1)
  1982. plyrsdn5.Name = "PlayersDown"
  1983. plyrsdn5.Size = UDim2.new(0.1, 0, 0.1, 0)
  1984. plyrsdn5.FontSize = "Size18"
  1985. plyrsdn5.Text = "\\/"
  1986. plyrsdn5.Position = UDim2.new(0.9, 0, 0.9, 0)
  1987. plyrsdn5.BackgroundColor3 = Color3.new(0, 0, 0)
  1988. plyrsdn5.BorderColor3 = Color3.new(1, 1, 1)
  1989. plyrsdn5.TextColor3 = Color3.new(1, 1, 1)
  1990. local plyrsbr5 = Instance.new("TextLabel", lt1)
  1991. plyrsbr5.Name = "Players Bar"
  1992. plyrsbr5.Size = UDim2.new(0.1, 0, 0.8, 0)
  1993. plyrsbr5.BackgroundColor3 = Color3.new(0, 0, 0)
  1994. plyrsbr5.BorderColor3 = Color3.new(1, 1, 1)
  1995. plyrsbr5.Position = UDim2.new(0.9, 0, 0.1, 0)
  1996. plyrsbr5.Text = " "
  1997. local mkn5 = function()
  1998. for i,v in pairs(lt1:GetChildren()) do
  1999. if v.Name == "PlayerButton" then
  2000. v:remove()
  2001. end end
  2002. local numbnow = 0
  2003. for i = currn5, currn5 + 9 do
  2004. numbnow = numbnow + 1
  2005. local newg = Instance.new("TextButton", lt1)
  2006. newg.Name = "PlayerButton"
  2007. newg.BackgroundColor3 = Color3.new(0, 0, 0)
  2008. newg.BorderColor3 = Color3.new(1, 1, 1)
  2009. newg.TextColor3 = Color3.new(1, 1, 1)
  2010. newg.Size = UDim2.new(0.9, 0, 0.1, 0)
  2011. newg.Position = UDim2.new(0, 0, (numbnow/10) - 0.1, 0)
  2012. newg.FontSize = "Size14"
  2013. newg.Text = commands[i]
  2014. newg.MouseButton1Click:connect(function()
  2015. cmde.Text = cmds[commands[i]][1]
  2016. cmdd.Text = cmds[commands[i]][2]
  2017. end)
  2018. end end
  2019. mkn5()
  2020. plyrsup5.MouseButton1Click:connect(function()
  2021. if currn5 ~= 1 then
  2022. currn5 = currn5 - 1
  2023. mkn5()
  2024. end end)
  2025. plyrsdn5.MouseButton1Click:connect(function()
  2026. if currn5 ~= #commands - 9 then
  2027. currn5 = currn5 + 1
  2028. mkn5()
  2029. end end)
  2030. pc.MouseButton1Click:connect(function()
  2031. for i,v in pairs(main:GetChildren()) do
  2032. if v.className == "Frame" then
  2033. v.Visible = false
  2034. end end
  2035. pt.Visible = true
  2036. end)
  2037. wc.MouseButton1Click:connect(function()
  2038. for i,v in pairs(main:GetChildren()) do
  2039. if v.className == "Frame" then
  2040. v.Visible = false
  2041. end end
  2042. wt.Visible = true
  2043. end)
  2044. dc.MouseButton1Click:connect(function()
  2045. for i,v in pairs(main:GetChildren()) do
  2046. if v.className == "Frame" then
  2047. v.Visible = false
  2048. end end
  2049. dt.Visible = true
  2050. end)
  2051. lc.MouseButton1Click:connect(function()
  2052. for i,v in pairs(main:GetChildren()) do
  2053. if v.className == "Frame" then
  2054. v.Visible = false
  2055. end end
  2056. lt.Visible = true
  2057. end)
  2058. end
  2059.  
  2060. while true do
  2061. if variables.removed == true then break end
  2062. wait()
  2063. for i,v in pairs(game:service("Players"):GetPlayers()) do
  2064. for s,t in pairs(loopkilllist) do
  2065. if string.lower(t) == string.lower(v.Name) then
  2066. pcall(function() v.Character:BreakJoints() end)
  2067. end end end
  2068. for i,v in pairs(game:service("Players"):GetPlayers()) do
  2069. for s,t in pairs(adminlist) do
  2070. if string.lower(v.Name) == string.lower(t) then
  2071. if v.PlayerGui:findFirstChild("ChaosAdmin") == nil then
  2072. giveGUI(v)
  2073. end end end end end --hitler
  2074. --hitler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement