Advertisement
EFTPMC

Thick Legends Auto-Farm Script

Jun 9th, 2020
8,792
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 KB | None | 0 0
  1. --Script & GUI By: EFTPMC--
  2.  
  3. -- Instances:
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local uiElements = Instance.new("Folder")
  8. local TextLabel = Instance.new("TextLabel")
  9. local Selling = Instance.new("Folder")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11. local TextButton = Instance.new("TextButton")
  12. local TextLabel_3 = Instance.new("TextLabel")
  13. local color = Instance.new("ImageLabel")
  14. local Cooldown = Instance.new("Folder")
  15. local TextBox = Instance.new("TextBox")
  16. local TextButton_2 = Instance.new("TextButton")
  17. local BuyAll = Instance.new("Folder")
  18. local Food = Instance.new("TextButton")
  19. local Fist = Instance.new("TextButton")
  20. local Jump = Instance.new("TextButton")
  21. local Stomach = Instance.new("TextButton")
  22. local Power = Instance.new("Folder")
  23. local TextLabel_4 = Instance.new("TextLabel")
  24. local TextButton_3 = Instance.new("TextButton")
  25. local TextLabel_5 = Instance.new("TextLabel")
  26. local color_2 = Instance.new("ImageLabel")
  27.  
  28. --[[
  29.     Properties:
  30. --]]
  31.  
  32. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  33. ScreenGui.ResetOnSpawn = false
  34.  
  35. Frame.Parent = ScreenGui
  36. Frame.Active = true
  37. Frame.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  38. Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  39. Frame.BorderSizePixel = 0
  40. Frame.Position = UDim2.new(0.399999976, 0, 0.400000006, 0)
  41. Frame.Size = UDim2.new(0, 126, 0, 160)
  42.  
  43. uiElements.Name = "uiElements"
  44. uiElements.Parent = Frame
  45.  
  46. TextLabel.Parent = uiElements
  47. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  48. TextLabel.BackgroundTransparency = 0.80000001192093
  49. TextLabel.BorderSizePixel = 0
  50. TextLabel.Size = UDim2.new(0, 126, 0, 22)
  51. TextLabel.Font = Enum.Font.SourceSans
  52. TextLabel.Text = "Auto-Farm"
  53. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  54. TextLabel.TextSize = 20
  55. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  56.  
  57. Selling.Name = "Selling"
  58. Selling.Parent = uiElements
  59.  
  60. TextLabel_2.Parent = Selling
  61. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  62. TextLabel_2.BackgroundTransparency = 1
  63. TextLabel_2.BorderSizePixel = 0
  64. TextLabel_2.Position = UDim2.new(0, 0, 0.289999992, 0)
  65. TextLabel_2.Size = UDim2.new(0, 63, 0, 25)
  66. TextLabel_2.Font = Enum.Font.SourceSans
  67. TextLabel_2.Text = "   Sell On/Off"
  68. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  69. TextLabel_2.TextSize = 14
  70. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  71.  
  72. TextButton.Parent = Selling
  73. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  74. TextButton.BackgroundTransparency = 0.5
  75. TextButton.BorderSizePixel = 0
  76. TextButton.Position = UDim2.new(0.600000024, 0, 0.319999993, 0)
  77. TextButton.Size = UDim2.new(0, 37, 0, 15)
  78. TextButton.ZIndex = 0
  79. TextButton.Font = Enum.Font.SourceSans
  80. TextButton.Text = ""
  81. TextButton.TextColor3 = Color3.new(0, 0, 0)
  82. TextButton.TextSize = 14
  83.  
  84. TextLabel_3.Parent = TextButton
  85. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  86. TextLabel_3.BackgroundTransparency = 1
  87. TextLabel_3.BorderSizePixel = 0
  88. TextLabel_3.Size = UDim2.new(0, 16, 0, 15)
  89. TextLabel_3.Font = Enum.Font.SourceSans
  90. TextLabel_3.Text = ""
  91. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  92. TextLabel_3.TextSize = 14
  93.  
  94. color.Name = "color"
  95. color.Parent = TextLabel_3
  96. color.AnchorPoint = Vector2.new(0.5, 0.5)
  97. color.BackgroundColor3 = Color3.new(1, 1, 1)
  98. color.BackgroundTransparency = 1
  99. color.Position = UDim2.new(0.5, 0, 0.5, 0)
  100. color.Size = UDim2.new(1, 0, 1, 0)
  101. color.Image = "rbxassetid://3570695787"
  102. color.ImageColor3 = Color3.new(1, 0, 0.0156863)
  103. color.ScaleType = Enum.ScaleType.Slice
  104. color.SliceCenter = Rect.new(100, 100, 100, 100)
  105.  
  106. Cooldown.Name = "Cooldown"
  107. Cooldown.Parent = uiElements
  108.  
  109. TextBox.Parent = Cooldown
  110. TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
  111. TextBox.BackgroundTransparency = 0.80000001192093
  112. TextBox.BorderSizePixel = 0
  113. TextBox.Position = UDim2.new(0.5, 0, 0.474999994, 0)
  114. TextBox.Size = UDim2.new(0, 63, 0, 25)
  115. TextBox.Font = Enum.Font.SourceSans
  116. TextBox.Text = ""
  117. TextBox.TextColor3 = Color3.new(1, 1, 1)
  118. TextBox.TextSize = 14
  119.  
  120. TextButton_2.Parent = Cooldown
  121. TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
  122. TextButton_2.BackgroundTransparency = 0.80000001192093
  123. TextButton_2.BorderSizePixel = 0
  124. TextButton_2.Position = UDim2.new(0, 0, 0.474999994, 0)
  125. TextButton_2.Size = UDim2.new(0, 63, 0, 25)
  126. TextButton_2.Font = Enum.Font.SourceSans
  127. TextButton_2.Text = "   Cooldown"
  128. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  129. TextButton_2.TextSize = 14
  130. TextButton_2.TextXAlignment = Enum.TextXAlignment.Left
  131.  
  132. BuyAll.Name = "BuyAll"
  133. BuyAll.Parent = uiElements
  134.  
  135. Food.Name = "Food"
  136. Food.Parent = BuyAll
  137. Food.BackgroundColor3 = Color3.new(0, 0, 0)
  138. Food.BackgroundTransparency = 0.80000001192093
  139. Food.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  140. Food.BorderSizePixel = 0
  141. Food.Position = UDim2.new(0.5, 0, 0.660000026, 0)
  142. Food.Size = UDim2.new(0, 63, 0, 26)
  143. Food.Font = Enum.Font.SourceSans
  144. Food.Text = "Food"
  145. Food.TextColor3 = Color3.new(1, 1, 1)
  146. Food.TextSize = 14
  147.  
  148. Fist.Name = "Fist"
  149. Fist.Parent = BuyAll
  150. Fist.BackgroundColor3 = Color3.new(0, 0, 0)
  151. Fist.BackgroundTransparency = 0.80000001192093
  152. Fist.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  153. Fist.BorderSizePixel = 0
  154. Fist.Position = UDim2.new(0, 0, 0.660000026, 0)
  155. Fist.Size = UDim2.new(0, 63, 0, 26)
  156. Fist.Font = Enum.Font.SourceSans
  157. Fist.Text = "Fist"
  158. Fist.TextColor3 = Color3.new(1, 1, 1)
  159. Fist.TextSize = 14
  160.  
  161. Jump.Name = "Jump"
  162. Jump.Parent = BuyAll
  163. Jump.BackgroundColor3 = Color3.new(0, 0, 0)
  164. Jump.BackgroundTransparency = 0.80000001192093
  165. Jump.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  166. Jump.BorderSizePixel = 0
  167. Jump.Position = UDim2.new(0.5, 0, 0.824999988, 0)
  168. Jump.Size = UDim2.new(0, 63, 0, 26)
  169. Jump.Font = Enum.Font.SourceSans
  170. Jump.Text = "Jump"
  171. Jump.TextColor3 = Color3.new(1, 1, 1)
  172. Jump.TextSize = 14
  173.  
  174. Stomach.Name = "Stomach"
  175. Stomach.Parent = BuyAll
  176. Stomach.BackgroundColor3 = Color3.new(0, 0, 0)
  177. Stomach.BackgroundTransparency = 0.80000001192093
  178. Stomach.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  179. Stomach.BorderSizePixel = 0
  180. Stomach.Position = UDim2.new(0, 0, 0.824999988, 0)
  181. Stomach.Size = UDim2.new(0, 63, 0, 26)
  182. Stomach.Font = Enum.Font.SourceSans
  183. Stomach.Text = "Stomach"
  184. Stomach.TextColor3 = Color3.new(1, 1, 1)
  185. Stomach.TextSize = 14
  186.  
  187. Power.Name = "Power"
  188. Power.Parent = uiElements
  189.  
  190. TextLabel_4.Parent = Power
  191. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  192. TextLabel_4.BackgroundTransparency = 1
  193. TextLabel_4.BorderSizePixel = 0
  194. TextLabel_4.Position = UDim2.new(0, 0, 0.144999996, 0)
  195. TextLabel_4.Size = UDim2.new(0, 63, 0, 25)
  196. TextLabel_4.Font = Enum.Font.SourceSans
  197. TextLabel_4.Text = "   Turn On/Off"
  198. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  199. TextLabel_4.TextSize = 14
  200. TextLabel_4.TextXAlignment = Enum.TextXAlignment.Left
  201.  
  202. TextButton_3.Parent = Power
  203. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  204. TextButton_3.BackgroundTransparency = 1
  205. TextButton_3.BorderSizePixel = 0
  206. TextButton_3.Position = UDim2.new(0.600000024, 0, 0.170000002, 0)
  207. TextButton_3.Size = UDim2.new(0, 37, 0, 15)
  208. TextButton_3.ZIndex = 0
  209. TextButton_3.Font = Enum.Font.SourceSans
  210. TextButton_3.Text = ""
  211. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  212. TextButton_3.TextSize = 14
  213.  
  214. TextLabel_5.Parent = TextButton_3
  215. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  216. TextLabel_5.BackgroundTransparency = 1
  217. TextLabel_5.BorderSizePixel = 0
  218. TextLabel_5.Size = UDim2.new(0, 16, 0, 15)
  219. TextLabel_5.Font = Enum.Font.SourceSans
  220. TextLabel_5.Text = ""
  221. TextLabel_5.TextColor3 = Color3.new(0, 0, 0)
  222. TextLabel_5.TextSize = 14
  223.  
  224. color_2.Name = "color"
  225. color_2.Parent = TextLabel_5
  226. color_2.AnchorPoint = Vector2.new(0.5, 0.5)
  227. color_2.BackgroundColor3 = Color3.new(1, 1, 1)
  228. color_2.BackgroundTransparency = 1
  229. color_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  230. color_2.Size = UDim2.new(1, 0, 1, 0)
  231. color_2.Image = "rbxassetid://3570695787"
  232. color_2.ImageColor3 = Color3.new(1, 0, 0.0156863)
  233. color_2.ScaleType = Enum.ScaleType.Slice
  234. color_2.SliceCenter = Rect.new(100, 100, 100, 100)
  235.  
  236. --[[
  237.      Scripts:
  238. --]]
  239.  
  240. local function WYWTGX_fake_script() -- ScreenGui.Script
  241.     local script = Instance.new('Script', ScreenGui)
  242.  
  243.     local frame = script.Parent.Frame
  244.     local uiElements = frame.uiElements
  245.     local green = "46, 255, 0"
  246.     local red = "255, 0, 4"
  247.     local Powerbutton = script.Parent.Frame.uiElements.Power.TextButton
  248.     local Sellbutton = script.Parent.Frame.uiElements.Selling.TextButton
  249.     local off = true
  250.     local off1 = true
  251.     local selling = false
  252.     local Rot = 1
  253.     local cooldown = 600
  254.     local debounce = false
  255.     local A_4 = "Fist"
  256.     local A_5 = "Food"
  257.     local A_6 = "Stomach"
  258.     local A_7 = "Jump"
  259.     local A_1 = "Punch"
  260.     local A_2 = "Food"
  261.     local A_3 = "Stomp"
  262.     local Event = game:GetService("ReplicatedStorage").Remotes.UseTool
  263.     local Event1 = game:GetService("ReplicatedStorage").Remotes.YieldSell
  264.     local Event2 = game:GetService("ReplicatedStorage").Remotes.RequestBuyAll
  265.     local timer = ".25"
  266.    
  267.    
  268.    
  269.    
  270.     Powerbutton.MouseButton1Click:Connect(function()
  271.            
  272.         if off == true then
  273.             Powerbutton.TextLabel:TweenPosition(UDim2.new(.55,0,0,0))
  274.             Powerbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(0, 255, 59)
  275.             wait(1)
  276.             off = false
  277.             print("Turned On")
  278.             while not off do
  279.                     Event:FireServer(A_1)
  280.                     Event:FireServer(A_2)
  281.                     Event:FireServer(A_3)
  282.                     wait(timer)
  283.                         if selling == true then
  284.                             Event1:InvokeServer()
  285.                         end
  286.             end
  287.         elseif off == false then
  288.             Powerbutton.TextLabel:TweenPosition(UDim2.new(0,0,0,0))
  289.             Powerbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(255, 0, 4)
  290.             wait(1)
  291.             off = true
  292.             print("Turned Off")
  293.         end
  294.        
  295.     end)
  296.    
  297.     Sellbutton.MouseButton1Click:Connect(function()
  298.            
  299.         if off1 == true then
  300.             Sellbutton.TextLabel:TweenPosition(UDim2.new(.55,0,0,0))
  301.             Sellbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(0, 255, 59)
  302.             wait(1)
  303.             off1 = false
  304.             selling = true
  305.             print("Turned On")
  306.            
  307.         elseif off1 == false then
  308.             Sellbutton.TextLabel:TweenPosition(UDim2.new(0,0,0,0))
  309.             Sellbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(255, 0, 4)
  310.             wait(1)
  311.             off1 = true
  312.             selling = false
  313.             print("Turned Off")
  314.         end
  315.        
  316.     end)
  317.    
  318.     local buyFood = script.Parent.Frame.uiElements.BuyAll.Food
  319.     local buyFist = script.Parent.Frame.uiElements.BuyAll.Fist
  320.     local buyJump = script.Parent.Frame.uiElements.BuyAll.Jump
  321.     local buyStomach = script.Parent.Frame.uiElements.BuyAll.Stomach
  322.    
  323.    
  324.    
  325.    
  326.     buyFood.MouseButton1Click:Connect(function()
  327.         Event2:FireServer(A_5)
  328.     end)
  329.     buyFist.MouseButton1Click:Connect(function()
  330.         Event2:FireServer(A_4)
  331.     end)
  332.     buyStomach.MouseButton1Click:Connect(function()
  333.         Event2:FireServer(A_6)
  334.     end)
  335.     buyJump.MouseButton1Click:Connect(function()
  336.         Event2:FireServer(A_7)
  337.     end)
  338.     frame.uiElements.Cooldown.TextButton.MouseButton1Click:Connect(function()
  339.     local match = frame.uiElements.Cooldown.TextBox.Text
  340.     local match1 = string.match(match,"%A+")
  341.     timer = match1
  342.     end)
  343.    
  344.    
  345.    
  346.    
  347. end
  348. coroutine.wrap(WYWTGX_fake_script)()
  349. local function ZHZA_fake_script() -- ScreenGui.LocalScript
  350.     local script = Instance.new('LocalScript', ScreenGui)
  351.  
  352.     local v = script.Parent.Frame
  353.     v.Draggable = true
  354.    
  355. end
  356. coroutine.wrap(ZHZA_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement