Character can't move when placed in a new location

the code im interested in is what comes before the set location. basically the rest of the first picture you posted. your input is moving your map? you mean like the level itself? thats really odd