how can i remove or make unable to use the inventory system which is oppened with "?
use this:
1 | local StarterGui = game:GetService( "StarterGui" ) |
2 | StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false ) |
but you should also check here: https://developer.roblox.com/en-us/articles/Disabling-Parts-of-Game-Interface