generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: A major headache script...

Previous Thread :: Next Thread 
meteorit210 is not online. meteorit210
Joined: 08 Sep 2010
Total Posts: 348
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 is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
22 Aug 2011 05:54 AM
Toolbar is nil~
Report Abuse
meteorit210 is not online. meteorit210
Joined: 08 Sep 2010
Total Posts: 348
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
meteorit210 is not online. meteorit210
Joined: 08 Sep 2010
Total Posts: 348
22 Aug 2011 06:57 AM
bump bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image