Help creating respawn location based on where the player teleports

I basically want it so when I teleport and die I respawn at the place where I teleported to but when I teleport back and die I respawn where I originally was.
Sorry if it’s really simple.

I think this can be achieved easily using spawn locations? Just enable the ChangeTeamOnTouch or whatever it is to true. You may have to make some teams.

1 Like

You have not provided any kind of attempt at solving this… not even a theory of how it could be done. We don’t just write scripts for you here.

Anyway, you’ve basically just described Teams + Spawnpoints. Make a bunch of spawnpoints that are each color-coordinated to a specific Team and make it so that whenever a player teleports, their Team is changed to the Team matching the spawnpoint. That way when they die, they’ll respawn on their team’s spawn.

There’s also many ways to write a script for you to make this happen, but I can’t just write you one. You need to show some kind of attempt.

1 Like

Oh my thank you so much. This is what I was thinking off but i didn’t know how to put it thank you.

1 Like

Sorry I am new and that is no excuse I should have been more clear I wasn’t looking for a script more like a way to put it I should have shown my attempts that I have tried such as using checkpoints and so on and just couldn’t get it in my head.