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

Why does this simple script not work?

Asked by 9 years ago

It's a surface gui (Picture below) and it has a few frames, a text button and other items. The script is:

script.Parent.MouseButton1Down:connect(function()
    script.Parent.Parent.Parent.loader.gatectrl.Visible = true
    script.Parent.Parent.Parent.titler.title.Text = script.Parent.Text
end)

Here's the layout of the surfacegui: http://postimg.org/image/3re3oyu0b/aa4323ce/

loader is visible, so I don't see why it's not working..! Please help!

If you'd like to test it in the game, here is the link: http://www.roblox.com/games/256578062/jamesbiggsbots-Place-Number-213

Answer this question