Run Animation still does play while I play tween, I think index is the right way?

Hello, the animation does still play, but I dont want! I mean I want to play my animation, but it does still play current walkanimation. Thats just happen if I run, and then start the tween.
Maybe we can fix that with index or anything else but I dont know how to use index in this case :confused:

local AniamtionPlay = Humanoid:LoadAnimation(Attackonwall)
for _, playingTracks in pairs(Humanoid:GetPlayingAnimationTracks()) do
	playingTracks:Stop()
end
AniamtionPlay:Play()
local goal = {}
goal.Position = Part.Position
local tweenPlayTweenService:Create(HumanoidRootPart,TweenInfo.new(0.1), goal)
HumanoidRootPart.Anchored = true
HumanoidRootPart.Anchored = true
tweenPlay:Play()
wait(5)
HumanoidRootPart.Anchored = false
1 Like

Thats how it does look like while I am running

image