Basic Terminology!

Here are some terms, I created my own definitions for them! I hope they are accurate enough to appease the picky ones.

function OnTouch(Hit) = When someone touches the brick.

wait(n) = "n" being a variable for a number of your choosing, makes a pause in the script.

while true do = While the server is active/Button is active.

Reflectance = How reflective (shiny) a brick is.Transparency = How transparent(see through) a brick is.

Anchored = Can it be moved? Will it fall?

CanCollide = Can you touch the brick, or will you go through it?

script.Parent.Touched:connect(onTouched) = We need to know WHICH brick is the one being touched!

remove() = Removes the object! Be it a head, or a message.

More coming soon, but remember, this is just basic help!

Comments are not permitted on this post, because I created it as a page element so it stays on the top of the blog forever!

Sunday, March 16, 2008

Flashing brick

Remember, if the script doesn't work for you, send me a message in game, and I will correct any errors I have made!

Put this script in any brick:

Brick= script.Parent
while true do
wait(0.5)
Brick.Reflectance= 1
wait(0.5)
Brick.Reflectance= 0
end

No comments: