stampelt
(stem)
October 29, 2022, 12:41pm
#1
I’ve used this simple line of code in a local script, located in StarterPlayerScripts:
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
It doesn’t seem to work, I’ve put it in StarterGui, StarterCharacterScripts and it doesn’t seem to work either way
stampelt
(stem)
October 29, 2022, 12:42pm
#2
when I insert the script into another game, it works
Is there an error in the output? Because that might be the reason it’s not working.
stampelt
(stem)
November 3, 2022, 12:48pm
#4
nope, no errors or anything. Sorry if I didn’t answer like 5 days later
Are there any scripts in your game also interacting with the backpack? Thats the only possible reason this isn’t working. Also have you tried putting this in a loop?
stampelt
(stem)
November 4, 2022, 11:32am
#6
Yes, I’m trying to make it sort of like Arsenal’s invisible hotbar. Yes I’ve tried to put it in a loop
Pcoi94
(Pcoi94)
January 24, 2023, 8:37pm
#7
Probably this script would work:
StarterGui = game:GetService("StarterGui")
repeat StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
until StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
system
(system)
Closed
February 7, 2023, 8:38pm
#8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.