Advertisement
LanceQ10

Bubble Gum Simulator OP GUI (Auto-Hatch + Auto-Delete)

Jul 11th, 2021
3,216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.31 KB | None | 0 0
  1. local LatestSupportedVersion = 1862
  2.  
  3.  
  4. function scr()
  5.     game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("ScreenGui")
  6.     local vu = game:GetService("VirtualUser")
  7.     game:GetService("Players").LocalPlayer.Idled:connect(function()
  8.        vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  9.        wait(1)
  10.        vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  11.     end)
  12.    
  13.     local library =  loadstring(game:HttpGet("https://pastebin.com/raw/EBSNtywp", true))()
  14.            
  15.     local f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  16.     repeat
  17.         wait(.1)
  18.         f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  19.     until f ~= nil
  20.     local Module = game:GetService("ReplicatedStorage").Assets.Modules.ImageService
  21.    
  22.     local pets = debug.getupvalues(require(Module))[1]
  23.    
  24.     local farm = library:CreateWindow('Auto Farm')
  25.    
  26.     local petlist = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.PetModule)
  27.     local hatlist = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.HatModule)
  28.     local raritys = {}
  29.     local moneyz = require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.GuiService)
  30.    
  31.     local currencys = {}
  32.     local canafford = false
  33.     for i,d in pairs(moneyz) do
  34.         if string.find(i,"Changed") ~= nil then
  35.             currencys[i:sub(1, #i-7)] = debug.getupvalues(d)[3]
  36.         end
  37.     end
  38.     for i,d in pairs(petlist) do
  39.         if d["Rarity"] ~= "Legendary" then
  40.             raritys[d["Rarity"]] = true
  41.         end
  42.     end
  43.     local eggs = library:CreateWindow('Auto Egg')
  44.     local hats = library:CreateWindow("Hats")
  45.     local misc = library:CreateWindow('Misc')
  46.     misc:Section("Swap")
  47.     local worlds = {}
  48.     local loadworlds = false
  49.     repeat wait(0.1)
  50.         local modul = require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.WorldService).SetWorld
  51.         for i,d in pairs(debug.getupvalue(modul,3)) do
  52.             loadworlds = true
  53.         end
  54.     until loadworlds
  55.     local tpyes = require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.WorldService)
  56.     for i,d in pairs(debug.getupvalue(tpyes.SetWorld,3)) do
  57.         table.insert(worlds,i)
  58.     end
  59.     misc:Dropdown("World", {
  60.         location = _G,
  61.         flag = "world",
  62.         list = worlds
  63.      })
  64.  
  65.     misc:Button('Swap World', function()
  66.         if _G.world ~= nil then
  67.             tpyes.SetWorld(tpyes,_G.world)
  68.         end
  69.      end)
  70.     misc:Section("Unlock")
  71.     misc:Button('Unlock Islands', function()
  72.         for i , v in pairs(game:GetService("Workspace").FloatingIslands:GetChildren()) do
  73.             if #v:GetChildren() > 0 then
  74.                 for i ,v in pairs(v:GetChildren()) do
  75.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Collision.CFrame
  76.                     wait(1)
  77.                 end
  78.             end
  79.         end
  80.      end)
  81.     misc:Section("Collect")
  82.     misc:Button("Collect chests", function()
  83.         for i,v in pairs(game:GetService("Workspace").FloatingIslands:GetDescendants()) do
  84.             if v.Name == "Chest" and v.ClassName == "Model" then
  85.                 f["FireServer"](f, "TeleportToCheckpoint", v.Parent.Name)
  86.                 wait(0.25)
  87.                 repeat
  88.                     f["FireServer"](f, "CollectChestReward", v.Parent.Name)
  89.                     wait()
  90.                 until v.Regen.Enabled == true
  91.                 wait(0.25)
  92.             end
  93.         end
  94.     end)
  95.     misc:Section("Misc")
  96.     local cccc = require(game:GetService("ReplicatedStorage").Assets.Modules.EggService)
  97.     repeat
  98.         wait()
  99.         cccc = require(game:GetService("ReplicatedStorage").Assets.Modules.EggService)
  100.     until cccc ~= nil
  101.     local hat1 = cccc.HatchEgg
  102.     local hat3 = cccc.MultiHatchEgg
  103.     misc:Toggle('Skip Animation', {flag = "soa"},function(gh)
  104.         cccc.HatchEgg = (gh == true and function()end or hat1)
  105.         cccc.MultiHatchEgg = (gh == true and function()end or hat3)
  106.     end)
  107.    
  108.     local eggtps = {}
  109.     local eggsnames = {}
  110.     local egginfo = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.EggModule)
  111.     local crateinfo = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.CrateModule)
  112.     for i,d in pairs(require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.EggModule)) do
  113.         if game.Workspace.Eggs:FindFirstChild(i) then
  114.             eggtps[i] = game.Workspace.Eggs[i].Hotkey
  115.         end
  116.         table.insert(eggsnames, i)
  117.     end
  118.     for i,d in pairs(require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.CrateModule)) do
  119.         if game.Workspace.Eggs:FindFirstChild(i) then
  120.             eggtps[i] = game.Workspace.Eggs[i].Hotkey
  121.         end
  122.         table.insert(eggsnames, i)
  123.     end
  124.     local function ownsgamepass(userid,gamepassid)
  125.         local mar = game:GetService"MarketplaceService"
  126.         local s,res = pcall(mar.UserOwnsGamePassAsync,mar,userid,gamepassid)
  127.         if not s then
  128.             res = false
  129.         end
  130.         return res
  131.     end
  132.    
  133.     local triple = ownsgamepass(game.Players.LocalPlayer.UserId, 5502695)
  134.     eggs:Section("Open Eggs / Crates")
  135.     eggs:SearchBox("Egg", {
  136.         location = eggs.flags,
  137.         flag = "egg",
  138.         list = eggsnames
  139.      }, function()end)
  140.    
  141.     eggs:Toggle('Buy Eggs', {flag = "eggs"})
  142.     if triple then
  143.         eggs:Toggle('Buy Eggs (3x)', {flag = "three"})
  144.     end
  145.     eggs:Section("Delete Pets")
  146.     for i,d in pairs(raritys) do
  147.         eggs:Toggle('Delete '..i, {flag = tostring(i)})
  148.     end
  149.     hats:Section("Delete Hats")
  150.     for i,d in pairs(raritys) do
  151.         hats:Toggle('Delete '..i, {flag = tostring(i)})
  152.     end
  153.     hats:Toggle('Delete Easy Legendary',{flag = 'easyleg'})
  154.     eggs:Toggle('Delete Easy Legendary',{flag = 'easyleg'})
  155.     eggs:Section("Upgrade Pets")
  156.    
  157.     eggs:Toggle('Make Pets Shiny', {flag = "shiny"})
  158.    
  159.     eggs:Toggle('Enchant Pets', {flag = "upgrade"})
  160.  
  161.     local sell = false
  162.    
  163.     function toTarget(pos, targetPos, targetCFrame)
  164.         local tween_s = game:service"TweenService"
  165.         local info = TweenInfo.new((targetPos - pos).Magnitude/80, Enum.EasingStyle.Quad)
  166.         local tic_k = tick()
  167.         local tween, err = pcall(function()
  168.             local tween = tween_s:Create(plr.Character["HumanoidRootPart"], info, {CFrame = targetCFrame})
  169.             tween:Play()
  170.         end)
  171.         if not tween then return err end
  172.     end
  173.     spawn(function()
  174.         while wait() do
  175.             if eggs.flags.eggs == true or eggs.flags.three == true then
  176.                 if eggs.flags.egg ~= nil then
  177.                     if (egginfo[eggs.flags.egg] or crateinfo[eggs.flags.egg]) then
  178.                     local cost = (egginfo[eggs.flags.egg] or crateinfo[eggs.flags.egg]).Cost
  179.                     local e = 0
  180.                     e = cost[2]
  181.                     if eggs.flags.three then
  182.                         e = e * 3
  183.                     end
  184.                     if currencys[cost[1]] and sell ~= true then
  185.                     if currencys[cost[1]].Value >= e then
  186.                         canafford = true
  187.                     if eggtps[eggs.flags.egg] then
  188.                         if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  189.                             if (eggtps[eggs.flags.egg].Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude > 10 then
  190.                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X,eggtps[eggs.flags.egg].Position.Y,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z)
  191.                                 toTarget(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,eggtps[eggs.flags.egg].Position,eggtps[eggs.flags.egg].CFrame)
  192.                             else
  193.                                 if eggs.flags.three == true then
  194.                                     f["FireServer"](f, "PurchaseEgg",eggs.flags.egg, 'Multi')
  195.                                 else
  196.                                     f["FireServer"](f, "PurchaseEgg",eggs.flags.egg)
  197.                                 end
  198.                             end
  199.                         end
  200.                     end
  201.                     else
  202.                         canafford = false
  203.                     end
  204.                     else
  205.                         canafford = false
  206.                     end
  207.                 else
  208.                     canafford = false
  209.                 end
  210.                 else
  211.                     canafford = false
  212.                 end
  213.             else
  214.                 canafford = false
  215.             end
  216.         end
  217.     end)
  218.     farm:Section("Farm")
  219.     farm:Toggle('Auto-Bubble Blow', {flag = 'Bubble'})
  220.    
  221.    
  222.     farm:Toggle('Auto-Sell', {flag = 'Sell'})
  223.    
  224.     farm:Box('Radius', {
  225.         flag = "Rad",
  226.         type = 'number'
  227.     })
  228.    
  229.     farm:Toggle("Farm Drops", {flag = 'Drops'})
  230.     farm:Section("Minigames")
  231.     farm:Toggle('Auto-Guess Pet', {flag = 'Guess'})
  232.    
  233.     farm:Toggle('Friendly mode', {flag = 'Friendly'})
  234.    
  235.     farm:Toggle('Spin To Win', {flag = 'spt'})
  236.  
  237.     farm:Toggle('Win Doggo', {flag = 'dog'})
  238.    
  239.     farm:Credits()
  240.    
  241.     spawn(function()
  242.         while wait(.1) do
  243.             if farm.flags.spt then
  244.                 f['FireServer'](f,'SpinToWin')
  245.             end
  246.         end
  247.     end)
  248.  
  249.     spawn(function()
  250.         while wait(.1) do
  251.             if farm.flags.dog then
  252.                 f:FireServer("DoggyJumpWin", 4)
  253.             end
  254.         end
  255.     end)
  256.    
  257.     spawn(function()
  258.         while wait(.1) do
  259.             if farm.flags.Bubble then
  260.                 if f then
  261.                     f['FireServer'](f,'BlowBubble')
  262.                 else
  263.                     f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  264.                 end
  265.             end
  266.         end
  267.     end)
  268.    
  269.     spawn(function()
  270.         while wait(.1) do
  271.             if farm.flags.Sell then
  272.                 local a = string.split(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:WaitForChild("StatsFrame").Bubble.Amount.Text,'/')
  273.                 if a[1] == a[2] then
  274.                     sell = true
  275.                     f['FireServer'](f,"Teleport","Sell")
  276.                     wait(.1)
  277.                     f['FireServer'](f,'Sell')
  278.                 else
  279.                     sell = false
  280.                 end
  281.             end
  282.         end
  283.     end)
  284.    
  285.    
  286.     game:GetService("Workspace").GuessThatPet.GuessThatPetBoard.SurfaceGui.Frame.Main.Pet.Changed:Connect(function ()
  287.         if farm.flags.Guess then
  288.             for i,d in pairs(pets) do
  289.                 if d == game:GetService("Workspace").GuessThatPet.GuessThatPetBoard.SurfaceGui.Frame.Main.Pet.Image then
  290.                     if farm.flags.Friendly then
  291.                         game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(i, "All")
  292.                     end
  293.                     game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(i, "All")
  294.                 end
  295.             end
  296.         end
  297.     end)
  298.    
  299.    
  300.    
  301.    
  302.     local range = 100
  303.    
  304.     local plr = game.Players.LocalPlayer
  305.     local char = plr.Character
  306.     local root = char.HumanoidRootPart
  307.    
  308.     function toTarget(pos, targetPos, targetCFrame)
  309.           local tween, err = pcall(function()local tween = game:service"TweenService":Create(plr.Character["HumanoidRootPart"], TweenInfo.new((targetPos - pos).Magnitude/50, Enum.EasingStyle.Quad), {CFrame = targetCFrame})tween:Play()end)
  310.           if not tween then return err end
  311.     end
  312.    
  313.     --game:GetService('RunService').Stepped:connect(function()
  314.     --    if farm.flags.Drops then
  315.     --        game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  316.     --    end
  317.     --end)
  318.     local target = nil
  319.     spawn(function ()
  320.     while wait() do
  321.         if farm.flags.Drops or target and not sell then
  322.             game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  323.         end
  324.     end
  325.     end)
  326.    
  327.     spawn(function()
  328.     while wait(.2) do
  329.         if farm.flags.Drops then
  330.             local closest = nil
  331.             local dis = math.huge
  332.         for i , v in pairs(game.Workspace.Pickups:GetChildren()) do
  333.             range = farm.flags.Rad
  334.             if tonumber(range) ~= nil then
  335.                 if v:FindFirstChild('TouchInterest') and (root.Position-v.Position).magnitude <= tonumber(range) and (root.Position-v.Position).magnitude < dis and farm.flags.Drops and canafford ~= true and sell ~= true then
  336.                     --root.CFrame = CFrame.new(root.CFrame.X,v.CFrame.Y,root.CFrame.Z)
  337.                     closest = v
  338.                     dis = (root.Position-v.Position).magnitude
  339.                 end
  340.             end
  341.         end
  342.         if closest ~= nil and (target == nil or target.Parent == nil) then
  343.             local dis = closest.CFrame.Y - root.CFrame.Y
  344.             if dis < (closest.Size.Y * -1) or dis > closest.Size.Y then
  345.                 root.CFrame = CFrame.new(root.CFrame.X,closest.CFrame.Y + 2,root.CFrame.Z)
  346.             end
  347.             toTarget(root.Position,closest.Position + Vector3.new(0,2,0),closest.CFrame + Vector3.new(0,2,0))
  348.         end
  349.         end
  350.     end
  351.     end)
  352.    
  353.     local Module = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.GuiService-- your module here
  354.     local gg = require(Module)
  355.    
  356.    
  357.    
  358.    
  359.     local function GetRarity(name)
  360.         local entry = petlist[name]
  361.         if entry ~= nil then
  362.             return petlist[name]['Rarity']
  363.         else
  364.             return "error"
  365.         end
  366.     end
  367.    
  368.     local function HGetRarity(name)
  369.         local entry = hatlist[name]
  370.         if entry ~= nil then
  371.             return hatlist[name]['Rarity']
  372.         else
  373.             return "error"
  374.         end
  375.     end
  376.    
  377.     local function Delete(Id)
  378.         f['FireServer'](f,'DeletePet',Id)
  379.     end
  380.     local function HDelete(Id)
  381.         f['FireServer'](f,'DeleteHat',Id)
  382.     end
  383.     repeat wait() until typeof(gg.TryShowPetsFrame) == "function"
  384.     local get = debug.getupvalues(require(Module).TryShowPetsFrame)[4]["PetsFrame"]
  385.     spawn(function()
  386.         while wait(30) do
  387.             if eggs.flags.upgrade then
  388.                 for i = 0 , 50 , 1 do
  389.                     f["FireServer"](f, "EnchantPet", id)
  390.                 end
  391.             end
  392.         end
  393.     end)
  394.     local Eggs = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.EggModule)
  395.     local Crates = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.CrateModule)
  396.     local EasyLeg = {}
  397.     for i , v in pairs(Eggs) do
  398.         for i , v in pairs(v.Rarities) do
  399.             if GetRarity(v[1]) == 'Legendary' and v[2] >= 0.1 then
  400.                 table.insert(EasyLeg,v[1])
  401.             end
  402.         end
  403.     end
  404.     local HEasyLeg = {}
  405.     for i , v in pairs(Crates) do
  406.         for i , v in pairs(v.Rarities) do
  407.             if GetRarity(v[1]) == 'Legendary' and v[2] >= 0.1 then
  408.                 table.insert(HEasyLeg,v[1])
  409.             end
  410.         end
  411.     end
  412.     local pn = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["PETS"]
  413.     local hn = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["HATS"]
  414.     spawn(function()
  415.         while wait(0.1) do
  416.             local cp = {}
  417.             local dfg = {}
  418.             local a = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.GuiService
  419.             local e = f:InvokeServer("GetPlayerData")
  420.             for i,d in pairs(e[pn]) do
  421.                 local id = d[1]
  422.                 local name = d[2]
  423.                 local rarity = GetRarity(name)
  424.                 local deleted = false
  425.                 if eggs.flags[rarity] == true then
  426.                     Delete(id)
  427.                     deleted = true
  428.                 elseif eggs.flags.easyleg then
  429.                     for i , v in pairs(EasyLeg) do
  430.                         if v == name then
  431.                             Delete(id)
  432.                             deleted = true
  433.                         end
  434.                     end
  435.                 end
  436.                 if eggs.flags.shiny and deleted == false then
  437.                     if d[8] == false then
  438.                         cp[name] = (cp[name] or 0) + 1
  439.                         if cp[name] >= 10 then
  440.                             cp[name] = 0
  441.                             f:FireServer("MakePetShiny", id)
  442.                         end
  443.                     end
  444.                 end
  445.             end
  446.             for i,d in pairs(e[hn]) do
  447.                 local id = d[1]
  448.                 local name = d[2]
  449.                 local rarity = HGetRarity(name)
  450.                 if hats.flags[rarity] == true then
  451.                     HDelete(id)
  452.                 elseif hats.flags.easyleg then
  453.                     for i , v in pairs(HEasyLeg) do
  454.                         if v == name then
  455.                             HDelete(id)
  456.                         end
  457.                     end
  458.                 end
  459.             end
  460.         end
  461.     end)
  462. end
  463.  
  464. if game.PlaceVersion > LatestSupportedVersion then
  465.  
  466.     function RandomVariable(length)
  467.         local res = ""
  468.         for i = 1, length do
  469.             res = res .. string.char(math.random(97, 122))
  470.         end
  471.         return res
  472.     end
  473.  
  474.     local ScreenGui = Instance.new("ScreenGui")
  475.     local Frame = Instance.new("Frame")
  476.     local TextLabel = Instance.new("TextLabel")
  477.     local TextLabel_2 = Instance.new("TextLabel")
  478.     local TextLabel_3 = Instance.new("TextLabel")
  479.     local Yes = Instance.new("TextButton")
  480.     local No = Instance.new("TextButton")
  481.  
  482.     ScreenGui.Parent = game.CoreGui
  483.     ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  484.     ScreenGui.Name = RandomVariable(math.random(3,20))
  485.  
  486.     Frame.Parent = ScreenGui
  487.     Frame.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  488.     Frame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  489.     Frame.Position = UDim2.new(0.5, 0, 0.5, 0)
  490.     Frame.Size = UDim2.new(0, 400, 0, 250)
  491.     Frame.AnchorPoint = Vector2.new(0.5,0.5)
  492.     Frame.Name = RandomVariable(math.random(3,20))
  493.  
  494.     TextLabel.Parent = Frame
  495.     TextLabel.BackgroundColor3 = Color3.fromRGB(48, 75, 94)
  496.     TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  497.     TextLabel.Position = UDim2.new(0, 0, 0.0480000004, 0)
  498.     TextLabel.Size = UDim2.new(1, 0, 0, 50)
  499.     TextLabel.Font = Enum.Font.SourceSans
  500.     TextLabel.Text = "Warning!"
  501.     TextLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  502.     TextLabel.TextScaled = true
  503.     TextLabel.TextSize = 14.000
  504.     TextLabel.TextWrapped = true
  505.     TextLabel.Name = RandomVariable(math.random(3,20))
  506.  
  507.     TextLabel_2.Parent = Frame
  508.     TextLabel_2.BackgroundColor3 = Color3.fromRGB(48, 75, 94)
  509.     TextLabel_2.BackgroundTransparency = 1.000
  510.     TextLabel_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  511.     TextLabel_2.Position = UDim2.new(0, 0, 0.280000001, 0)
  512.     TextLabel_2.Size = UDim2.new(1, 0, 0.159999996, 50)
  513.     TextLabel_2.Font = Enum.Font.SourceSans
  514.     TextLabel_2.Text = "The script detected that the game has been updated and it wasnt tested on the newest version, you can still execute it on you own risk which can cause your account in getting banned if the anticheat was updated!"
  515.     TextLabel_2.TextColor3 = Color3.fromRGB(255, 0, 0)
  516.     TextLabel_2.TextSize = 20.000
  517.     TextLabel_2.TextWrapped = true
  518.     TextLabel_2.Name = RandomVariable(math.random(3,20))
  519.  
  520.     TextLabel_3.Parent = Frame
  521.     TextLabel_3.BackgroundColor3 = Color3.fromRGB(48, 75, 94)
  522.     TextLabel_3.BorderColor3 = Color3.fromRGB(27, 42, 53)
  523.     TextLabel_3.Position = UDim2.new(0, 0, 0.700000048, 0)
  524.     TextLabel_3.Size = UDim2.new(1, 0, -0.0879999995, 50)
  525.     TextLabel_3.Font = Enum.Font.SourceSans
  526.     TextLabel_3.Text = "Execute?"
  527.     TextLabel_3.TextColor3 = Color3.fromRGB(255, 0, 0)
  528.     TextLabel_3.TextSize = 28.000
  529.     TextLabel_3.TextWrapped = true
  530.     TextLabel_3.Name = RandomVariable(math.random(3,20))
  531.  
  532.     Yes.Name = RandomVariable(math.random(3,20))
  533.     Yes.Parent = Frame
  534.     Yes.BackgroundColor3 = Color3.fromRGB(68, 107, 134)
  535.     Yes.BorderColor3 = Color3.fromRGB(27, 42, 53)
  536.     Yes.Position = UDim2.new(0.100000001, 0, 0.864000022, 0)
  537.     Yes.Size = UDim2.new(0, 140, 0, 25)
  538.     Yes.Font = Enum.Font.SourceSansBold
  539.     Yes.Text = "Yes"
  540.     Yes.TextColor3 = Color3.fromRGB(255, 0, 4)
  541.     Yes.TextScaled = true
  542.     Yes.TextSize = 14.000
  543.     Yes.TextWrapped = true
  544.  
  545.     No.Name = RandomVariable(math.random(3,20))
  546.     No.Parent = Frame
  547.     No.BackgroundColor3 = Color3.fromRGB(68, 107, 134)
  548.     No.BorderColor3 = Color3.fromRGB(27, 42, 53)
  549.     No.Position = UDim2.new(0.550000012, 0, 0.864000022, 0)
  550.     No.Size = UDim2.new(0, 140, 0, 25)
  551.     No.Font = Enum.Font.SourceSansBold
  552.     No.Text = "No"
  553.     No.TextColor3 = Color3.fromRGB(17, 255, 0)
  554.     No.TextScaled = true
  555.     No.TextSize = 14.000
  556.     No.TextWrapped = true
  557.  
  558.     No.MouseButton1Click:Connect(function()
  559.         ScreenGui:Destroy()
  560.     end)
  561.  
  562.     Yes.MouseButton1Click:Connect(function()
  563.         ScreenGui:Destroy()
  564.         scr()
  565.     end)
  566. else
  567.     scr()
  568. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement