Advertisement
zombieslayerwtf

Admin might not work

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