ApplyImpulse not working

Hi, I am trying to do an effect with the ragdoll that makes it look like roadkill, but the ApplyImpulse isn’t working. Here is my code:

						for i, v in pairs(character:GetChildren()) do
							if v:IsA("MeshPart") or v:IsA("Part") then
								v.Massless = true
							end
							if v:IsA("Accessory") then
								v.Handle.Massless = true
							end
						end
						
						character.HumanoidRootPart.Anchored = false
						character.HumanoidRootPart:ApplyImpulse(Vector3.new(0,1000,0))

I don’t think it works unless the character is in air or platformstanding. Maybe try applying the ragdoll first and then the impulse afterwards?