Advertisement
MLGDragonz

Untitled

Jun 5th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.15 KB | None | 0 0
  1. --Nova Admin Gifted by machontz, Regular Script!
  2.  
  3. Admins = {
  4.  
  5. ["Nafij11"] = 3, -- Your name
  6.  
  7. ["Azorin1"] = 3, -- Friends names
  8.  
  9. ["BoltUzumaki"] = 3,
  10.  
  11. ["DarkRoseWereWolf"] = 3
  12.  
  13. ["GamerGirl43943"] = 3,
  14.  
  15. ["minecraftlover242"] = 3,
  16.  
  17. ["MynameJeff2134567"] = 3,
  18.  
  19. ["Ifty4138"] = 3,
  20.  
  21. ["Nabil432"] = 3,
  22.  
  23. ["GreenLikeCreeper"] = 3,
  24.  
  25. ["MineHopeZ"] = 3,
  26.  
  27. ["mohamadude"] = 3,
  28.  
  29. ["NotTheRealTBNRFrags"] = 3,
  30.  
  31. ["Skittles57081"] = 3,
  32.  
  33. ["thesamot"] = 3,
  34.  
  35. ["TmNinja03"] = 3,
  36.  
  37. ["xXxRoseZoroX"] = 3,
  38.  
  39. }
  40.  
  41. local Levels = {
  42.  
  43. [0] = {"Peasant", BrickColor.new("Medium stone grey")};
  44.  
  45. [1] = {"Knight", BrickColor.new("Bright red")};
  46.  
  47. [2] = {"Lord", BrickColor.new("Navy blue")};
  48.  
  49. [3] = {"King", BrickColor.new("Really black")}
  50.  
  51. }
  52.  
  53. Players = Game:GetService("Players")
  54.  
  55. Workspace = Game:GetService("Workspace")
  56.  
  57. Debris = Game:GetService("Debris")
  58.  
  59. Lighting = Game:GetService("Lighting")
  60.  
  61. Teams = Game:GetService("Teams")
  62.  
  63. MR = math.rad
  64.  
  65. MD = math.deg
  66.  
  67. IPStore = {}
  68.  
  69. IPBans = {}
  70.  
  71. Banned = {"Network Server"}
  72.  
  73. PrivateServer = {}
  74.  
  75. PrivateServerWarnings = {}
  76.  
  77. function IncommingConnection(IPAddress, Replicator)
  78.  
  79. local IP = IPAddress:sub(1, IPAddress:find(":")-1)
  80.  
  81. local ThePlayer
  82.  
  83. Players.PlayerAdded:connect(function(NewPlayer)
  84.  
  85. if not ThePlayer then
  86.  
  87. ThePlayer = NewPlayer
  88.  
  89. end
  90.  
  91. end)
  92.  
  93. repeat wait() until ThePlayer
  94.  
  95. IPStore[ThePlayer.Name] = IP
  96.  
  97. for i=1, #IPBans do
  98.  
  99. if IPBans[i] == IP then
  100.  
  101. ThePlayer:Remove()
  102.  
  103. end
  104.  
  105. end
  106.  
  107. end
  108.  
  109. function Round(Number, ToWhatExtent)
  110.  
  111. if ToWhatExtent then
  112.  
  113. return math.floor(Number/ToWhatExtent+0.5)*ToWhatExtent
  114.  
  115. else
  116.  
  117. return math.floor(Number + 0.5)
  118.  
  119. end
  120.  
  121. end
  122.  
  123. Settings = {
  124.  
  125. Color = BrickColor.new("Institutional white"), --Its bright red...
  126.  
  127. Name = "ProLevi27 Scythe Admin",
  128.  
  129. Version = "0.0.8"
  130.  
  131. }
  132.  
  133. function ShowInCircle(Prompter,...)
  134.  
  135. local Args = {...}
  136.  
  137. local Books = {}
  138.  
  139. Args[#Args + 1] = "Dismiss"
  140.  
  141. local Ans = nil
  142.  
  143. local Rank = Admins[Prompter.Name]
  144.  
  145. for i=1, #Args do
  146.  
  147. local IsKings
  148.  
  149. if Args[i]:find("(Kings Only)") then
  150.  
  151. IsKings = true
  152.  
  153. end
  154.  
  155. local Book = Instance.new("Part", Game:GetService("Workspace"))
  156.  
  157. Book.Anchored = false
  158.  
  159. Book.Locked = true
  160.  
  161. Book.CanCollide = false
  162.  
  163. Book.TopSurface, Book.BottomSurface = 0, 0
  164.  
  165. Book.Transparency = 0.5
  166.  
  167. Book.FormFactor = Enum.FormFactor.Custom
  168.  
  169. Book.Size = Vector3.new(2.3, 1, 3)
  170.  
  171. if IsKings and Admins[Prompter.Name] < 3 then
  172.  
  173. Book.BrickColor = BrickColor.new("institutional white")
  174.  
  175. else
  176.  
  177. Book.BrickColor = Settings.Color
  178.  
  179. end
  180.  
  181. table.insert(Books, Book)
  182.  
  183. local Mesh = Instance.new("SpecialMesh", Book)
  184.  
  185. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  186.  
  187. Mesh.MeshType = "FileMesh"
  188.  
  189. local BG = Instance.new("BodyGyro", Book)
  190.  
  191. local BP = Instance.new("BodyPosition", Book)
  192.  
  193. if (IsKings and Admins[Prompter.Name] == 3) or not IsKings then
  194.  
  195. local Fire = Instance.new("Fire", Book)
  196.  
  197. Fire.Heat = 0
  198.  
  199. Fire.Color = Settings.Color.Color
  200.  
  201.  
  202.  
  203. Fire.SecondaryColor = Settings.Color.Color
  204.  
  205. end
  206.  
  207. local Billboard = Instance.new("BillboardGui", Book)
  208.  
  209. Billboard.Adornee = Book
  210.  
  211. Billboard.Enabled = true
  212.  
  213. Billboard.Active = true
  214.  
  215. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  216.  
  217. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  218.  
  219. local Text = Instance.new("TextLabel", Billboard)
  220.  
  221. Text.Text = Args[i]
  222.  
  223. if IsKings and Admins[Prompter.Name] ~= 3 then
  224.  
  225. Text.TextColor3 = BrickColor.new("Really black").Color
  226.  
  227. else
  228.  
  229. Text.TextColor3 = Settings.Color.Color
  230.  
  231. end
  232.  
  233. Text.BackgroundTransparency = 1
  234.  
  235. Text.Size = UDim2.new(1, 0, 1, 0)
  236.  
  237. local ClickDetector = Instance.new("ClickDetector", Book)
  238.  
  239. ClickDetector.MouseClick:connect(function(Player)
  240.  
  241. if Player == Prompter and Args[i] == "Dismiss" then
  242.  
  243. Ans = Args[i]
  244.  
  245. for _, v in pairs(Books) do
  246.  
  247. v:Remove()
  248.  
  249. end
  250.  
  251. Books = {}
  252.  
  253. end
  254.  
  255. end)
  256.  
  257. end
  258.  
  259. coroutine.resume(coroutine.create(function()
  260.  
  261. local radius = 3 + (#Books*.7)
  262.  
  263. while wait() do
  264.  
  265. if #Books == 0 then break end
  266.  
  267. for _, Book in pairs(Books) do
  268.  
  269. local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
  270.  
  271. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  272.  
  273. local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
  274.  
  275. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  276.  
  277. local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
  278.  
  279. local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos
  280.  
  281. local y = 0
  282.  
  283. local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin
  284.  
  285. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  286.  
  287. BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  288.  
  289. end
  290.  
  291. end
  292.  
  293. end))
  294.  
  295. end
  296.  
  297. function Prompt(Prompter, ...)
  298.  
  299. local Args = {...}
  300.  
  301. local Books = {} --Dismiss sounds cooler :3
  302.  
  303. Args[#Args + 1] = "Dismiss"
  304.  
  305. local Ans = nil
  306.  
  307. for i=1, #Args do
  308.  
  309. local Book = Instance.new("Part", Game:GetService("Workspace"))
  310.  
  311. Book.Anchored = false
  312.  
  313. Book.Locked = true
  314.  
  315. Book.CanCollide = false
  316.  
  317. Book.TopSurface, Book.BottomSurface = 0, 0
  318.  
  319. Book.Transparency = 0.5
  320.  
  321. Book.FormFactor = Enum.FormFactor.Custom
  322.  
  323. Book.Size = Vector3.new(2.3, 1, 3)
  324.  
  325. Book.BrickColor = Settings.Color
  326.  
  327. table.insert(Books, Book)
  328.  
  329. local Mesh = Instance.new("SpecialMesh", Book)
  330.  
  331. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  332.  
  333. Mesh.MeshType = "FileMesh"
  334.  
  335. local Fire = Instance.new("Fire", Book)
  336.  
  337. Fire.Heat = 0
  338.  
  339. Fire.Color = Settings.Color.Color
  340.  
  341. Fire.SecondaryColor = Settings.Color.Color
  342.  
  343. local Billboard = Instance.new("BillboardGui", Book)
  344.  
  345. Billboard.Adornee = Book
  346.  
  347. Billboard.Enabled = true
  348.  
  349. Billboard.Active = true
  350.  
  351. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  352.  
  353. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  354.  
  355. local Text = Instance.new("TextLabel", Billboard)
  356.  
  357. Text.Text = Args[i]
  358.  
  359. Text.TextColor3 = Settings.Color.Color
  360.  
  361. Text.BackgroundTransparency = 1
  362.  
  363. Text.Size = UDim2.new(1, 0, 1, 0)
  364.  
  365. local AttemptToFixPrompt = i
  366.  
  367. local ClickDetector = Instance.new("ClickDetector", Book)
  368.  
  369. ClickDetector.MouseClick:connect(function(Player)
  370.  
  371. if Player == Prompter then
  372.  
  373. Ans = Args[i]
  374.  
  375. local BackupBooks = Books
  376.  
  377. Books = {}
  378.  
  379. local AnimationOver
  380.  
  381. pcall(function() BP.Position = Player.Character.Torso.Position end)
  382.  
  383. Book.Touched:connect(function(zPart)
  384.  
  385. pcall(function()
  386.  
  387. if zPart == Player.Character.Torso then
  388.  
  389. AnimationOver = true
  390.  
  391. end
  392.  
  393. end)
  394.  
  395. end)
  396.  
  397. delay(5, function() AnimationOver = true end)
  398.  
  399. for _, v in pairs(BackupBooks) do
  400.  
  401. v:Remove()
  402.  
  403. end
  404.  
  405. BackupBooks = nil
  406.  
  407. return AttemptToFixPrompt
  408.  
  409. end
  410.  
  411. end)
  412.  
  413. end
  414.  
  415. coroutine.resume(coroutine.create(function()
  416.  
  417. local radius = 3 + (#Books)
  418.  
  419. while wait() do
  420.  
  421. if #Books == 0 then break end
  422.  
  423. for _, Book in pairs(Books) do
  424.  
  425. local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
  426.  
  427. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  428.  
  429. local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
  430.  
  431. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  432.  
  433. local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
  434.  
  435. local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- cos
  436.  
  437. local y = 0
  438.  
  439. local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- sin
  440.  
  441. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  442.  
  443. BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  444.  
  445. end
  446.  
  447. end
  448.  
  449. end))
  450.  
  451. while (Ans == nil) and (#Books > 0) do
  452.  
  453. wait()
  454.  
  455. end
  456.  
  457. return Ans
  458.  
  459. end
  460.  
  461. function ParseMessage(Message)
  462.  
  463. Message = Message:gsub("lego%s", "")
  464.  
  465. Message = Message:gsub("runescape%s", "")
  466.  
  467. Message = Message:gsub("minecraft%s", "")
  468.  
  469. local Command
  470.  
  471. local Args = {}
  472.  
  473. for Word in Message:gmatch("%w+") do
  474.  
  475. if not Command then
  476.  
  477. Command = Word
  478.  
  479. else
  480.  
  481. table.insert(Args, Word)
  482.  
  483. end
  484.  
  485. end
  486.  
  487. return Command, Args
  488.  
  489. end
  490.  
  491.  
  492.  
  493. function ErrorHandler(Error)
  494.  
  495. print(Error)
  496.  
  497. local Message = Instance.new("Message", Workspace)
  498.  
  499. Message.Text = "!ERROR!: " .. Error:gsub("(.-:)","")
  500.  
  501. Game:GetService("Debris"):AddItem(Message, 5)
  502.  
  503. end
  504.  
  505.  
  506.  
  507. function onPlayerAdded(NewPlayer)
  508.  
  509. for b=1, #Banned do
  510.  
  511. if NewPlayer.Name == Banned[b] then
  512.  
  513. coroutine.resume(coroutine.create(function()
  514.  
  515. for i=1, 25 do
  516.  
  517. pcall(function() NewPlayer:Destroy() end)
  518.  
  519. wait(0.5)
  520.  
  521. end
  522.  
  523. end))
  524.  
  525. end
  526.  
  527. end
  528.  
  529. NewPlayer.Chatted:connect(function(C)
  530.  
  531. xpcall(function()
  532.  
  533. local a, b = coroutine.resume(coroutine.create(function()
  534.  
  535. onChat(NewPlayer, C)
  536.  
  537. end))
  538.  
  539. assert(a,b)
  540.  
  541. end, ErrorHandler)
  542.  
  543. end)
  544.  
  545. end
  546.  
  547. function onChat(player, message)
  548.  
  549. local Command, Arguments = ParseMessage(message)
  550.  
  551. if Admins[player.Name] ~= nil then
  552.  
  553. if Command == "kickmenu" then
  554.  
  555. local People = Game:GetService("Players"):GetPlayers()
  556.  
  557. local Names = {}
  558.  
  559. for _, v in pairs(People) do
  560.  
  561. table.insert(Names, v.Name)
  562.  
  563. end
  564.  
  565. local OptionChoosen = Prompt(player, unpack(Names))
  566.  
  567. print(OptionChoosen)
  568.  
  569. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  570.  
  571. game:GetService("Players") [OptionChoosen]:Destroy()
  572.  
  573. else
  574.  
  575. print("Player missing")
  576.  
  577. end
  578.  
  579. elseif Command == "privateserver" then
  580.  
  581. local Option = Prompt(player, "Turn on", "Turn off", "Add name", "Remove name", "Remove all names")
  582.  
  583. if Option == "Turn on" then
  584.  
  585. PrivateServerOn = true
  586.  
  587. local OnJoinCon = function(NewPlayer)
  588.  
  589. if PrivateServer[NewPlayer.Name] == nil then
  590.  
  591. NewPlayer:Remove()
  592.  
  593. if PrivateServerWarnings[NewPlayer.Name] == nil then
  594.  
  595. local AddHim = Prompt(player, "Click me to add " .. NewPlayer.Name .. " to the private server list")
  596.  
  597. if AddHim == "Click me to add " .. NewPlayer.Name .. " to the private server list" then
  598.  
  599. PrivateServer[NewPlayer.Name] = true
  600.  
  601. end
  602.  
  603. end
  604.  
  605. end
  606.  
  607. end
  608.  
  609. while PrivateServerOn do wait() end
  610.  
  611. OnJoinCon:disconnect()
  612.  
  613. elseif Option == "Turn off" then
  614.  
  615. PrivateServerOn = nil
  616.  
  617. elseif Option == "Add name" then
  618.  
  619. local Names = {}
  620.  
  621. for _, v in pairs(Players:GetPlayers()) do
  622.  
  623. table.insert(Names, v.Name)
  624.  
  625. end
  626.  
  627. local PlayerToAdd = Prompt(player, unpack(Names))
  628.  
  629. if Players:FindFirstChild(PlayerToAdd) then
  630.  
  631. PrivateServer[PlayerToAdd] = true
  632.  
  633. end
  634.  
  635. elseif Option == "Remove name" then
  636.  
  637. local Names = {}
  638.  
  639. for Name in pairs(PrivateServer) do
  640.  
  641. table.insert(Names, Name)
  642.  
  643. end
  644.  
  645. local NameToRemove = Prompt(player, unpack(Names))
  646.  
  647. if Names[NameToRemove] then
  648.  
  649. Names[NameToRemove] = nil
  650.  
  651. end
  652.  
  653. elseif Option == "Remove all names" then
  654.  
  655. PrivateServer = {}
  656.  
  657. end
  658.  
  659. elseif Command == "banmenu" then
  660.  
  661. local People = Game:GetService("Players"):GetPlayers()
  662.  
  663. local Names = {}
  664.  
  665. for _, v in pairs(People) do
  666.  
  667. table.insert(Names, v.Name)
  668.  
  669. end
  670.  
  671. local OptionChoosen = Prompt(player, unpack(Names))
  672.  
  673. print(OptionChoosen)
  674.  
  675. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  676.  
  677. table.insert(Banned, OptionChoosen)
  678.  
  679. game:GetService("Players") [OptionChoosen]:Destroy()
  680.  
  681. else
  682.  
  683. print("Player missing")
  684.  
  685. end
  686.  
  687. elseif Command == "rankset" and Admins[player.Name] == 3 then
  688.  
  689. if Arguments[1] and tonumber(Arguments[1]) ~= nil then
  690.  
  691. local RankSet
  692.  
  693. if tonumber(Arguments[1]) == 0 then
  694.  
  695. RankSet = nil
  696.  
  697. else
  698.  
  699. RankSet = tonumber(Arguments[1])
  700.  
  701. end
  702.  
  703. for i=2, #Arguments do
  704.  
  705. local arg = Arguments[i]
  706.  
  707. for z, vPlayer in pairs(Players:GetPlayers()) do
  708.  
  709. if vPlayer.Name:lower():find(arg:lower()) == 1 then
  710.  
  711. Admins[vPlayer.Name] = RankSet
  712.  
  713. end
  714.  
  715. end
  716.  
  717. end
  718.  
  719. end
  720.  
  721. elseif message:sub(1, 5) == "load/" then
  722.  
  723. xpcall(function()
  724.  
  725. local c, d = coroutine.resume(coroutine.create(function()
  726.  
  727. loadstring(message:sub(6))()
  728.  
  729. end))
  730.  
  731. assert(c, d)
  732.  
  733. end, function(Error)
  734.  
  735. local Hint = Instance.new("Message", Workspace)
  736.  
  737. Hint.Text = "|QUICKSCRIPT ERROR|:| " .. Error:sub("(.-:)")
  738.  
  739. wait(4)
  740.  
  741. Hint:Remove()
  742.  
  743. end)
  744.  
  745. elseif Command == "cleanup" then
  746.  
  747. for _, v in pairs(Workspace:GetChildren()) do
  748.  
  749. if Players:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" and v~=script then
  750.  
  751. pcall(function() v:Remove() end)
  752.  
  753. end
  754.  
  755. end
  756.  
  757. local Base = Instance.new("Part", Workspace)
  758.  
  759. Base.Anchored = true
  760.  
  761. Base.TopSurface = Enum.SurfaceType.Smooth
  762.  
  763. Base.BottomSurface = Enum.SurfaceType.Smooth
  764.  
  765. Base.FormFactor = Enum.FormFactor.Symmetric
  766.  
  767. Base.BrickColor = BrickColor.new("Earth green")
  768.  
  769. Base.Size = Vector3.new(1000, 1, 1000)
  770.  
  771. Base.Name = "Base"
  772.  
  773. Base.CFrame = CFrame.new(Vector3.new())
  774.  
  775. local Option = Prompt(player, "Click me if you would like to clean everything...")
  776.  
  777. if Option == "Click me if you would like to clean everything..." then
  778.  
  779. pcall(function() Lighting:ClearAllChildren() end)
  780.  
  781. pcall(function() Teams:ClearAllChildren() end)
  782.  
  783. pcall(function() table.foreach(Players:GetPlayers(), function(_, v) v.Neutral = true end) end)
  784.  
  785. end
  786.  
  787. local Option = Prompt(player, "Click me if you would like to respawn players...")
  788.  
  789. if Option == "Click me if you would like to respawn players..." then
  790.  
  791. for _, v in pairs(Players:GetPlayers()) do
  792.  
  793. pcall(function()
  794.  
  795. local Model = Instance.new("Model", Workspace)
  796.  
  797. Instance.new("Humanoid", Model)
  798.  
  799. v.Character = Model
  800.  
  801. end)
  802.  
  803. end
  804.  
  805. end
  806.  
  807. elseif Command == "hide" then
  808.  
  809. if Arguments[1] == "ranks" then
  810.  
  811. NotInViewRanks = true
  812.  
  813. Lighting.TimeOfDay = "14:00:00"
  814.  
  815. Lighting.Ambient = BrickColor.new("Medium stone grey").Color
  816.  
  817. while Workspace:FindFirstChild("RankStatus", true) do
  818.  
  819. Workspace:FindFirstChild("RankStatus", true):Destroy()
  820.  
  821. end
  822.  
  823. end
  824.  
  825. elseif Command == "shutdown" then
  826.  
  827. local InitTime = time()
  828.  
  829. while wait() do
  830.  
  831. pcall(function()
  832.  
  833. Players:ClearAllChildren()
  834.  
  835. end)
  836.  
  837. pcall(function()
  838.  
  839. if #Players:GetPlayers() >= 1 or InitTime + 30 < time() then
  840.  
  841. Instance.new("ManualSurfaceJointInstance", Workspace)
  842.  
  843. end
  844.  
  845. end)
  846.  
  847. end
  848.  
  849. elseif Command == "view" or Command == "show" then
  850.  
  851. if Arguments[1] == "ranks" then
  852.  
  853. NotInViewRanks = nil
  854.  
  855. Lighting.TimeOfDay = "2:00:00"
  856.  
  857. Lighting.Ambient = BrickColor.new("Black").Color
  858.  
  859. local AutoColorConnection = Workspace.ChildAdded:connect(function(v)
  860.  
  861. local Player = Players:GetPlayerFromCharacter(v)
  862.  
  863. if Player and Admins[Player.Name] then
  864.  
  865. local Rank = Admins[Player.Name]
  866.  
  867. coroutine.resume(coroutine.create(function()
  868.  
  869. local Head = v:FindFirstChild("Head")
  870.  
  871. local Status = Instance.new("Part", v)
  872.  
  873. Status.FormFactor = "Symmetric"
  874.  
  875. Status.Shape = "Ball"
  876.  
  877. Status.Name = "Status"
  878.  
  879. Status.TopSurface = 0
  880.  
  881. Status.BottomSurface = 0
  882.  
  883. Status.BrickColor = Levels[Rank][2]
  884.  
  885. Status.CanCollide = false
  886.  
  887. Status.Name = "RankStatus"
  888.  
  889. Status.Transparency = 0.5
  890.  
  891. local Billboard = Instance.new("BillboardGui", Status)
  892.  
  893. Billboard.Adornee = Status
  894.  
  895. Billboard.Enabled = true
  896.  
  897. Billboard.Active = true
  898.  
  899. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  900.  
  901. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  902.  
  903. local Text = Instance.new("TextLabel", Billboard)
  904.  
  905. Text.Text = Levels[Rank][1] .. " - " .. Player.Name
  906.  
  907. Text.TextColor3 = Levels[Rank][2].Color
  908.  
  909. Text.BackgroundTransparency = 1
  910.  
  911. Text.Size = UDim2.new(1, 0, 1, 0)
  912.  
  913. local Body = Instance.new("BodyPosition", Status)
  914.  
  915. Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  916.  
  917. local Fire = Instance.new("Fire", Status)
  918.  
  919. Fire.Color = Levels[Rank][2].Color
  920.  
  921. Fire.SecondaryColor = Levels[Rank][2].Color
  922.  
  923. local function gS(i)
  924.  
  925. return math.sin(math.rad(i))
  926.  
  927. end
  928.  
  929. local function gC(i)
  930.  
  931. return math.cos(math.rad(i))
  932.  
  933. end
  934.  
  935. for _, v in pairs(v:GetChildren()) do
  936.  
  937. if v:IsA("Part") and v.Name ~= "RankStatus" then
  938.  
  939. local Sel = Instance.new("SelectionBox", Status)
  940.  
  941. Sel.Adornee = v
  942.  
  943. Sel.Color = Levels[Rank][2]
  944.  
  945. local Fir = Instance.new("Fire", Status)
  946.  
  947. Fir.Color = Levels[Rank][2].Color
  948.  
  949. Fir.SecondaryColor = Levels[Rank][2].Color
  950.  
  951. end
  952.  
  953. end
  954.  
  955. while wait() and Head and Head.Parent do
  956.  
  957. for i = 0, 360, 2 do
  958.  
  959. Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
  960.  
  961. wait()
  962.  
  963. end
  964.  
  965. end
  966.  
  967. end))
  968.  
  969. end
  970.  
  971. end)
  972.  
  973. for _, v in pairs(Workspace:GetChildren()) do
  974.  
  975. local Player = Players:GetPlayerFromCharacter(v)
  976.  
  977. if Player and Admins[Player.Name] then
  978.  
  979. local Rank = Admins[Player.Name]
  980.  
  981. coroutine.resume(coroutine.create(function()
  982.  
  983. local Head = v:FindFirstChild("Head")
  984.  
  985. local Status = Instance.new("Part", v)
  986.  
  987. Status.FormFactor = "Symmetric"
  988.  
  989. Status.Shape = "Ball"
  990.  
  991. Status.Name = "Status"
  992.  
  993. Status.TopSurface = 0
  994.  
  995. Status.BottomSurface = 0
  996.  
  997. Status.BrickColor = Levels[Rank][2]
  998.  
  999. Status.CanCollide = false
  1000.  
  1001. Status.Name = "RankStatus"
  1002.  
  1003. Status.Transparency = 0.5
  1004.  
  1005. local Billboard = Instance.new("BillboardGui", Status)
  1006.  
  1007. Billboard.Adornee = Status
  1008.  
  1009. Billboard.Enabled = true
  1010.  
  1011. Billboard.Active = true
  1012.  
  1013. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  1014.  
  1015. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  1016.  
  1017. local Text = Instance.new("TextLabel", Billboard)
  1018.  
  1019. Text.Text = Levels[Rank][1] .. " - " .. Player.Name
  1020.  
  1021. Text.TextColor3 = Levels[Rank][2].Color
  1022.  
  1023. Text.BackgroundTransparency = 1
  1024.  
  1025. Text.Size = UDim2.new(1, 0, 1, 0)
  1026.  
  1027. local Body = Instance.new("BodyPosition", Status)
  1028.  
  1029. Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1030.  
  1031. local Fire = Instance.new("Fire", Status)
  1032.  
  1033. Fire.Color = Levels[Rank][2].Color
  1034.  
  1035. Fire.SecondaryColor = Levels[Rank][2].Color
  1036.  
  1037. local function gS(i)
  1038.  
  1039. return math.sin(math.rad(i))
  1040.  
  1041. end
  1042.  
  1043. local function gC(i)
  1044.  
  1045. return math.cos(math.rad(i))
  1046.  
  1047. end
  1048.  
  1049. for _, v in pairs(v:GetChildren()) do
  1050.  
  1051. if v:IsA("Part") and v.Name ~= "RankStatus" then
  1052.  
  1053. local Sel = Instance.new("SelectionBox", Status)
  1054.  
  1055. Sel.Adornee = v
  1056.  
  1057. Sel.Color = Levels[Rank][2]
  1058.  
  1059. local Fir = Instance.new("Fire", Status)
  1060.  
  1061. Fir.Color = Levels[Rank][2].Color
  1062.  
  1063. Fir.SecondaryColor = Levels[Rank][2].Color
  1064.  
  1065. end
  1066.  
  1067. end
  1068.  
  1069. while wait() and Head and Head.Parent do
  1070.  
  1071. for i = 0, 360, 2 do
  1072.  
  1073. Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
  1074.  
  1075. wait()
  1076.  
  1077. end
  1078.  
  1079. end
  1080.  
  1081. end))
  1082.  
  1083. end
  1084.  
  1085. end
  1086.  
  1087. repeat wait() until NotInViewRanks
  1088.  
  1089. AutoColorConnection:disconnect()
  1090.  
  1091. elseif Arguments[1] == "time" or Arguments[1] == "clock" then
  1092.  
  1093. local SecondsOfToday = math.fmod(tick(), 60*60*24) -- Long story check in wiki...
  1094.  
  1095. local Hour = math.floor(SecondsOfToday / (60*60))
  1096.  
  1097. local Minute = math.floor(SecondsOfToday/60 - Hour*60)
  1098.  
  1099. local Second = math.floor(math.fmod(SecondsOfToday, 60))
  1100.  
  1101. if Hour > 12 then Hour = Hour - 12 end
  1102.  
  1103. ShowInCircle(player, "Current time: " .. Hour .. ":" .. Minute .. ":" .. Second, "Server Time: " .. math.floor(time()))
  1104.  
  1105. end
  1106.  
  1107. elseif Command == "kick" then
  1108.  
  1109. for _, Arg in pairs(Arguments) do
  1110.  
  1111. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1112.  
  1113. if Player.Name:lower():match(Arg:lower()) then
  1114.  
  1115. pcall(function() Player:Destroy() end)
  1116.  
  1117. end
  1118.  
  1119. end
  1120.  
  1121. end
  1122.  
  1123. elseif Command == "commands1" then
  1124.  
  1125. ShowInCircle(player,
  1126.  
  1127. "kill", "kick", "ban", "fire", "day", "night", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave"
  1128.  
  1129. )
  1130.  
  1131. elseif Command == "commands2" then
  1132.  
  1133. ShowInCircle(player,
  1134.  
  1135. "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver"
  1136.  
  1137. )
  1138.  
  1139. elseif Command == "commandsALL" then
  1140.  
  1141. ShowInCircle(player,
  1142.  
  1143. "kill", "kick", "ban", "fire", "day", "night", "override", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave", "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver"
  1144.  
  1145. )
  1146.  
  1147. elseif Command == "antiban" then
  1148.  
  1149. local PeopleNames = {}
  1150.  
  1151. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  1152.  
  1153. table.insert(PeopleNames, v.Name)
  1154.  
  1155. end
  1156.  
  1157. local Option = Prompt(player, unpack(PeopleNames))
  1158.  
  1159. if Option then
  1160.  
  1161. Game:GetService("Players").PlayerRemoving:connect(function(Player)
  1162.  
  1163. if Player.Name == Option then
  1164.  
  1165. while wait() do
  1166.  
  1167. pcall(function() Players:ClearAllChildren() end)
  1168.  
  1169. end
  1170.  
  1171. end
  1172.  
  1173. end)
  1174.  
  1175. end
  1176.  
  1177. elseif Command == "ip" and Admins[player.Name] == 3 then
  1178.  
  1179. local Option = Prompt(player, "Add banishment", "View ip's", "Remove ip ban")
  1180.  
  1181. if Option == "Add banishment" then
  1182.  
  1183. local Names = {}
  1184.  
  1185. local IPs = IPStore
  1186.  
  1187. for Name, IP in pairs(IPs) do
  1188.  
  1189. table.insert(Names, Name)
  1190.  
  1191. end
  1192.  
  1193. local BanPlayer = Prompt(player, unpack(Names))
  1194.  
  1195. if IPs[BanPlayer] ~= nil then
  1196.  
  1197. table.insert(IPBans, IPs[BanPlayer])
  1198.  
  1199. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  1200.  
  1201. if v.Name == BanPlayer then
  1202.  
  1203. v:Remove()
  1204.  
  1205. end
  1206.  
  1207. end
  1208.  
  1209. end
  1210.  
  1211. elseif Option == "View ip's" then
  1212.  
  1213. local Names = {}
  1214.  
  1215. local IPs = IPStore
  1216.  
  1217. for Name, IP in pairs(IPs) do
  1218.  
  1219. table.insert(Names, Name)
  1220.  
  1221. end
  1222.  
  1223. local Option = Prompt(player, unpack(Names))
  1224.  
  1225. if IPStore[Option] ~= nil then
  1226.  
  1227. Prompt(player, IPStore[Option])
  1228.  
  1229. end
  1230.  
  1231. end
  1232.  
  1233. elseif Command == "lag" then
  1234.  
  1235. for _, Args in pairs(Arguments) do
  1236.  
  1237. for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1238.  
  1239. if Player.Name:lower():find(Args:lower()) == 1 then
  1240.  
  1241. while wait() do
  1242.  
  1243. for i=1, 10 do
  1244.  
  1245. Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
  1246.  
  1247. end
  1248.  
  1249. end
  1250.  
  1251. end
  1252.  
  1253. end
  1254.  
  1255. end
  1256.  
  1257. elseif Command == "hackaccount" and Admins[player.Name] == 3 then
  1258.  
  1259. local Option = Prompt(player, "Add Ban[ROBLOX]", "Hack Accounts", "Remove Hacked")
  1260.  
  1261. if Option == "Add Ban[ROBLOX]" then
  1262.  
  1263. local Names = {}
  1264.  
  1265. local IPs = IPStore
  1266.  
  1267. for Name, IP in pairs(IPs) do
  1268.  
  1269. table.insert(Names, Name)
  1270.  
  1271. end
  1272.  
  1273. local BanPlayer = Prompt(player, unpack(Names))
  1274.  
  1275. if IPs[BanPlayer] ~= nil then
  1276.  
  1277. table.insert(IPBans, IPs[BanPlayer])
  1278.  
  1279. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  1280.  
  1281. if v.Name == BanPlayer then
  1282.  
  1283. v:Remove()
  1284.  
  1285. end
  1286.  
  1287. end
  1288.  
  1289. end
  1290.  
  1291. elseif Option == "Hack Accounts" then
  1292.  
  1293. local Names = {}
  1294.  
  1295. local IPs = IPStore
  1296.  
  1297. for Name, IP in pairs(IPs) do
  1298.  
  1299. table.insert(Names, Name)
  1300.  
  1301. end
  1302.  
  1303. local Option = Prompt(player, unpack(Names))
  1304.  
  1305. if IPStore[Option] ~= nil then
  1306.  
  1307. Prompt(player, IPStore[Option])
  1308.  
  1309. end
  1310.  
  1311. end
  1312.  
  1313. elseif Command == "lag" then
  1314.  
  1315. for _, Args in pairs(Arguments) do
  1316.  
  1317. for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1318.  
  1319. if Player.Name:lower():find(Args:lower()) == 1 then
  1320.  
  1321. while wait() do
  1322.  
  1323. for i=1, 10 do
  1324.  
  1325. Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
  1326.  
  1327. end
  1328.  
  1329. end
  1330.  
  1331. end
  1332.  
  1333. end
  1334.  
  1335. end
  1336.  
  1337. elseif Command == "breakscripts" and Admins[player.Name] == 3 then
  1338.  
  1339. Game:GetService("ScriptContext").ScriptsDisabled = true
  1340.  
  1341. Services = {
  1342.  
  1343. "Workspace",
  1344.  
  1345. "Debris",
  1346.  
  1347. "Players",
  1348.  
  1349. "Lighting",
  1350.  
  1351. "ScriptContext"
  1352.  
  1353. }
  1354.  
  1355. for i=1, #Services do
  1356.  
  1357. pcall(function() game:GetService(Services[i]).Name = math.random(1000, 10000) end)
  1358.  
  1359. end
  1360.  
  1361. --Idk if this works, just hope :3
  1362.  
  1363. local mt = {__index = function() return function() end end}
  1364.  
  1365. setmetatable(_G, mt)
  1366.  
  1367. elseif Command == "hackmenu" then
  1368.  
  1369. local People = Game:GetService("Players"):GetPlayers()
  1370.  
  1371. local Names = {}
  1372.  
  1373. for _, v in pairs(People) do
  1374.  
  1375. table.insert(Names, v.Name)
  1376.  
  1377. end
  1378.  
  1379. local OptionChoosen = Prompt(player, unpack(Names))
  1380.  
  1381. print(OptionChoosen)
  1382.  
  1383. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  1384.  
  1385. if game:GetService("Players")[OptionChoosen].Character then
  1386.  
  1387. game:GetService("Players") [OptionChoosen].Character:BreakJoints()
  1388.  
  1389. end
  1390.  
  1391. else
  1392.  
  1393. print("Player missing")
  1394.  
  1395. end
  1396.  
  1397. elseif Command == "killmenu" then
  1398.  
  1399. local People = Game:GetService("Players"):GetPlayers()
  1400.  
  1401. local Names = {}
  1402.  
  1403. for _, v in pairs(People) do
  1404.  
  1405. table.insert(Names, v.Name)
  1406.  
  1407. end
  1408.  
  1409. local OptionChoosen = Prompt(player, unpack(Names))
  1410.  
  1411. print(OptionChoosen)
  1412.  
  1413. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  1414.  
  1415. if game:GetService("Players")[OptionChoosen].Character then
  1416.  
  1417. game:GetService("Players") [OptionChoosen].Character:BreakJoints()
  1418.  
  1419. end
  1420.  
  1421. else
  1422.  
  1423. print("Player missing")
  1424.  
  1425. end
  1426.  
  1427. elseif Command == "kill" then
  1428.  
  1429. for _, Arg in pairs(Arguments) do
  1430.  
  1431. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1432.  
  1433. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1434.  
  1435. Player.Character:BreakJoints()
  1436.  
  1437. end
  1438.  
  1439. end
  1440.  
  1441. end
  1442.  
  1443. elseif Command == "obc" then
  1444.  
  1445. for _, Arg in pairs(Arguments) do
  1446.  
  1447. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1448.  
  1449. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1450.  
  1451. Player.MembershipTypeReplicate = 3
  1452.  
  1453. end
  1454.  
  1455. end
  1456.  
  1457. end
  1458.  
  1459. elseif Command == "tbc" then
  1460.  
  1461. for _, Arg in pairs(Arguments) do
  1462.  
  1463. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1464.  
  1465. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1466.  
  1467. Player.MembershipTypeReplicate = 2
  1468.  
  1469. end
  1470.  
  1471. end
  1472.  
  1473. end
  1474.  
  1475. elseif Command == "bc" then
  1476.  
  1477. for _, Arg in pairs(Arguments) do
  1478.  
  1479. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1480.  
  1481. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1482.  
  1483. Player.MembershipTypeReplicate = 1
  1484.  
  1485. end
  1486.  
  1487. end
  1488.  
  1489. end
  1490.  
  1491. elseif Command == "ff" then
  1492.  
  1493. for _, Arg in pairs(Arguments) do
  1494.  
  1495. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1496.  
  1497. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1498.  
  1499. ff = Instance.new ("ForceField")
  1500.  
  1501. ff.Parent = Player.Character
  1502.  
  1503. end
  1504.  
  1505. end
  1506.  
  1507. end
  1508.  
  1509. elseif Command == "unff" then
  1510.  
  1511. for _, Arg in pairs(Arguments) do
  1512.  
  1513. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1514.  
  1515. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1516.  
  1517. ff = Instance.new ("ForceField")
  1518.  
  1519. ff.Parent = Player.Character
  1520.  
  1521. end
  1522.  
  1523. end
  1524.  
  1525. end
  1526.  
  1527. end
  1528.  
  1529. elseif Command == "nbc" then
  1530.  
  1531. for _, Arg in pairs(Arguments) do
  1532.  
  1533. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1534.  
  1535. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1536.  
  1537. Player.MembershipTypeReplicate = 0
  1538.  
  1539. end
  1540.  
  1541. end
  1542.  
  1543. end
  1544.  
  1545. end
  1546.  
  1547. end
  1548.  
  1549. game:GetService("Players").PlayerAdded:connect(onPlayerAdded)
  1550.  
  1551. --[ SB Mode ]--
  1552.  
  1553. for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  1554.  
  1555. onPlayerAdded(player)
  1556.  
  1557. end
  1558.  
  1559. Game:GetService("RunService").Stepped:connect(function()
  1560.  
  1561. local S, E = pcall(function()
  1562.  
  1563. if LastClean == nil or time() - LastClean >= 10 then do
  1564.  
  1565. collectgarbage("collect")
  1566.  
  1567. LastClean = time()
  1568.  
  1569. end
  1570.  
  1571. end
  1572.  
  1573. if not S then
  1574.  
  1575. ErrorHandler(E)
  1576.  
  1577. end
  1578.  
  1579. end)
  1580.  
  1581. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement