|
| 15 Sep 2012 10:59 PM |
How do you change both of them with scripting?
Is is with Color2.new? Or... Color.new??
Is it with Vector3.new or Vector2.new Or what?! |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 11:01 PM |
Color is Color3.new
Size UDim2.new |
|
|
| Report Abuse |
|
|
Strieken
|
  |
| Joined: 17 Jun 2011 |
| Total Posts: 3058 |
|
|
| 15 Sep 2012 11:01 PM |
Do you want to change the TextButton's TextColor or the background color?
You need to use Color3 and Vector3 for Size and Color.
For the fire, you need to use Color3. |
|
|
| Report Abuse |
|
|
Strieken
|
  |
| Joined: 17 Jun 2011 |
| Total Posts: 3058 |
|
|
| 15 Sep 2012 11:02 PM |
Latepost.
Also, I wasn't thinking correctly, the guy ahead of me is correct, UDim2 is what you use for changing size/position of GUI's. |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 15 Sep 2012 11:02 PM |
Fire uses BrickColor.new() for color and its size is determined by its "Heat" and "Size" values, which are both integers.
All GUI elements use Color3.new() for Color, and their size is changed with UDim2.new() |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 11:05 PM |
Soo....
TextButton.Size = UDim2(0,0;0,0)??? |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 11:08 PM |
Well yes, but call me a Stickler, but change your semi-collin to a coma ;D. But yes, that would create a default textbutton with a size of...nothing! :D
if CookieMonster.pro == true then do repeat wait() KirbyDance until CookieMonster.pro = false --In other words, KirbyDance forever!
-Tester- |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 11:20 PM |
Mmk well can you tell me why this script isn't working? :o
me = cyclone3260 local a = Instance.new("ScreenGui",game.Players.cyclone3260.PlayerGui) local b = Instance.new("TextButton",game.Players.cyclone3260.PlayerGui.a) b.Size = UDim2(0,100,0,100) b.Style = "RobloxButtonDefault"
|
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 11:22 PM |
me = "cyclone3260" local a = Instance.new("ScreenGui",me.PlayerGui) local b = Instance.new("TextButton",a) b.Size = UDim2.new(0,100,0,100) b.Style = "RobloxButtonDefault" |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 11:36 PM |
I did
me = "cyclone3260" local a = Instance.new("ScreenGui",me.PlayerGui) local b = Instance.new("TextButton",a) b.Size = UDim2.new(0,1000,0,1000) b.Style = "RobloxButtonDefault"
There was no errors.. But I didn't see it :\ |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2012 11:38 PM |
| Also, fire can use Color and SecondaryColor |
|
|
| Report Abuse |
|
|
| |
|