Hello, when I try to play the animation while I am doing the tween it doesnt seem play I dont know why can somoene help me please?
By the way I am attacking Humanoid Animation
local AniamtionPlay = Humanoid:LoadAnimation(Attackonwall)
local goal = {}
goal.Position = Part.Position
local tweenPlayTweenService:Create(HumanoidRootPart,TweenInfo.new(0.1), goal)
HumanoidRootPart.Anchored = true
for _, playingTracks in pairs(Humanoid:GetPlayingAnimationTracks()) do
playingTracks:Stop()
AniamtionPlay:Play()
end
HumanoidRootPart.Anchored = true
tweenPlay:Play()
wait(5)
HumanoidRootPart.Anchored = false
Looking better at it, it could be that you’re tweening the HumanoidRootPart Position, maybe if you change goal.Position = Part.Position to goal.CFrame= CFrame.new(Part.Position) it should work, atleast for me it makes sense.
Oh actually, I can change the CFrame because what you saw above is just an example. My real CFrame script is really big and I dont want share it. Therefore you dont need to be worry about anything.