Advertisement
Guest User

unboxing simulator autofarm

a guest
Feb 16th, 2020
1,021
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. - Instances:
  2. local scrgui = Instance.new("ScreenGui")
  3. local main = Instance.new("Frame")
  4. local header = Instance.new("Frame")
  5. local headertxt = Instance.new("TextLabel")
  6. local downheader = Instance.new("Frame")
  7. local b_farm = Instance.new("TextButton")
  8. local status = Instance.new("TextLabel")
  9. local TextLabel = Instance.new("TextLabel")
  10. local exi = Instance.new("TextButton")
  11. --Properties:
  12. scrgui.Name = "scrgui"
  13. scrgui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14. scrgui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15. scrgui.ResetOnSpawn = false
  16.  
  17. main.Name = "main"
  18. main.Parent = scrgui
  19. main.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  20. main.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  21. main.BorderSizePixel = 5
  22. main.Position = UDim2.new(0.0311926659, 0, 0.409090906, 0)
  23. main.Size = UDim2.new(0, 325, 0, 350)
  24. main.Active = true
  25. main.Draggable = true
  26.  
  27. header.Name = "header"
  28. header.Parent = main
  29. header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  30. header.BorderSizePixel = 0
  31. header.Position = UDim2.new(-0.000710683991, 0, 0, 0)
  32. header.Size = UDim2.new(0, 325, 0, 48)
  33.  
  34. headertxt.Name = "headertxt"
  35. headertxt.Parent = header
  36. headertxt.BackgroundColor3 = Color3.new(1, 1, 1)
  37. headertxt.BackgroundTransparency = 1
  38. headertxt.Size = UDim2.new(0, 277, 0, 48)
  39. headertxt.Font = Enum.Font.Cartoon
  40. headertxt.Text = "Unboxing Simulator GUI"
  41. headertxt.TextColor3 = Color3.new(0.0784314, 1, 0.470588)
  42. headertxt.TextScaled = true
  43. headertxt.TextSize = 14
  44. headertxt.TextWrapped = true
  45.  
  46. downheader.Name = "downheader"
  47. downheader.Parent = main
  48. downheader.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  49. downheader.BorderSizePixel = 0
  50. downheader.Position = UDim2.new(-0.000817120075, 0, 0.914285719, 0)
  51. downheader.Size = UDim2.new(0, 325, 0, 30)
  52.  
  53. b_farm.Name = "b_farm"
  54. b_farm.Parent = main
  55. b_farm.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  56. b_farm.BorderSizePixel = 0
  57. b_farm.Position = UDim2.new(0.190769225, 0, 0.314285696, 0)
  58. b_farm.Size = UDim2.new(0, 200, 0, 50)
  59. b_farm.Font = Enum.Font.Cartoon
  60. b_farm.Text = "AutoFarm"
  61. b_farm.TextColor3 = Color3.new(0.784314, 0.0392157, 0.705882)
  62. b_farm.TextScaled = true
  63. b_farm.TextSize = 14
  64. b_farm.TextWrapped = true
  65.  
  66. status.Name = "status"
  67. status.Parent = main
  68. status.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  69. status.BorderSizePixel = 0
  70. status.Position = UDim2.new(0.190769225, 0, 0.54285717, 0)
  71. status.Size = UDim2.new(0, 200, 0, 50)
  72. status.Font = Enum.Font.Cartoon
  73. status.Text = "Status : Off"
  74. status.TextColor3 = Color3.new(1, 0, 0)
  75. status.TextScaled = true
  76. status.TextSize = 14
  77. status.TextWrapped = true
  78.  
  79. TextLabel.Parent = main
  80. TextLabel.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  81. TextLabel.BorderSizePixel = 0
  82. TextLabel.Position = UDim2.new(0, 0, 0.914285719, 0)
  83. TextLabel.Size = UDim2.new(0, 325, 0, 30)
  84. TextLabel.Font = Enum.Font.Cartoon
  85. TextLabel.Text = "Credits : Speedo#4325"
  86. TextLabel.TextColor3 = Color3.new(1, 1, 0)
  87. TextLabel.TextScaled = true
  88. TextLabel.TextSize = 14
  89. TextLabel.TextWrapped = true
  90.  
  91. exi.Name = "exi"
  92. exi.Parent = main
  93. exi.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  94. exi.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  95. exi.BorderSizePixel = 0
  96. exi.Position = UDim2.new(0.851597071, 0, 0, 0)
  97. exi.Size = UDim2.new(0, 48, 0, 48)
  98. exi.Font = Enum.Font.Cartoon
  99. exi.Text = "X"
  100. exi.TextColor3 = Color3.new(1, 0, 0)
  101. exi.TextScaled = true
  102. exi.TextSize = 14
  103. exi.TextWrapped = true
  104. -- Scripts:
  105. _G.Enabled = true
  106.  
  107. b_farm.MouseButton1Down:connect(function()
  108. if _G.Enabled == true then
  109. _G.Enabled = false
  110. status.Text = "Status : On"
  111. status.TextColor3 = Color3.new(0,255,0)
  112. ---------------------------------------------------------|
  113. while wait(10) do
  114.  
  115.  
  116. for _,v in pairs(game.workspace.Chests:GetChildren()) do
  117.  
  118. local remote = game.ReplicatedStorage.Aero.AeroRemoteServices.ChestService['DisconnectPlayer']
  119.  
  120. local ID1 = v.Name
  121.  
  122. remote:FireServer(ID1)
  123.  
  124. end
  125.  
  126.  
  127. end
  128. ---------------------------------------------------------|
  129. elseif _G.Enabled == false then
  130. _G.Enabled = true
  131. status.Text = "Status : Off"
  132. status.TextColor3 = Color3.new(255,0,0)
  133. end
  134. end)
  135.  
  136.  
  137. -- penis btw
  138. exi.MouseButton1Down:connect(function()
  139. scrgui:Destroy()
  140. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement