TextButtons not functioning?
So, in this normal script it is suppose to change a TextButton and a frame to invisible, while changing another frame to visible. I have tried both local and normal scripts. It is a SurfaceGui that I am using. The TextButton will not function at all when clicked. Here is the script(currently normal script):
03 | if debounce = = false then |
05 | script.Parent.Text = "Logging In" |
06 | script.Parent.Parent.Login.TextLabel.Text = "Welcome to russieTECH Wayfarer" |
08 | script.Parent.Parent.Login.TextLabel.Text = "russieTECH" |
09 | script.Parent.Text = "Login" |
10 | script.Parent.Parent.Login.Visible = false |
11 | script.Parent.Visible = false |
12 | script.Parent.Parent.Main.Visible = true |
15 | print "Invalid debounce" |
20 | script.Parent.MouseButton 1 Down:connect(OnClick) |