hello Developers i Really Need your help, so in my upcoming game that is gonna release next week i just found a bug where if you reset/die in game the Topbar Plus icon i made does not open the menu,
do you know how to fix this?
and if so can you tell me how.
TopbarPlus actually does that, it’s a glitch…
I believe doing something like this should work:
local Icon = require(game.ReplicatedStorage.Icon)
local function setGuiEnabled()
local icon = Icon.new()
-- Other icon configurations!
end
game.Players.PlayerAdded:Connect(setGuiEnabled)
Simple function that will only run when a player joins!
Disabling that will do nothing, the LocalScript that generates it doesn’t destroy it when you respawn, so it won’t destroy the old one, and will re-run the script to add a new UI.