Advertisement
BobMe

Untitled

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