|
| 02 Jun 2015 10:05 PM |
function script.Parent.Sound:Play() script.Parent.TextTransparency = .9 script.Parent.TextTransparency = .8 script.Parent.TextTransparency = .7 script.Parent.TextTransparency = .6 script.Parent.TextTransparency = .5 script.Parent.TextTransparency = .4 script.Parent.TextTransparency = .3 script.Parent.TextTransparency = .2 script.Parent.TextTransparency = .1 script.Parent.TextTransparency = 0
end
it doesnt work
dont laugh at my bad scripting
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 02 Jun 2015 10:06 PM |
function pleaseuseloopsnexttime() script.Parent.Sound:Play() for i = 1,0,-0.1 do script.Parent.TextTransparency = i wait(0.1) end end |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 02 Jun 2015 10:06 PM |
| So you have a TextLabel with a Sound and this script in it? |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:07 PM |
No i have a gui and this script and a sound thinger is in it.
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 02 Jun 2015 10:07 PM |
script.Parent.Sound:Play() for i = 1,10 do script.Parent.TextTransparency = script.Parent.TextTransparency -.1 end
Magic
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 02 Jun 2015 10:08 PM |
------------------------------------- function something() script.Parent.Sound:Play() script.Parent.TextTransparency = .9 script.Parent.TextTransparency = .8 script.Parent.TextTransparency = .7 script.Parent.TextTransparency = .6 script.Parent.TextTransparency = .5 script.Parent.TextTransparency = .4 script.Parent.TextTransparency = .3 script.Parent.TextTransparency = .2 script.Parent.TextTransparency = .1 script.Parent.TextTransparency = 0 end
something() -------------------------------------
That would work, but do this instead
------------------------------------- function something() script.Parent.Sound:Play() for i = 1, 0, -0.1 do script.Parent.TextTransparency = i end end
something() -------------------------------------
Also, you need to check that script.Parent.TextTransparency is the right thing that you're setting. It doesn't look right! |
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 02 Jun 2015 10:08 PM |
Ninja'ed
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 02 Jun 2015 10:08 PM |
| I already sniped you all. Gtfo |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 02 Jun 2015 10:09 PM |
| Damn so many replies in like 3 seconds. How do you type so fast |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 02 Jun 2015 10:09 PM |
TextTransparency is a property of a TextLabel.
script.Parent is a reference for whatever this script is in.
So this script needs to be inside a TextLabel, and what also needs to be in the TextLabel is a Sound called Sound.
Otherwise, you need to rewrite your script. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:15 PM |
thx guys u are mah heros
everyone join group now www.roblox.com/Groups/group.aspx?gid=2590276
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 02 Jun 2015 10:17 PM |
function playSound() script.Parent.Sound:Play() script.Parent.TextTransparency = .9 script.Parent.TextTransparency = .8 script.Parent.TextTransparency = .7 script.Parent.TextTransparency = .6 script.Parent.TextTransparency = .5 script.Parent.TextTransparency = .4 script.Parent.TextTransparency = .3 script.Parent.TextTransparency = .2 script.Parent.TextTransparency = .1 script.Parent.TextTransparency = 0
end
playSound() |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:26 PM |
So I did this
function something() script.Parent.Sound:Play() script.Parent.TextTransparency = .9 wait (.381) script.Parent.TextTransparency = .8 wait (.381) script.Parent.TextTransparency = .7 wait (.381) script.Parent.TextTransparency = .6 wait (.381) script.Parent.TextTransparency = .5 wait (.381) script.Parent.TextTransparency = .4 wait (.381) script.Parent.TextTransparency = .3 wait (.381) script.Parent.TextTransparency = .2 wait (.381) script.Parent.TextTransparency = .1 wait (.381) script.Parent.TextTransparency = 0 end
something()
And it looks really sticky. How do I make the transparency feel smooth/ and when I dont have any waits it does it automatically
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 02 Jun 2015 10:28 PM |
local txt = script.Parent
script.Parent.Sound:Play() for i = 1, 0, -.01 do txt.TextTransparency = i wait() end |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 02 Jun 2015 10:29 PM |
local txt = script.Parent local sound = txt.Sound
sound:Play() for i = 1, 0, -.01 do txt.TextTransparency = i wait() end |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 02 Jun 2015 10:29 PM |
| @TheBlueRivers, How dare you ignore my post. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 02 Jun 2015 10:30 PM |
@amanda help me in this post please
http://www.roblox.com/Forum/ShowPost.aspx?PostID=163613427 |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:30 PM |
Actually, I read it. Though I saw no point in it.
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 02 Jun 2015 10:32 PM |
| No point? that a funny thing to say because my post was almost exactly like amandas. I'll be honest that's just not even funny. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:33 PM |
thx amanda join mah group
NOW
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:33 PM |
Lol sorry I read the second one.
"I already sniped you all. Gtfo "
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 02 Jun 2015 10:34 PM |
No one is going to join your crummy substandard group you 10 year old.
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:43 PM |
Guessing someones age is immature.
And unnecessary insult as well.
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 02 Jun 2015 10:44 PM |
| I am guessing you are blind. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2015 10:47 PM |
Partly.
"There's candy in the white van kids!" |
|
|
| Report Abuse |
|
|