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

How do I fix my Update Log not showing up?

Asked by
KSFang 5
8 years ago
Edited 8 years ago

hi! I'm new to scripting and am trying to make my update log for my game work. It is supposed to be invisible until the TextButton that says"Update Log" is clicked,however, it doesn't work at the moment,and stays invisible.The Textbutton that makes it turn visible doesn't turn invisible. My script is down below, can anyone help me out?

not:tried to keep this script as simple as possible so i didn't confuse myself.

1local textbutton = script.Parent
2textbutton.MouseButton1click:connect(function()
3    if textbutton.Mousebutton1click = true
4        then
5        game.StarterGui("Starter Screen").visible = true
6        and
7        textbutton.Parent.Visible = false
8end)
0
well, first, will it still work if i have to use it for a textbutton instead, which i need the textbutton to be clicked,turn invisible,and then make the Update Log visible. second, will i have to rewrite my functions since im using playergui instead? KSFang 5 — 8y

Answer this question