This script I made is not working. :( (Slash's animation priority is action, Lunge's is movement, and idle for Wield.)

local mouse = game.Players.LocalPlayer:GetMouse()
local Wield = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Wield)
local Lunge = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Lunge)
local Slash = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Slash)

script.Parent.Equipped:Connect(function(mouse)
	Wield:Play()
		mouse.Button1Down:Connect(function()
			Lunge:Play()
		end)
			
		mouse.Button1Up:Connect(function()
			Slash:Play()
		end)
end)

Thank you very much! <3

2 comments

0

(i apologise if this is not the case) wrong order of animation priority?

0

what is should be then?