How do I force a player to respawn at a specific location after something happens to them?

Read the title.

1 Like

I guess when the thing happens to them, grant them an item, then when they die, check that they have the item, if so, 0.5 delay, then teleport them to the teleporter.

1 Like

Ok but what do I do if its multiple places for them to respawn to? Like how would I make the repsawn place random?

1 Like

Using block code. After using that to randomly select a teleporter, broadcast a channel that teleports you there.

Set Variable [Variable] Value

Random Number from 1-[# of teleporters]

Broadcast Message on Channel

Convert Number to Text (something about commas)

[Variable]

Then the teleporters teleport the players there when receiving on [assigned #].

2 Likes

Wire the checker to a trigger with these blocks.

1 Like

Oh ok thanks!

1 Like

Could you send pictures instead please? It’s a bit difficult to understand that.

1 Like

image

This example is for 4 teleporters. In the teleporter, there’s an option to teleport there when receive on a channel (1-4).

1 Like