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

GUI isn’t showing, I need help correcting the code, may somebody help?

local textLabel = script.Parent:WaitForChild("Main"):WaitForChild("Text")

local function typewrite(object,text) for i = 1,#text,1 do object.Text = string.sub(text,1,i) wait(0.05) end end

typewrite(textLabel,"You: W-What is this place?")

wait(1.35)

typewrite(textLabel,"Blue: Welcome to the (name)")

wait(2)

typewrite(textLabel,"You: How did I get here?")

wait(1.25)

typewrite(textLabel,"Blue: No time to explain, follow me.")

wait(1.85)

typewrite(textLabel,"You: Alright.")

wait(2)

game.StarterGui.Choice.Visible = true

2 comments

0

code block

0

please separate code

1 answer

✓ Accepted answer

I believe you’re looking for game.StarterGui.Choice.Enabled = true. (Visible isn’t a property of a screen GUI, only Enabled.)

Also, please ensure you're using a code block. (it's the 6th button.)

2 comments

0

Wow, thanks! It worked.

0

Could you mark as solution?

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