Advertisement
ghostteen14

Untitled

Jun 10th, 2019
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.45 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. --MADE BY OneLegend (NOT THE SCRIPT) REGULAR SCRIPT: Put your name where it says "YOUR NAME HERE" and put your friends name where it says "FRIEND NAME HERE"
  153.  
  154.  
  155. ------NOVADMIN'S ADMIN-------Made By ME-And Thecooldill-And Logeen345---
  156. Admins = {
  157.  
  158. ["josephderamus2985"] = 3, -- Your name
  159.  
  160. ["no"] = 3, -- No
  161.  
  162. ["FRIENDS NAME HERE"] = 3,
  163.  
  164. ["FRIENDS NAME HERE"] = 3
  165.  
  166. }
  167.  
  168. local Levels = {
  169.  
  170. [0] = {"Peasant", BrickColor.new("Medium stone grey")};
  171.  
  172. [1] = {"Knight", BrickColor.new("Bright red")};
  173.  
  174. [2] = {"Lord", BrickColor.new("Navy blue")};
  175.  
  176. [3] = {"King", BrickColor.new("Really black")}
  177.  
  178. }
  179.  
  180. Players = Game:GetService("Players")
  181.  
  182. Workspace = Game:GetService("Workspace")
  183.  
  184. Debris = Game:GetService("Debris")
  185.  
  186. Lighting = Game:GetService("Lighting")
  187.  
  188. Teams = Game:GetService("Teams")
  189.  
  190. MR = math.rad
  191.  
  192. MD = math.deg
  193.  
  194. IPStore = {}
  195.  
  196. IPBans = {}
  197.  
  198. Banned = {"Network Server"}
  199.  
  200. PrivateServer = {}
  201.  
  202. PrivateServerWarnings = {}
  203.  
  204. function IncommingConnection(IPAddress, Replicator)
  205.  
  206. local IP = IPAddress:sub(1, IPAddress:find(":")-1)
  207.  
  208. local ThePlayer
  209.  
  210. Players.PlayerAdded:connect(function(NewPlayer)
  211.  
  212. if not ThePlayer then
  213.  
  214. ThePlayer = NewPlayer
  215.  
  216. end
  217.  
  218. end)
  219.  
  220. repeat wait() until ThePlayer
  221.  
  222. IPStore[ThePlayer.Name] = IP
  223.  
  224. for i=1, #IPBans do
  225.  
  226. if IPBans[i] == IP then
  227.  
  228. ThePlayer:Remove()
  229.  
  230. end
  231.  
  232. end
  233.  
  234. end
  235.  
  236. function Round(Number, ToWhatExtent)
  237.  
  238. if ToWhatExtent then
  239.  
  240. return math.floor(Number/ToWhatExtent+0.5)*ToWhatExtent
  241.  
  242. else
  243.  
  244. return math.floor(Number + 0.5)
  245.  
  246. end
  247.  
  248. end
  249.  
  250. Settings = {
  251.  
  252. Color = BrickColor.new("Institutional white"), --Its bright red...
  253.  
  254. Name = "ProLevi27 Scythe Admin",
  255.  
  256. Version = "0.0.8"
  257.  
  258. }
  259.  
  260. function ShowInCircle(Prompter,...)
  261.  
  262. local Args = {...}
  263.  
  264. local Books = {}
  265.  
  266. Args[#Args + 1] = "Dismiss"
  267.  
  268. local Ans = nil
  269.  
  270. local Rank = Admins[Prompter.Name]
  271.  
  272. for i=1, #Args do
  273.  
  274. local IsKings
  275.  
  276. if Args[i]:find("(Kings Only)") then
  277.  
  278. IsKings = true
  279.  
  280. end
  281.  
  282. local Book = Instance.new("Part", Game:GetService("Workspace"))
  283.  
  284. Book.Anchored = false
  285.  
  286. Book.Locked = true
  287.  
  288. Book.CanCollide = false
  289.  
  290. Book.TopSurface, Book.BottomSurface = 0, 0
  291.  
  292. Book.Transparency = 0.5
  293.  
  294. Book.FormFactor = Enum.FormFactor.Custom
  295.  
  296. Book.Size = Vector3.new(2.3, 1, 3)
  297.  
  298. if IsKings and Admins[Prompter.Name] < 3 then
  299.  
  300. Book.BrickColor = BrickColor.new("institutional white")
  301.  
  302. else
  303.  
  304. Book.BrickColor = Settings.Color
  305.  
  306. end
  307.  
  308. table.insert(Books, Book)
  309.  
  310. local Mesh = Instance.new("SpecialMesh", Book)
  311.  
  312. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  313.  
  314. Mesh.MeshType = "FileMesh"
  315.  
  316. local BG = Instance.new("BodyGyro", Book)
  317.  
  318. local BP = Instance.new("BodyPosition", Book)
  319.  
  320. if (IsKings and Admins[Prompter.Name] == 3) or not IsKings then
  321.  
  322. local Fire = Instance.new("Fire", Book)
  323.  
  324. Fire.Heat = 0
  325.  
  326. Fire.Color = Settings.Color.Color
  327.  
  328.  
  329.  
  330. Fire.SecondaryColor = Settings.Color.Color
  331.  
  332. end
  333.  
  334. local Billboard = Instance.new("BillboardGui", Book)
  335.  
  336. Billboard.Adornee = Book
  337.  
  338. Billboard.Enabled = true
  339.  
  340. Billboard.Active = true
  341.  
  342. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  343.  
  344. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  345.  
  346. local Text = Instance.new("TextLabel", Billboard)
  347.  
  348. Text.Text = Args[i]
  349.  
  350. if IsKings and Admins[Prompter.Name] ~= 3 then
  351.  
  352. Text.TextColor3 = BrickColor.new("Really black").Color
  353.  
  354. else
  355.  
  356. Text.TextColor3 = Settings.Color.Color
  357.  
  358. end
  359.  
  360. Text.BackgroundTransparency = 1
  361.  
  362. Text.Size = UDim2.new(1, 0, 1, 0)
  363.  
  364. local ClickDetector = Instance.new("ClickDetector", Book)
  365.  
  366. ClickDetector.MouseClick:connect(function(Player)
  367.  
  368. if Player == Prompter and Args[i] == "Dismiss" then
  369.  
  370. Ans = Args[i]
  371.  
  372. for _, v in pairs(Books) do
  373.  
  374. v:Remove()
  375.  
  376. end
  377.  
  378. Books = {}
  379.  
  380. end
  381.  
  382. end)
  383.  
  384. end
  385.  
  386. coroutine.resume(coroutine.create(function()
  387.  
  388. local radius = 3 + (#Books*.7)
  389.  
  390. while wait() do
  391.  
  392. if #Books == 0 then break end
  393.  
  394. for _, Book in pairs(Books) do
  395.  
  396. local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
  397.  
  398. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  399.  
  400. local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
  401.  
  402. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  403.  
  404. local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
  405.  
  406. local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos
  407.  
  408. local y = 0
  409.  
  410. local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin
  411.  
  412. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  413.  
  414. BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  415.  
  416. end
  417.  
  418. end
  419.  
  420. end))
  421.  
  422. end
  423.  
  424. function Prompt(Prompter, ...)
  425.  
  426. local Args = {...}
  427.  
  428. local Books = {} --Dismiss sounds cooler :3
  429.  
  430. Args[#Args + 1] = "Dismiss"
  431.  
  432. local Ans = nil
  433.  
  434. for i=1, #Args do
  435.  
  436. local Book = Instance.new("Part", Game:GetService("Workspace"))
  437.  
  438. Book.Anchored = false
  439.  
  440. Book.Locked = true
  441.  
  442. Book.CanCollide = false
  443.  
  444. Book.TopSurface, Book.BottomSurface = 0, 0
  445.  
  446. Book.Transparency = 0.5
  447.  
  448. Book.FormFactor = Enum.FormFactor.Custom
  449.  
  450. Book.Size = Vector3.new(2.3, 1, 3)
  451.  
  452. Book.BrickColor = Settings.Color
  453.  
  454. table.insert(Books, Book)
  455.  
  456. local Mesh = Instance.new("SpecialMesh", Book)
  457.  
  458. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  459.  
  460. Mesh.MeshType = "FileMesh"
  461.  
  462. local Fire = Instance.new("Fire", Book)
  463.  
  464. Fire.Heat = 0
  465.  
  466. Fire.Color = Settings.Color.Color
  467.  
  468. Fire.SecondaryColor = Settings.Color.Color
  469.  
  470. local Billboard = Instance.new("BillboardGui", Book)
  471.  
  472. Billboard.Adornee = Book
  473.  
  474. Billboard.Enabled = true
  475.  
  476. Billboard.Active = true
  477.  
  478. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  479.  
  480. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  481.  
  482. local Text = Instance.new("TextLabel", Billboard)
  483.  
  484. Text.Text = Args[i]
  485.  
  486. Text.TextColor3 = Settings.Color.Color
  487.  
  488. Text.BackgroundTransparency = 1
  489.  
  490. Text.Size = UDim2.new(1, 0, 1, 0)
  491.  
  492. local AttemptToFixPrompt = i
  493.  
  494. local ClickDetector = Instance.new("ClickDetector", Book)
  495.  
  496. ClickDetector.MouseClick:connect(function(Player)
  497.  
  498. if Player == Prompter then
  499.  
  500. Ans = Args[i]
  501.  
  502. local BackupBooks = Books
  503.  
  504. Books = {}
  505.  
  506. local AnimationOver
  507.  
  508. pcall(function() BP.Position = Player.Character.Torso.Position end)
  509.  
  510. Book.Touched:connect(function(zPart)
  511.  
  512. pcall(function()
  513.  
  514. if zPart == Player.Character.Torso then
  515.  
  516. AnimationOver = true
  517.  
  518. end
  519.  
  520. end)
  521.  
  522. end)
  523.  
  524. delay(5, function() AnimationOver = true end)
  525.  
  526. for _, v in pairs(BackupBooks) do
  527.  
  528. v:Remove()
  529.  
  530. end
  531.  
  532. BackupBooks = nil
  533.  
  534. return AttemptToFixPrompt
  535.  
  536. end
  537.  
  538. end)
  539.  
  540. end
  541.  
  542. coroutine.resume(coroutine.create(function()
  543.  
  544. local radius = 3 + (#Books)
  545.  
  546. while wait() do
  547.  
  548. if #Books == 0 then break end
  549.  
  550. for _, Book in pairs(Books) do
  551.  
  552. local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
  553.  
  554. BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  555.  
  556. local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
  557.  
  558. BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
  559.  
  560. local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
  561.  
  562. local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- cos
  563.  
  564. local y = 0
  565.  
  566. local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- sin
  567.  
  568. BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  569.  
  570. BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  571.  
  572. end
  573.  
  574. end
  575.  
  576. end))
  577.  
  578. while (Ans == nil) and (#Books > 0) do
  579.  
  580. wait()
  581.  
  582. end
  583.  
  584. return Ans
  585.  
  586. end
  587.  
  588. function ParseMessage(Message)
  589.  
  590. Message = Message:gsub("lego%s", "")
  591.  
  592. Message = Message:gsub("runescape%s", "")
  593.  
  594. Message = Message:gsub("minecraft%s", "")
  595.  
  596. local Command
  597.  
  598. local Args = {}
  599.  
  600. for Word in Message:gmatch("%w+") do
  601.  
  602. if not Command then
  603.  
  604. Command = Word
  605.  
  606. else
  607.  
  608. table.insert(Args, Word)
  609.  
  610. end
  611.  
  612. end
  613.  
  614. return Command, Args
  615.  
  616. end
  617.  
  618.  
  619.  
  620. function ErrorHandler(Error)
  621.  
  622. print(Error)
  623.  
  624. local Message = Instance.new("Message", Workspace)
  625.  
  626. Message.Text = "!ERROR!: " .. Error:gsub("(.-:)","")
  627.  
  628. Game:GetService("Debris"):AddItem(Message, 5)
  629.  
  630. end
  631.  
  632.  
  633.  
  634. function onPlayerAdded(NewPlayer)
  635.  
  636. for b=1, #Banned do
  637.  
  638. if NewPlayer.Name == Banned[b] then
  639.  
  640. coroutine.resume(coroutine.create(function()
  641.  
  642. for i=1, 25 do
  643.  
  644. pcall(function() NewPlayer:Destroy() end)
  645.  
  646. wait(0.5)
  647.  
  648. end
  649.  
  650. end))
  651.  
  652. end
  653.  
  654. end
  655.  
  656. NewPlayer.Chatted:connect(function(C)
  657.  
  658. xpcall(function()
  659.  
  660. local a, b = coroutine.resume(coroutine.create(function()
  661.  
  662. onChat(NewPlayer, C)
  663.  
  664. end))
  665.  
  666. assert(a,b)
  667.  
  668. end, ErrorHandler)
  669.  
  670. end)
  671.  
  672. end
  673.  
  674. function onChat(player, message)
  675.  
  676. local Command, Arguments = ParseMessage(message)
  677.  
  678. if Admins[player.Name] ~= nil then
  679.  
  680. if Command == "kickmenu" then
  681.  
  682. local People = Game:GetService("Players"):GetPlayers()
  683.  
  684. local Names = {}
  685.  
  686. for _, v in pairs(People) do
  687.  
  688. table.insert(Names, v.Name)
  689.  
  690. end
  691.  
  692. local OptionChoosen = Prompt(player, unpack(Names))
  693.  
  694. print(OptionChoosen)
  695.  
  696. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  697.  
  698. game:GetService("Players") [OptionChoosen]:Destroy()
  699.  
  700. else
  701.  
  702. print("Player missing")
  703.  
  704. end
  705.  
  706. elseif Command == "privateserver" then
  707.  
  708. local Option = Prompt(player, "Turn on", "Turn off", "Add name", "Remove name", "Remove all names")
  709.  
  710. if Option == "Turn on" then
  711.  
  712. PrivateServerOn = true
  713.  
  714. local OnJoinCon = function(NewPlayer)
  715.  
  716. if PrivateServer[NewPlayer.Name] == nil then
  717.  
  718. NewPlayer:Remove()
  719.  
  720. if PrivateServerWarnings[NewPlayer.Name] == nil then
  721.  
  722. local AddHim = Prompt(player, "Click me to add " .. NewPlayer.Name .. " to the private server list")
  723.  
  724. if AddHim == "Click me to add " .. NewPlayer.Name .. " to the private server list" then
  725.  
  726. PrivateServer[NewPlayer.Name] = true
  727.  
  728. end
  729.  
  730. end
  731.  
  732. end
  733.  
  734. end
  735.  
  736. while PrivateServerOn do wait() end
  737.  
  738. OnJoinCon:disconnect()
  739.  
  740. elseif Option == "Turn off" then
  741.  
  742. PrivateServerOn = nil
  743.  
  744. elseif Option == "Add name" then
  745.  
  746. local Names = {}
  747.  
  748. for _, v in pairs(Players:GetPlayers()) do
  749.  
  750. table.insert(Names, v.Name)
  751.  
  752. end
  753.  
  754. local PlayerToAdd = Prompt(player, unpack(Names))
  755.  
  756. if Players:FindFirstChild(PlayerToAdd) then
  757.  
  758. PrivateServer[PlayerToAdd] = true
  759.  
  760. end
  761.  
  762. elseif Option == "Remove name" then
  763.  
  764. local Names = {}
  765.  
  766. for Name in pairs(PrivateServer) do
  767.  
  768. table.insert(Names, Name)
  769.  
  770. end
  771.  
  772. local NameToRemove = Prompt(player, unpack(Names))
  773.  
  774. if Names[NameToRemove] then
  775.  
  776. Names[NameToRemove] = nil
  777.  
  778. end
  779.  
  780. elseif Option == "Remove all names" then
  781.  
  782. PrivateServer = {}
  783.  
  784. end
  785.  
  786. elseif Command == "banmenu" then
  787.  
  788. local People = Game:GetService("Players"):GetPlayers()
  789.  
  790. local Names = {}
  791.  
  792. for _, v in pairs(People) do
  793.  
  794. table.insert(Names, v.Name)
  795.  
  796. end
  797.  
  798. local OptionChoosen = Prompt(player, unpack(Names))
  799.  
  800. print(OptionChoosen)
  801.  
  802. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  803.  
  804. table.insert(Banned, OptionChoosen)
  805.  
  806. game:GetService("Players") [OptionChoosen]:Destroy()
  807.  
  808. else
  809.  
  810. print("Player missing")
  811.  
  812. end
  813.  
  814. elseif Command == "rankset" and Admins[player.Name] == 3 then
  815.  
  816. if Arguments[1] and tonumber(Arguments[1]) ~= nil then
  817.  
  818. local RankSet
  819.  
  820. if tonumber(Arguments[1]) == 0 then
  821.  
  822. RankSet = nil
  823.  
  824. else
  825.  
  826. RankSet = tonumber(Arguments[1])
  827.  
  828. end
  829.  
  830. for i=2, #Arguments do
  831.  
  832. local arg = Arguments[i]
  833.  
  834. for z, vPlayer in pairs(Players:GetPlayers()) do
  835.  
  836. if vPlayer.Name:lower():find(arg:lower()) == 1 then
  837.  
  838. Admins[vPlayer.Name] = RankSet
  839.  
  840. end
  841.  
  842. end
  843.  
  844. end
  845.  
  846. end
  847.  
  848. elseif message:sub(1, 5) == "load/" then
  849.  
  850. xpcall(function()
  851.  
  852. local c, d = coroutine.resume(coroutine.create(function()
  853.  
  854. loadstring(message:sub(6))()
  855.  
  856. end))
  857.  
  858. assert(c, d)
  859.  
  860. end, function(Error)
  861.  
  862. local Hint = Instance.new("Message", Workspace)
  863.  
  864. Hint.Text = "|QUICKSCRIPT ERROR|:| " .. Error:sub("(.-:)")
  865.  
  866. wait(4)
  867.  
  868. Hint:Remove()
  869.  
  870. end)
  871.  
  872. elseif Command == "cleanup" then
  873.  
  874. for _, v in pairs(Workspace:GetChildren()) do
  875.  
  876. if Players:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" and v~=script then
  877.  
  878. pcall(function() v:Remove() end)
  879.  
  880. end
  881.  
  882. end
  883.  
  884. local Base = Instance.new("Part", Workspace)
  885.  
  886. Base.Anchored = true
  887.  
  888. Base.TopSurface = Enum.SurfaceType.Smooth
  889.  
  890. Base.BottomSurface = Enum.SurfaceType.Smooth
  891.  
  892. Base.FormFactor = Enum.FormFactor.Symmetric
  893.  
  894. Base.BrickColor = BrickColor.new("Earth green")
  895.  
  896. Base.Size = Vector3.new(1000, 1, 1000)
  897.  
  898. Base.Name = "Base"
  899.  
  900. Base.CFrame = CFrame.new(Vector3.new())
  901.  
  902. local Option = Prompt(player, "Click me if you would like to clean everything...")
  903.  
  904. if Option == "Click me if you would like to clean everything..." then
  905.  
  906. pcall(function() Lighting:ClearAllChildren() end)
  907.  
  908. pcall(function() Teams:ClearAllChildren() end)
  909.  
  910. pcall(function() table.foreach(Players:GetPlayers(), function(_, v) v.Neutral = true end) end)
  911.  
  912. end
  913.  
  914. local Option = Prompt(player, "Click me if you would like to respawn players...")
  915.  
  916. if Option == "Click me if you would like to respawn players..." then
  917.  
  918. for _, v in pairs(Players:GetPlayers()) do
  919.  
  920. pcall(function()
  921.  
  922. local Model = Instance.new("Model", Workspace)
  923.  
  924. Instance.new("Humanoid", Model)
  925.  
  926. v.Character = Model
  927.  
  928. end)
  929.  
  930. end
  931.  
  932. end
  933.  
  934. elseif Command == "hide" then
  935.  
  936. if Arguments[1] == "ranks" then
  937.  
  938. NotInViewRanks = true
  939.  
  940. Lighting.TimeOfDay = "14:00:00"
  941.  
  942. Lighting.Ambient = BrickColor.new("Medium stone grey").Color
  943.  
  944. while Workspace:FindFirstChild("RankStatus", true) do
  945.  
  946. Workspace:FindFirstChild("RankStatus", true):Destroy()
  947.  
  948. end
  949.  
  950. end
  951.  
  952. elseif Command == "shutdown" then
  953.  
  954. local InitTime = time()
  955.  
  956. while wait() do
  957.  
  958. pcall(function()
  959.  
  960. Players:ClearAllChildren()
  961.  
  962. end)
  963.  
  964. pcall(function()
  965.  
  966. if #Players:GetPlayers() >= 1 or InitTime + 30 < time() then
  967.  
  968. Instance.new("ManualSurfaceJointInstance", Workspace)
  969.  
  970. end
  971.  
  972. end)
  973.  
  974. end
  975.  
  976. elseif Command == "view" or Command == "show" then
  977.  
  978. if Arguments[1] == "ranks" then
  979.  
  980. NotInViewRanks = nil
  981.  
  982. Lighting.TimeOfDay = "2:00:00"
  983.  
  984. Lighting.Ambient = BrickColor.new("Black").Color
  985.  
  986. local AutoColorConnection = Workspace.ChildAdded:connect(function(v)
  987.  
  988. local Player = Players:GetPlayerFromCharacter(v)
  989.  
  990. if Player and Admins[Player.Name] then
  991.  
  992. local Rank = Admins[Player.Name]
  993.  
  994. coroutine.resume(coroutine.create(function()
  995.  
  996. local Head = v:FindFirstChild("Head")
  997.  
  998. local Status = Instance.new("Part", v)
  999.  
  1000. Status.FormFactor = "Symmetric"
  1001.  
  1002. Status.Shape = "Ball"
  1003.  
  1004. Status.Name = "Status"
  1005.  
  1006. Status.TopSurface = 0
  1007.  
  1008. Status.BottomSurface = 0
  1009.  
  1010. Status.BrickColor = Levels[Rank][2]
  1011.  
  1012. Status.CanCollide = false
  1013.  
  1014. Status.Name = "RankStatus"
  1015.  
  1016. Status.Transparency = 0.5
  1017.  
  1018. local Billboard = Instance.new("BillboardGui", Status)
  1019.  
  1020. Billboard.Adornee = Status
  1021.  
  1022. Billboard.Enabled = true
  1023.  
  1024. Billboard.Active = true
  1025.  
  1026. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  1027.  
  1028. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  1029.  
  1030. local Text = Instance.new("TextLabel", Billboard)
  1031.  
  1032. Text.Text = Levels[Rank][1] .. " - " .. Player.Name
  1033.  
  1034. Text.TextColor3 = Levels[Rank][2].Color
  1035.  
  1036. Text.BackgroundTransparency = 1
  1037.  
  1038. Text.Size = UDim2.new(1, 0, 1, 0)
  1039.  
  1040. local Body = Instance.new("BodyPosition", Status)
  1041.  
  1042. Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1043.  
  1044. local Fire = Instance.new("Fire", Status)
  1045.  
  1046. Fire.Color = Levels[Rank][2].Color
  1047.  
  1048. Fire.SecondaryColor = Levels[Rank][2].Color
  1049.  
  1050. local function gS(i)
  1051.  
  1052. return math.sin(math.rad(i))
  1053.  
  1054. end
  1055.  
  1056. local function gC(i)
  1057.  
  1058. return math.cos(math.rad(i))
  1059.  
  1060. end
  1061.  
  1062. for _, v in pairs(v:GetChildren()) do
  1063.  
  1064. if v:IsA("Part") and v.Name ~= "RankStatus" then
  1065.  
  1066. local Sel = Instance.new("SelectionBox", Status)
  1067.  
  1068. Sel.Adornee = v
  1069.  
  1070. Sel.Color = Levels[Rank][2]
  1071.  
  1072. local Fir = Instance.new("Fire", Status)
  1073.  
  1074. Fir.Color = Levels[Rank][2].Color
  1075.  
  1076. Fir.SecondaryColor = Levels[Rank][2].Color
  1077.  
  1078. end
  1079.  
  1080. end
  1081.  
  1082. while wait() and Head and Head.Parent do
  1083.  
  1084. for i = 0, 360, 2 do
  1085.  
  1086. Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
  1087.  
  1088. wait()
  1089.  
  1090. end
  1091.  
  1092. end
  1093.  
  1094. end))
  1095.  
  1096. end
  1097.  
  1098. end)
  1099.  
  1100. for _, v in pairs(Workspace:GetChildren()) do
  1101.  
  1102. local Player = Players:GetPlayerFromCharacter(v)
  1103.  
  1104. if Player and Admins[Player.Name] then
  1105.  
  1106. local Rank = Admins[Player.Name]
  1107.  
  1108. coroutine.resume(coroutine.create(function()
  1109.  
  1110. local Head = v:FindFirstChild("Head")
  1111.  
  1112. local Status = Instance.new("Part", v)
  1113.  
  1114. Status.FormFactor = "Symmetric"
  1115.  
  1116. Status.Shape = "Ball"
  1117.  
  1118. Status.Name = "Status"
  1119.  
  1120. Status.TopSurface = 0
  1121.  
  1122. Status.BottomSurface = 0
  1123.  
  1124. Status.BrickColor = Levels[Rank][2]
  1125.  
  1126. Status.CanCollide = false
  1127.  
  1128. Status.Name = "RankStatus"
  1129.  
  1130. Status.Transparency = 0.5
  1131.  
  1132. local Billboard = Instance.new("BillboardGui", Status)
  1133.  
  1134. Billboard.Adornee = Status
  1135.  
  1136. Billboard.Enabled = true
  1137.  
  1138. Billboard.Active = true
  1139.  
  1140. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  1141.  
  1142. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  1143.  
  1144. local Text = Instance.new("TextLabel", Billboard)
  1145.  
  1146. Text.Text = Levels[Rank][1] .. " - " .. Player.Name
  1147.  
  1148. Text.TextColor3 = Levels[Rank][2].Color
  1149.  
  1150. Text.BackgroundTransparency = 1
  1151.  
  1152. Text.Size = UDim2.new(1, 0, 1, 0)
  1153.  
  1154. local Body = Instance.new("BodyPosition", Status)
  1155.  
  1156. Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1157.  
  1158. local Fire = Instance.new("Fire", Status)
  1159.  
  1160. Fire.Color = Levels[Rank][2].Color
  1161.  
  1162. Fire.SecondaryColor = Levels[Rank][2].Color
  1163.  
  1164. local function gS(i)
  1165.  
  1166. return math.sin(math.rad(i))
  1167.  
  1168. end
  1169.  
  1170. local function gC(i)
  1171.  
  1172. return math.cos(math.rad(i))
  1173.  
  1174. end
  1175.  
  1176. for _, v in pairs(v:GetChildren()) do
  1177.  
  1178. if v:IsA("Part") and v.Name ~= "RankStatus" then
  1179.  
  1180. local Sel = Instance.new("SelectionBox", Status)
  1181.  
  1182. Sel.Adornee = v
  1183.  
  1184. Sel.Color = Levels[Rank][2]
  1185.  
  1186. local Fir = Instance.new("Fire", Status)
  1187.  
  1188. Fir.Color = Levels[Rank][2].Color
  1189.  
  1190. Fir.SecondaryColor = Levels[Rank][2].Color
  1191.  
  1192. end
  1193.  
  1194. end
  1195.  
  1196. while wait() and Head and Head.Parent do
  1197.  
  1198. for i = 0, 360, 2 do
  1199.  
  1200. Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
  1201.  
  1202. wait()
  1203.  
  1204. end
  1205.  
  1206. end
  1207.  
  1208. end))
  1209.  
  1210. end
  1211.  
  1212. end
  1213.  
  1214. repeat wait() until NotInViewRanks
  1215.  
  1216. AutoColorConnection:disconnect()
  1217.  
  1218. elseif Arguments[1] == "time" or Arguments[1] == "clock" then
  1219.  
  1220. local SecondsOfToday = math.fmod(tick(), 60*60*24) -- Long story check in wiki...
  1221.  
  1222. local Hour = math.floor(SecondsOfToday / (60*60))
  1223.  
  1224. local Minute = math.floor(SecondsOfToday/60 - Hour*60)
  1225.  
  1226. local Second = math.floor(math.fmod(SecondsOfToday, 60))
  1227.  
  1228. if Hour > 12 then Hour = Hour - 12 end
  1229.  
  1230. ShowInCircle(player, "Current time: " .. Hour .. ":" .. Minute .. ":" .. Second, "Server Time: " .. math.floor(time()))
  1231.  
  1232. end
  1233.  
  1234. elseif Command == "kick" then
  1235.  
  1236. for _, Arg in pairs(Arguments) do
  1237.  
  1238. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1239.  
  1240. if Player.Name:lower():match(Arg:lower()) then
  1241.  
  1242. pcall(function() Player:Destroy() end)
  1243.  
  1244. end
  1245.  
  1246. end
  1247.  
  1248. end
  1249.  
  1250. elseif Command == "commands1" then
  1251.  
  1252. ShowInCircle(player,
  1253.  
  1254. "kill", "kick", "ban", "fire", "day", "night", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave"
  1255.  
  1256. )
  1257.  
  1258. elseif Command == "commands2" then
  1259.  
  1260. ShowInCircle(player,
  1261.  
  1262. "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver"
  1263.  
  1264. )
  1265.  
  1266. elseif Command == "commandsALL" then
  1267.  
  1268. ShowInCircle(player,
  1269.  
  1270. "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"
  1271.  
  1272. )
  1273.  
  1274. elseif Command == "antiban" then
  1275.  
  1276. local PeopleNames = {}
  1277.  
  1278. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  1279.  
  1280. table.insert(PeopleNames, v.Name)
  1281.  
  1282. end
  1283.  
  1284. local Option = Prompt(player, unpack(PeopleNames))
  1285.  
  1286. if Option then
  1287.  
  1288. Game:GetService("Players").PlayerRemoving:connect(function(Player)
  1289.  
  1290. if Player.Name == Option then
  1291.  
  1292. while wait() do
  1293.  
  1294. pcall(function() Players:ClearAllChildren() end)
  1295.  
  1296. end
  1297.  
  1298. end
  1299.  
  1300. end)
  1301.  
  1302. end
  1303.  
  1304. elseif Command == "ip" and Admins[player.Name] == 3 then
  1305.  
  1306. local Option = Prompt(player, "Add banishment", "View ip's", "Remove ip ban")
  1307.  
  1308. if Option == "Add banishment" then
  1309.  
  1310. local Names = {}
  1311.  
  1312. local IPs = IPStore
  1313.  
  1314. for Name, IP in pairs(IPs) do
  1315.  
  1316. table.insert(Names, Name)
  1317.  
  1318. end
  1319.  
  1320. local BanPlayer = Prompt(player, unpack(Names))
  1321.  
  1322. if IPs[BanPlayer] ~= nil then
  1323.  
  1324. table.insert(IPBans, IPs[BanPlayer])
  1325.  
  1326. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  1327.  
  1328. if v.Name == BanPlayer then
  1329.  
  1330. v:Remove()
  1331.  
  1332. end
  1333.  
  1334. end
  1335.  
  1336. end
  1337.  
  1338. elseif Option == "View ip's" then
  1339.  
  1340. local Names = {}
  1341.  
  1342. local IPs = IPStore
  1343.  
  1344. for Name, IP in pairs(IPs) do
  1345.  
  1346. table.insert(Names, Name)
  1347.  
  1348. end
  1349.  
  1350. local Option = Prompt(player, unpack(Names))
  1351.  
  1352. if IPStore[Option] ~= nil then
  1353.  
  1354. Prompt(player, IPStore[Option])
  1355.  
  1356. end
  1357.  
  1358. end
  1359.  
  1360. elseif Command == "lag" then
  1361.  
  1362. for _, Args in pairs(Arguments) do
  1363.  
  1364. for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1365.  
  1366. if Player.Name:lower():find(Args:lower()) == 1 then
  1367.  
  1368. while wait() do
  1369.  
  1370. for i=1, 10 do
  1371.  
  1372. Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
  1373.  
  1374. end
  1375.  
  1376. end
  1377.  
  1378. end
  1379.  
  1380. end
  1381.  
  1382. end
  1383.  
  1384. elseif Command == "hackaccount" and Admins[player.Name] == 3 then
  1385.  
  1386. local Option = Prompt(player, "Add Ban[ROBLOX]", "Hack Accounts", "Remove Hacked")
  1387.  
  1388. if Option == "Add Ban[ROBLOX]" then
  1389.  
  1390. local Names = {}
  1391.  
  1392. local IPs = IPStore
  1393.  
  1394. for Name, IP in pairs(IPs) do
  1395.  
  1396. table.insert(Names, Name)
  1397.  
  1398. end
  1399.  
  1400. local BanPlayer = Prompt(player, unpack(Names))
  1401.  
  1402. if IPs[BanPlayer] ~= nil then
  1403.  
  1404. table.insert(IPBans, IPs[BanPlayer])
  1405.  
  1406. for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
  1407.  
  1408. if v.Name == BanPlayer then
  1409.  
  1410. v:Remove()
  1411.  
  1412. end
  1413.  
  1414. end
  1415.  
  1416. end
  1417.  
  1418. elseif Option == "Hack Accounts" then
  1419.  
  1420. local Names = {}
  1421.  
  1422. local IPs = IPStore
  1423.  
  1424. for Name, IP in pairs(IPs) do
  1425.  
  1426. table.insert(Names, Name)
  1427.  
  1428. end
  1429.  
  1430. local Option = Prompt(player, unpack(Names))
  1431.  
  1432. if IPStore[Option] ~= nil then
  1433.  
  1434. Prompt(player, IPStore[Option])
  1435.  
  1436. end
  1437.  
  1438. end
  1439.  
  1440. elseif Command == "lag" then
  1441.  
  1442. for _, Args in pairs(Arguments) do
  1443.  
  1444. for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1445.  
  1446. if Player.Name:lower():find(Args:lower()) == 1 then
  1447.  
  1448. while wait() do
  1449.  
  1450. for i=1, 10 do
  1451.  
  1452. Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
  1453.  
  1454. end
  1455.  
  1456. end
  1457.  
  1458. end
  1459.  
  1460. end
  1461.  
  1462. end
  1463.  
  1464. elseif Command == "breakscripts" and Admins[player.Name] == 3 then
  1465.  
  1466. Game:GetService("ScriptContext").ScriptsDisabled = true
  1467.  
  1468. Services = {
  1469.  
  1470. "Workspace",
  1471.  
  1472. "Debris",
  1473.  
  1474. "Players",
  1475.  
  1476. "Lighting",
  1477.  
  1478. "ScriptContext"
  1479.  
  1480. }
  1481.  
  1482. for i=1, #Services do
  1483.  
  1484. pcall(function() game:GetService(Services[i]).Name = math.random(1000, 10000) end)
  1485.  
  1486. end
  1487.  
  1488. --Idk if this works, just hope :3
  1489.  
  1490. local mt = {__index = function() return function() end end}
  1491.  
  1492. setmetatable(_G, mt)
  1493.  
  1494. elseif Command == "hackmenu" then
  1495.  
  1496. local People = Game:GetService("Players"):GetPlayers()
  1497.  
  1498. local Names = {}
  1499.  
  1500. for _, v in pairs(People) do
  1501.  
  1502. table.insert(Names, v.Name)
  1503.  
  1504. end
  1505.  
  1506. local OptionChoosen = Prompt(player, unpack(Names))
  1507.  
  1508. print(OptionChoosen)
  1509.  
  1510. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  1511.  
  1512. if game:GetService("Players")[OptionChoosen].Character then
  1513.  
  1514. game:GetService("Players") [OptionChoosen].Character:BreakJoints()
  1515.  
  1516. end
  1517.  
  1518. else
  1519.  
  1520. print("Player missing")
  1521.  
  1522. end
  1523.  
  1524. elseif Command == "killmenu" then
  1525.  
  1526. local People = Game:GetService("Players"):GetPlayers()
  1527.  
  1528. local Names = {}
  1529.  
  1530. for _, v in pairs(People) do
  1531.  
  1532. table.insert(Names, v.Name)
  1533.  
  1534. end
  1535.  
  1536. local OptionChoosen = Prompt(player, unpack(Names))
  1537.  
  1538. print(OptionChoosen)
  1539.  
  1540. if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
  1541.  
  1542. if game:GetService("Players")[OptionChoosen].Character then
  1543.  
  1544. game:GetService("Players") [OptionChoosen].Character:BreakJoints()
  1545.  
  1546. end
  1547.  
  1548. else
  1549.  
  1550. print("Player missing")
  1551.  
  1552. end
  1553.  
  1554. elseif Command == "kill" then
  1555.  
  1556. for _, Arg in pairs(Arguments) do
  1557.  
  1558. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1559.  
  1560. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1561.  
  1562. Player.Character:BreakJoints()
  1563.  
  1564. end
  1565.  
  1566. end
  1567.  
  1568. end
  1569.  
  1570. elseif Command == "obc" then
  1571.  
  1572. for _, Arg in pairs(Arguments) do
  1573.  
  1574. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1575.  
  1576. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1577.  
  1578. Player.MembershipTypeReplicate = 3
  1579.  
  1580. end
  1581.  
  1582. end
  1583.  
  1584. end
  1585.  
  1586. elseif Command == "tbc" then
  1587.  
  1588. for _, Arg in pairs(Arguments) do
  1589.  
  1590. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1591.  
  1592. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1593.  
  1594. Player.MembershipTypeReplicate = 2
  1595.  
  1596. end
  1597.  
  1598. end
  1599.  
  1600. end
  1601.  
  1602. elseif Command == "bc" then
  1603.  
  1604. for _, Arg in pairs(Arguments) do
  1605.  
  1606. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1607.  
  1608. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1609.  
  1610. Player.MembershipTypeReplicate = 1
  1611.  
  1612. end
  1613.  
  1614. end
  1615.  
  1616. end
  1617.  
  1618. elseif Command == "ff" then
  1619.  
  1620. for _, Arg in pairs(Arguments) do
  1621.  
  1622. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1623.  
  1624. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1625.  
  1626. ff = Instance.new ("ForceField")
  1627.  
  1628. ff.Parent = Player.Character
  1629.  
  1630. end
  1631.  
  1632. end
  1633.  
  1634. end
  1635.  
  1636. elseif Command == "unff" then
  1637.  
  1638. for _, Arg in pairs(Arguments) do
  1639.  
  1640. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1641.  
  1642. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1643.  
  1644. ff = Instance.new ("ForceField")
  1645.  
  1646. ff.Parent = Player.Character
  1647.  
  1648. end
  1649.  
  1650. end
  1651.  
  1652. end
  1653.  
  1654. end
  1655.  
  1656. elseif Command == "nbc" then
  1657.  
  1658. for _, Arg in pairs(Arguments) do
  1659.  
  1660. for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
  1661.  
  1662. if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
  1663.  
  1664. Player.MembershipTypeReplicate = 0
  1665.  
  1666. end
  1667.  
  1668. end
  1669.  
  1670. end
  1671.  
  1672. end
  1673.  
  1674. end
  1675.  
  1676. game:GetService("Players").PlayerAdded:connect(onPlayerAdded)
  1677.  
  1678. --[ SB Mode ]--
  1679.  
  1680. for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  1681.  
  1682. onPlayerAdded(player)
  1683.  
  1684. end
  1685.  
  1686. Game:GetService("RunService").Stepped:connect(function()
  1687.  
  1688. local S, E = pcall(function()
  1689.  
  1690. if LastClean == nil or time() - LastClean >= 10 then do
  1691.  
  1692. collectgarbage("collect")
  1693.  
  1694. LastClean = time()
  1695.  
  1696. end
  1697.  
  1698. end
  1699.  
  1700. if not S then
  1701.  
  1702. ErrorHandler(E)
  1703.  
  1704. end
  1705.  
  1706. end)
  1707.  
  1708. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement