thanks for the feedback 😊
And about the teleportation system,
I used a code method that calculate the least distance from player to respawn point and then respawn him there, but after making half of the game, i realized it doesn't work for metroidvania, but i will well-worked for the linear levels game.