Why won't my text button activate any code in play mode?
Asked by
7 years ago Edited 7 years ago
I've tried many things to get this to work. it works in test mode in studio and opens the rest of the GUI but when I run a server, it does nothing. This is the code I've used in the button. What have I done wrong?
1 | script.Parent.MouseButton 1 Click:connect( function (Clicked) |
2 | script.Parent.Visible = false |
3 | script.Parent.Parent.Size.Visible = true |
4 | script.Parent.Parent.Jump.Visible = true |
5 | script.Parent.Parent.Back.Visible = true |
6 | script.Parent.Parent.Speed.Visible = true |
7 | script.Parent.Parent.Customsize.Visible = true |