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

how do i disable a screen gui until a certain action is made?

I'm doing a text adventure/horror game, and I want to make the text/screen gui disappear, then reappear once the player steps on a part.. any help? (I'll leave the code if you ask, but it's like 250 lines long, so, lol.)

1 comment

0

replied to commenbt

1 answer

✓ Accepted answer
local screengui = script.parent 
screengui.enabled = true -- appear
wait(3)
screengui.enabled = false -- disappear

8 comments

0

thanks!

0

no thank you

0

wait it didnt work?

0

it says "enabled is not a valid member of TextLabel

0

change it to visible

0

that didn't work either.

0

now it says visible is not a valid member of TextLabel

0

cap V

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