how to prevent the player from seeing and not being able to use their items while the menu (GUI) is open, and then when the menu is closed the player will be able to see his items
1 Like
StarterGui contains a function that will allow you to toggle the visibility of certain parts of the CoreGUI, this might be able to help you:
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false)
Read more about it here.