Phoenix Ultimate from Valorant

Hello I am having trouble designing something similar to Phoenix’s ultimate ability from Valorant. Where on activation, places a marker at the players location. While the ability is active, dying or allowing the timer to expire will end this ability and bring the player back to this location. Any help would be appreciated.

I don’t know the ability personally, but by the sounds of things, something like this should do what you need it to.

You’ll need to add your own checks if the player was killed, and probably store their health on casting, along with their location, so you can restore it on respawn.