So I am trying to hide the top menu with the player list, health bar and that stuff and this script works
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)v
But it only works in roblox studio how would I make it work in the actual game?

1 comment
Are you using it in a LocalScript? Is there a need for that v at the end? Also, if your intending to completely remove the top bar, you can't. Roblox has not released a function for people to remove it and probably won't (I think bad decision on their part for not allowing user choice).