Advertisement
c00lkiddv2016

c00lkiddv2016's Admin Skull [ Updated ]

May 15th, 2016
2,094
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ["c00lkiddv2016"] = 3, -- Your name
  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
  777. game:GetService("Players").PlayerAdded:connect(onPlayerAdded)
  778. --[ SB Mode ]--
  779. for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  780. onPlayerAdded(player)
  781. end
  782. Game:GetService("RunService").Stepped:connect(function()
  783. local S, E = pcall(function()
  784. if LastClean == nil or time() - LastClean >= 10 then do
  785. collectgarbage("collect")
  786. LastClean = time()
  787. end
  788. end
  789. if not S then
  790. ErrorHandler(E)
  791. end
  792. end)
  793. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement