I'm getting an error saying 'attempt to index a nil value' Something is wrong with this bit of code, but I have no idea what;
for i,v in pairs(plrs:GetChildren()) do
if v.Character and v.Character.HumanoidRootPart then v.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-169.21, 5.044, 11.959))
end
end
It happens when the character has fallen down into the emptiness (the FallenPartsDestroyHeight).

1 comment
First of all, don't use game.Players:GetChildren(), use GetPlayers() instead. Second of all, if there's no humanoid then using "character.Humanoid", even inside an if statement, will cause an error. Third of all, your answer is in no way related to the op's question