Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Question , HELP PLEASE !!??

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

1 comment

0

If the awnser iLegimate gave you is good accept it

1 answer

(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!

1 comment

0

Dont forget to insert a stringvalue inside the script.

This discussion is preserved as it was. New answers, comments, and votes are closed.