Advertisement
27x34k

Boxing simulator 2 farm script

Nov 24th, 2021
17,569
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local drop = Instance.new("TextButton")
  10. local UICorner = Instance.new("UICorner")
  11. local farm = Instance.new("TextButton")
  12. local UICorner_2 = Instance.new("UICorner")
  13. local tool = Instance.new("TextBox")
  14. local UICorner_3 = Instance.new("UICorner")
  15. local equip = Instance.new("TextButton")
  16. local UICorner_4 = Instance.new("UICorner")
  17. local Hud = Instance.new("TextButton")
  18. local UICorner_5 = Instance.new("UICorner")
  19. local UICorner_6 = Instance.new("UICorner")
  20.  
  21. --Properties:
  22.  
  23. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24.  
  25. Frame.Parent = ScreenGui
  26. Frame.BackgroundColor3 = Color3.fromRGB(170, 0, 127)
  27. Frame.Position = UDim2.new(0.768526852, 0, 0.665101647, 0)
  28. Frame.Size = UDim2.new(0, 280, 0, 208)
  29.  
  30. TextLabel.Parent = Frame
  31. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  32. TextLabel.BackgroundTransparency = 1.000
  33. TextLabel.Size = UDim2.new(0, 280, 0, 26)
  34. TextLabel.Font = Enum.Font.SourceSans
  35. TextLabel.Text = "Made by 27x34k"
  36. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  37. TextLabel.TextScaled = true
  38. TextLabel.TextSize = 14.000
  39. TextLabel.TextWrapped = true
  40.  
  41. drop.Name = "drop"
  42. drop.Parent = Frame
  43. drop.BackgroundColor3 = Color3.fromRGB(140, 0, 105)
  44. drop.Position = UDim2.new(0.0607142858, 0, 0.126871943, 0)
  45. drop.Size = UDim2.new(0, 105, 0, 40)
  46. drop.Font = Enum.Font.SourceSans
  47. drop.Text = "Drop"
  48. drop.TextColor3 = Color3.fromRGB(0, 0, 0)
  49. drop.TextScaled = true
  50. drop.TextSize = 14.000
  51. drop.TextWrapped = true
  52.  
  53. UICorner.CornerRadius = UDim.new(0.200000003, 0)
  54. UICorner.Parent = drop
  55.  
  56. farm.Name = "farm"
  57. farm.Parent = Frame
  58. farm.BackgroundColor3 = Color3.fromRGB(129, 0, 97)
  59. farm.Position = UDim2.new(0.550000012, 0, 0.126871943, 0)
  60. farm.Size = UDim2.new(0, 105, 0, 40)
  61. farm.Font = Enum.Font.SourceSans
  62. farm.Text = "Farm"
  63. farm.TextColor3 = Color3.fromRGB(0, 0, 0)
  64. farm.TextScaled = true
  65. farm.TextSize = 14.000
  66. farm.TextWrapped = true
  67.  
  68. UICorner_2.CornerRadius = UDim.new(0.174999997, 0)
  69. UICorner_2.Parent = farm
  70.  
  71. tool.Name = "tool"
  72. tool.Parent = Frame
  73. tool.BackgroundColor3 = Color3.fromRGB(121, 0, 91)
  74. tool.Position = UDim2.new(0.142857149, 0, 0.804761946, 0)
  75. tool.Size = UDim2.new(0, 200, 0, 31)
  76. tool.Font = Enum.Font.SourceSans
  77. tool.Text = "Double Weight"
  78. tool.TextColor3 = Color3.fromRGB(0, 0, 0)
  79. tool.TextScaled = true
  80. tool.TextSize = 14.000
  81. tool.TextWrapped = true
  82.  
  83. UICorner_3.CornerRadius = UDim.new(0.150000006, 0)
  84. UICorner_3.Parent = tool
  85.  
  86. equip.Name = "equip"
  87. equip.Parent = Frame
  88. equip.BackgroundColor3 = Color3.fromRGB(138, 0, 103)
  89. equip.Position = UDim2.new(0.0607142858, 0, 0.452294588, 0)
  90. equip.Size = UDim2.new(0, 105, 0, 40)
  91. equip.Font = Enum.Font.SourceSans
  92. equip.Text = "Equip Weights"
  93. equip.TextColor3 = Color3.fromRGB(0, 0, 0)
  94. equip.TextScaled = true
  95. equip.TextSize = 14.000
  96. equip.TextWrapped = true
  97.  
  98. UICorner_4.CornerRadius = UDim.new(0.150000006, 0)
  99. UICorner_4.Parent = equip
  100.  
  101. Hud.Name = "Hud"
  102. Hud.Parent = Frame
  103. Hud.BackgroundColor3 = Color3.fromRGB(135, 0, 101)
  104. Hud.Position = UDim2.new(0.550000012, 0, 0.452294528, 0)
  105. Hud.Size = UDim2.new(0, 105, 0, 40)
  106. Hud.Font = Enum.Font.SourceSans
  107. Hud.Text = "remove HUD"
  108. Hud.TextColor3 = Color3.fromRGB(0, 0, 0)
  109. Hud.TextScaled = true
  110. Hud.TextSize = 14.000
  111. Hud.TextWrapped = true
  112.  
  113. UICorner_5.CornerRadius = UDim.new(0.125, 0)
  114. UICorner_5.Parent = Hud
  115.  
  116. UICorner_6.CornerRadius = UDim.new(0.100000001, 0)
  117. UICorner_6.Parent = Frame
  118.  
  119. -- Scripts:
  120.  
  121. local function FDRWLLY_fake_script() -- drop.LocalScript
  122. local script = Instance.new('LocalScript', drop)
  123.  
  124. drop.MouseButton1Down:connect(function()
  125. loadstring(game:HttpGet("https://pastebin.com/raw/CjVD4RZN", true))()
  126. end)
  127.  
  128. end
  129. coroutine.wrap(FDRWLLY_fake_script)()
  130. local function NILDMFN_fake_script() -- farm.Script
  131. local script = Instance.new('Script', farm)
  132.  
  133. farm.MouseButton1Click:connect(function()
  134. _G.farm = true
  135. while _G.farm do
  136. wait()
  137. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  138. if v.Name == tool.Text then v:Activate() end
  139. end
  140. end
  141. end)
  142.  
  143.  
  144. end
  145. coroutine.wrap(NILDMFN_fake_script)()
  146. local function HHAEPME_fake_script() -- equip.Script
  147. local script = Instance.new('Script', equip)
  148.  
  149. equip.MouseButton1Click:connect(function()
  150. _G.equip = true
  151. while _G.equip do
  152. wait()
  153. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  154. if v.Name == tool.Text then
  155. v.Parent = game.Players.LocalPlayer.Character
  156. end
  157. end
  158. end
  159. end)
  160.  
  161. end
  162. coroutine.wrap(HHAEPME_fake_script)()
  163. local function NLGJPC_fake_script() -- Hud.LocalScript
  164. local script = Instance.new('LocalScript', Hud)
  165.  
  166. Hud.MouseButton1Down:connect(function()
  167. game:GetService("Players").LocalPlayer.PlayerGui.HUD:Destroy()
  168. end)
  169. end
  170. coroutine.wrap(NLGJPC_fake_script)()
  171. local function AHSJH_fake_script() -- Frame.LocalScript
  172. local script = Instance.new('LocalScript', Frame)
  173.  
  174. local UIS = game:GetService('UserInputService')
  175. local frame = script.Parent
  176. local dragToggle = nil
  177. local dragSpeed = 0.25
  178. local dragStart = nil
  179. local startPos = nil
  180.  
  181. local function updateInput(input)
  182. local delta = input.Position - dragStart
  183. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  184. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  185. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  186. end
  187.  
  188. frame.InputBegan:Connect(function(input)
  189. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  190. dragToggle = true
  191. dragStart = input.Position
  192. startPos = frame.Position
  193. input.Changed:Connect(function()
  194. if input.UserInputState == Enum.UserInputState.End then
  195. dragToggle = false
  196. end
  197. end)
  198. end
  199. end)
  200.  
  201. UIS.InputChanged:Connect(function(input)
  202. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  203. if dragToggle then
  204. updateInput(input)
  205. end
  206. end
  207. end)
  208.  
  209. end
  210. coroutine.wrap(AHSJH_fake_script)()
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement