So i have this skript i dont understand why it doesnt work. it says no errors and it actually does change the X-Location of {_loc} i tested it with send "%{_loc}%" but for some reason it just teleports me to the current location of my player not the one with x coordinate removed 25 from it??
Code:
Command /test5:
trigger:
set {_loc} to location of player
remove 25 from x-coordinate of {_loc}
teleport player to location {_loc}