of     1   

BlazeingFire88
#155814180Thursday, February 12, 2015 4:39 PM GMT

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.
championbuilder
#155814929Thursday, February 12, 2015 5:07 PM GMT

You might want to do a for do statement to get every part inside the player instead.
BlazeingFire88
#155819565Thursday, February 12, 2015 7:35 PM GMT

I have no idea what that is.. can u post a script?
championbuilder
#155820060Thursday, February 12, 2015 7:48 PM GMT

t = w.Character:findFirstChild.Classname("Part") Only finds one child, since you're not looping through the character. So you need to do something like local get = w.Character:GetChildren() for i=1,#get do if get[i]:IsA("BasePart") then get[i].Anchored = true end end
BlazeingFire88
#155820350Thursday, February 12, 2015 7:55 PM GMT

So how do i define w and call this when they die..?
championbuilder
#155820513Thursday, February 12, 2015 7:59 PM GMT

I always use localscripts inside StarterGui so I'd use this repeat wait() until game.Players.LocalPlayer.Character:WaitForChild("Humanoid") --Variables player = game.Players.LocalPlayer char = player.Character human = char.Humanoid --Die human.Died:connect(function() local get = char:GetChildren() for i=1,#get do if get[i]:IsA("BasePart") then get[i].Anchored = true end end end)

    of     1