Hi, hello, it was Tuesday and i finally made a main menu for my game. It looks nice and cool and the buttons are working perfectly. But i have a problem.
The player can do suicide, and that will ruin the GUI. Why?
After suicide, apparently the StarterGUI reloads itself with it's default state .I mean such as, whether the ScreenGUI inside it is enabled or not. e.g: i set the HUD ScreenGUI to be enabled by default, and disabled it when a player joins, only enabling it after they hit play. But if the player does suicide, the default state loads, and the main menu will be overlaid with the HUD's GUI.
The player can fiddle around with the camera setting in the Roblox settings (such as follow, classic, and default kinda stuff), and when they do the camera just, messes up. (My main menu has a camera set on a part's CFrame)
The default gui is still on. The slotbar and the chat and the inventory, it's still there. I haven't looked about how to disable it.
And that's about the problems that I'm currently having. Any help, is much appreciated. Thanks.
Also i'm sorry if my wording is bad, because i'm not good at English.

1 comment
I see, i've actually pondered upon the idea to make a value like that. With your answer i'm reassured. Thanks a bunch! Also thanks for the camera one, for the CoreGUI i've figured it out with a simple googe search. I was being lazy at the time i wrote the post. Again, thanks.