Scriptorz5

limited sim auto

Jun 19th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.11 KB | None | 0 0
  1. -- Objects
  2.  
  3. local LimitedSimulatoz = Instance.new("ScreenGui")
  4. local CRETS = Instance.new("Frame")
  5. local CREDS = Instance.new("TextLabel")
  6. local NOON = Instance.new("TextButton")
  7. local AUTOFARM = Instance.new("TextButton")
  8. local trashGUI = Instance.new("Frame")
  9. local ITEM = Instance.new("TextBox")
  10. local VALUE = Instance.new("TextButton")
  11. local ITEMVAL = Instance.new("TextBox")
  12. local X = Instance.new("TextButton")
  13.  
  14. -- Properties
  15.  
  16. LimitedSimulatoz.Name = "LimitedSimulatoz"
  17. LimitedSimulatoz.Parent = game.Players.LocalPlayer.PlayerGui
  18.  
  19. CRETS.Name = "CRETS"
  20. CRETS.Parent = LimitedSimulatoz
  21. CRETS.BackgroundColor3 = Color3.new(1, 1, 1)
  22. CRETS.Position = UDim2.new(0.296495944, 0, 0.214285716, 0)
  23. CRETS.Size = UDim2.new(0, 259, 0, 202)
  24. CRETS.Visible = true
  25.  
  26. CREDS.Name = "CREDS"
  27. CREDS.Parent = CRETS
  28. CREDS.BackgroundColor3 = Color3.new(1, 1, 1)
  29. CREDS.Size = UDim2.new(0, 259, 0, 151)
  30. CREDS.Font = Enum.Font.SourceSans
  31. CREDS.Text = "GUI : hitherenoob3637 - v3rmillion Script For VALUE CHANGING : Sajad999999 - V3rmillion"
  32. CREDS.TextColor3 = Color3.new(0, 0, 0)
  33. CREDS.TextScaled = true
  34. CREDS.TextSize = 14
  35. CREDS.TextWrapped = true
  36.  
  37. NOON.Name = "NOON"
  38. NOON.Parent = CRETS
  39. NOON.BackgroundColor3 = Color3.new(1, 1, 1)
  40. NOON.Position = UDim2.new(0.115830116, 0, 0.787128687, 0)
  41. NOON.Size = UDim2.new(0, 200, 0, 37)
  42. NOON.Font = Enum.Font.SourceSans
  43. NOON.Text = "TAKE ME TO THE DAMN GUI ALREADY!"
  44. NOON.TextColor3 = Color3.new(0, 0, 0)
  45. NOON.TextScaled = true
  46. NOON.TextSize = 14
  47. NOON.TextWrapped = true
  48. NOON.MouseButton1Down:connect(function()
  49. CRETS.Visible = false
  50. trashGUI.Visible = true
  51. end)
  52.  
  53. trashGUI.Name = "trashGUI"
  54. trashGUI.Parent = LimitedSimulatoz
  55. trashGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  56. trashGUI.Position = UDim2.new(0.324797839, 0, 0.156015038, 0)
  57. trashGUI.Size = UDim2.new(0, 284, 0, 235)
  58. trashGUI.Visible = false
  59. trashGUI.Style = Enum.FrameStyle.RobloxRound
  60. trashGUI.Active = true
  61. trashGUI.Draggable = true
  62.  
  63. ITEM.Name = "ITEM"
  64. ITEM.Parent = trashGUI
  65. ITEM.BackgroundColor3 = Color3.new(1, 1, 1)
  66. ITEM.Position = UDim2.new(0.119718313, 0, 0.140425533, 0)
  67. ITEM.Size = UDim2.new(0, 200, 0, 50)
  68. ITEM.Font = Enum.Font.SourceSans
  69. ITEM.Text = "Item here..."
  70. ITEM.TextColor3 = Color3.new(0, 0, 0)
  71. ITEM.TextSize = 14
  72.  
  73. VALUE.Name = "VALUE"
  74. VALUE.Parent = trashGUI
  75. VALUE.BackgroundColor3 = Color3.new(1, 1, 1)
  76. VALUE.Position = UDim2.new(0.119718313, 0, 0.693616986, 0)
  77. VALUE.Size = UDim2.new(0, 200, 0, 50)
  78. VALUE.Style = Enum.ButtonStyle.RobloxRoundButton
  79. VALUE.Font = Enum.Font.SourceSans
  80. VALUE.TextColor3 = Color3.new(0, 0, 0)
  81. VALUE.TextSize = 14
  82. VALUE.Text = "Change Value!"
  83. VALUE.MouseButton1Down:connect(function()
  84. p = game.ReplicatedStorage.Limitteds[game.Players.LocalPlayer.PlayerGui.LimitedSimulatoz.trashGUI.ITEM.Text].Privates:GetChildren()
  85. for i = 1,#p do
  86.  
  87. p[i].Price.Value = game.Players.LocalPlayer.PlayerGui.LimitedSimulatoz.trashGUI.ITEMVAL.Text
  88. end
  89. print("WORKING LIKE HELL!")
  90. end)
  91.  
  92. ITEMVAL.Name = "ITEMVAL"
  93. ITEMVAL.Parent = trashGUI
  94. ITEMVAL.BackgroundColor3 = Color3.new(1, 1, 1)
  95. ITEMVAL.Position = UDim2.new(0.119718313, 0, 0.408510625, 0)
  96. ITEMVAL.Size = UDim2.new(0, 200, 0, 50)
  97. ITEMVAL.Font = Enum.Font.SourceSans
  98. ITEMVAL.Text = "Change item value too..."
  99. ITEMVAL.TextColor3 = Color3.new(0, 0, 0)
  100. ITEMVAL.TextSize = 14
  101.  
  102. X.Name = "X"
  103. X.Parent = trashGUI
  104. X.BackgroundColor3 = Color3.new(1, 1, 1)
  105. X.BackgroundTransparency = 1
  106. X.Position = UDim2.new(0.799295783, 0, -0.195744693, 0)
  107. X.Size = UDim2.new(0, 47, 0, 50)
  108. X.Font = Enum.Font.SourceSans
  109. X.Text = "X"
  110. X.TextColor3 = Color3.new(0, 0, 0)
  111. X.TextScaled = true
  112. X.TextSize = 14
  113. X.TextWrapped = true
  114. X.MouseButton1Down:connect(function()
  115. game.Players.LocalPlayer.PlayerGui.LimitedSimulatoz:remove()
  116. end)
  117.  
  118. AUTOFARM.Name = "AUTOFARM"
  119. AUTOFARM.Parent = trashGUI
  120. AUTOFARM.BackgroundColor3 = Color3.new(1, 1, 1)
  121. AUTOFARM.Position = UDim2.new(0.943661988, 0, 0.378723413, 0)
  122. AUTOFARM.Size = UDim2.new(0, 200, 0, 44)
  123. AUTOFARM.Style = Enum.ButtonStyle.RobloxRoundButton
  124. AUTOFARM.Font = Enum.Font.SourceSans
  125. AUTOFARM.Text = "Auto Farm"
  126. AUTOFARM.TextColor3 = Color3.new(0, 0, 0)
  127. AUTOFARM.TextSize = 14
  128. AUTOFARM.MouseButton1Down:connect(function()
  129. local send = game.ReplicatedStorage:WaitForChild('Items')
  130.  
  131. game.ReplicatedStorage.Limitteds.ChildAdded:connect(function(c)
  132. if c:IsA('Folder') then
  133. local id = c:WaitForChild('AssetID')
  134. local price = c:WaitForChild('Price')
  135. if id and price then
  136. local result
  137. local succ, err = pcall(function()
  138. result = send:InvokeServer(price.Value, id.Value, c.Name, "ash1337")
  139. end)
  140. if succ then
  141. if result then
  142. warn('Failed to buy: ' .. c.Name)
  143. else
  144. warn('Successfully bought: ' .. c.Name)
  145. end
  146.  
  147. else
  148. warn('Ran into an error when trying to buy ' .. c.Name .. ': ' .. err)
  149. end
  150. end
  151. end
  152. end)
  153.  
  154. warn('Auto-buy loaded!')
  155. print("EZO SHARED A GUI AND I FOUND THE SCRIPT WITHIN THE GUI SCRIPT SO CREDITS TO EZO!")
  156. end)
  157.  
  158. print("Working script!")
Add Comment
Please, Sign In to add comment