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?

script.Parent.MouseButton1Click:connect(function(Clicked) 
	script.Parent.Visible = false
	script.Parent.Parent.Size.Visible = true
	script.Parent.Parent.Jump.Visible = true
	script.Parent.Parent.Back.Visible = true
	script.Parent.Parent.Speed.Visible = true
	script.Parent.Parent.Customsize.Visible = true

end)

2 comments

0

Put it in a LocalScript.

0

Ok Thanks