Disabling CoreGui Backpack

I forgot to mention, search your scripts for any backdoors, “getfenv” or “require”.

If those don’t work, this is going to sound really dumb, but I’d just repeat setting the coreguitype to false under a RunService connection, but that’s when we’re REALLY desparate.

local StarterGui = game:GetService("StarterGui")

local UPDATE_FREQUENCY = 0.25 -- Updates backpack every 0.25 seconds
local start = tick()
game:GetService("RunService").Heartbeat:Connect(function()
	if tick() - start > UPDATE_FREQUENCY  then
		start = tick()
		StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
	end
end)

No getfenv. I use require for my own module scripts. The only other places with require are in Basic Admin Essentials, CMDR, and Trello. I could try removing those module scripts and see if it works then.

1 Like

Hmm yeah give that a shot. You can also try searching for Enum.CoreGuiType.All to see if that is being enabled as well :slight_smile:

I tried removing those module scripts and the backpack still comes back.

1 Like

No Enum.CoreGuiType.All either.

1 Like

I went to the really desperate stage and the backpack gui is flashing on and off.

1 Like

Hmmmm…something else you COULD try is searching through scripts while you’re playtesting to see if any new scripts and code arise.

Search for getfenv, require, and Enum.CoreGuiType. to see if anything shows up.

For anyone who was wondering, the problem was resolved.

There was another local script that was toggling the backpack every two seconds :slight_smile:

1 Like