TopBarPlus bug? how to fix?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Not sure if this is a bug in topbarplus or my code is not that good.
  2. What is the issue?

So sometimes when I join my game, the value is supposed to be same as in leaderboard. As you can see on the screenshot its blank/nothing, until i reset or kill someone or anything that updates the values then it will show. I made this so users on mobile can see clearly their stats or on computer in general. This has been happening on other accounts, i tested on my alt

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried seeing on yt, researching and looking over my code and there isn’t any errors.

Money and death and kills uses this same script, Just changed some variables


local Icon = require(game:GetService("ReplicatedStorage").Icon)
local LocalPlayer = game:GetService("Players").LocalPlayer
local leaderstats = LocalPlayer:WaitForChild("leaderstats")
local Killsdislplay = leaderstats:WaitForChild("Kills")
local icon = Icon.new()

Killsdislplay.Sync:Connect(function()
	icon:setLabel("Kills:"..Killsdislplay.Value)
end)
icon:set("iconFont", Enum.Font.ArialBold)
icon:setRight()
icon:setCornerRadius(1, 0)
icon:lock()