Hey, I’ve just recently started using TopBarPlus for a project. And for some reason I get this random icon to the right of the “#” I made.
I’ve searched for answers in the API and dev forum. Unfortunately nothing.
The whole code:
local container = script.Parent
local Icon = require(container.Icon)
local playerGui = game:GetService("Players").LocalPlayer.PlayerGui
local settingsUI = playerGui:WaitForChild("Settings").UI
local tweenService = game:GetService("TweenService")
Icon.new()
:setLabel("#")
:setLabel("Settings", "viewing")
:bindEvent("selected", function()
settingsUI.Visible = true
settingsUI.Size = UDim2.new(0, 0, 0, 0)
local tweenInfo = TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local properties = {
Size = UDim2.new(0.417, 0,0.693, 0)
}
local tween = tweenService:Create(settingsUI, tweenInfo, properties)
tween:Play()
end)
:bindEvent("deselected", function()
settingsUI.Visible = false
end)
That’s the problem I’m facing, I haven’t used TopBarPlus before and this is the only script I wrote in the readme file provided.
I’ll try to delete and reinstall it. Hopefully that helps (For some reason didn’t think about doing that before, MB )
A new update to TopbarPlus may have added an icon to show that this is the case.
From my tests, UserInputService.GamepadEnabled is usually set to true because of the gamepad emulator, even when the widget is off. This may cause TopbarPlus to automatically do this.
This is not your fault. It will not show outside of Studio without a controller plugged in.