|
| 29 Jul 2012 08:20 PM |
Sorry I have been posting so much today; been having quite a few problems. I am trying to make the text fade out, and then fade back in but say something different. When I enter the Gui does not appear at all. It did with a different version of the script I wrote, but the fade effect on it was very bad. What's wrong with this one?
while true do for i = 0, 1, 0.1 do script.Parent.msg1.TextTransparency = 1; wait(0.1); end script.Parent.msg1.Text = "IS EPIC" for i = 1, 0, -0.1 do script.Parent.msg1.TextTransparency = 1; wait(0.1); end for i = 0, 1, 0.1 do script.Parent.msg1.TextTransparency = 1; wait(0.1); end script.Parent.msg1.Text = "SHADOWKNIGHT619" for i = 1, 0, -0.1 do script.Parent.msg1.TextTransparency = 1; wait(0.1); end end
|
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 08:21 PM |
You set the transparency to 1, not i :P Change it to script.Parent.msg1.TextTransparency = i; |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2012 08:21 PM |
dont you have to change the transparency each time(Not really good with GUIs :P)
|
|
|
| Report Abuse |
|
|
omzig
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 578 |
|
|
| 29 Jul 2012 08:22 PM |
| Change the 1 in the script to an i, since i is what you're counting by. |
|
|
| Report Abuse |
|
|
omzig
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 578 |
|
|
| 29 Jul 2012 08:22 PM |
| D'oh, late post! Droid I will beat you one day! |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2012 08:24 PM |
| I think i meant what they said.... maybe |
|
|
| Report Abuse |
|
|
omzig
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 578 |
|
|
| 29 Jul 2012 08:25 PM |
| Errr... Not really, but you were right about the transparency. :p |
|
|
| Report Abuse |
|
|
| |
|
| |
|
1azy
|
  |
| Joined: 26 May 2012 |
| Total Posts: 18 |
|
| |
|
| |
|