So I know that this isn’t the correct topic for this issue but I don’t have access to it, so there is a issue whenever I play on roblox studio and I play test the backpack and leaderboard just disappear, I used the StarterGui:SetCoreGuiType() to make the leaderboard and backpack visible but nothing happened, I cant find the issue and I’ve been trying to figure this issue out for a whole year yet no solutions.
Hello!
The issue of the backpack and leaderboard disappearing in Roblox Studio, especially during testing, is quite common and can be caused by several factors. Here are the main causes and potential solutions:
1. Test Environment in Roblox Studio
- When you launch a game in “Play” or “Play Here” mode inside Roblox Studio, some interface elements (such as the default leaderboards and backpack) may automatically hide or not appear due to settings or code conflicts.
- In this case, try using the “Start” test mode or “Play” inside the editor (F5) to check if the elements disappear only under certain conditions.
2. Using StarterGui:SetCoreGuiType()
- This method manages standard Roblox interfaces such as leaderboard, backpack, chat, etc.
- Important: It only works in Game Mode, not in the editor or test mode.
- Inside Roblox Studio, when testing, sometimes
SetCoreGuiType()does not give the expected result due to limitations. - Solution: Make sure to call
SetCoreGuiType()after the game has fully loaded, such as insidePlayerAddedor through theStarterPlayerScriptsevent.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local gui = player:WaitForChild("PlayerGui")
-- Setting the type CoreGui
pcall(function()
game:GetService("StarterGui"):SetCoreGuiType(Enum.CoreGuiType.PlayerList)
end)
end)
end)
3. Problems with synchronization or conflicts
- There may be scripts that hide or remove these elements.
- Check all the scripts related to the interface and make sure that
Destroy()orHide()is not called anywhere for the backpack or the leaderboard.
4. Restrictions in test mode
- In some cases, especially if you are using third-party or custom interfaces, Roblox may block or hide standard elements to avoid conflicts.
- Try creating a new test project and check if the issue persists.
5. Checking the console and errors
- Check the Output window in Roblox Studio for errors or warnings related to the interface.
- Sometimes scripts can cause errors that prevent elements from being displayed.
Final recommendations:
- Run the game in “Play” or “Start” mode (not in “Test” mode inside the editor) to make sure that the elements are displayed correctly.
- Check the scripts for conflicts or errors, especially those that control the GUI.
- Use
SetCoreGuiType()correctly and call it after the player has fully loaded. - Create a minimal example with only a basic interface to check if the elements disappear there, or if the issue is in your main project.
If you want, I can help you with an example of a minimal working scheme or more specific hints — just send me a piece of your script where SetCoreGuiType() is called and where the interface elements are managed.
so i tried doing start and i used f5 but no results, just the same, and its not for one game, its for every single game, i make a new one, they disappear, there are no errors on the output, and no scripts remove any of these elements.
if you can’t help then don’t reply to this post or use chatgpt
but you did
does the issue appear on other places?
It may be due to your screen size.
Try using Device Emulator on 720p Default and see what happens.