Updated PlatformUpDown script.

Added a boolean variable so that the platform could either go up or down.