Hey, i got this script on developer roblox page for disable game interface, but its not working on my main game, i made a baseplate for testing, and it worked, can someone help me?
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
This code is located on a LocalScript inside StarterGui.