Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How would I make it so when a player dies, their spawn location changes?

Asked by 2 years ago

I assume you can make a function once the player dies, their spawn changes. That's the only way I can think of it. But I have tried to do that, but it doesn't work.

Any Ideas?

1 answer

Log in to vote
0
Answered by
epoke466 100
2 years ago

I have 3 suggestions:

1.) I don't know if this is what you are doing already but try changing the players spawn or respawn location (sorry I forgot the name of the variable).

2.) Change the players team so they respawn at a different spawn location that has the same team color property as the players new team. Make sure that the new spawn has the boolean neutral set to false.

3.) When the player spawns, use

Player.Character:MoveTo(Vector3.New(X, Y, Z))

I apologize for not being able to find an exact answer.

0
So Katzencrafter21 0 — 2y
0
So Katzencrafter21 0 — 2y
Ad

Answer this question