of     1   

Winthor
#6471158Monday, March 16, 2009 10:09 PM GMT

NOTE: if you do not like to see a noob like me teach other players a basic Lua program, then don't comment. I'm just trying to help! =] ------------------------------------------------------------------------------- Let's say you have a brick in workspace and it's name is "OOO". alright? This will be the beginning of our script: _______________________________________________ OOO = game.Workspace.OOO _______________________________________________ Now. what do we want to do with "OOO"? Lets say we want to make poop chang transparency levels. Alright? this is how it will go: _______________________________________________ OOO = game.Workspace.OOO while true do wait(1) OOO.Transparency = 1 wait(1) OOO.Transparency = .7 wait(1) OOO.Transparency = .4 wait(1) OOO.Transparency = .2 wait(1) OOO.Transparency = 0 _______________________________________________ do you understand how that script works? If so, then that means you're doing really well so far. STEP BY STEP: Line 1. game.Workspace.OOO is "OOO" witch can be found in "Workspace". Workspace can be found in the "game". Line 2. do the following things.. Line 3. wait 1 second. Line 4. Switch OOO to fully transparent. Line 5. wait 1 second. Line 6. Switch OOO to .7 transparency. Line 7. wait 1 second. Line 8. Switch OOO to .4 transparency. Line 9. wait 1 second. Line 10. Switch OOO to .2 transparency. Line 11. wait 1 second. Line 12. Switch OOO to fully VISIBLE.
Winthor
#6471234Monday, March 16, 2009 10:10 PM GMT

The name of this thread MAY possibly be misleading. I'm sorry about that. I just noticed. Because this is not MUCH of a guide. It's more of explaining the script step-by-step.
HellbenderIII
#6471323Monday, March 16, 2009 10:13 PM GMT

...................... BORING =F oh mah drool O.o
Winthor
#6471591Monday, March 16, 2009 10:19 PM GMT

Thanks buddy, real nice. Might i draw your attention to the "NOTICE" at the top of this thread? thanks.
lantaren10
#6473403Monday, March 16, 2009 11:01 PM GMT

thisl work 2. _G["OOO"] = game.Workspace.OOO
Winthor
#6474413Monday, March 16, 2009 11:24 PM GMT

mmhm. you can also do this script with any characteristic of the model. Such as Reflectance, CanCollide, and Anchored.
eyeontheprize
#6474621Monday, March 16, 2009 11:28 PM GMT

First explain how to non object oriented programming.
Winthor
#6474813Monday, March 16, 2009 11:32 PM GMT

Actually, I only know OOP.
Winthor
#6475070Monday, March 16, 2009 11:38 PM GMT

Feel free to comment, everybody.
lantaren10
#6475161Monday, March 16, 2009 11:40 PM GMT

someone means this? _G["gw"] = game.Workspace _G["tr"] = true _G["fa"] = false _G["CC"] = CanColide _G["tr"] = Transparent _G["re"] = Reflectance i made this all by myself. game.Workspace might not work.
Winthor
#6503797Tuesday, March 17, 2009 11:28 PM GMT

Nice.

    of     1