Platforms Don't Move

I made some platforms and using the script provided in the 3rd person tutorial from unity I animated my platforms to move back and forth. They work when I play the game in unity but when I build the game the platforms don’t move.

Ideas on why this would be?
Thanks In Advance

because scripts and animations are executed in the editor, only the game.

It would be horrible and close to impossible to work within the editor if all stuff went on all the time (and it would require a monster pc)

you can decide yourself if a script is meant to work in the editor view too through the ExecuteInEditmode attribute