|
| 24 Apr 2013 01:49 PM |
| how do i change the color of a text? i dont have much if not any. experience with TextColor3 |
|
|
| Report Abuse |
|
|
200AB
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 1604 |
|
|
| 24 Apr 2013 01:51 PM |
| http://wiki.roblox.com/index.php/TextColor3_(Property) |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Apr 2013 02:25 PM |
gui = script.Parent
gui.MouseEnter:connect(function() script.Parent.BackgroundTransparency = 0 script.Parent.TextColor3 = Color3.new(0, 0, 0) end)
gui.MouseLeave:connect(function() script.Parent.BackgroundTransparency = 1 script.Parent.TextColor3 = Color3.new(255, 0, 0) end)
i have this in a TextButton. the text color changes to 0, 0, 0 (black) but doesnt change back to 255, 0, 0 (red) |
|
|
| Report Abuse |
|
|
alliancer
|
  |
| Joined: 18 Mar 2013 |
| Total Posts: 1016 |
|
| |
|
|
| 24 Apr 2013 02:28 PM |
| ? im asking for help lol :3 |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Apr 2013 03:58 PM |
There is a ROBLOX glitch where if you move your mouse in and our of a gui that uses "MouseEnter" and "MouseLeave" to fast, the "MouseLeave" will not fire.
Try moving it slower. If it still doesn't work, give us an Output. |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2013 03:59 PM |
| Also, I thought it was (255/255, 0/255, 0/255) |
|
|
| Report Abuse |
|
|