2DWorlds Forums
Why can't I click? - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: Why can't I click? (/showthread.php?tid=7674)



Why can't I click? - Ice - 08-04-2011

Qwerty made this for me.

But I can't seem to click it in game. (single-player)

[lua]
button = script.Parent --put the script inside the clickbutton
crane = button.Parent --put the clickbutton inside the crane model
bawl = crane.Wrecker --name the demolition ball "Wrecker" and put it in the crane model
link(button.Clicked, function()
bawl.Fixed = false
end)[/lua]

I'm not much of a scripter, so does anyone know what the problem is?
You can see what I'm trying to do here. (The construction level)