Trigger going too high

I create this script to make an elevator move when a player enter in the trigger, so also I have to move the trigger with the elevator, and if you leave it and step it again it doesn't go up, because for some reason the platform must go 860 voxels up, also the trigger, but only the platform do that, the trigger go 1720.