I've been researching it like mad, and im getting frustrated. I don't want them flying all over because if you notice if you hit something when your dead in game's, you get that something. I don't want that! I can't find an inkling of what to do, and let's face it, i suck at "FindFIrstChild" or whatever. Here's all i've got.
function Died(d)
if d then
w = game.Players:GetChildren()
if w.Character.Humanoid.Health = 0 then
t = w.Character:findFirstChild.Classname("Part")
t.Anchored = true
wait(6)
t.Anchored = false
end
end
end
script.OnPlayerDied:connect(Died(d))
Assuming they've respawned in 6 seconds. |