LocalScript: local sound = handle["Sword Slash Sfx"]
local uis = game:GetService("UserInputService")
local event = game.ReplicatedStorage.swordEvent
local m1 = humanoid.Animator:LoadAnimation(game.ReplicatedStorage.SwordAnims.m1)
m1.Priority = Enum.AnimationPriority.Action
local m2 = humanoid.Animator:LoadAnimation(game.ReplicatedStorage.SwordAnims.m2)
m2.Priority = Enum.AnimationPriority.Action
local m3 = humanoid.Animator:LoadAnimation(game.ReplicatedStorage.SwordAnims.m3)
m3.Priority = Enum.AnimationPriority.Action
local combo = 1
tool.Activated:Connect(function()
if combo == 3 then
event:FireServer()
m3:Play()
sound:Play()
wait(1)
combo = 1
elseif combo == 2 then
event:FireServer()
m2:Play()
sound:Play()
combo = combo + 1
elseif combo == 1 then
event:FireServer()
m1:Play()
sound:Play()
combo = combo + 1
end
end)