Advertisement
Soluplayz

Limited Universe GUI V2.

Mar 10th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. --Made by Solu#0382
  2.  
  3. local Item = nil
  4. local Player = game.Players.LocalPlayer
  5. local Price = -2000000000
  6. local mode = "None"
  7.  
  8.  
  9. local ScreenGui = Instance.new("ScreenGui")
  10. ScreenGui.Parent = Player.PlayerGui
  11. ScreenGui.Name = "ItemHack"
  12. local Frame = Instance.new("Frame")
  13. Frame.Parent = ScreenGui
  14. Frame.Size = UDim2.new(0, 400,0,150)
  15. Frame.Position = UDim2.new(0,200,0,185)
  16. Frame.BackgroundColor3 = Color3.new(.188,.188,.188)
  17. Frame.Name = "MainFrame"
  18. Frame.Draggable = true
  19. Frame.Active = true
  20.  
  21. local Title = Instance.new("TextLabel")
  22. Title.Parent = Frame
  23. Title.Text = "Limited Universe GUI"
  24. Title.Font = Enum.Font.SourceSansBold
  25. Title.FontSize = Enum.FontSize.Size24
  26. Title.TextColor3 = Color3.new(255,255,255)
  27. Title.TextStrokeTransparency = .3
  28. Title.Position = UDim2.new(0,100,0,5)
  29. Title.Size = UDim2.new(0,200,0,20)
  30. Title.BackgroundTransparency = 1
  31.  
  32. local Title2 = Instance.new("TextLabel")
  33. Title2.Parent = Frame
  34. Title2.Text = "2B"
  35. Title2.Font = Enum.Font.SourceSansBold
  36. Title2.FontSize = Enum.FontSize.Size24
  37. Title2.TextColor3 = Color3.new(255,255,255)
  38. Title2.TextStrokeTransparency = .3
  39. Title2.Position = UDim2.new(0,20,0,113)
  40. Title2.Size = UDim2.new(0,25,0,20)
  41. Title2.BackgroundTransparency = 1
  42.  
  43. local Title3 = Instance.new("TextLabel")
  44. Title3.Parent = Frame
  45. Title3.Text = "-2B"
  46. Title3.Font = Enum.Font.SourceSansBold
  47. Title3.FontSize = Enum.FontSize.Size24
  48. Title3.TextColor3 = Color3.new(255,255,255)
  49. Title3.TextStrokeTransparency = .3
  50. Title3.Position = UDim2.new(0,135,0,113)
  51. Title3.Size = UDim2.new(0,25,0,20)
  52. Title3.BackgroundTransparency = 1
  53.  
  54.  
  55. local Button2 = Instance.new("TextButton")
  56. Button2.Parent = Frame
  57. Button2.Size = UDim2.new(0,25,0,25)
  58. Button2.Position = UDim2.new(0,50,0,113)
  59. Button2.Text = ""
  60. Button2.BackgroundColor3 = Color3.new(.4,.13,1)
  61. Button2.TextColor3 = Color3.new(255,255,255)
  62. Button2.TextStrokeTransparency = .6
  63. Button2.MouseButton1Down:connect(function()
  64. mode = "2B"
  65.  
  66.  
  67. end)
  68. local Button3 = Instance.new("TextButton")
  69. Button3.Parent = Frame
  70. Button3.Size = UDim2.new(0,25,0,25)
  71. Button3.Position = UDim2.new(0,175,0,110)
  72. Button3.Text = ""
  73. Button3.BackgroundColor3 = Color3.new(.4,.13,1)
  74. Button3.TextColor3 = Color3.new(255,255,255)
  75. Button3.TextStrokeTransparency = .6
  76. Button3.MouseButton1Down:connect(function()
  77. mode = "-2B"
  78.  
  79.  
  80. end)
  81.  
  82. local TextBox = Instance.new("TextBox")
  83. TextBox.Parent = Frame
  84. TextBox.Position = UDim2.new(0,25,0,50)
  85. TextBox.Size = UDim2.new(0,125,0,40)
  86. TextBox.BackgroundColor3 = Color3.new(255,.2,.2)
  87. TextBox.Text = "Enter Item Name Here"
  88. TextBox.TextColor3 = Color3.new(255,255,255)
  89. TextBox.TextStrokeTransparency = .6
  90. TextBox.TextScaled = true
  91. TextBox.TextWrapped = true
  92. TextBox.BackgroundTransparency = .5
  93.  
  94. local Button = Instance.new("TextButton")
  95. Button.Parent = Frame
  96. Button.Size = UDim2.new(0,75,0,40)
  97. Button.Position = UDim2.new(0,155,0,50)
  98. Button.Text = "Change"
  99. Button.BackgroundColor3 = Color3.new(.4,.13,1)
  100. Button.TextColor3 = Color3.new(255,255,255)
  101. Button.TextStrokeTransparency = .6
  102. Button.MouseButton1Down:connect(function()
  103. Item = TextBox.Text
  104. for i_,v in pairs (game.ReplicatedStorage.Limitteds[Item].Privates:GetChildren()) do
  105. if mode == "2B" then
  106. v.Price.Value = 2000000000
  107. elseif mode == "-2B" then
  108. v.Price.Value = -2000000000
  109. end
  110.  
  111. end
  112. end)
  113.  
  114. local Auto = Instance.new("TextButton")
  115. Auto.Size = UDim2.new(0,125,0,40)
  116. Auto.Position = UDim2.new(0,250,0,100)
  117. Auto.BackgroundColor3 = Color3.new(1,.4,.2)
  118. Auto.Parent = Frame
  119. Auto.Text = "Auto Buy"
  120. Auto.Font = Enum.Font.SourceSansBold
  121. Auto.FontSize = Enum.FontSize.Size18
  122. Auto.TextColor3 = Color3.new(255,255,255)
  123. Auto.TextStrokeTransparency = .6
  124. Auto.MouseButton1Down:connect(function()
  125. local send = game.ReplicatedStorage:WaitForChild('Items')
  126.  
  127. game.ReplicatedStorage.Limitteds.ChildAdded:connect(function(c)
  128. if c:IsA('Folder') then
  129. local id = c:WaitForChild('AssetID')
  130. local price = c:WaitForChild('Price')
  131. if id and price then
  132. local result
  133. local succ, err = pcall(function()
  134. result = send:InvokeServer(price.Value, id.Value, c.Name)
  135. end)
  136. if succ then
  137. if result then
  138. warn('Successfully bought: ' .. c.Name)
  139. else
  140. warn('Failed to buy: ' .. c.Name)
  141. end
  142.  
  143. else
  144. warn('Ran into an error when trying to buy ' .. c.Name .. ': ' .. err)
  145. end
  146. end
  147. end
  148. end)
  149.  
  150. warn('Auto-buy loaded!')
  151.  
  152.  
  153. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement