FurkingBoi

Pickaxe Sim

Apr 10th, 2020
1,478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local TextButton_3 = Instance.new("TextButton")
  12. local TextButton_4 = Instance.new("TextButton")
  13. local TextButton_5 = Instance.new("TextButton")
  14. local TextButton_6 = Instance.new("TextButton")
  15. local Frame_2 = Instance.new("Frame")
  16. local TextButton_7 = Instance.new("TextButton")
  17.  
  18. --Properties:
  19.  
  20. ScreenGui.Parent = game.CoreGui
  21.  
  22. Frame.Parent = ScreenGui
  23. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  24. Frame.Position = UDim2.new(0.0788844526, 0, 0.54004848, 0)
  25. Frame.Size = UDim2.new(0, 297, 0, 274)
  26. Frame.Visible = false
  27. Frame.Active = true
  28. Frame.Draggable = true
  29.  
  30. TextLabel.Parent = Frame
  31. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  32. TextLabel.Size = UDim2.new(0, 297, 0, 23)
  33. TextLabel.Font = Enum.Font.GothamBlack
  34. TextLabel.Text = "PickAxe Simulator GUI"
  35. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  36. TextLabel.TextSize = 20
  37.  
  38. TextButton.Parent = Frame
  39. TextButton.BackgroundColor3 = Color3.new(112, 255, 0)
  40. TextButton.Position = UDim2.new(0.0370370448, 0, 0.145985395, 0)
  41. TextButton.Size = UDim2.new(0, 124, 0, 50)
  42. TextButton.Font = Enum.Font.SourceSans
  43. TextButton.Text = "Start AutoFarm"
  44. TextButton.TextColor3 = Color3.new(0, 0, 0)
  45. TextButton.TextSize = 14
  46. TextButton.MouseButton1Down:connect(function()
  47. _G.Loop = true
  48. while _G.Loop == true do
  49. game:GetService("ReplicatedStorage").Events.Server.OreNodes.PickaxeStrikeNoNode:FireServer()
  50. wait()
  51. end
  52. end)
  53.  
  54. TextButton_2.Parent = Frame
  55. TextButton_2.BackgroundColor3 = Color3.new(112, 255, 0)
  56. TextButton_2.Position = UDim2.new(0.508417487, 0, 0.145985395, 0)
  57. TextButton_2.Size = UDim2.new(0, 124, 0, 50)
  58. TextButton_2.Font = Enum.Font.SourceSans
  59. TextButton_2.Text = "Start AutoSell"
  60. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  61. TextButton_2.TextSize = 14
  62. TextButton_2.MouseButton1Down:connect(function()
  63. _G.Loop = true
  64. while _G.Loop == true do
  65. game:GetService("ReplicatedStorage").Events.Server.Sell:FireServer()
  66. wait()
  67. end
  68. end)
  69.  
  70. TextButton_3.Parent = Frame
  71. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  72. TextButton_3.Position = UDim2.new(0.0370370448, 0, 0.434306532, 0)
  73. TextButton_3.Size = UDim2.new(0, 124, 0, 50)
  74. TextButton_3.Font = Enum.Font.SourceSans
  75. TextButton_3.Text = "Stop AutoFarm"
  76. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  77. TextButton_3.TextSize = 14
  78. TextButton_3.TextScaled = true
  79. TextButton_3.MouseButton1Down:connect(function()
  80. _G.Loop = false
  81. while _G.Loop == true do
  82. game:GetService("ReplicatedStorage").Events.Server.OreNodes.PickaxeStrikeNoNode:FireServer()
  83. wait()
  84. end
  85. end)
  86.  
  87. TextButton_4.Parent = Frame
  88. TextButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
  89. TextButton_4.Position = UDim2.new(0.0370370448, 0, 0.708029211, 0)
  90. TextButton_4.Size = UDim2.new(0, 124, 0, 50)
  91. TextButton_4.Font = Enum.Font.SourceSans
  92. TextButton_4.Text = "Stop AutoSell"
  93. TextButton_4.TextColor3 = Color3.new(0, 0, 0)
  94. TextButton_4.TextSize = 14
  95. TextButton_4.MouseButton1Down:connect(function()
  96. _G.Loop = false
  97. while _G.Loop == true do
  98. game:GetService("ReplicatedStorage").Events.Server.Sell:FireServer()
  99. wait()
  100. end
  101. end)
  102.  
  103. TextButton_6.Parent = Frame
  104. TextButton_6.BackgroundColor3 = Color3.new(1, 0, 0)
  105. TextButton_6.Position = UDim2.new(0.92592591, 0, 0, 0)
  106. TextButton_6.Size = UDim2.new(0, 22, 0, 23)
  107. TextButton_6.Font = Enum.Font.GothamBold
  108. TextButton_6.Text = "X"
  109. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  110. TextButton_6.TextSize = 28
  111. TextButton_6.MouseButton1Down:connect(function()
  112. Frame.Visible = false
  113. Frame_2.Visible = true
  114. end)
  115.  
  116. Frame_2.Parent = ScreenGui
  117. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  118. Frame_2.Position = UDim2.new(0.00717131514, 0, 0.444174707, 0)
  119. Frame_2.Size = UDim2.new(0, 91, 0, 28)
  120. Frame.Active = true
  121. Frame.Draggable = true
  122.  
  123.  
  124. TextButton_7.Parent = Frame_2
  125. TextButton_7.BackgroundColor3 = Color3.new(1, 1, 1)
  126. TextButton_7.Position = UDim2.new(0, 0, 0.0357142873, 0)
  127. TextButton_7.Size = UDim2.new(0, 190, 0, 260)
  128. TextButton_7.Font = Enum.Font.SourceSans
  129. TextButton_7.Text = "Open"
  130. TextButton_7.TextColor3 = Color3.new(0, 0, 0)
  131. TextButton_7.TextSize = 14
  132. TextButton_7.MouseButton1Down:connect(function()
  133. Frame_2.Visible = false
  134. Frame.Visible = true
  135. end)
Add Comment
Please, Sign In to add comment