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

Question , HELP PLEASE !!?? [closed]

Asked by 8 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

lets say i want to kill a player then i want him to respawn in the old place he died how could i do that ? i know how to kill him , i know couple events .. but cant do it

0
If the awnser iLegimate gave you is good accept it ScripterGame 145 — 8y

Closed as Not Constructive by neoG457, M39a9am3R, LegitimatlyMe, and User#5978

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?

1 answer

Log in to vote
0
Answered by
iLegitus 130
8 years ago

(Scripting Helpers is not a request site by the way)

But here :

--[iLegimate]--

local Player = game.Players.LocalPlayer
local DeathPosition = script.StringValue

Player.Character.Humanoid.Died:connect(function(dead)
    DeathPosition.Value = Player.Character.Head.Position
    wait(4) -- Adjust this to to the time it takes the player to respawn
    Player.Character:MoveTo(DeathPosition.Value)
end)

There you go!

0
Dont forget to insert a stringvalue inside the script. iLegitus 130 — 8y
Ad