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

Frame Visible script?

I am trying to make this frame bleak on and off for 1.5 seconds but it won't allow me to try it. Any suggestions?

local Frame = game.Workspace.Frame while true do wait(1.5) Frame.Visible = false wait(1.5) Frame.Visible = true end

3 comments

1

GUI elements only appear if they're within a ScreenGui in the PlayerGui or in a SurfaceGui or BuildBoardGui in a part in Workspace.

0

You will not be able to see the Frame in workspace. Make sure it is inside a ScreenGui which is inside StarterGui. (Unless of course you're going to clone it directly into the PlayerGui yourself.)

0

Even though this isn't really important this time, please use the "Lua" formatting button to hold your code next time. It makes it much easier on us to help you.

2 answers

--Put this under the object named "Frame" --Put the object to the StarterGui

while true do wait(1.5) script.Parent.Visible = false wait(1.5) script.Parent.Visible = true end

--Put this under the object named "Frame" --Put the object to the StarterGui

while true do wait(1.5) script.Parent.Visible = false wait(1.5) script.Parent.Visible = true end

Just making NanoWolf's answer easier to read. Good luck

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