So my script i supposed to remove the player's arm :
game:GetService("Players").PlayerAdded:connect(function(player) --Connects specified function when player joins.
player.CharacterAdded:connect(function() --Connects specified function when player's character is loaded.
local character = workspace:WaitForChild(player.Name) --We can now refer to the player's character as "character".
for i,v in pairs(character:children()) do --Gets all of character's children.
character:WaitForChild("LeftArm"):Destroy() --Destroys Left arms
character:WaitForChild("RightArm"):Destroy() --Same but left
end)
end)
But it won't work, what is wrong ?

3 comments
change :children() to :GetChildren()
forgot to mention, make sure to close your for loop: for i, v in pairs(character:GetChildren()) do -[[ Code ]] end
try to avoid workspace:WaitForChild(player.Name) cause, what if a guy named "Part" joins the game and you have a part named "Part" lmao