game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu,false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat,false)
This is Ugly,
And you might Say: "Just use Enum.CoreGuiType.All!
"
But that’s not what I want, I want some CoreGuis
to be Active while others Aren’t, I was wondering if it was possible to have an Array of Enum.CoreGuiTypes
for the function to Apply instead of calling the function several times?
Doing it Normally would just say:
Unable to cast Array to token
Thanks.