The fake chat icon should automatically align to the original core guis position:
I’ll message you to try and find out what’s causing that.
The fake chat icon should automatically align to the original core guis position:
I’ll message you to try and find out what’s causing that.
Is it possible to make this right aligned for RTL languages like Arabic and Hebrew?
In your themes GIFs you were able to change the roblox icon, is this possible through use of a script? Or is it only possible through the use of changing your own client/modifying it through studio once in game?
Also I was also able to get this bug through this code
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCore("TopbarEnabled", false)
Really cool module!
How do I remove this? Now it’s appearing on every Roblox game without anything modified.
OS: Windows 10 Enterprise
Looks like Roblox updated this again :(, if it ain’t broke don’t fix it.
@Aiden_12114 @kingerman88 :createFakeChat now calls the update method to fix this. I’ve also key bind support so the Enum.KeyCode.Slash
now toggles the chat menu.
This is a fake icon unfortunately I used to create the gif examples before the official new topbar was released.
@TheGamer101 announced a fix for this coming shortly:
I added some print statements and a wait() initialization.
These didn’t work however:
wait(1)
-- Require the IconController
local replicatedStorage = game:GetService("ReplicatedStorage")
local topbarPlus = replicatedStorage:WaitForChild("Modules"):WaitForChild("Topbar+")
local iconController = require(topbarPlus.IconController)
-- Create a shop menu
local player = game.Players.LocalPlayer
local gui = script.Parent.Core
print(not not gui)
print(not not gui.Chat)
local theme = {
-- TOGGLE EFFECT
["toggleTweenInfo"] = TweenInfo.new(0.35, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
-- OBJECT PROPERTIES
["button"] = {
selected = {
ImageTransparency = 0.3,
ImageColor3 = Color3.fromRGB(0, 170, 255),
},
deselected = {
ImageTransparency = 0.3,
},
},
["image"] = {
selected = {
ImageColor3 = Color3.fromRGB(255, 255, 255),
},
deselected = {
ImageColor3 = Color3.fromRGB(255, 255, 255),
},
},
["notification"] = {
selected = {
Image = "http://www.roblox.com/asset/?id=4882430005",
ImageColor3 = Color3.fromRGB(255, 255, 255),
},
deselected = {
Image = "http://www.roblox.com/asset/?id=4882430005",
ImageColor3 = Color3.fromRGB(0, 170, 255),
},
},
["amount"] = {
selected = {
TextColor3 = Color3.fromRGB(0, 170, 255),
},
deselected = {
TextColor3 = Color3.fromRGB(255, 255, 255),
},
},
}
-- Create an icon called 'Shop', with image '4882429582' and order of 1
local chat = iconController:createIcon("Chat", 5023984820, 1)
chat:setToggleMenu(gui:WaitForChild("Chat")) -- Set the shop menu to be toggled by the icon
chat:setTheme(theme)
Expected output:
true
true
NOTE: The script is located in StarterGui.
The example you provided appears to be working fine. What are you trying to achieve?
This is really good! How can I get it to work tho? Also can you add this new addition to the Zone+ Playground?
Forever, you are godly
thank you so much!
Now that’s a game changer! It looks way better than what we’ve whipped up. Thank you!
I’m making a custom chat and I don’t want to use :createFakeChat()
. So when I found this topic, I decided to use this module to make a topbar button for it. When I press the button I want it to make the custom chat appear.
Also here is my normal script in ServerScriptService:
require(4874365424) -- Initiate Topbar+
Literally all that is in the script.
WAIT… I just noticed something let me try it out.
Nvm, it works now. I had put the wrong frame (gui.Chat was just the background).
Now I’m wondering if there’s a limit on how many buttons you can have on the top bar…
Otherwise, I’m going to use it!
Awesome! I always thought the topbar could use some more work on it so this is perfect.
Topbar+ has a separate playground you can find here, including coded examples (located under StarterPlayerScripts) to help you get started. You can also explore further resources at the docs.
I was literally thinking about this the other day while looking at the new topbar post again.
Nice work!
Yes this is great. My custom toolbar icon broke due to the topbar update but i am glad to see that someone makes a module for this so i don’t have to update my stuff. Really great!
Is there any way you can add the backpack icon to the topbar with this module?
I think I spotted a bug. When the player resets or dies, none of the buttons that were added work except the chat and roblox icon.
Here’s the error I receive:
This is incredibly useful. Thanks!