Advertisement
dady172172

Boxing Simulator GUI

Dec 20th, 2019
7,079
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 17.21 KB | None | 0 0
  1. --https://www.roblox.com/games/4058282580/CRAFTING-Strength-Simulator
  2. --https://github.com/dady172172/Roblox-Cheats  I have moved to Gethub
  3.  
  4. buypos = CFrame.new(-254.23877, 856.087158, 1328.32764, 0.856803477, 5.30729682e-09, -0.51564306, 2.60093795e-08, 1, 5.35103197e-08, 0.51564306, -5.9259385e-08, 0.856803477)
  5. sellpos = CFrame.new(-369.591736, 855.879761, 1315.43188, 0.919092059, -1.6196239e-08, 0.39404285, 3.54836072e-09, 1, 3.28262999e-08, -0.39404285, -2.87721864e-08, 0.919092059)
  6. spotpos = CFrame.new(-395.639038, 882.194153, 1405.19495, 0.13768281, 8.85162166e-08, -0.99047637, 1.3301042e-08, 1, 9.12162506e-08, 0.99047637, -2.57332768e-08, 0.13768281)
  7. farmcoins = false
  8. farmstrength = false
  9. infhealth = false
  10. farmboss = false
  11.  
  12. local VirtualUser=game:service'VirtualUser'
  13. game:service'Players'.LocalPlayer.Idled:connect(function()
  14.     VirtualUser:CaptureController()
  15.     VirtualUser:ClickButton2(Vector2.new())
  16. end)
  17.  
  18. local function CreateInstance(cls,props)
  19. local inst = Instance.new(cls)
  20. for i,v in pairs(props) do
  21.     inst[i] = v
  22. end
  23. return inst
  24. end
  25.    
  26. local BoxingSimulatorGUI = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='BoxingSimulatorGUI', Parent=game.CoreGui})
  27. local Frame = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.339563876, 0, 0.324749649, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 324, 0, 374),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'Frame',Parent = BoxingSimulatorGUI})
  28. local JPSFrame = CreateInstance('Frame',{Style=Enum.FrameStyle.DropShadow,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=true,Position=UDim2.new(-0.000128852, 0, -0.00188833638, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 312, 0, 284),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=-1,Name = 'JPSFrame',Parent = Frame})
  29. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Boxing Simulator GUI',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.281272709, 0, -1.81552023e-05, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 128, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TextLabel',Parent = JPSFrame})
  30. local FarmCoinsBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Farm Coins',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0440670848, 0, 0.242220402, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmCoinsBtn',Parent = JPSFrame})
  31. local ImageLabel = CreateInstance('ImageLabel',{Image='rbxassetid://38727848',ImageColor3=Color3.new(1, 1, 1),ImageRectOffset=Vector2.new(0, 0),ImageRectSize=Vector2.new(0, 0),ImageTransparency=0,ScaleType=Enum.ScaleType.Crop,SliceCenter=Rect.new(0, 0, 0, 0),Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.188999996, 0, 0, -110),Rotation=90,Selectable=false,Size=UDim2.new(0, 183, 0, 303),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='ImageLabel',Parent = JPSFrame})
  32. local WalkSpeedBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Walk Speed 50',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.653041422, 0, 0.242220402, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='WalkSpeedBtn',Parent = JPSFrame})
  33. local FarmStrengthBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Farm Strength',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.345349103, 0, 0.242220432, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmStrengthBtn',Parent = JPSFrame})
  34. local ImageLabel = CreateInstance('ImageLabel',{Image='rbxassetid://38727848',ImageColor3=Color3.new(1, 1, 1),ImageRectOffset=Vector2.new(0, 0),ImageRectSize=Vector2.new(0, 0),ImageTransparency=0,ScaleType=Enum.ScaleType.Crop,SliceCenter=Rect.new(0, 0, 0, 0),Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.188999996, 0, 0, 0),Rotation=90,Selectable=false,Size=UDim2.new(0, 183, 0, 303),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='ImageLabel',Parent = JPSFrame})
  35. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Teleports',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.274862438, 0, 0.464770585, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 128, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TextLabel',Parent = JPSFrame})
  36. local TpShopBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Shop',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0440670848, 0, 0.67884016, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpShopBtn',Parent = JPSFrame})
  37. local TpSellBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Sell',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.345349133, 0, 0.67884022, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpSellBtn',Parent = JPSFrame})
  38. local TpFarmLocationBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Farm Location',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.653041422, 0, 0.67884016, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TpFarmLocationBtn',Parent = JPSFrame})
  39. local InfHealthBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Inf Health',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.188297868, 0, 0.372502059, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='InfHealthBtn',Parent = JPSFrame})
  40. local FarmBossBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Farm Boss',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.486374795, 0, 0.372502059, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmBossBtn',Parent = JPSFrame})
  41. local OpenBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Close',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1.36609697, 0, -0.609625518, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 73, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='OpenBtn',Parent = Frame})
  42.  
  43. OpenBtn.MouseButton1Click:connect(function()
  44.     if OpenBtn.Text == "Close" then
  45.         OpenBtn.Text = "Open"
  46.         JPSFrame.Visible = false
  47.         print("Menu Closed")
  48.     elseif OpenBtn.Text == "Open" then
  49.         OpenBtn.Text = "Close"
  50.         JPSFrame.Visible = true
  51.         print("Menu Opened")      
  52.     end
  53. end)
  54.  
  55. FarmCoinsBtn.MouseButton1Click:connect(function()
  56.     if farmcoins == true then farmcoins = false print("Disabled")
  57.         FarmCoinsBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  58.     elseif farmcoins == false then farmcoins = true print("Enabled")
  59.         FarmCoinsBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  60.     end
  61.     farmCoins()
  62. end)
  63.  
  64. FarmStrengthBtn.MouseButton1Click:connect(function()
  65.     if farmstrength == true then farmstrength = false print("Disabled")
  66.         FarmStrengthBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  67.     elseif farmstrength == false then farmstrength = true print("Enabled")
  68.         FarmStrengthBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  69.     end
  70.     farmStrength()
  71. end)
  72.  
  73. InfHealthBtn.MouseButton1Click:connect(function()
  74.     if infhealth == true then infhealth = false print("Disabled")
  75.         InfHealthBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  76.     elseif infhealth == false then infhealth = true print("Enabled")
  77.         InfHealthBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  78.     end
  79.     infHealth()
  80. end)
  81.  
  82. FarmBossBtn.MouseButton1Click:connect(function()
  83.     if farmboss == true then farmboss = false print("Disabled")
  84.         FarmBossBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  85.     elseif farmboss == false then farmboss = true print("Enabled")
  86.         FarmBossBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  87.     end
  88.     farmBoss()
  89. end)
  90.  
  91. TpFarmLocationBtn.MouseButton1Click:connect(function()
  92.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = spotpos
  93. end)
  94.  
  95. TpShopBtn.MouseButton1Click:connect(function()
  96.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = buypos
  97. end)
  98.  
  99. TpSellBtn.MouseButton1Click:connect(function()
  100.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = sellpos
  101. end)
  102.  
  103. WalkSpeedBtn.MouseButton1Click:connect(function()
  104.     local plr = game.Players.LocalPlayer.Name
  105.     game:GetService("Workspace")[plr].Humanoid.WalkSpeed = 50
  106. end)
  107.  
  108. function farmCoins()
  109.     while farmcoins == true do
  110.         for _,v in pairs(game:GetService("Workspace").Coins:GetChildren()) do
  111.             if farmcoins == false then return end
  112.             for _,g in pairs(v:GetChildren()) do
  113.                 if g.Name == "HumanoidRootPart" then
  114.                     wait()
  115.                     g.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  116.                     if farmcoins == false then return end
  117.                 end
  118.             end
  119.         end
  120.     end
  121. end
  122.  
  123. function farmStrength()
  124.     while farmstrength == true do
  125.         local virtualUser = game:GetService('VirtualUser')
  126.         virtualUser:CaptureController()
  127.         wait(0.116159)
  128.         virtualUser:SetKeyUp('0x11a')
  129.         wait(0.399961)
  130.         virtualUser:Button1Down(Vector2.new(-0.0, -0.0), CFrame.new(-0.0, 0.0, -0.0, -0.0, 0.0, 0.0, 0.0))
  131.         virtualUser:SetKeyDown('0x11a')
  132.         wait()
  133.         game:GetService("ReplicatedStorage").Events.SellRequest:FireServer()
  134.     end      
  135. end
  136.  
  137. function infHealth()
  138.     while infhealth == true do
  139.         wait()
  140.         local plr = game.Players.LocalPlayer.Name
  141.         game.Players[plr].Character.Humanoid.MaxHealth = math.huge
  142.         game.Players[plr].Character.Humanoid.Health = math.huge
  143.        
  144.     end
  145. end
  146.  
  147. function farmBoss()
  148.     while farmboss == true do
  149.         if game:GetService("Workspace").Boss.Pirate.RightUpperLeg then
  150.             local a = game:GetService("Workspace").Boss.Pirate.RightUpperLeg.CFrame
  151.             TP(a)
  152.             local virtualUser = game:GetService('VirtualUser')
  153.             virtualUser:CaptureController()      
  154.             virtualUser:SetKeyUp('0x11a')      
  155.             virtualUser:Button1Down(Vector2.new(-0.0, -0.0), CFrame.new(-0.0, 0.0, -0.0, -0.0, 0.0, 0.0, 0.0))
  156.             virtualUser:SetKeyDown('0x11a')
  157.             wait()
  158.             game:GetService("ReplicatedStorage").Events.SellRequest:FireServer()
  159.         end
  160.     end
  161.     wait(1)
  162.     FarmBossBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  163.     if farmboss == true then farmboss = false end
  164. end
  165.  
  166. function TP(location)
  167.    
  168.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = location
  169. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement