lol its not hard watch and learn
local root = getRootElement()
addEventHandler("onPlayerWasted", root,
function ()
skin = getElementModel (source) -- gets the skin of the player
setTimer (spawnPlayer, 5000, 1, source, -317.66, 1061.31, 21.74, 0, skin) -- spawns the player in 5 seconds, at -317.66, 1061.31, 21.74 with a rotation from 0 (it has to be filled else it wont work 0 is working fine ) with the skin they had.
end
)
enjoy it