Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 05 Jun 2015 09:46 PM |
Well, I feel pretty stupid. I'll get to the point, the error says it expected an = and got a -.
I can't seem to figure out what's wrong, so hopefully someone out there will be able to give me a hand.
Code: repeat wait(.1) script.Parent.status.TextTransparency - .1 until script.Parent.status.TextTransparency == 0
|
|
|
| Report Abuse |
|
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 05 Jun 2015 09:47 PM |
oh mah god, i just realized happy 500 posts, me |
|
|
| Report Abuse |
|
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
| |
|
|
| 05 Jun 2015 09:51 PM |
repeat wait(.1) script.Parent.status.TextTransparency = script.Parent.status.TextTransparency - .1 until script.Parent.status.TextTransparency == 0 |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2015 09:53 PM |
| repeat wait(0.1) script.Parent.status.TextTransparency = script.Parent.status.TextTransparency - 0.1 until script.Parent.status.TextTransparency == 0 |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 05 Jun 2015 09:53 PM |
you can't just do random math
this is what u r doing
repeat wait(1) 2 + 2 until rainbows
--
here is fix
local status = script.Parent.status
repeat wait(.1) status.TextTransparency = status.TextTransparency - .1 until status.TextTransparency == 0 |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2015 09:54 PM |
Lol he beat me to it :P
Also if it's going from 1 to 0, you can use:
for i = 1,10 do script.Parent.status.TextTransparency = script.Parent.status.TextTransparency - 0.1 wait(0.1) end |
|
|
| Report Abuse |
|
|
| |
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 05 Jun 2015 09:58 PM |
yep i officially now feel stupid thanks for helping though e.e |
|
|
| Report Abuse |
|
|