Advertisement
AceW0lf_BOt

Roblox Boxing Sim 2 Weight Counter

Aug 19th, 2022 (edited)
668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.92 KB | Gaming | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local UICorner = Instance.new("UICorner")
  4. local UIGradient = Instance.new("UIGradient")
  5. local textlabel = Instance.new("TextLabel")
  6.  
  7.  
  8.  
  9. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10. ScreenGui.ResetOnSpawn = false
  11.  
  12. Frame.Parent = ScreenGui
  13. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  14. Frame.Position = UDim2.new(0.140724942, 0, 0.609101534, 0)
  15. Frame.Size = UDim2.new(0, 160, 0, 35)
  16.  
  17. UICorner.Parent = Frame
  18.  
  19. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 155, 15)), ColorSequenceKeypoint.new(0.63, Color3.fromRGB(255, 131, 23)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 186, 126)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 255, 255))}
  20. UIGradient.Parent = Frame
  21.  
  22. textlabel.Name = "textlabel"
  23. textlabel.Parent = Frame
  24. textlabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  25. textlabel.BackgroundTransparency = 1.000
  26. textlabel.Size = UDim2.new(0, 160, 0, 35)
  27. textlabel.Font = Enum.Font.SourceSansBold
  28. textlabel.Text = "0"
  29. textlabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  30. textlabel.TextSize = 30.000
  31.  
  32. local function XVYMLY_fake_script() -- ScreenGui.LocalScript
  33.     local script = Instance.new('LocalScript', ScreenGui)
  34.  
  35.     Frame = script.Parent.Frame
  36.     Frame.Draggable = true
  37.     Frame.Active = true
  38. end
  39. coroutine.wrap(XVYMLY_fake_script)()
  40.  
  41. repeat
  42.     wait(.1)
  43.         local num = 0
  44.         for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  45.             if v.Name == "Dumbell" then
  46.                 num += 1
  47.             end
  48.         end
  49.  
  50.         if num == 0 then
  51.             for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  52.                 if v.Name == "Dumbell" then
  53.                     num += 1
  54.                 end
  55.             end
  56.         end
  57.         textlabel.Text = num..""
  58.     until num == 9999999999999
  59. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement