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

You can do that by using RemoteEvents:

Create a separate Script in ServerScriptService, create a RemoteEvent in ReplicatedStorage then follow:

In the Script located in SeverScriptService write:

local Event = game:GetService("ReplicatedStorage").RemoteEvent

Event.OnServerEvent:Connect(function(Object, Value)
  Object.Value == Value
end)

In the LocalScript write:

local Event = game:GetService("ReplicatedStorage").RemoteEvent
local BoxingGloves = accessoriesFolder:WaitForChild("BoxingGloves").Value
:bindEvent("selected", function()
			if BoxingGloves == false then
				print("BoxingGlove is false")
				Event:FireServer(BoxingGloves, true)
			end
	end)

How would I make it so the icon only pops up on one specific team and then when you switch teams, it disappears?

I am having that issue too, hopefully it gets fixed or I’m using lolman’s one

Edit: I have made a workaround for this

local tbp = player:WaitForChild("PlayerGui"):WaitForChild("TopbarPlus")

local container = tbp:WaitForChild("TopbarContainer")

local duplicateMusic = {}
local duplicateGoofy = {}
local duplicateSP = {}

for _, v in container:GetChildren() do
	if v.Name == "NextbotMusic" then
		table.insert(duplicateMusic, v)
	elseif v.Name == "GoofyMode" then
		table.insert(duplicateGoofy, v)
	elseif v.Name == "SpawnKill" then
		table.insert(duplicateSP, v)
	end
end

local music = container:FindFirstChild("NextbotMusic")
local goofy = container:FindFirstChild("GoofyMode")
local sp = container:FindFirstChild("SpawnKill")

for _, v in duplicateMusic do
	if v ~= music then
		v:Destroy()
	end
end

for _, v in duplicateGoofy do
	if v ~= goofy then
		v:Destroy()
	end
end

for _, v in duplicateSP do
	if v ~= sp then
		v:Destroy()
	end
end

Hi!

I was wondering if anyone knew how re-size dropdowns to make them bigger (on the Y axis)? It would really help me thank you.

Best Regards, PreaKrust

image

Don’t know what’s up with the notification but this is for the upcoming new experience controls, not the current one.

1 Like

Ah yes, was wondering why mine did not have those new fancy icons. How can we enable these new controls?

It’s a beta setting in Roblox Studio, it’s not live yet.

1 Like

Ah. Testing it with the new controls in studio here, getting this:
image

That shouldn’t be happening, I’ll go test it RQ. Also, have you tried hitting the site button? For vCommand specifically but not my test script it for some reason starts off with incorrect offsets until hitting that button.

EDIT: I have no issues while using this script:

Nevermind lol! Was using the other guys module…

Hopefully we can see the new controls release in-game soon.

2 Likes

i’m trying to make a button but it’s giving me this error
image
(new is not a valid member of ModuleScript "ReplicatedStorage.Icon")

here’s my entire script

task.wait(1) -- giving the ModuleScript time to load
local rs = game:GetService("ReplicatedStorage")
local Icon = rs.Icon -- i got the ModuleScript directly from the marketplace
local icon = Icon.new() -- **ERROR**: new is not a valid member of ModuleScript "ReplicatedStorage.Icon"
icon:setName("Icon1")

edit: im so stupid i need to require the module LOL.

Ben has took a long break and doesn’t do any updates of Nanoblox things since 2020-2021 (HD Admin, ZonePlus)

The LocalScript needs to be placed into StarterPlayerScripts, also for me everything works fine.

The only bug is with dropdowns, when you select two dropdowns, one of them doesn’t deselect, even if you have icon:autoDeselect(true) in the icon.
image

1 Like

Exactly, That’s how I set up my topbars

Hmm… Do you still have that bug?

I did a workaround to remove the bug, to destroy the clone

Thank you for all your amazing contributions towards the roblox community! :fire:

1 Like

Ben is taking an extended break from roblox, trying to find new opportunities outside of the roblox community. He has not given any information on if he will return or when. So it is safe to assume that there will be no updates to any of his products within the near future.

1 Like