Advertisement
ghostteen14

Untitled

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