Is there a way to set the visible of multiple frames to falsest at once? something like:
--// Variables
local HUD = script.Parent.Parent.HUD
local plr = game.Players.LocalPlayer
--// Show/Hide HUD
plr:GetMouse () .KeyDown:Connect(function(Y)
if Y == "y" then
HUD:GetChildren().Visible = false
end
end)

1 comment
An easier solution would be to (if he/she wants to hide everything from the Gui) just disable/enable it. When it's something like If not Y == "y" then HUD.Enabled = true, let me know if this seems like an easier solution