Problem with animation HumanoidRootPart

  1. What do you want to achieve? I want to make an animation play

  2. What is the issue? When the animation is running the Torso part is not getting activated in part of the animation but other parts of the character are activated

  3. What solutions have you tried so far? I tried to look at videos on youtube

Any ideas on how can I fix or video link if you found it?

Edit: read the post wrong. Have you made sure that the Torso isn’t in use with an animation that has a higher priority than this animation, and have you checked if it isn’t anchored?

anim.AnimationId = "http://www.roblox.com/Asset?ID=6440824205"

local track
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track:Play()
wait(3)
track:Stop()```

Are you sure that the Torso isn’t anchored and you animated the Torso?

yes, it is my script if you see something wrong tell me
my script

local tool = script.Parent
local handle = script.Parent:WaitForChild("Handle")
local remote = game.ReplicatedStorage.RemoteEvent4
local TweenService = game:GetService("TweenService")

remote.OnServerEvent:Connect(function(player, mouse)
	
	local part = handle:Clone()
	part.Parent = game.Workspace
	part.CFrame  = player.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-3)
	part.Orientation = part.Orientation + Vector3.new(90,0,0)
	local HRP = player.Character.HumanoidRootPart
	
	local bv = Instance.new("BodyVelocity",part)
	bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
	bv.Velocity = HRP.CFrame.lookVector * 100
	
	part.Touched:Connect(function(hit)
		if hit.Parent:FindFirstChild("Humanoid") then
			local EnemyHRP = hit.Parent:FindFirstChild("HumanoidRootPart")
			local EnemHum = hit.Parent:FindFirstChild("Humanoid")
			
			EnemHum:TakeDamage(15)
			
			HRP.CFrame = EnemyHRP.CFrame * CFrame.new(0,0,3)
			
			EnemyHRP.Anchored = true
			
			part:Destroy()
			
			EnemyHRP.Anchored = false
			
			local anim = Instance.new("Animation")
			anim.AnimationId = "http://www.roblox.com/Asset?ID=6440824205"
			local track
			track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
			track.Priority = Enum.AnimationPriority.Action
			track:Play()
			wait(3)
			track:Stop()
			
			local bv = Instance.new("BodyVelocity",EnemyHRP)
			bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
			bv.Velocity = EnemyHRP.CFrame.lookVector * 50
			
			wait(1.5)
			
			bv:Destroy()
			
			wait(.1)
			
			local newPart = Instance.new("Part",game.Workspace)
			newPart.Anchored = true
			newPart.CanCollide = false
			newPart.Color = Color3.fromRGB(75, 168, 255)
			newPart.Size = Vector3.new(4,4,4)
			newPart.Shape = Enum.PartType.Ball
			newPart.Material = Enum.Material.Neon
			newPart.CFrame = EnemyHRP.CFrame
			
			
			
		end
		
	end)
	
end)

Nevermind I fixed it somehow I think you just need to add animation and not add animation in script