Walking Animation stopping when drinking Animation is playing

You can write your topic however you want, but you need to answer these questions:
Hello there! I want my drink animation to play while the walking animation plays.

  1. I used the UserinPutService to play a Drink Animation whenever the screen is clicked which works fine, but it keeps stopping the walking animation. Animation Priority: Action

I have looked on the dev forum and other websites already but cannot find anything which helped.

local player = game.Players.LocalPlayer
local anim = script.Parent.Animation
local Service = game:GetService("UserInputService")
local debounce = false

	if Input.UserInputType == Enum.UserInputType.MouseButton1 then
		local tool = player.Character:FindFirstChild("Coffee Cup")

		if debounce == false  and tool then
			debounce = true
		local animation = player.Character.Humanoid:LoadAnimation(anim)
debounce = false

Thanks for reading. :grinning_face_with_smiling_eyes:
Have an amazing day/night!


What is the priority of this animation?

As stated in the post it is set to “Action”.

When creating your animation did other limbs have key markers it seem like limbs that weren’t being animated had key markers of them staying in place.


I usually press select all, so it stops the walking animation even though I am not changing anything with the legs?image

U could have removed those tracks but are there key markers for them? if not just remove the tracks of the limbs and update the animation and see what happens

Wait did u want it to stop the walking animation? nvm reread

1 Like

It works now, thank you very much. :grinning_face_with_smiling_eyes:
Have an amazing day/night!

1 Like