Advertisement
InfinitySound

Custom XPlorer

Jan 28th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.14 KB | None | 0 0
  1. TextProperties = {"ZOffset", "CharacterAppearance", "PrimaryPart", "SkyboxBk", "SkyboxDn", "WaterTransparency", "WaterWaveSpeed", "HipHeight","ChatHistory","ConversationDistance", "BlastPressure", "BlastRadius", "InitialPrompt", "CPU", "OSVer", "OsPlatformId", "CpuSpeed", "D", "P", "maxForce", "InstanceCount", "PlaceId", "workspace", "GarbageCollectionFrequency", "BinType", "Grip", "ActivationState", "GarbageCollectionLimit", "ShadowColor", "TargetPoint", "WalkDirection", "WalkToPart", "Image",  "Font", "ClearTextOnFocus", "TextTransparency", "WalkToPoint", "ColorShift_Bottom", "ColorShift_Top","MaxSpeed","CartoonFactor","Target","MaxThrust","MaxTorque","TargetOffset","ThrustD", "ThrustP", "TurnD", "TurnP", "profileName", "Resolution", "Shadow", "Bevels", "BatchSize", "AASamples", "Genre", "CreatorType", "CreatorId", "JobId", "SkyboxUp", "SkyboxFt", "SkyboxLf", "StarCount", "ReporterType", "Outfit1", "Outfit2", "Pants", "PlayCount", "Shirt",  "MinReportInterval", "VelocitySpread","Rate", "DataSendRate", "DataGCRate",  "Archivable", "ClassName","NameDisplayerDistance", "MaxVelocity","PantsTemplate","ShirtTemplate","SoundId","Pitch","IsPlaying","IsPaused","Looped","PlayOnRemove","StudsPerTileU","StudsPerTileV", "Name", "Value", "MaxPlayers" , "PersonalServerRank" ,"NumPlayers" , "Text", "Reflectance","FogEnd", "FogStart","WaterTransparency", "Transparency", "Heat", "TeamName", "WalkSpeed", "Health", "MaxHealth", "Size", "Position", "TeamColor", "userId", "Brightness", "Ambient", "OsPlatform", "ChatMode", "AccountAgeReplicate", "Character", "Steer", "Style","NetworkOwnerV3", "CanCollide", "CFrame", "TimeOfDay", "FieldOfView", "CameraType", "LinkedSource", "MachineAddress", "Port"}
  2. BoolProperties = {"Anchored", "AllowInsertFreeModels","SuperSafeChatReplicate", "Player", "HangDetection", "FullScriptCode", "DataModelJobs", "DeviceLost", "SSAO", "SoundEnabled", "SoftwareSound", "TextFits", "TextWrap", "Draggable",  "BubbleChat" , "AutoRuns", "Guest", "LocalSaveEnabled", "PlatformStand", "AutoRotate", "CelestialBodiesShown","HasBuildTools" , "ClassicChat" , "DevEnableMouseLock" ,"Netural", "CanCollide", "Disabled", "Outlines" ,"Jump", "Sit", "Visible", "IsSmooth" , "Enabled", "Locked", "FilteringEnabled", "StreamingEnabled", "GlobalShadows", "RobloxLocked", "ScriptsDisabled"}
  3. BrickColorProperties = {"BrickColor", "Color","AllowSweep", "WaterColor", "ParallelPhysics", "Is30FpsThrottleEnabled", "HeadsUpDisplay",  "Texture", "Value", "WaterColor", "SkinColor", "SparkleColor", "FogColor", "HeadColor", "LeftArmColor", "RightArmColor", "TorsoColor", "RightLegColor", "LeftLegColor","ShadowColor", "Ambient", "SecondaryColor"}
  4. s = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  5. pgr = Instance.new("TextButton")
  6. pgr.Parent = s
  7. pgr.Size = UDim2.new(0,100,0,40)
  8. pgr.Position = UDim2.new(0,30,0,440)
  9. pgr.Text="Xplorer"
  10. pgr.BackgroundTransparency = 0.7
  11. pgr.TextColor = BrickColor.new("Black")
  12. pgr.BackgroundColor = BrickColor.new("Really Black")
  13. pgr.BorderColor = BrickColor.new("Black")
  14. pgr.Font = "ArialBold"
  15. pgr.FontSize = "Size14"
  16. pgr.TextStrokeColor3 = Color3.new(0/0,0/0,0/0)
  17. pgr.TextStrokeTransparency = 0.3
  18. pgr.BorderSizePixel = 1
  19. pgr.BorderColor = BrickColor.new("White")
  20.  
  21. local Cloned
  22. local Deleted
  23. local DeleteParent
  24. local Player
  25. local Search
  26. local ScriptSearch
  27. local Gui
  28. local Cloned = nil
  29. local Deleted = nil
  30. local DeleteParent = nil
  31. local Current = 0
  32. local CurrentOption = 0
  33.  
  34. function Clear()
  35.     if Gui then
  36.         Gui:Remove()
  37.     end
  38.     Current = 0
  39.     CurrentOption = 0
  40. end
  41.  
  42. function AddButton(N, Function, Color, Copy)
  43.     if not N then
  44.         error("RenderButton - No Name Specified")
  45.     end
  46.     if not Function then
  47.         error("RenderButton - No Function Specified")
  48.     end
  49.     if not Color then
  50.         Color = Color3.new(1, 1, 1)
  51.     end
  52.     if Copy == nil then
  53.         Copy = true
  54.     end
  55.     P = Instance.new("TextButton")
  56.     if Copy then
  57.         P.Size = UDim2.new(0, 110, 0, 20)
  58.     else
  59.         P.Size = UDim2.new(0, 130, 0, 20)
  60.     end
  61.     P.Text = N.Name
  62.     P.Name = N.Name
  63.     P.Parent = Gui
  64.     P.BackgroundColor3 = Color
  65.     P.TextColor3 = Color3.new(0, 0, 0)
  66.     P.BackgroundTransparency = 0.5
  67.     P.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300, 0, 50+(20*((Current%30)-1)))
  68.     P.MouseButton1Click:connect(function()
  69.             Function(P)
  70.         end)
  71.     D = Instance.new("TextButton")
  72.     D.Size = UDim2.new(0, 20, 0, 20)
  73.     D.Text = "X"
  74.     D.Name = N.Name
  75.     D.Parent = Gui
  76.     D.BackgroundColor3 = Color3.new(1, 0, 0)
  77.     D.TextColor3 = Color3.new(0, 0, 0)
  78.     D.BackgroundTransparency = 0.5
  79.     D.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+130, 0, 50+(20*((Current%30)-1)))
  80.     D.MouseButton1Click:connect(function()
  81.             Deleted = N
  82.             DeleteParent = N.Parent
  83.             N.Parent = nil
  84.             Clear()
  85.             Search(DeleteParent)
  86.         end)
  87.     if Copy then
  88.         C = Instance.new("TextButton")
  89.         C.Size = UDim2.new(0, 20, 0, 20)
  90.         C.Text = "C"
  91.         C.Name = N.Name
  92.         C.Parent = Gui
  93.         C.BackgroundColor3 = Color3.new(0, 1, 0.5)
  94.         C.TextColor3 = Color3.new(0, 0, 0)
  95.         C.BackgroundTransparency = 0.5
  96.         C.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+110, 0, 50+(20*((Current%30)-1)))
  97.         C.MouseButton1Click:connect(function()
  98.                 Cloned = N
  99.                 Clear()
  100.                 Search(N.Parent)
  101.             end)
  102.     end
  103.     Current = Current + 1
  104.    
  105.     C.Font = Enum.Font.Gotham;
  106.     P.Font = Enum.Font.Gotham;
  107.     D.Font = Enum.Font.Gotham;
  108.    
  109.     C.TextSize = 12;
  110.     P.TextSize = 12;
  111.     D.TextSize = 12;
  112.    
  113.     C.BorderSizePixel = 0;
  114.     P.BorderSizePixel = 0;
  115.     D.BorderSizePixel = 0;
  116.     return P
  117. end
  118.  
  119. function AddOption(N, Function, Color, Text)
  120.     if not N then
  121.         error("RenderButton - No Name Specified")
  122.     end
  123.     if not Color then
  124.         Color = Color3.new(1, 1, 1)
  125.     end
  126.     if Text == nil then
  127.         Text = false
  128.     end
  129.     if Text then
  130.         P = Instance.new("TextBox")
  131.     else
  132.         P = Instance.new("TextButton")
  133.     end
  134.     P.Text = N
  135.     P.Name = N
  136.     P.Parent = Gui
  137.     P.BackgroundColor3 = Color
  138.     P.TextColor3 = Color3.new(0, 0, 0)
  139.     P.BackgroundTransparency = 0.5
  140.     P.Size = UDim2.new(0, 150, 0, 20)
  141.     P.Position = UDim2.new(0, ((math.modf(CurrentOption/30))*150)+150, 0, 50+(20*((CurrentOption%30)-1)))
  142.     if not Text and Function then
  143.         P.MouseButton1Click:connect(function() Function(P) end)
  144.     end
  145.     CurrentOption = CurrentOption + 1
  146.     P.BorderSizePixel = 0;
  147.     return P
  148. end
  149.  
  150. function AddTextOption(Obj, Prop)
  151.     local Ob = Obj
  152.     local Pro = Prop
  153.     if type(Ob[Pro]) == "number" or type(Ob[Pro]) == "string" then
  154.         CurrentOption = CurrentOption + 1
  155.         local T = AddOption(Ob[Pro], nil, Color3.new(0.1, 0.4, 0.1), true)
  156.         CurrentOption = CurrentOption - 2
  157.         local O = AddOption("Change "..Pro..":", function() Ob[Pro] = T.Text end, Color3.new(0.1, 0.8, 0.1), false)
  158.         CurrentOption = CurrentOption + 1
  159.     end
  160. end
  161.  
  162. function AddBrickColorOption(Obj, Prop)
  163.     local Ob = Obj
  164.     local Pro = Prop
  165.     if BrickColor.new(tostring(Ob[Pro])) == Ob[Pro] then
  166.         CurrentOption = CurrentOption + 1
  167.         local T = AddOption(tostring(Ob[Pro]), nil, Color3.new(0.1, 0.4, 0.1), true)
  168.         CurrentOption = CurrentOption - 2
  169.         local O = AddOption("Change "..Pro..":", function() Ob[Pro] = BrickColor.new(T.Text) end, Color3.new(0.1, 0.8, 0.1), false)
  170.         CurrentOption = CurrentOption + 1
  171.     end
  172. end
  173.  
  174. function UnanchorObject(Objects)
  175.     local function Recurse(Base)
  176.         for _, Object in pairs(Base:GetChildren()) do
  177.             if _G.TestProperty(Object, "Anchored") then
  178.                 Object.Anchored = not Object.Anchored
  179.             end
  180.             Recurse(Object)
  181.         end
  182.     end
  183.     Recurse(Objects)
  184. end
  185.  
  186.  
  187.  
  188.  
  189. function AddBoolOption(Obj, Prop)
  190.     local Ob = Obj
  191.     local Pro = Prop
  192.     if type(Ob[Pro]) == "boolean" then
  193.         local O = AddOption(Pro..": "..tostring(Ob[Pro]), nil, Color3.new(0.1, 0.8, 0.1), false)
  194.         O.MouseButton1Click:connect(function()
  195.                 if Ob[Pro] then
  196.                     Ob[Pro] = false
  197.                     O.Text = Pro..": false"
  198.                 else
  199.                     Ob[Pro] = true
  200.                     O.Text = Pro..": true"
  201.                 end
  202.             end)
  203.     end
  204. end
  205.  
  206. function TestProperty(Obj, Property)
  207.     Success = pcall(function()
  208.             if Obj[Property] then
  209.                 return
  210.             end
  211.         end)
  212.     return Success
  213. end
  214.  
  215. function LoadOptions(Object)
  216.     for Num, Prop in pairs(TextProperties) do
  217.         if TestProperty(Object, Prop) then
  218.             AddTextOption(Object, Prop)
  219.         end
  220.     end
  221.     for Num, Prop in pairs(BoolProperties) do
  222.         if TestProperty(Object, Prop) then
  223.             AddBoolOption(Object, Prop)
  224.         end
  225.     end
  226.     for Num, Prop in pairs(BrickColorProperties) do
  227.         if TestProperty(Object, Prop) then
  228.             AddBrickColorOption(Object, Prop)
  229.         end
  230.     end
  231. end
  232.  
  233.  
  234. function AddForceField(Player)
  235.     Instance.new("ForceField", Player.Character)
  236. end
  237. function Killp(Player)
  238.     Player.Character.Humanoid.Health=0
  239. end
  240. function AddExplode(Player)
  241.     Instance.new("Explosion", Player.Character)
  242. end
  243. function AddSparkles(Player)
  244.     Instance.new("Sparkles", Player.Character)
  245. end
  246.  
  247.  
  248. function FreezeParts(b)
  249.     if (b.className == "Part") then
  250.         b.Anchored=true;
  251.     end
  252. end
  253.  
  254.  
  255.  
  256.  
  257. function Search(Object)
  258.     if not Object then
  259.         Object = game;
  260.     end;
  261.     pcall(function()
  262.         wait();
  263.         Gui = Instance.new("ScreenGui")
  264.         Gui.Parent = game.Players.LocalPlayer.PlayerGui
  265.         Gui.Name = "Explorer"
  266.         if Object ~= game then
  267.             AddOption("Back", function()
  268.                     Clear();
  269.                     Search(Object.Parent)
  270.                 end, Color3.new(0.5, 1, 1), false)
  271.         end
  272.         if Object:IsA("Sound") then
  273.             AddOption("Copy ID", function() CopyString(tostring(Object.SoundId):sub(14)); warn("Copied."); Clear(); Search(Object); end, Color3.new(1, 0.2, 0), false)
  274.             AddOption("Play", function() Object:Play(); Clear(); Search(Object); end, Color3.new(0, 0, 1), false)
  275.             AddOption("Stop", function() Object:Stop(); Clear(); Search(Object); end, Color3.new(1, 1, 0), false)
  276.         end
  277.         if Object:IsA("BoolValue") then
  278.             AddBoolOption(Object,"Value")
  279.         end
  280.         if Object:IsA("Workspace") then
  281.             AddOption("BlackHole", function() local p= game.Players:GetChildren() for i= 1, #p do if p[i] ~= "LocalPlayer" then b = Instance.new("BodyPosition") b.Parent = p[i].Character.Torso b.maxForce = Vector3.new(6000000,60000000,60000000) b.position = Vector3.new(100,10,0)end end end, Color3.new(1, 0.6, 0.1), false)
  282.         end
  283.         if Object:IsA("IntValue") or Object:IsA("StringValue") or Object:IsA("NumberValue")  then
  284.             AddOption("Copy Value", function() CopyString(tostring(Object.Value)); warn("Copied."); Clear(); Search(Object); end, Color3.new(1, 0.2, 0), false)
  285.         end
  286.         if Object:IsA("TextLabel") or Object:IsA("TextBox") or Object:IsA("Message")  then
  287.             AddOption("Copy Value", function() CopyString(tostring(Object.Text)); warn("Copied."); Clear(); Search(Object); end, Color3.new(1, 0.2, 0), false)
  288.         end
  289.         if Object ~= game then
  290.             AddOption("Unanchor Children", function() UnanchorObject(Object);  Clear(); Search(Object); end, Color3.new(1, 0.2, 0), false)
  291.             AddOption("ClearAllChildren", function() Object:ClearAllChildren(); Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
  292.         end
  293.         if Object:IsA("Model") then
  294.             AddOption("SaveInstance", function() SaveInstance(Object) end, Color3.new(1, 1, 1), false)
  295.         end
  296.         AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false)
  297.         if Cloned then
  298.             AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false)
  299.         end
  300.         if Deleted then
  301.             AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
  302.         end
  303.         if Object:IsA("Player") then
  304.             AddOption("SwitchCamera", function() Clear(); if Object.CameraMode == "Classic" then Object.CameraMode = "LockFirstPerson" Search(Object) else Object.CameraMode = "Classic" Search(Object); end end, Color3.new(1, 0.6, 0.1), false)
  305.             AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false)
  306.             AddOption("Kill", function() Killp(Object) end, Color3.new(1,0.6,0.1), false)
  307.             AddOption("Freeze", function() FreezeParts(Object.Character.Torso); end, Color3.new(1, 0.6, 0.1), false)
  308.             AddOption("Unequip Tools", function() Object.Character.Humanoid:UnequipTools() end, Color3.new(1, 0.6, 0.1), false)
  309.     --AddOption("Explode", function() AddExplode(Object); end, Color3.new(1, 0.6, 0.1), false)
  310.         end
  311.    
  312.    
  313.    
  314.         if Object:IsA("Lighting") then
  315.             AddOption("Night", function() Object.TimeOfDay="24:24:24" end, Color3.new(1.,0.6,0.1), false)
  316.             AddOption("Day", function() Object.TimeOfDay="12:12:12" end, Color3.new(1.,0.6,0.1), false)
  317.         end
  318.         if Object:IsA("LocalScript") or Object:IsA("ModuleScript") then
  319.             AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false)
  320.         end
  321.         if Object:IsA("Terrain") then
  322.             AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false)
  323.         end
  324.    
  325.         LoadOptions(Object)
  326.         AddOption("Close", Clear, Color3.new(1, 0.2, 0), false)
  327.         if not Object:IsA("Workspace") or not Object:IsA("Player") then
  328.             for Num, Obj in pairs(Object:GetChildren()) do
  329.                 pcall(function()
  330.                     if Obj:IsA("LocalScript") then
  331.                         AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true)
  332.                     elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then
  333.                          AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true)
  334.                     elseif Obj.Parent == game then
  335.                         AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false)
  336.                     else
  337.                         AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true)
  338.                     end
  339.                 end);
  340.             end
  341.         end
  342.         function MoveUp(Place, Amount)
  343.             for i,v in pairs(Place:GetChildren()) do
  344.                 if v:IsA("TextLabel") or v:IsA("TextBox") then
  345.                     v.Position = v.Position + UDim2.new(0,0,0,-Amount)
  346.                 end
  347.             end
  348.         end
  349.         function MoveDown(Place, Amount)
  350.             for i,v in pairs(Place:GetChildren()) do
  351.                 if v:IsA("TextLabel") or v:IsA("TextBox") then
  352.                     v.Position = v.Position + UDim2.new(0,0,0,Amount)
  353.                 end
  354.             end
  355.         end
  356.         i=0
  357.         function ScriptSearch(S)
  358.             Script2 = S
  359.             Script = decompile(Script2)
  360.             Table = {}
  361.             Enabled = true
  362.             Gui = Instance.new("ScreenGui")
  363.             Gui.Parent = game.Players.LocalPlayer.PlayerGui
  364.             Gui.Name = "Explorer"
  365.             while Enabled do
  366.                 Start, End = string.find(Script, '\n')
  367.                 print(Start, End)
  368.                 if Start and End then
  369.                     table.insert(Table, string.sub(Script, 1, End))
  370.                     New = string.sub(Script, End+1, string.len(Script))
  371.                     Script = New
  372.                 else
  373.                     Enabled = false
  374.                     table.insert(Table, string.sub(Script, 1, End))
  375.                     print("Finished")
  376.                 end
  377.             end
  378.             P = Instance.new("TextLabel")
  379.             P.Size = UDim2.new(0, 500, 0, 20)
  380.             P.Text = Script2.Name
  381.             P.Name = "Script Line"
  382.             P.Parent = Gui
  383.             P.BackgroundColor3 = Color3.new(1, 1, 1)
  384.             P.TextColor3 = Color3.new(0, 0, 0)
  385.             P.BackgroundTransparency = 0.5
  386.             P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  387.             P.TextXAlignment = "Left"
  388.             i=i+1
  389.             New = {}
  390.             for I,Val in pairs(Table) do
  391.                 print(Val)
  392.                 P = Instance.new("TextBox")
  393.                 P.ClearTextOnFocus = false
  394.                 P.Size = UDim2.new(0, 500, 0, 20)
  395.                 P.Text = Val
  396.                 P.Name = "Script Line"
  397.                 P.Parent = Gui
  398.                 P.BackgroundColor3 = Color3.new(1, 1, 1)
  399.                 P.TextColor3 = Color3.new(0, 0, 0)
  400.                 P.BackgroundTransparency = 0.5
  401.                 P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  402.                 P.TextXAlignment = "Left"
  403.                 table.insert(New, P)
  404.                 i=i+1
  405.             end
  406.             i=1
  407.             P = Instance.new("TextButton")
  408.             P.Size = UDim2.new(0, 20, 0, 20)
  409.             P.Text = "^"
  410.             P.Name = "Scroll"
  411.             P.Parent = Gui
  412.             P.BackgroundColor3 = Color3.new(1, 1, 1)
  413.             P.TextColor3 = Color3.new(0, 0, 0)
  414.             P.BackgroundTransparency = 0.5
  415.             P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  416.             P.MouseButton1Click:connect(function()
  417.                     MoveUp(Gui, -20)
  418.                 end)
  419.             i=i+1
  420.             P = Instance.new("TextButton")
  421.             P.Size = UDim2.new(0, 20, 0, 20)
  422.             P.Text = "v"
  423.             P.Name = "Scroll"
  424.             P.Parent = Gui
  425.             P.BackgroundColor3 = Color3.new(1, 1, 1)
  426.             P.TextColor3 = Color3.new(0, 0, 0)
  427.             P.BackgroundTransparency = 0.5
  428.             P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  429.             P.MouseButton1Click:connect(function()
  430.                     MoveDown(Gui, -20)
  431.                 end)
  432.             i=i+1
  433.             P = Instance.new("TextButton")
  434.             P.Size = UDim2.new(0, 20, 0, 20)
  435.             P.Text = "^^"
  436.             P.Name = "Scroll"
  437.             P.Parent = Gui
  438.             P.BackgroundColor3 = Color3.new(1, 1, 1)
  439.             P.TextColor3 = Color3.new(0, 0, 0)
  440.             P.BackgroundTransparency = 0.5
  441.             P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  442.             P.MouseButton1Click:connect(function()
  443.                     MoveUp(Gui, -200)
  444.                 end)
  445.             i=i+1
  446.             P = Instance.new("TextButton")
  447.             P.Size = UDim2.new(0, 20, 0, 20)
  448.             P.Text = "vv"
  449.             P.Name = "Scroll"
  450.             P.Parent = Gui
  451.             P.BackgroundColor3 = Color3.new(1, 1, 1)
  452.             P.TextColor3 = Color3.new(0, 0, 0)
  453.             P.BackgroundTransparency = 0.5
  454.             P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  455.             P.MouseButton1Click:connect(function()
  456.                     MoveDown(Gui, -200)
  457.                 end)
  458.             i=i+1
  459.             P = Instance.new("TextButton")
  460.             P.Size = UDim2.new(0, 20, 0, 20)
  461.             P.Text = "S"
  462.             P.Name = "Save"
  463.             P.Parent = Gui
  464.             P.BackgroundColor3 = Color3.new(0, 1, 0)
  465.             P.TextColor3 = Color3.new(0, 0, 0)
  466.             P.BackgroundTransparency = 0.5
  467.             P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  468.             P.MouseButton1Click:connect(function()
  469.                     StringS = ""
  470.                     for Num, Obj in pairs(New) do
  471.                         StringS = StringS..Obj.Text..'\n'
  472.                     end
  473.                     S.Source = StringS
  474.                     S.Disabled = true
  475.                     S.Disabled = false
  476.                 end)
  477.             i=i+1
  478.             P = Instance.new("TextButton")
  479.             P.Size = UDim2.new(0, 20, 0, 20)
  480.             P.Text = "C"
  481.             P.Name = "Copy"
  482.             P.Parent = Gui
  483.             P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  484.             P.TextColor3 = Color3.new(0, 0, 0)
  485.             P.BackgroundTransparency = 0.5
  486.             P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  487.             P.MouseButton1Click:connect(function()
  488.                     StringS = ""
  489.                     for Num, Obj in pairs(New) do
  490.                         StringS = StringS..Obj.Text..'\n'
  491.                     end
  492.                     CopyString(StringS)
  493.                 end)
  494.             i=i+1
  495.             P = Instance.new("TextButton")
  496.             P.Size = UDim2.new(0, 20, 0, 20)
  497.             P.Text = "x"
  498.             P.Name = "Back"
  499.             P.Parent = Gui
  500.             P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  501.             P.TextColor3 = Color3.new(0, 0, 0)
  502.             P.BackgroundTransparency = 0.5
  503.             P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  504.             P.MouseButton1Click:connect(function()
  505.                     Clear()
  506.                     i=0
  507.                     Search(S)
  508.                 end)
  509.             i=i+1
  510.         end
  511.     end);
  512. end
  513.  
  514. pgr.MouseButton1Click:connect(function()
  515.     Clear()
  516.     Search(game)
  517. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement