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: Imagebutton

Previous Thread :: Next Thread 
Jheyho is not online. Jheyho
Joined: 10 Jan 2009
Total Posts: 16335
15 Aug 2011 03:40 AM
I run this, but it won't apply the settings...

button = Instance.new("ImageButton", frame)
button.Position = UDim2.new(0, 10, 0, -10)
button.Size = UDim2.new(0, 55, 0, 55)
button.BackgroundColor3 = (17, 17, 17)
button.BorderColor3 = (17, 17, 17)
button.Image = Image.new "http://www.roblox.com/asset/?id=59396018"
button.Active = true
button.Visible = true

What's wrong?
Report Abuse
Jheyho is not online. Jheyho
Joined: 10 Jan 2009
Total Posts: 16335
15 Aug 2011 03:41 AM
Please help.
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
15 Aug 2011 03:48 AM
o.o
Is that a new instance?
Report Abuse
WishNite is not online. WishNite
Joined: 11 Feb 2009
Total Posts: 15828
15 Aug 2011 03:52 AM
button.Image = Image.new "http://www.roblox.com/asset/?id=59396018"

...Should be


button.Image = "http://www.roblox.com/asset/?id=59396018"

Output should of had an error for you :p
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