Is there a way to fix animations causing physic issues like flinging

I notice that when I make the limbs on my character cancollide false, the torso is set back to 2 once an animation plays. I was wondering if there’s a way to make it so they stay false? I only want the root to be cancollide.

make a server script and put this in

game:GetService(“Players”).PlayerAdded:Connect(function(player)
if player.Character:WaitForChild(“Humanoid”) then
for i, v in pairs(player.Character:GetChildren()) do
if v.Name ~= HumanoidRootPart then
v.CanCollide = false
v.Changed:Connect(function()
v.CanCollide = false
end)
else v.CanCollide = true
end
end
end
end)

pretty sure the collision of the player is decided by the humanoid depending on if the hrp exists (or something like that).

Try using collision groups, make a group that cannot collide with players, then add the arms into it