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: Why would not this work?

Previous Thread :: Next Thread 
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
07 May 2014 10:43 PM
------------------------------------------------
------------------------------------------------
----------------------------------------------
s = Instance.new("ScreenGui", script.Parent)
s.Name = "ScreenGui"
i = Instance.new("ImageButton", script.Parent.ScreenGui)
i.Image = ("rbxassetid://62461514")
i.Size = UDim2.new(0, 100),(0, 100)
i.Position = UDim2.new(0, 10),(0, 50)
Report Abuse
TxOreo1 is not online. TxOreo1
Joined: 13 Apr 2014
Total Posts: 34
07 May 2014 10:45 PM
[ Content Deleted ]
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
07 May 2014 10:47 PM
Just get out of this forum if you dont wanna help
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
07 May 2014 10:48 PM
s = Instance.new("ScreenGui", script.Parent)
s.Name = "ScreenGui"
i = Instance.new("ImageButton", script.Parent.ScreenGui)
i.Image = ("rbxassetid://62461514")
i.Size = UDim2.new(0,100,0,100)
i.Position = UDim2.new(0, 10,0,50)
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
07 May 2014 10:50 PM
When editing the size or position of a GUI with lua, you do it by (0,0,0,0), not
(0,0),(0,0). That's only for properties, not lua.
Report Abuse
TxOreo1 is not online. TxOreo1
Joined: 13 Apr 2014
Total Posts: 34
07 May 2014 10:50 PM
[ Content Deleted ]
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
07 May 2014 10:50 PM
Just ignore tx.
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
07 May 2014 10:52 PM
Hmmmm It doesent even work...
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
07 May 2014 10:53 PM
If it doesn't work, then I don't know why. It's either because of the script.Parent part, or because the texture method you're using is invalid.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 May 2014 10:55 PM
s = Instance.new("ScreenGui", script.Parent)
s.Name = "ScreenGui"
i = Instance.new("ImageButton", script.Parent.ScreenGui)
i.Image = ("http://www.roblox.com/asset/?id=62461512")
i.Size = UDim2.new(0,100,0,100)
i.Position = UDim2.new(0, 10,0,50)
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 May 2014 10:56 PM
'A. Subract image id by 1'
Close, it got sniped by a model. Had to go 2 down.
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
07 May 2014 11:02 PM
Let me see first if it does work
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 May 2014 11:02 PM
I tested it already.
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