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

Frame Visible script?

Asked by 9 years ago

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

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. FearMeIAmLag 1161 — 9y
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.) Perci1 4988 — 9y
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. RoboFrog 400 — 9y

2 answers

Log in to vote
0
Answered by 9 years ago

--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

Ad
Log in to vote
0
Answered by 9 years ago

--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

Answer this question