need help with a simple thing!

hi everyone
i am making a basic platformer style game. i cant figure out how to set upp rules/attributes to make a platform go up and down automaticly, like for instance the whole ground i am walking on. anyone knows how to do this?

Comments
i want the character to "stay" on the platform when it is moving up or down, any ideas?