Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. msg = Instance.new("Message")
  2. msg.Parent = game.Workspace
  3. msg.Text = "Loading Zeriph332's Admin Skulls"
  4. wait(0.5)
  5. msg.Text = "Loading Zeriph332's Admin Skulls."
  6. wait(0.5)
  7. msg.Text = "Loading Zeriph332's Admin Skulls.."
  8. wait(0.5)
  9. msg.Text = "Loading Zeriph332's Admin Skulls..."
  10. wait(0.5)
  11. msg.Text = "Zeriph332's Admin Skulls Have Loaded"
  12. wait(2)
  13. msg:Remove()
  14.  
  15. Admins = {
  16. ["Zeriph332"] = 3,
  17. }
  18. local Levels = {
  19. [0] = {"Peasant", BrickColor.new("Really black")};
  20. [1] = {"Knight", BrickColor.new("Black")};
  21. [2] = {"Lord", BrickColor.new("Dark stone grey")};
  22. [3] = {"King", BrickColor.new("Medium stone grey")}
  23. }
  24. Players = Game:GetService("Players")
  25. Workspace = Game:GetService("Workspace")
  26. Debris = Game:GetService("Debris")
  27. Lighting = Game:GetService("Lighting")
  28. Teams = Game:GetService("Teams")
  29. MR = math.rad
  30. MD = math.deg
  31. IPStore = {}
  32. IPBans = {}
  33. Banned = {"Network Server"}
  34. PrivateServer = {}
  35. PrivateServerWarnings = {}
  36. function IncommingConnection(IPAddress, Replicator)
  37. local IP = IPAddress:sub(1, IPAddress:find(":")-1)
  38. local ThePlayer
  39. Players.PlayerAdded:connect(function(NewPlayer)
  40. if not ThePlayer then
  41. ThePlayer = NewPlayer
  42. end
  43. end)
  44. repeat wait() until ThePlayer
  45. IPStore[ThePlayer.Name] = IP
  46. for i=1, #IPBans do
  47. if IPBans[i] == IP then
  48. ThePlayer:Remove()
  49. end
  50. end
  51. end
  52. function Round(Number, ToWhatExtent)
  53. if ToWhatExtent then
  54. return math.floor(Number/ToWhatExtent+0.5)*ToWhatExtent
  55. else
  56. return math.floor(Number + 0.5)
  57. end
  58. end
  59. Settings = {
  60. Color = BrickColor.new("Medium stone grey"), --Its bright red...
  61. Name = "OneLegend Scythe Admin",
  62. Version = "0.0.8"
  63. }
  64. function ShowInCircle(Prompter,...)
  65. local Args = {...}
  66. local Books = {}
  67. Args[#Args + 1] = "Dismiss"
  68. local Ans = nil
  69. local Rank = Admins[Prompter.Name]
  70. for i=1, #Args do
  71. local IsKings
  72. if Args[i]:find("(Kings Only)") then
  73. IsKings = true
  74. end
  75. local Book = Instance.new("Part", Game:GetService("Workspace"))
  76. Book.Anchored = false
  77. Book.Locked = true
  78. Book.CanCollide = false
  79. Book.TopSurface, Book.BottomSurface = 0, 0
  80. Book.Transparency = 0
  81. Book.Reflectance = 0
  82. Book.FormFactor = Enum.FormFactor.Custom
  83. Book.Size = Vector3.new(2.3, 1, 3)
  84. if IsKings and Admins[Prompter.Name] < 3 then
  85. Book.BrickColor = BrickColor.new("Bright red")
  86. else
  87. Book.BrickColor = Settings.Color
  88. end
  89. table.insert(Books, Book)
  90. local Mesh = Instance.new("SpecialMesh", Book)
  91. Mesh.MeshId = "http://www.roblox.com/asset/?id=15039448"
  92. Mesh.MeshType = "FileMesh"
  93. local BG = Instance.new("BodyGyro", Book)
  94. local BP = Instance.new("BodyPosition", Book)
  95. if (IsKings and Admins[Prompter.Name] == 3) or not IsKings then
  96. local Fire = Instance.new("Fire", Book)
  97. Fire.Heat = 0
  98. Fire.Color = Settings.Color.Color
  99. Fire.SecondaryColor = Settings.Color.Color
  100. end
  101. local Billboard = Instance.new("BillboardGui", Book)
  102. Billboard.Adornee = Book
  103. Billboard.Enabled = true
  104. Billboard.Active = true
  105. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  106. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  107. local Text = Instance.new("TextLabel", Billboard)
  108. Text.Text = Args[i]
  109. if IsKings and Admins[Prompter.Name] ~= 3 then
  110. Text.TextColor3 = BrickColor.new("White").Color
  111. else
  112. Text.TextColor3 = Settings.Color.Color
  113. end
  114. Text.BackgroundTransparency = 1
  115. Text.Size = UDim2.new(1, 0, 1, 0)
  116. local ClickDetector = Instance.new("ClickDetector", Book)
  117. ClickDetector.MouseClick:connect(function(Player)
  118. if Player == Prompter and Args[i] == "Dismiss" then
  119. Ans = Args[i]
  120. for _, v in pairs(Books) do
  121. v:Remove()
  122. end
  123. Books = {}
  124. end
  125. end)
  126. end
  127. coroutine.resume(coroutine.create(function()
  128. local radius = 3 + (#Books*.7)
  129. while wait() do
  130. if #Books == 0 then break end
  131. for _, Book in pairs(Books) do
  132. local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
  133. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  134. local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
  135. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  136. local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
  137. local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos
  138. local y = 0
  139. local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin
  140. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  141. BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  142. end
  143. end
  144. end))
  145. end
  146. function Prompt(Prompter, ...)
  147. local Args = {...}
  148. local Books = {} --Dismiss sounds cooler :3
  149. Args[#Args + 1] = "Dismiss"
  150. local Ans = nil
  151. for i=1, #Args do
  152. local Book = Instance.new("Part", Game:GetService("Workspace"))
  153. Book.Anchored = false
  154. Book.Locked = true
  155. Book.CanCollide = false
  156. Book.TopSurface, Book.BottomSurface = 0, 0
  157. Book.Transparency = 0
  158. Book.FormFactor = Enum.FormFactor.Custom
  159. Book.Size = Vector3.new(2.3, 1, 3)
  160. Book.BrickColor = Settings.Color
  161. table.insert(Books, Book)
  162. local Mesh = Instance.new("SpecialMesh", Book)
  163. Mesh.MeshId = "http://www.roblox.com/asset/?id=15039448"
  164. Mesh.MeshType = "FileMesh"
  165. local Fire = Instance.new("Fire", Book)
  166. Fire.Heat = 0
  167. Fire.Color = Settings.Color.Color
  168. Fire.SecondaryColor = Settings.Color.Color
  169. local Billboard = Instance.new("BillboardGui", Book)
  170. Billboard.Adornee = Book
  171. Billboard.Enabled = true
  172. Billboard.Active = true
  173. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  174. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  175. local Text = Instance.new("TextLabel", Billboard)
  176. Text.Text = Args[i]
  177. Text.TextColor3 = Settings.Color.Color
  178. Text.BackgroundTransparency = 1
  179. Text.Size = UDim2.new(1, 0, 1, 0)
  180. local AttemptToFixPrompt = i
  181. local ClickDetector = Instance.new("ClickDetector", Book)
  182. ClickDetector.MouseClick:connect(function(Player)
  183. if Player == Prompter then
  184. Ans = Args[i]
  185. local BackupBooks = Books
  186. Books = {}
  187. local AnimationOver
  188. pcall(function() BP.Position = Player.Character.Torso.Position end)
  189. Book.Touched:connect(function(zPart)
  190. pcall(function()
  191. if zPart == Player.Character.Torso then
  192. AnimationOver = true
  193. end
  194. end)
  195. end)
  196. delay(5, function() AnimationOver = true end)
  197. for _, v in pairs(BackupBooks) do
  198. v:Remove()
  199. end
  200. BackupBooks = nil
  201. return AttemptToFixPrompt
  202. end
  203. end)
  204. end
  205. coroutine.resume(coroutine.create(function()
  206. local radius = 3 + (#Books)
  207. while wait() do
  208. if #Books == 0 then break end
  209. for _, Book in pairs(Books) do
  210. local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
  211. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  212. local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
  213. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  214. local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
  215. local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- cos
  216. local y = 0
  217. local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- sin
  218. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  219. BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  220. end
  221. end
  222. end))
  223. while (Ans == nil) and (#Books > 0) do
  224. wait()
  225. end
  226. return Ans
  227. end
  228. function ParseMessage(Message)
  229. Message = Message:gsub("lego%s", "")
  230. Message = Message:gsub("runescape%s", "")
  231. Message = Message:gsub("minecraft%s", "")
  232. local Command
  233. local Args = {}
  234. for Word in Message:gmatch("%w+") do
  235. if not Command then
  236. Command = Word
  237. else
  238. table.insert(Args, Word)
  239. end
  240. end
  241. return Command, Args
  242. end
  243. function ErrorHandler(Error)
  244. print(Error)
  245. local Message = Instance.new("Message", Workspace)
  246. Message.Text = "!ERROR!: " .. Error:gsub("(.-:)","")
  247. Game:GetService("Debris"):AddItem(Message, 5)
  248. end
  249. function onPlayerAdded(NewPlayer)
  250. for b=1, #Banned do
  251. if NewPlayer.Name == Banned[b] then
  252. coroutine.resume(coroutine.create(function()
  253. for i=1, 25 do
  254. pcall(function() NewPlayer:Destroy() end)
  255. wait(0.5)
  256. end
  257. end))
  258. end
  259. end
  260. NewPlayer.Chatted:connect(function(C)
  261. xpcall(function()
  262. local a, b = coroutine.resume(coroutine.create(function()
  263. onChat(NewPlayer, C)
  264. end))
  265. assert(a,b)
  266. end, ErrorHandler)
  267. end)
  268. end
  269. function onChat(player, message)
  270. local Command, Arguments = ParseMessage(message)
  271. if Admins[player.Name] ~= nil then
  272. if Command == "kickmenu" then
  273. local People = Game:GetService("Players"):GetPlayers()
  274. local Names = {}
  275. for _, v in pairs(People) do
  276. table.insert(Names, v.Name)
  277. end
  278. local OptionChoosen = Prompt(player, unpack(Names))
  279. print(OptionChoosen)
  280. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  281. game:GetService("Players") [OptionChoosen]:Destroy()
  282. else
  283. print("Player missing")
  284. end
  285. elseif Command == "privateserver" then
  286. local Option = Prompt(player, "Turn on", "Turn off", "Add name", "Remove name", "Remove all names")
  287. if Option == "Turn on" then
  288. PrivateServerOn = true
  289. local OnJoinCon = function(NewPlayer)
  290. if PrivateServer[NewPlayer.Name] == nil then
  291. NewPlayer:Remove()
  292. if PrivateServerWarnings[NewPlayer.Name] == nil then
  293. local AddHim = Prompt(player, "Click me to add " .. NewPlayer.Name .. " to the private server list")
  294. if AddHim == "Click me to add " .. NewPlayer.Name .. " to the private server list" then
  295. PrivateServer[NewPlayer.Name] = true
  296. end
  297. end
  298. end
  299. end
  300. while PrivateServerOn do wait() end
  301. OnJoinCon:disconnect()
  302. elseif Option == "Turn off" then
  303. PrivateServerOn = nil
  304. elseif Option == "Add name" then
  305. local Names = {}
  306. for _, v in pairs(Players:GetPlayers()) do
  307. table.insert(Names, v.Name)
  308. end
  309. local PlayerToAdd = Prompt(player, unpack(Names))
  310. if Players:FindFirstChild(PlayerToAdd) then
  311. PrivateServer[PlayerToAdd] = true
  312. end
  313. elseif Option == "Remove name" then
  314. local Names = {}
  315. for Name in pairs(PrivateServer) do
  316. table.insert(Names, Name)
  317. end
  318. local NameToRemove = Prompt(player, unpack(Names))
  319. if Names[NameToRemove] then
  320. Names[NameToRemove] = nil
  321. end
  322. elseif Option == "Remove all names" then
  323. PrivateServer = {}
  324. end
  325. elseif Command == "banmenu" then
  326. local People = Game:GetService("Players"):GetPlayers()
  327. local Names = {}
  328. for _, v in pairs(People) do
  329. table.insert(Names, v.Name)
  330. end
  331. local OptionChoosen = Prompt(player, unpack(Names))
  332. print(OptionChoosen)
  333. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  334. table.insert(Banned, OptionChoosen)
  335. game:GetService("Players") [OptionChoosen]:Destroy()
  336. else
  337. print("Player missing")
  338. end
  339. elseif Command == "rankset" and Admins[player.Name] == 3 then
  340. if Arguments[1] and tonumber(Arguments[1]) ~= nil then
  341. local RankSet
  342. if tonumber(Arguments[1]) == 0 then
  343. RankSet = nil
  344. else
  345. RankSet = tonumber(Arguments[1])
  346. end
  347. for i=2, #Arguments do
  348. local arg = Arguments[i]
  349. for z, vPlayer in pairs(Players:GetPlayers()) do
  350. if vPlayer.Name:lower():find(arg:lower()) == 1 then
  351. Admins[vPlayer.Name] = RankSet
  352. end
  353. end
  354. end
  355. end
  356. elseif message:sub(1, 5) == "load/" then
  357. xpcall(function()
  358. local c, d = coroutine.resume(coroutine.create(function()
  359. loadstring(message:sub(6))()
  360. end))
  361. assert(c, d)
  362. end, function(Error)
  363. local Hint = Instance.new("Message", Workspace)
  364. Hint.Text = "|QUICKSCRIPT ERROR|:| " .. Error:sub("(.-:)")
  365. wait(4)
  366. Hint:Remove()
  367. end)
  368. elseif Command == "cleanup" then
  369. for _, v in pairs(Workspace:GetChildren()) do
  370. if Players:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" and v~=script then
  371. pcall(function() v:Remove() end)
  372. end
  373. end
  374. local Base = Instance.new("Part", Workspace)
  375. Base.Anchored = true
  376. Base.TopSurface = Enum.SurfaceType.Smooth
  377. Base.BottomSurface = Enum.SurfaceType.Smooth
  378. Base.FormFactor = Enum.FormFactor.Symmetric
  379. Base.BrickColor = BrickColor.new("Earth green")
  380. Base.Size = Vector3.new(1000, 1, 1000)
  381. Base.Name = "Base"
  382. Base.CFrame = CFrame.new(Vector3.new())
  383. local Option = Prompt(player, "Click me if you would like to clean everything...")
  384. if Option == "Click me if you would like to clean everything..." then
  385. pcall(function() Lighting:ClearAllChildren() end)
  386. pcall(function() Teams:ClearAllChildren() end)
  387. pcall(function() table.foreach(Players:GetPlayers(), function(_, v) v.Neutral = true end) end)
  388. end
  389. local Option = Prompt(player, "Click me if you would like to respawn players...")
  390. if Option == "Click me if you would like to respawn players..." then
  391. for _, v in pairs(Players:GetPlayers()) do
  392. pcall(function()
  393. local Model = Instance.new("Model", Workspace)
  394. Instance.new("Humanoid", Model)
  395. v.Character = Model
  396. end)
  397. end
  398. end
  399. elseif Command == "hide" then
  400. if Arguments[1] == "ranks" then
  401. NotInViewRanks = true
  402. Lighting.TimeOfDay = "14:00:00"
  403. Lighting.Ambient = BrickColor.new("Medium stone grey").Color
  404. while Workspace:FindFirstChild("RankStatus", true) do
  405. Workspace:FindFirstChild("RankStatus", true):Destroy()
  406. end
  407. end
  408. elseif Command == "shutdown" then
  409. local InitTime = time()
  410. while wait() do
  411. pcall(function()
  412. Players:ClearAllChildren()
  413. end)
  414. pcall(function()
  415. if #Players:GetPlayers() >= 1 or InitTime + 30 < time() then
  416. Instance.new("ManualSurfaceJointInstance", Workspace)
  417. end
  418. end)
  419. end
  420. elseif Command == "view" or Command == "show" then
  421. if Arguments[1] == "ranks" then
  422. NotInViewRanks = nil
  423. Lighting.TimeOfDay = "2:00:00"
  424. Lighting.Ambient = BrickColor.new("Black").Color
  425. local AutoColorConnection = Workspace.ChildAdded:connect(function(v)
  426. local Player = Players:GetPlayerFromCharacter(v)
  427. if Player and Admins[Player.Name] then
  428. local Rank = Admins[Player.Name]
  429. coroutine.resume(coroutine.create(function()
  430. local Head = v:FindFirstChild("Head")
  431. local Status = Instance.new("Part", v)
  432. Status.FormFactor = "Symmetric"
  433. Status.Shape = "Ball"
  434. Status.Name = "Status"
  435. Status.TopSurface = 0
  436. Status.BottomSurface = 0
  437. Status.BrickColor = Levels[Rank][2]
  438. Status.CanCollide = false
  439. Status.Name = "RankStatus"
  440. Status.Transparency = 0.5
  441. local Billboard = Instance.new("BillboardGui", Status)
  442. Billboard.Adornee = Status
  443. Billboard.Enabled = true
  444. Billboard.Active = true
  445. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  446. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  447. local Text = Instance.new("TextLabel", Billboard)
  448. Text.Text = Levels[Rank][1] .. " - " .. Player.Name
  449. Text.TextColor3 = Levels[Rank][2].Color
  450. Text.BackgroundTransparency = 1
  451. Text.Size = UDim2.new(1, 0, 1, 0)
  452. local Body = Instance.new("BodyPosition", Status)
  453. Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  454. local Fire = Instance.new("Fire", Status)
  455. Fire.Color = Levels[Rank][2].Color
  456. Fire.SecondaryColor = Levels[Rank][2].Color
  457. local function gS(i)
  458. return math.sin(math.rad(i))
  459. end
  460. local function gC(i)
  461. return math.cos(math.rad(i))
  462. end
  463. for _, v in pairs(v:GetChildren()) do
  464. if v:IsA("Part") and v.Name ~= "RankStatus" then
  465. local Sel = Instance.new("SelectionBox", Status)
  466. Sel.Adornee = v
  467. Sel.Color = Levels[Rank][2]
  468. local Fir = Instance.new("Fire", Status)
  469. Fir.Color = Levels[Rank][2].Color
  470. Fir.SecondaryColor = Levels[Rank][2].Color
  471. end
  472. end
  473. while wait() and Head and Head.Parent do
  474. for i = 0, 360, 2 do
  475. Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
  476. wait()
  477. end
  478. end
  479. end))
  480. end
  481. end)
  482. for _, v in pairs(Workspace:GetChildren()) do
  483. local Player = Players:GetPlayerFromCharacter(v)
  484. if Player and Admins[Player.Name] then
  485. local Rank = Admins[Player.Name]
  486. coroutine.resume(coroutine.create(function()
  487. local Head = v:FindFirstChild("Head")
  488. local Status = Instance.new("Part", v)
  489. Status.FormFactor = "Symmetric"
  490. Status.Shape = "Ball"
  491. Status.Name = "Status"
  492. Status.TopSurface = 0
  493. Status.BottomSurface = 0
  494. Status.BrickColor = Levels[Rank][2]
  495. Status.CanCollide = false
  496. Status.Name = "RankStatus"
  497. Status.Transparency = 0.5
  498. local Billboard = Instance.new("BillboardGui", Status)
  499. Billboard.Adornee = Status
  500. Billboard.Enabled = true
  501. Billboard.Active = true
  502. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  503. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  504. local Text = Instance.new("TextLabel", Billboard)
  505. Text.Text = Levels[Rank][1] .. " - " .. Player.Name
  506. Text.TextColor3 = Levels[Rank][2].Color
  507. Text.BackgroundTransparency = 1
  508. Text.Size = UDim2.new(1, 0, 1, 0)
  509. local Body = Instance.new("BodyPosition", Status)
  510. Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  511. local Fire = Instance.new("Fire", Status)
  512. Fire.Color = Levels[Rank][2].Color
  513. Fire.SecondaryColor = Levels[Rank][2].Color
  514. local function gS(i)
  515. return math.sin(math.rad(i))
  516. end
  517. local function gC(i)
  518. return math.cos(math.rad(i))
  519. end
  520. for _, v in pairs(v:GetChildren()) do
  521. if v:IsA("Part") and v.Name ~= "RankStatus" then
  522. local Sel = Instance.new("SelectionBox", Status)
  523. Sel.Adornee = v
  524. Sel.Color = Levels[Rank][2]
  525. local Fir = Instance.new("Fire", Status)
  526. Fir.Color = Levels[Rank][2].Color
  527. Fir.SecondaryColor = Levels[Rank][2].Color
  528. end
  529. end
  530. while wait() and Head and Head.Parent do
  531. for i = 0, 360, 2 do
  532. Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
  533. wait()
  534. end
  535. end
  536. end))
  537. end
  538. end
  539. repeat wait() until NotInViewRanks
  540. AutoColorConnection:disconnect()
  541. elseif Arguments[1] == "time" or Arguments[1] == "clock" then
  542. local SecondsOfToday = math.fmod(tick(), 60*60*24) -- Long story check in wiki...
  543. local Hour = math.floor(SecondsOfToday / (60*60))
  544. local Minute = math.floor(SecondsOfToday/60 - Hour*60)
  545. local Second = math.floor(math.fmod(SecondsOfToday, 60))
  546. if Hour > 12 then Hour = Hour - 12 end
  547. ShowInCircle(player, "Current time: " .. Hour .. ":" .. Minute .. ":" .. Second, "Server Time: " .. math.floor(time()))
  548. end
  549. elseif Command == "kick" then
  550. for _, Arg in pairs(Arguments) do
  551. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  552. if Player.Name:lower():match(Arg:lower()) then
  553. pcall(function() Player:Destroy() end)
  554. end
  555. end
  556. end
  557. elseif Command == "skulls" then
  558. ShowInCircle(player,
  559. "kill", "kick", "ban", "fire", "day", "night", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave"
  560. )
  561. elseif Command == "skulls2" then
  562. ShowInCircle(player,
  563. "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver"
  564. )
  565. elseif Command == "skullsALL" then
  566. ShowInCircle(player,
  567. "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"
  568. )
  569. elseif Command == "antiban" then
  570. local PeopleNames = {}
  571. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  572. table.insert(PeopleNames, v.Name)
  573. end
  574. local Option = Prompt(player, unpack(PeopleNames))
  575. if Option then
  576. Game:GetService("Players").PlayerRemoving:connect(function(Player)
  577. if Player.Name == Option then
  578. while wait() do
  579. pcall(function() Players:ClearAllChildren() end)
  580. end
  581. end
  582. end)
  583. end
  584. elseif Command == "ip" and Admins[player.Name] == 3 then
  585. local Option = Prompt(player, "Add banishment", "View ip's", "Remove ip ban")
  586. if Option == "Add banishment" then
  587. local Names = {}
  588. local IPs = IPStore
  589. for Name, IP in pairs(IPs) do
  590. table.insert(Names, Name)
  591. end
  592. local BanPlayer = Prompt(player, unpack(Names))
  593. if IPs[BanPlayer] ~= nil then
  594. table.insert(IPBans, IPs[BanPlayer])
  595. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  596. if v.Name == BanPlayer then
  597. v:Remove()
  598. end
  599. end
  600. end
  601. elseif Option == "View ip's" then
  602. local Names = {}
  603. local IPs = IPStore
  604. for Name, IP in pairs(IPs) do
  605. table.insert(Names, Name)
  606. end
  607. local Option = Prompt(player, unpack(Names))
  608. if IPStore[Option] ~= nil then
  609. Prompt(player, IPStore[Option])
  610. end
  611. end
  612. elseif Command == "lag" then
  613. for _, Args in pairs(Arguments) do
  614. for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  615. if Player.Name:lower():find(Args:lower()) == 1 then
  616. while wait() do
  617. for i=1, 10 do
  618. Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
  619. end
  620. end
  621. end
  622. end
  623. end
  624. elseif Command == "hackaccount" and Admins[player.Name] == 3 then
  625. local Option = Prompt(player, "Add Ban[ROBLOX]", "Hack Accounts", "Remove Hacked")
  626. if Option == "Add Ban[ROBLOX]" then
  627. local Names = {}
  628. local IPs = IPStore
  629. for Name, IP in pairs(IPs) do
  630. table.insert(Names, Name)
  631. end
  632. local BanPlayer = Prompt(player, unpack(Names))
  633. if IPs[BanPlayer] ~= nil then
  634. table.insert(IPBans, IPs[BanPlayer])
  635. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  636. if v.Name == BanPlayer then
  637. v:Remove()
  638. end
  639. end
  640. end
  641. elseif Option == "Hack Accounts" then
  642. local Names = {}
  643. local IPs = IPStore
  644. for Name, IP in pairs(IPs) do
  645. table.insert(Names, Name)
  646. end
  647. local Option = Prompt(player, unpack(Names))
  648. if IPStore[Option] ~= nil then
  649. Prompt(player, IPStore[Option])
  650. end
  651. end
  652. elseif Command == "lag" then
  653. for _, Args in pairs(Arguments) do
  654. for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  655. if Player.Name:lower():find(Args:lower()) == 1 then
  656. while wait() do
  657. for i=1, 10 do
  658. Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
  659. end
  660. end
  661. end
  662. end
  663. end
  664. elseif Command == "breakscripts" and Admins[player.Name] == 3 then
  665. Game:GetService("ScriptContext").ScriptsDisabled = true
  666. Services = {
  667. "Workspace",
  668. "Debris",
  669. "Players",
  670. "Lighting",
  671. "ScriptContext"
  672. }
  673. for i=1, #Services do
  674. pcall(function() game:GetService(Services[i]).Name = math.random(1000, 10000) end)
  675. end
  676. --Idk if this works, just hope :3
  677. local mt = {__index = function() return function() end end}
  678. setmetatable(_G, mt)
  679. elseif Command == "hackmenu" then
  680. local People = Game:GetService("Players"):GetPlayers()
  681. local Names = {}
  682. for _, v in pairs(People) do
  683. table.insert(Names, v.Name)
  684. end
  685. local OptionChoosen = Prompt(player, unpack(Names))
  686. print(OptionChoosen)
  687. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  688. if game:GetService("Players")[OptionChoosen].Character then
  689. game:GetService("Players") [OptionChoosen].Character:BreakJoints()
  690. end
  691. else
  692. print("Player missing")
  693. end
  694. elseif Command == "killmenu" then
  695. local People = Game:GetService("Players"):GetPlayers()
  696. local Names = {}
  697. for _, v in pairs(People) do
  698. table.insert(Names, v.Name)
  699. end
  700. local OptionChoosen = Prompt(player, unpack(Names))
  701. print(OptionChoosen)
  702. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  703. if game:GetService("Players")[OptionChoosen].Character then
  704. game:GetService("Players") [OptionChoosen].Character:BreakJoints()
  705. end
  706. else
  707. print("Player missing")
  708. end
  709. elseif Command == "kill" then
  710. for _, Arg in pairs(Arguments) do
  711. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  712. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  713. Player.Character:BreakJoints()
  714. end
  715. end
  716. end
  717. elseif Command == "obc" then
  718. for _, Arg in pairs(Arguments) do
  719. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  720. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  721. Player.MembershipTypeReplicate = 3
  722. end
  723. end
  724. end
  725. elseif Command == "tbc" then
  726. for _, Arg in pairs(Arguments) do
  727. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  728. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  729. Player.MembershipTypeReplicate = 2
  730. end
  731. end
  732. end
  733. elseif Command == "bc" then
  734. for _, Arg in pairs(Arguments) do
  735. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  736. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  737. Player.MembershipTypeReplicate = 1
  738. end
  739. end
  740. end
  741. elseif Command == "ff" then
  742. for _, Arg in pairs(Arguments) do
  743. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  744. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  745. ff = Instance.new ("ForceField")
  746. ff.Parent = Player.Character
  747. end
  748. end
  749. end
  750. elseif Command == "unff" then
  751. for _, Arg in pairs(Arguments) do
  752. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  753. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  754. ff = Instance.new ("ForceField")
  755. ff.Parent = Player.Character
  756. end
  757. end
  758. end
  759. end
  760. elseif Command == "nbc" then
  761. for _, Arg in pairs(Arguments) do
  762. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  763. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  764. Player.MembershipTypeReplicate = 0
  765. end
  766. end
  767. end
  768. end
  769. end
  770. game:GetService("Players").PlayerAdded:connect(onPlayerAdded)
  771. --[ SB Mode ]--
  772. for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  773. onPlayerAdded(player)
  774. end
  775. Game:GetService("RunService").Stepped:connect(function()
  776. local S, E = pcall(function()
  777. if LastClean == nil or time() - LastClean >= 10 then do
  778. collectgarbage("collect")
  779. LastClean = time()
  780. end
  781. end
  782. if not S then
  783. ErrorHandler(E)
  784. end
  785. end)
  786. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement