I’m in the process of trying to make a billboardGui, i have the billboard made, and is working with the numbers and changes, but for a example if i have 1400, and it changes to 1402 then so on, you can see the before numbers behind the current value
- Can you show us your code? We can’t really guess what’s actually going on and the info you’ve given us is not enough.
- It’s probably because somewhere in your script, a new frame is created every time.
local abbrev = {"", "K", "M", "B"}
local function Format(value, idp)
local ex = math.floor(math.log(math.max(1, math.abs(value)),1000))
local abbrevs = abbrev[1 + ex] or ("e+"..ex)
local normal = math.floor(value * ((10 ^ idp) / (1000 ^ ex))) / (10 ^ idp)
return ("%."..idp.."f%s"):format(normal, abbrevs)
end
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
if char:FindFirstChild("Head") and player then
while wait() do
local clone = script.BillboardGui:Clone()
clone.Parent = char:FindFirstChild("Head")
-----------------------------------------
clone.TextLabel.Text = "Total Power: "..Format(player:WaitForChild("Total Power").Value,2)
end
end
end)
end)
Change the text instead of cloning it.
but isn’t that cloning it to the player?
yeah ive noticed that it is creating alot of the billboardGui’s, they are stacking up on top of each other on the person’s head