1 Like
make the gui invisible when the camera is focused on main menu
2 Likes
if your gui is blocking the views, in properties, there is a “Visible” boolean… you can press the boolean On/Off or you can make it with script to make it disable/enable by press the most needed button…
button that can toggle:
-- example, you add this script on the mostly needed button
local ExampleButton = script.Parent
local Frame = script.Parent.Parent
local Textlabel = script.Parent.Parent
ExampleButton.MouseButton1Click:Connect(function()
Frame.Visible = not Frame.Visible -- Toggle in one buttons
end)
-- Not Just That, textlabel can too
ExampleButton.MouseButton1Click:Connect(function()
TextLabel.Visible = not TextLabel.Visible -- Toggle in one buttons
end)
hope this is helpfull
edit: you must pick a one of Textlabel
or Frame
so this all is your, any problem? reply for a sick thing (Because i can fix all the sick thing)
1 Like
ill make sure to try this! Thanks!