Advertisement
ZeeDerp

Dead

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