Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
4,722
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.59 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local BoxingSimAutoFarm = Instance.new("ScreenGui")
  7. local main = Instance.new("Frame")
  8. local Info = Instance.new("TextLabel")
  9. local txt = Instance.new("TextLabel")
  10. local equip = Instance.new("TextButton")
  11. local farmOn = Instance.new("TextButton")
  12. local weight = Instance.new("TextLabel")
  13. local farmOff = Instance.new("TextButton")
  14. local normalWeight = Instance.new("TextButton")
  15. local doubleWeight = Instance.new("TextButton")
  16. local lagOff = Instance.new("TextButton")
  17. local lagOn = Instance.new("TextButton")
  18. local hide = Instance.new("TextButton")
  19. local destroy = Instance.new("TextButton")
  20. local open = Instance.new("ImageButton")
  21. local background = Instance.new("ImageLabel")
  22. local shadow = Instance.new("TextLabel")
  23. local text = Instance.new("TextLabel")
  24.  
  25. --Properties:
  26.  
  27. BoxingSimAutoFarm.Name = "BoxingSimAutoFarm"
  28. BoxingSimAutoFarm.Parent = game.CoreGui
  29.  
  30. main.Name = "main"
  31. main.Parent = BoxingSimAutoFarm
  32. main.BackgroundColor3 = Color3.new(1, 0, 0.498039)
  33. main.BackgroundTransparency = 0.21999999880791
  34. main.BorderColor3 = Color3.new(0, 0, 0)
  35. main.BorderSizePixel = 4
  36. main.Position = UDim2.new(0.432246387, 0, 0.176211476, 0)
  37. main.Size = UDim2.new(0.281447411, 0, 0.646255493, 0)
  38. main.Visible = false
  39. main.Active = true
  40. main.Draggable = true
  41.  
  42. Info.Name = "Info"
  43. Info.Parent = main
  44. Info.BackgroundColor3 = Color3.new(1, 0, 1)
  45. Info.BorderColor3 = Color3.new(0, 0, 0)
  46. Info.BorderSizePixel = 4
  47. Info.Position = UDim2.new(0.0111126089, 0, -0.00310839317, 0)
  48. Info.Size = UDim2.new(0.985455751, 0, 0.211140126, 0)
  49. Info.Font = Enum.Font.Fantasy
  50. Info.Text = "Thx for using my Auto Farm and Dupe Script"
  51. Info.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  52. Info.TextScaled = true
  53. Info.TextSize = 14
  54. Info.TextStrokeTransparency = 0
  55. Info.TextWrapped = true
  56.  
  57. txt.Name = "txt"
  58. txt.Parent = main
  59. txt.BackgroundColor3 = Color3.new(0, 1, 1)
  60. txt.BorderColor3 = Color3.new(0, 0, 0)
  61. txt.BorderSizePixel = 3
  62. txt.Position = UDim2.new(-0.00250322232, 0, 0.891907692, 0)
  63. txt.Size = UDim2.new(1.00079608, 0, 0.104865134, 0)
  64. txt.Font = Enum.Font.Fantasy
  65. txt.Text = "discord: nleant_nlant#9288"
  66. txt.TextColor3 = Color3.new(0, 0, 0)
  67. txt.TextScaled = true
  68. txt.TextSize = 14
  69. txt.TextWrapped = true
  70.  
  71. equip.Name = "equip"
  72. equip.Parent = main
  73. equip.BackgroundColor3 = Color3.new(0, 1, 1)
  74. equip.BorderColor3 = Color3.new(0, 0, 0)
  75. equip.BorderSizePixel = 3
  76. equip.Position = UDim2.new(0.0743861049, 0, 0.518947661, 0)
  77. equip.Size = UDim2.new(0.855000019, 0, 0.0850000009, 0)
  78. equip.Font = Enum.Font.Fantasy
  79. equip.Text = "Equip Weights"
  80. equip.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  81. equip.TextScaled = true
  82. equip.TextSize = 14
  83. equip.TextStrokeTransparency = 0
  84. equip.TextWrapped = true
  85.  
  86. farmOn.Name = "farmOn"
  87. farmOn.Parent = main
  88. farmOn.BackgroundColor3 = Color3.new(0, 1, 0)
  89. farmOn.BorderColor3 = Color3.new(0, 0, 0)
  90. farmOn.BorderSizePixel = 3
  91. farmOn.Position = UDim2.new(0.0743861049, 0, 0.6389364, 0)
  92. farmOn.Size = UDim2.new(0.855000019, 0, 0.0850000009, 0)
  93. farmOn.Font = Enum.Font.Fantasy
  94. farmOn.Text = "Start Lifting"
  95. farmOn.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  96. farmOn.TextScaled = true
  97. farmOn.TextSize = 14
  98. farmOn.TextStrokeTransparency = 0
  99. farmOn.TextWrapped = true
  100.  
  101. weight.Name = "weight"
  102. weight.Parent = main
  103. weight.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  104. weight.BorderColor3 = Color3.new(0, 0, 0)
  105. weight.BorderSizePixel = 3
  106. weight.Position = UDim2.new(0.186412126, 0, 0.395686001, 0)
  107. weight.Size = UDim2.new(0.630231261, 0, 0.0841182396, 0)
  108. weight.Font = Enum.Font.Fantasy
  109. weight.Text = "Select A Weight"
  110. weight.TextColor3 = Color3.new(0, 0, 0)
  111. weight.TextScaled = true
  112. weight.TextSize = 14
  113. weight.TextWrapped = true
  114.  
  115. farmOff.Name = "farmOff"
  116. farmOff.Parent = main
  117. farmOff.BackgroundColor3 = Color3.new(1, 0, 0)
  118. farmOff.BorderColor3 = Color3.new(0, 0, 0)
  119. farmOff.BorderSizePixel = 3
  120. farmOff.Position = UDim2.new(0.0743861049, 0, 0.6389364, 0)
  121. farmOff.Size = UDim2.new(0.855000019, 0, 0.0850000009, 0)
  122. farmOff.Font = Enum.Font.Fantasy
  123. farmOff.Text = "Stop Lifting"
  124. farmOff.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  125. farmOff.TextScaled = true
  126. farmOff.TextSize = 14
  127. farmOff.TextStrokeTransparency = 0
  128. farmOff.TextWrapped = true
  129. farmOff.Visible = false
  130.  
  131. normalWeight.Name = "normalWeight"
  132. normalWeight.Parent = main
  133. normalWeight.BackgroundColor3 = Color3.new(1, 1, 0)
  134. normalWeight.BorderColor3 = Color3.new(0, 0, 0)
  135. normalWeight.BorderSizePixel = 3
  136. normalWeight.Position = UDim2.new(0.513179779, 0, 0.249709874, 0)
  137. normalWeight.Size = UDim2.new(0.439591557, 0, 0.0952514187, 0)
  138. normalWeight.Font = Enum.Font.Fantasy
  139. normalWeight.Text = "Dumbell"
  140. normalWeight.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  141. normalWeight.TextScaled = true
  142. normalWeight.TextSize = 14
  143. normalWeight.TextStrokeTransparency = 0
  144. normalWeight.TextWrapped = true
  145.  
  146. doubleWeight.Name = "doubleWeight"
  147. doubleWeight.Parent = main
  148. doubleWeight.BackgroundColor3 = Color3.new(1, 1, 0)
  149. doubleWeight.BorderColor3 = Color3.new(0, 0, 0)
  150. doubleWeight.BorderSizePixel = 3
  151. doubleWeight.Position = UDim2.new(0.0336254239, 0, 0.249709874, 0)
  152. doubleWeight.Size = UDim2.new(0.439591557, 0, 0.0952514187, 0)
  153. doubleWeight.Font = Enum.Font.Fantasy
  154. doubleWeight.Text = " Double Weight "
  155. doubleWeight.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  156. doubleWeight.TextScaled = true
  157. doubleWeight.TextSize = 14
  158. doubleWeight.TextStrokeTransparency = 0
  159. doubleWeight.TextWrapped = true
  160.  
  161. lagOff.Name = "lagOff"
  162. lagOff.Parent = main
  163. lagOff.BackgroundColor3 = Color3.new(0, 1, 0)
  164. lagOff.BorderColor3 = Color3.new(0, 0, 0)
  165. lagOff.BorderSizePixel = 3
  166. lagOff.Position = UDim2.new(0.0671201348, 0, 0.769345462, 0)
  167. lagOff.Size = UDim2.new(0.855000019, 0, 0.0850000009, 0)
  168. lagOff.Font = Enum.Font.Fantasy
  169. lagOff.Text = "Disable Popups"
  170. lagOff.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  171. lagOff.TextScaled = true
  172. lagOff.TextSize = 14
  173. lagOff.TextStrokeTransparency = 0
  174. lagOff.TextWrapped = true
  175.  
  176. lagOn.Name = "lagOn"
  177. lagOn.Parent = main
  178. lagOn.BackgroundColor3 = Color3.new(1, 0, 0)
  179. lagOn.BorderColor3 = Color3.new(0, 0, 0)
  180. lagOn.BorderSizePixel = 3
  181. lagOn.Position = UDim2.new(0.0671201348, 0, 0.769345462, 0)
  182. lagOn.Size = UDim2.new(0.855000019, 0, 0.0850000009, 0)
  183. lagOn.Font = Enum.Font.Fantasy
  184. lagOn.Text = "Enable Popups"
  185. lagOn.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  186. lagOn.TextScaled = true
  187. lagOn.TextSize = 14
  188. lagOn.TextStrokeTransparency = 0
  189. lagOn.TextWrapped = true
  190. lagOn.Visible = false
  191.  
  192. hide.Name = "hide"
  193. hide.Parent = main
  194. hide.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  195. hide.BorderColor3 = Color3.new(0, 0, 0)
  196. hide.BorderSizePixel = 4
  197. hide.Position = UDim2.new(-0.00190663105, 0, -0.0911409706, 0)
  198. hide.Size = UDim2.new(0.475123614, 0, 0.0850000009, 0)
  199. hide.Font = Enum.Font.Fantasy
  200. hide.Text = "Hide GUI"
  201. hide.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  202. hide.TextScaled = true
  203. hide.TextSize = 14
  204. hide.TextStrokeTransparency = 0
  205. hide.TextWrapped = true
  206.  
  207. destroy.Name = "destroy"
  208. destroy.Parent = main
  209. destroy.BackgroundColor3 = Color3.new(1, 0.596078, 0.329412)
  210. destroy.BorderColor3 = Color3.new(0, 0, 0)
  211. destroy.BorderSizePixel = 4
  212. destroy.Position = UDim2.new(0.495812654, 0, -0.0911409706, 0)
  213. destroy.Size = UDim2.new(0.504187524, 0, 0.0850000009, 0)
  214. destroy.Font = Enum.Font.Fantasy
  215. destroy.Text = "Destroy GUI"
  216. destroy.TextColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  217. destroy.TextScaled = true
  218. destroy.TextSize = 14
  219. destroy.TextStrokeTransparency = 0
  220. destroy.TextWrapped = true
  221.  
  222. open.Name = "open"
  223. open.Parent = BoxingSimAutoFarm
  224. open.BackgroundColor3 = Color3.new(1, 1, 1)
  225. open.BackgroundTransparency = 1
  226. open.Position = UDim2.new(0.004, 0, 0.3435, 0)
  227. open.Size = UDim2.new(0.137, 0, 0.094, 0)
  228. open.Image = "rbxassetid://3716549790"
  229.  
  230. background.Name = "background"
  231. background.Parent = open
  232. background.BackgroundColor3 = Color3.new(1, 1, 1)
  233. background.BackgroundTransparency = 1
  234. background.BorderColor3 = Color3.new(0,0,0)
  235. background.Position = UDim2.new(0.0289196502, 0, 0.0464301743, 0)
  236. background.Size = UDim2.new(0.939195156, 0, 0.905884326, 0)
  237. background.Image = "rbxassetid://3716554737"
  238. background.ImageColor3 = Color3.new(0.764706, 0.490196, 0.498039)
  239.  
  240. shadow.Name = "shadow"
  241. shadow.Parent = background
  242. shadow.BackgroundColor3 = Color3.new(1, 1, 1)
  243. shadow.BackgroundTransparency = 1
  244. shadow.Position = UDim2.new(0.0460121073, 0, -0.202549249, 0)
  245. shadow.Size = UDim2.new(0.90323627, 0, 1.38541615, 0)
  246. shadow.Font = Enum.Font.GothamBlack
  247. shadow.Text = "HACKS"
  248. shadow.TextColor3 = Color3.new(0.254902, 0.254902, 0.384314)
  249. shadow.TextScaled = true
  250. shadow.TextSize = 14
  251. shadow.TextStrokeColor3 = Color3.new(0.254902, 0.254902, 0.384314)
  252. shadow.TextStrokeTransparency = 0
  253. shadow.TextWrapped = true
  254.  
  255. text.Name = "text"
  256. text.Parent = shadow
  257. text.BackgroundColor3 = Color3.new(1, 1, 1)
  258. text.BackgroundTransparency = 1
  259. text.Position = UDim2.new(0.0151604405, 0, -0.000644709915, 0)
  260. text.Size = UDim2.new(0.949614704, 0, 0.979953468, 0)
  261. text.Font = Enum.Font.GothamBlack
  262. text.Text = "HACKS"
  263. text.TextColor3 = Color3.new(1, 1, 1)
  264. text.TextScaled = true
  265. text.TextSize = 14
  266. text.TextStrokeColor3 = Color3.new(0.254902, 0.254902, 0.384314)
  267. text.TextStrokeTransparency = 0
  268. text.TextWrapped = true
  269.  
  270. --Script:
  271.  
  272. local plr = game.Players.LocalPlayer
  273.  
  274. open.MouseButton1Click:connect(function()
  275. open.Visible = false
  276. main.Visible = true
  277. end)
  278.  
  279. hide.MouseButton1Click:connect(function()
  280. open.Visible = true
  281. main.Visible = false
  282. end)
  283.  
  284. destroy.MouseButton1Click:connect(function()
  285. BoxingSimAutoFarm:Destroy()
  286. end)
  287.  
  288. doubleWeight.MouseButton1Click:connect(function()
  289. weight.Text = "Double Weight"
  290. end)
  291.  
  292. normalWeight.MouseButton1Click:connect(function()
  293. weight.Text = "Dumbell"
  294. end)
  295.  
  296. lagOff.MouseButton1Click:connect(function()
  297. lagOff.Visible = false
  298. lagOn.Visible = true
  299. plr.PlayerGui.HUD.Frame.MuscleGain.Visible = false
  300. end)
  301.  
  302. lagOn.MouseButton1Click:connect(function()
  303. lagOff.Visible = true
  304. lagOn.Visible = false
  305. plr.PlayerGui.HUD.Frame.MuscleGain.Visible = true
  306. end)
  307.  
  308. equip.MouseButton1Click:connect(function()
  309. for i,v in pairs(plr.Backpack:GetChildren()) do
  310. if v.Name == weight.Text then
  311. v.Parent = workspace[plr.Name]
  312. end
  313. end
  314. end)
  315.  
  316. farmOn.MouseButton1Click:connect(function()
  317. farmOn.Visible = false
  318. farmOff.Visible = true
  319. _G.farm = true
  320. while _G.farm do
  321. wait()
  322. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  323. if v.Name == weight.Text then v:Activate() end
  324. end
  325. end
  326. end)
  327.  
  328. farmOff.MouseButton1Click:connect(function()
  329. _G.farm = false
  330. farmOff.Visible = false
  331. farmOn.Visible = true
  332. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement