Backpack glitch

Repro:
[ul]
[li]Hide the backpack core gui[/li]
[li]Pick up a tool[/li]
[li]die while holding the tool[/li]
[/ul]when you respawn, a tool icon will appear, even if the core gui is hidden

pls pls fix, this is annoying me quite a bit

1 Like

I have a fix for this, if you want it.

Basically, just keep setting the coregui off with a loop, this is a temporary fix, but it works.

while wait(1) do game.StarterGui:SetCoreGuiEnabled("All", false) --adjust accordingly. end

So simple, and because it is a wait(1) loop, it isn’t going to cause you trouble.
This same problem caused difficulties in my game, this sorted it.

Unfortunately it is not just:

The backpack (and supposedly other coreguis) will occasionally half-disappear when calling the :SetCoreGuiEnabled(“Whatever”,false) method as soon as the script runs. Yes, you can semi-fix the issue by mass spam calling the SetCoreGuiEnabled method, but you still see the Core Guis for approximately 2 seconds.