Advertisement
edik1340

Untitled

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