[v3!] TopbarPlus v3.0.0 | Construct intuitive topbar icons; customise them with themes, dropdowns, captions, labels and much more

I’ve added the model to my game and put it in ReplicatedStorage and it doesn’t seem to be working at all.
Am I doing something wrong?

Did you create a local script in StarterPlayerScripts? Also, remember to use the require() function to access the APi for creating and modifying buttons.

I didn’t as far as I know.
I’ll fix it up when I can and let you know.
Thanks!

Hey @ForeverHD, is there a way to find the current image of an icon? An example would be icon.image

icon:get("iconImage", iconState)

3 Likes

Thanks very much for your help!

1 Like

This is a very helpful tool for novice developers like me. It makes making topbars much easier and less time consuming.

2 Likes

Is it possible to set a Label as a local value? I’ve been trying a couple of things and can’t get it to work.

local player = (game.Players.LocalPlayer )
local Icon = require(game:GetService("ReplicatedStorage").Icon)

-- money display
Icon.new()
:setImage(9596803582)
:setLabel(player.Pointsthings.Points.Value)
:lock()
1 Like

I have a problem,
Every time the player dies, it adds another similar icon/button.
I don’t know what’s the issue

1 Like

Is it possible to make a music system like this with topbar+?


Friends is the songs name and the dot means how long the song has played

Oh, I think I fixed it. The problem was I put it inside StarterGui.

1 Like

Labels should take strings (although you should be fine with numbers/ints too)

We don’t support features like this although I believe somebody above shared a music players which they achieved by modifying TopbarPlus

1 Like

I see, are you able to help me though? I’ve been trying multiple things and I’m getting nowhere and no errors.

Icon.new()
:setImage(6251279794)
:give(function(icon)
	while wait() do 
		local player = game.Players.LocalPlayer 
:label(player:WaitForChild("Pointsthings"):FindFirstChild("Points").Value)
	end
end)
:lock()

What are the errors in the output, if any?

1 Like


image

1 Like

You put “:label”. You’re supposed to put :setLabel

and you’ll need to put :WaitForChild for the Points.

Try this:

Icon.new()
:setImage(6251279794)
:give(function(icon)
	while task.wait() do 
		local player = game.Players.LocalPlayer 
:setLabel(player:WaitForChild("Pointsthings"):WaitForChild:("Points").Value)
	end
end)
:lock()

If that doesn’t work, try this

Icon.new()
:setImage(6251279794)
:give(function(icon)
	while task.wait() do 
		local player = game.Players.LocalPlayer 
                local Points = player:WaitForChild("Pointsthings"):WaitForChild("Points").Value)
:setLabel(tostring(Points))
	end
end)
:lock()

Ah! I see what I was doing wrong now, after some playing around I got it to work. Thank you for your help I appreciate it. :heart:

2 Likes

Nevermind, I am wrong. This only show’s the current value it doesn’t update if it changes. The examples you provided didn’t work.