Advertisement
simhwui

Untitled

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