i am making a simple "elevator" where you put command blocks with buttons and a tp command that moves you up or down a floor.
the first command,
tp @p ~0 ~-4 ~0
works perfectly, when pressed i move down a floor but the up command,
tp @p ~0 ~4 ~0
does not work..well, when i press it i go from 76 to 84, 8 blocks up instead of the 4 i put in and nothing i do seems to fix it.
turns out the button was pressing 2 command blocks, whoops.