pizzaloiopo

Fixed Case Clicker Auto Open/Sell GUI

Jul 18th, 2018
3,883
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. local
  2. function a_a() VIRGO = Instance.new("ScreenGui")
  3. Draggable = Instance.new("Frame") GuiLabel = Instance.new("TextLabel")
  4. MinimizeButton = Instance.new("TextButton") ScrollingFrame = Instance.new("ScrollingFrame")
  5. VIRGO.Name = "VIRGO"
  6. VIRGO.Parent = game: service 'CoreGui'
  7. Draggable.Name = "Draggable"
  8. Draggable.Parent = VIRGO;
  9. Draggable.Active = true
  10. Draggable.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) Draggable.BorderSizePixel = 0;
  11. Draggable.Draggable = true
  12. Draggable.Position = UDim2.new(0, 100, 0, 100) Draggable.Size = UDim2.new(0, 300, 0, 25)
  13. GuiLabel.Name = "GuiLabel"
  14. GuiLabel.Parent = Draggable
  15. GuiLabel.BackgroundColor3 = Color3.new(1, 1, 1) GuiLabel.BackgroundTransparency = 1;
  16. GuiLabel.BorderSizePixel = 0
  17. GuiLabel.Position = UDim2.new(0, 5, 0, 0) GuiLabel.Size = UDim2.new(0, 295, 0, 25)
  18. GuiLabel.Font = Enum.Font.SourceSans;
  19. GuiLabel.Text = "ClassyInori | boop"
  20. GuiLabel.TextColor3 = Color3.new(1, 1, 1) GuiLabel.TextSize = 18
  21. GuiLabel.TextXAlignment = Enum.TextXAlignment.Left;
  22. MinimizeButton.Name = "MinimizeButton"
  23. MinimizeButton.Parent = Draggable
  24. MinimizeButton.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078) MinimizeButton.BorderSizePixel = 0
  25. MinimizeButton.Position = UDim2.new(0, 275, 0, 0) MinimizeButton.Size = UDim2.new(0, 25, 0, 25)
  26. MinimizeButton.Font = Enum.Font.SourceSans;
  27. MinimizeButton.Text = "--"
  28. MinimizeButton.TextColor3 = Color3.new(1, 1, 1) MinimizeButton.TextSize = 20;
  29. color = 50
  30. ScrollingFrame.Parent = Draggable
  31. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(color, color, color) ScrollingFrame.BorderSizePixel = 0
  32. ScrollingFrame.Position = UDim2.new(0, 0, 0, 25) ScrollingFrame.Size = UDim2.new(0, 300, 0, 0)
  33. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) ScrollingFrame.ScrollBarThickness = 10;
  34. ScrollingFrame.Active = true
  35. ScrollingFrame.ClipsDescendants = true end;
  36. a_a()
  37. spawn(function() repeat wait() for h = 0, 1, 1 / 300 do wait() for a_b, b_b in next, VIRGO: GetDescendants() do
  38. pcall(function() b_b.TextColor3 = Color3.fromHSV(h, 1, 1) end) end end until nil end) local b_a = 200;
  39. local c_a = 20
  40. if b_a % c_a > 0 then error 'Your math is a bit fucked up.'
  41. end;
  42. local d_a = 290;
  43. local _aa = {}
  44. local aaa = {}
  45. local baa = 0
  46. local
  47. function caa(a_b, b_b, c_b)
  48. local d_b = Instance.new("TextButton", ScrollingFrame) d_b.Name = a_b;
  49. d_b.Text = b_b;
  50. d_b.Size = UDim2.new(0, d_a, 0, c_a)
  51. d_b.Position = UDim2.new(0, 0, 0, ScrollingFrame.CanvasSize.Y.Offset) if ScrollingFrame.Size.Y.Offset < b_a then ScrollingFrame.Size =
  52. ScrollingFrame.Size + UDim2.new(0, 0, 0, c_a)
  53. baa = ScrollingFrame.Size.Y.Offset end
  54. ScrollingFrame.CanvasSize =
  55. ScrollingFrame.CanvasSize + UDim2.new(0, 0, 0, c_a) d_b.BorderSizePixel = 0
  56. d_b.BackgroundColor3 = ScrollingFrame.BackgroundColor3;
  57. d_b.TextSize = 16;
  58. d_b.Font = Enum.Font.SourceSans
  59. d_b.TextColor3 = Color3.new(1, 1, 1) d_b.TextXAlignment = Enum.TextXAlignment.Left
  60. d_b.MouseButton1Click: Connect(c_b) _aa[a_b] = d_b;
  61. return d_b end
  62. local
  63. function daa(a_b, b_b, c_b)
  64. if _aa[c_b] then local d_b = _aa[c_b] d_b.Size = UDim2.new(0, d_a / 2, 0, c_a)
  65. local _ab = Instance.new("TextBox", ScrollingFrame) _ab.Name = a_b;
  66. _ab.Text = b_b;
  67. _ab.BorderSizePixel = 0;
  68. _ab.BackgroundColor3 = Color3.fromRGB(color - 5,
  69. color - 5, color - 5)
  70. _ab.TextSize = 16;
  71. _ab.Font = Enum.Font.SourceSans
  72. _ab.TextColor3 = Color3.new(1, 1, 1) _ab.TextXAlignment = Enum.TextXAlignment.Left
  73. _ab.Size = UDim2.new(0, d_a / 2, 0, c_a)
  74. _ab.Position = d_b.Position + UDim2.new(0, d_a / 2, 0, 0) aaa[a_b] = _ab;
  75. return _ab end end
  76. local
  77. function _ba()
  78. if ScrollingFrame.Size == UDim2.new(0, 300, 0, 0) then
  79. MinimizeButton.Text = "--"
  80. ScrollingFrame: TweenSize(UDim2.new(0, 300, 0, baa)) ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, baa) elseif
  81. ScrollingFrame.Size == UDim2.new(0, 300, 0, baa) then MinimizeButton.Text = "++"
  82. ScrollingFrame: TweenSize(UDim2.new(0, 300, 0, 0)) ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) end end
  83. MinimizeButton.MouseButton1Click: Connect(_ba) local aba = getreg or debug.getregistry or nil;
  84. local bba = secret953 or
  85. debug.getupvalues or nil;
  86. local cba =
  87. secret500 or debug.setupvalue or nil
  88. for a_b, b_b in next, aba() do
  89. if type(b_b) == "function"
  90. then
  91. local c_b = bba(b_b)
  92. if not spin and c_b and c_b.spin then getgenv().spin = c_b.spin elseif
  93. not sell and c_b and c_b.sell and c_b.sell: IsA 'RemoteEvent'
  94. then
  95. getgenv().sell = c_b.sell elseif not gettickets and c_b and c_b.getTickets and
  96. c_b.getTickets: IsA 'RemoteFunction'
  97. then
  98. getgenv().gettickets = c_b.getTickets end end end;
  99. warn(spin, sell, gettickets)
  100. print("If there are any 'nil's in the above message something went wrong.") local dba = {
  101. ["M"] = 1000000
  102. }
  103. local
  104. function _ca()
  105. local a_b = game: service 'Players'.LocalPlayer.PlayerGui["Game GUI"]["New Theme"].Menu.BottomBar.Currency.Bux.Text
  106. if tonumber(a_b) then
  107. return tonumber(a_b)
  108. else a_b = a_b: gsub("%,", "") for b_b, c_b in next, dba do
  109. if
  110. a_b: find(b_b) then a_b = a_b: gsub("%"..b_b, "") a_b = a_b * c_b;
  111. if tonumber(a_b) then
  112. return
  113. tonumber(a_b) end end end;
  114. if
  115. tonumber(a_b) then
  116. return tonumber(a_b) end end;
  117. return math.huge end
  118. local aca = {
  119. ["Common"] = 1500, ["Uncommon"] = 7500, ["Rare"] = 37000, ["Epic"] = 360000, ["Legendary"] = 1500000, ["Mystic"] = 3500000, ["Amethyst"] = 8000000, ["God"] = 20000000
  120. }
  121. local
  122. function bca() local a_b = _ca() local b_b = 0;
  123. local c_b = ""
  124. for d_b, _ab in next, aca do
  125. if a_b >= _ab and _ab > b_b then c_b = d_b;
  126. b_b = _ab end end;
  127. return c_b end
  128. local
  129. function cca()
  130. local a_b = game: service 'Players'.LocalPlayer.PlayerGui["Game GUI"]["New Theme"]["Menu Frames"].Upgrades.List.MultipleCases.Title.Text;
  131. local b_b, c_b = a_b: find('%(') local d_b, _ab = a_b: find('%)')
  132. local aab = a_b: sub(b_b + 1, d_b - 1) return aab end
  133. local
  134. function dca() local a_b, b_b = gettickets: InvokeServer()
  135. a_b, b_b = tonumber(a_b), tonumber(b_b) if a_b and a_b > 0 and b_b then
  136. return true
  137. else return false end end;
  138. local _da = false
  139. local ada = caa("AutoOpenButton", "AutoOpen", function() _da = not _da;
  140. if _da then spawn(function() repeat wait() spin(bca(), cca()) until not _da end) end end) local bda = false;
  141. local cda = {
  142. Text = {}
  143. }
  144. local dda = 0
  145. local __b = caa("AutoSellButton", "AutoSell", function() bda = not bda; local a_b = cda.Text;
  146. if tonumber(a_b) then dda = tonumber(a_b)
  147. else dda = 0 end;
  148. if bda then spawn(function() repeat wait(dda) sell: FireServer(math.huge) until not bda end) end end)
  149. cda = daa("AutoSellBox", "Delay (put 0 for no delay)", "AutoSellButton")
  150. spawn(function() repeat wait() ada.Text = "AutoOpen | "..tostring(_da): upper()..
  151. " | "..tostring(bca()): upper() __b.Text = "AutoSell | "..tostring(bda): upper()..
  152. " | "..tostring(dda) until nil end)
Advertisement
Add Comment
Please, Sign In to add comment