Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I get the GameMainMenuFrame?

I'm making this camera and I want to take screenshots. I looked at this corescript roblox had in my harddrive but its like thousands of lines. Does anyone know how to get the gameMainMenuFrame? Or is it just a protected coregui? Thanks for reading!

1 answer

✓ Accepted answer

This disables all the the CoreGui that ROBLOX has, if you would like to disable single parts of it change the second line of code out with the corresponding Hint.

local StarterGui = game:GetService('StarterGui')
 
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)

--[[Other CoreGui Settings Options
Health: StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
All but Chat: StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
			  StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)--]]

This discussion is preserved as it was. New answers, comments, and votes are closed.