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
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.
i’m trying to make a button but it’s giving me this error
(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 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.
These sizes should roughly move it over the right amount for mobile and PC (if your buttons are on the left side) - I’m sure it’s not 100% perfect but I also added AnchorPoints and sized it without using offset. No idea if it helps anyone but you’re looking to replace this code with the whole topbarContainer bit.
Very messy and easy fix, but if someones looking for a quick or temporary solution, here it is.
It scales differently on mobile and PC hence the UIS.TouchEnabled check.
How do you add a new element type to TopBarPlus? I’m struggling to figure it out and most of the code looks like gibberish to me. I just need to figure out how to clone existing elements or make a basic starter element to work off of.
(I don’t really understand OOP in Luau, but I know its concepts because of JavaScript)