Advertisement
Guest User

Untitled

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