Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I get the GameMainMenuFrame?

Asked by 10 years ago

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

Log in to vote
0
Answered by
Moxeh 84
10 years ago

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)--]]
Ad

Answer this question