I have a custom inventory made on my game (screenshot below). However, when you choose to play the game on mobile the inventory completely does not work but instead uses the Roblox default inventory. Is there a fix to this?
I’m assuming you want the inventory to be disabled? If so…
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
You can find out more here:
It is disabled but playing on mobile overrides it.
Have you tried disabling the backpack itself by chance?
(Enum.CoreGuiType.Backpack, false)
yes this code is included in my script.
Lastly, is your script a Local Script
and located in StarterGui
? Other than that, have you also tried to directly modify the individual player’s UI using game.Players.LocalPlayer.PlayerGui:SetCoreGuiEnabled
rather than StarterGui:SetCoreGuiEnabled
?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.