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: I'm just learning the absolute basics

Previous Thread :: Next Thread 
link7002 is not online. link7002
Joined: 26 May 2009
Total Posts: 545
29 Feb 2012 05:49 PM
I'm not a newbie or anything, but I want to grasp the basics. To make this work, what would I have to do? You do not need explain, as I'm sure it explains itself

x = 0

for 1, 10 do -- probaly wrong
script.Parent.BackgroundTransparency = x + 0.1 -- the real problom
end

I am working with a frame inside a screengui, btw
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
29 Feb 2012 05:51 PM
Close:

for i = 0, 1, 0.1 do -- probaly wrong
script.Parent.BackgroundTransparency = i
end

† KMXD †
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
29 Feb 2012 05:51 PM
Wait, fade in, or out?

† KMXD †
Report Abuse
link7002 is not online. link7002
Joined: 26 May 2009
Total Posts: 545
29 Feb 2012 05:53 PM
Either way, I'm literly just trying to find out this function. I once made a script with like 100 lines because I couldn't do this.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
29 Feb 2012 05:56 PM
Lol.

Fade in:

for i = 1, 0, -0.1 do
script.Parent.BackgroundTransparency = i
wait(0.1)
end

Fade out:

for i = 0, 1, 0.1 do
script.Parent.BackgroundTransparency = i
wait(0.1)
end

† KMXD †
Report Abuse
NinjaShadow1 is not online. NinjaShadow1
Joined: 03 Mar 2009
Total Posts: 2689
29 Feb 2012 05:59 PM
If you make a for loop. You don't need the
i = 0
before you say
for i = 1, 10 do

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