Making a door that will open and close.

Okay we are going to make a door that will open every minute. First Insert a block about the sise of a door and put a script into it. The script should look like this:

—————————————–
door = script.Parent

while true do

door.Transparency = 1
door.CanCollide = false
wait(5)
door.Transparency = 0.5
door.CanCollide = true
wait(60) –You can edit this.
end
——————————-

The door will be invisible and you can walk through it as if it was never there. After 5 seconds the door will re-appear and it will be”closed”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: