how to do that? gui progress bar?
1 Like
You would use the Scale of either the Position.X or Size.X of the ImageLabel, depending on how you’re doing it. The number range of Scale is from 0 - 1. 50% = 0.5, 90% = 0.9.
1 Like
thanks. can you aklso answer my live group member count question.?
local Value = Instance.new("Value")
Value.Parent = game.Players.LocalPlayer.PlayerGui.ScreenGui
Value.Name = "Value"
local MaxValue = Instance.new("Value")
MaxValue.Parent = game.Players.LocalPlayer.PlayerGui.ScreenGui
MaxValue.Name = "MaxValue"
local bar = Instance.new("Frame")
bar.Parent = game.Players.LocalPlayer.PlayerGui.ScreenGui
bar.Size = UDim2.new(1, 0, 0.05, 0)
local progress = Instance.new("Frame")
progress.Parent = bar
--Actual code here:
while true do
wait()
progress.Size = UDim2.new(Value.Value/MaxValue.Value, 0, 1, 0)
end
Sorry if there is any typo, I wrote it from Scratch on phone…