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

how do i hide gui's when players are in a round?

Asked by 6 years ago

i can't find a way to hide a gui with out geting a error please help``

    for i = 3, 1, -1 do
        h.Text = "Game begins in " .. i
        wait(1)
        script.Sound:Play()
        local i = game.Players.LocalPlayer.PlayerGui.test.Frame
        i.Visble = true
    end~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~

1 answer

Log in to vote
0
Answered by
Diltz_3 75
6 years ago

GuiObject/Frame has Visible.

local Frame = script.Parent

Frame.Visible = false -- Hidden
Frame.Visible = true -- Not Hidden
Ad

Answer this question