My player can't move once destroyed and respawned

Hi, I’m just making a basic respawn function for when the player misses a jump in my platformer for a project, currently I can get them to spawn but once they do I can only look around and all of the controls made from the player pawn don’t work anymore here’s the code used this bit any help is appreciated.

The enhanced inputs are setted?
maybe you have to add the mapped context ?

I think that might be what is causing it, could you talk me through how to do this

Hi take a look at the TPS template that comes with UE5. It shows how the enhanced input should be initialized. Also, game mode has some functions, so you may not need to create a custom event. Look for “restart player”, “restart player at player start” and “restart player at transform”.