Here's the current script.
game.Players.PlayerAdded:connect(function(player)
player:WaitForChild("Character")
local bodyParts = {
player.Character.Head;
player.Character.Torso;
player.Character:FindFirstChild("Left Arm");
player.Character:FindFirstChild("Right Arm");
player.Character:FindFirstChild("Left Leg");
player.Character:FindFirstChild("Right Leg");
}
bodyParts.Anchored = true
end)
It waits until the player joins the game, then attempts waiting for the "Character" child of the player. Once that's settled it makes a table of the body parts that the player has and changes them to be anchored afterward, however, the script doesn't seem to be interfering with the body parts. The error is probably at line two.

1 comment
You don't need to get the body parts you just need to get the character of the player and use this script --R15 Character.HumanoidRootPart.Anchored = true -- R6 Character.Torso.Anchored = true