Moving Elevator

Hey everybody, I’m new here to Unity and I’m trying to make a 3d platforming type game. I’ve tried multiple times to construct a moving platform that goes up and down, but I cannot seem to get it. Can anyone try to help me with a script to move this? I am using Unity version 5.6.1 - I am required to use this for a class, so don’t try to convince me to get a newer version of Unity. Thanks!

What have you tried so far? Post your best effort script and outline how it didn’t work.

Never mind- I figured out how to do it with animation. Thanks though!