generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: What's wrong with this Text Gui script?

Previous Thread :: Next Thread 
Shadowknight619 is not online. Shadowknight619
Joined: 28 Sep 2010
Total Posts: 2453
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 is not online. 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
Monkey1234567890123 is not online. Monkey1234567890123
Joined: 24 Oct 2009
Total Posts: 327
29 Jul 2012 08:21 PM
dont you have to change the transparency each time(Not really good with GUIs :P)
Report Abuse
omzig is not online. 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 is not online. 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
Monkey1234567890123 is not online. Monkey1234567890123
Joined: 24 Oct 2009
Total Posts: 327
29 Jul 2012 08:24 PM
I think i meant what they said.... maybe
Report Abuse
omzig is not online. 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
Monkey1234567890123 is not online. Monkey1234567890123
Joined: 24 Oct 2009
Total Posts: 327
29 Jul 2012 08:30 PM
lol... yup
Report Abuse
Shadowknight619 is not online. Shadowknight619
Joined: 28 Sep 2010
Total Posts: 2453
29 Jul 2012 08:36 PM
Thank you, work's now.
Report Abuse
1azy is not online. 1azy
Joined: 26 May 2012
Total Posts: 18
29 Jul 2012 08:36 PM
Hai
Change transparency
Report Abuse
Shadowknight619 is not online. Shadowknight619
Joined: 28 Sep 2010
Total Posts: 2453
29 Jul 2012 08:37 PM
works*
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image