|
| 22 Aug 2011 05:33 AM |
Button3 = Toolbar:CreateButton("", "Add Bricks", "brick_add.png") Button3.Click:connect(function() function on() frame = Instance.new("Frame") frame.Parent = game.CoreGui.RobloxGui frame.Name = "Bricks" frame.Size = UDim2.new(0,200,0,50) end function off() frame:Remove() end if on == false then on = true -- output refers here function on() end else on = false function off() end end end)
It says "then expected near on" |
|
|
| Report Abuse |
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
| |
|
| 22 Aug 2011 06:04 AM |
Nope its just I have other buttons so the toolbar creation was ~60 lines behid I felt to lasy to remove the other button code so... |
|
|
| Report Abuse |
|
| |