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.
|