Moving platform script