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: Variable withing while true loop question

Previous Thread :: Next Thread 
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
13 Feb 2014 05:27 PM
Anyway that I can assign a variable at the end of a while true loop, and then bring it into use when the loop starts over?
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
13 Feb 2014 05:27 PM
And the variable must be assigned within the loop.
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
13 Feb 2014 05:29 PM
x=1
while true do
game.Workspace.Base.Trasparency=x
x=x+1
end

x will be changed first loop and everytime I loops it will add 1.
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
13 Feb 2014 05:32 PM
Oh gosh, I sometimes over complicate things so much. I was about to go make a variable within Workspace to hold some info instead of doing that. That's for responding, I need to concentrate a bit more.
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
13 Feb 2014 05:34 PM
lol :P It's okay I think we all do it especially while we are still learning.
Report Abuse
BoomtownsINFO is not online. BoomtownsINFO
Joined: 14 Dec 2011
Total Posts: 55
13 Feb 2014 05:38 PM
BUt your the one and only mariostar, why are you asking us? o3o
Report Abuse
dodleman is not online. dodleman
Joined: 22 Dec 2007
Total Posts: 1118
13 Feb 2014 05:40 PM
or you could just
for i=1,10,.1 do
part.Transparency = i
end
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
13 Feb 2014 05:40 PM
I'm certainly not still learning, I'm just working 14 hour long a day, lol.
It wears down on one's intellect.

See, I even spelt 'within' wrong in the title.
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
13 Feb 2014 05:45 PM
Either someone just made a ghost post, or I'm going insane.
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
13 Feb 2014 05:46 PM
But he asked for a while true do loop thoughhh :P lol
Plus we don't know that his variable is going to be a number.
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