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

How do make Player Re spawn really fast? [closed]

Asked by 8 years ago

What I mean by this is I see in games when you die, you re spawn really fast. How do I do that?

Closed as Not Constructive by ChipioIndustries, Tigerism, M39a9am3R, docrobloxman52, and Marios2

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
2
Answered by
Scriptecx 124
8 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.

player:LoadCharacter()

Ad
Log in to vote
0
Answered by 8 years ago

Using the .Died event and the LoadCharacter() function.

Humanoid.Died:connect(function() -- Player died.
wait(0) -- How long the player must wait before re-spawning.
Player:LoadCharacter(true) -- Respawn them.
end)
0
the "True" in Player:LoadCharacter() is not mandatory Kyokamii 133 — 8y