Spawn player in different location in the same map coming from another map.

You can create a variable to identify your situation. You can also show me your code.