Advertisement
Guest User

Untitled

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