Backpack shows after I respawn/reset

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want the backpack to not show up, after I reset or respawn.
  2. What is the issue? Include screenshots/videos if possible!
    IT COMES BACK after I reset/respawn.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

However, it puts the Backpack back to true after you reset or respawn.

I’ve looked all over DevForum for help as well.

I was not able to replicate this myself. Are you sure nothing else in your game could be causing this?

Using that same line you posted above in a LocalScript in a default baseplate successfully hid the backpack, including after multiple respawns.

Where is your script located that hides the backpack?

make a localscript and add this inside of it, hope this works:

function hideBackpack()
     game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
end

game:GetService("Players").CharacterAdded:Connect(hideBackpack)
1 Like

As I recall, do I put it inside the StarterPlayerScripts? That’s what I did with the other script, but it still showed the backpack after multiple resets and respawns.

Your script I believe does not work, because I’ve put it into a Localscript and put it into starterplayerscript folder, and reset/respawn and it shows backpack back up again.

StarterPlayerScripts (30 characters)

Could you try this in an empty baseplate? I am not able to reproduce this, so I’m thinking that it is something else in your game.

You could also try searching every script for SetCoreGuiEnabled(Enum.CoreGuiType.Backpack specifically using Control/Command (Windows/Mac) + Shift + F. This will bring up everywhere that the method is used in your place.

This should not happen unless you have code which makes it pop back up when spawning your character.

Consider testing on a blank baseplate to make sure it’s not an engine bug.
If you do not have this in your code, report it as a bug on #platform-feedback:engine-bugs

I believe if you put it in the StarterGui instead of StarterPlayerScripts the script would reset everytime you respawn thus making it work. Not sure, you could always try though. Let me know if it works or not.

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)