Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local UIGradient = Instance.new("UIGradient")
- local textlabel = Instance.new("TextLabel")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ResetOnSpawn = false
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.Position = UDim2.new(0.140724942, 0, 0.609101534, 0)
- Frame.Size = UDim2.new(0, 160, 0, 35)
- UICorner.Parent = Frame
- 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))}
- UIGradient.Parent = Frame
- textlabel.Name = "textlabel"
- textlabel.Parent = Frame
- textlabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- textlabel.BackgroundTransparency = 1.000
- textlabel.Size = UDim2.new(0, 160, 0, 35)
- textlabel.Font = Enum.Font.SourceSansBold
- textlabel.Text = "0"
- textlabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- textlabel.TextSize = 30.000
- local function XVYMLY_fake_script() -- ScreenGui.LocalScript
- local script = Instance.new('LocalScript', ScreenGui)
- Frame = script.Parent.Frame
- Frame.Draggable = true
- Frame.Active = true
- end
- coroutine.wrap(XVYMLY_fake_script)()
- repeat
- wait(.1)
- local num = 0
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v.Name == "Dumbell" then
- num += 1
- end
- end
- if num == 0 then
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.Name == "Dumbell" then
- num += 1
- end
- end
- end
- textlabel.Text = num..""
- until num == 9999999999999
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement