Hi, Been reading on the wiki a lot but still can't get this solved.
I have four different animations that I am trying to make play one after another via left click. I am able to get the first two animations to play correctly, however I can't get the last two animations to play.
animation.AnimationId = "rbxassetid://188046705" --BasicATK1 game.Players.LocalPlayer:GetMouse''.Button1Down:connect(function() local character = Player.Character animTrack = character:WaitForChild("Humanoid"):LoadAnimation(animation) animTrack:Play() wait(0.5) animTrack:Stop() wait(5) return end) if animation.AnimationId ~= nil then local animationSecond = Instance.new("Animation") animationSecond.AnimationId = "rbxassetid://188253235" --BasicATK2 game.Players.LocalPlayer:GetMouse''.Button1Down:connect(function() local character = Player.Character animTrack = character:WaitForChild("Humanoid"):LoadAnimation(animationSecond) animTrack:Play() wait(0.1) animTrack:Stop() wait(5) end) end if animation.AnimationId ~= nil then local animationThird = Instance.new("Animation") animationThird.AnimationId = "rbxassetid://188259240" --BasicATK3 game.Players.LocalPlayer:GetMouse''.Button1Down:connect(function() local character = Player.Character animTrack = character:WaitForChild("Humanoid"):LoadAnimationThird(animation) animTrack:Play() wait(0.1) animTrack:Stop() wait(5) end) end if animation.AnimationId ~= nil then local animationFourth = Instance.new("Animation") animationFourth.AnimationId = "rbxassetid://188260074" --BasicATK4 game.Players.LocalPlayer:GetMouse''.Button1Down:connect(function() local character = Player.Character animTrack = character:WaitForChild("Humanoid"):LoadAnimation(animationFourth) animTrack:Play() wait(0.1) animTrack:Stop() wait(5) end) end