|
| 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
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 34 |
|
| |
|
|
| 07 May 2014 10:47 PM |
| Just get out of this forum if you dont wanna help |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 34 |
|
| |
|
| |
|
|
| 07 May 2014 10:52 PM |
| Hmmmm It doesent even work... |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 07 May 2014 11:02 PM |
| Let me see first if it does work |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
| |
|