My m1 system don't work

I could kinda see the issue with this script and, the bug happens in the Tool.Activated event could someone help me find a fix

--Varibles--
local tool = script.Parent 
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local Hum = char:FindFirstChildOfClass("Humanoid")
local Weld
local GauntClone
local comboCounter = 0
--AnimationTracks--
local First =  script.First
local Second = script.Second
local Third = script.Third
local Fourth = script.Fourth
local Track1 = Hum:LoadAnimation(First)
local Track2 = Hum:LoadAnimation(Second)
local Track3 = Hum:LoadAnimation(Third)
local Track4 = Hum:LoadAnimation(Fourth)
local idle = Hum:LoadAnimation(script.Idle)


tool.Equipped:Connect(function()
	Weld = Instance.new("WeldConstraint",char:WaitForChild("Left Arm"))
	GauntClone = game.ReplicatedStorage["Left_Hand(Gauntlets)"]:Clone()
	GauntClone.Parent = char:WaitForChild("Left Arm")
	GauntClone.CFrame = char:WaitForChild("Left Arm").CFrame
	Weld.Part0 = char:WaitForChild("Left Arm")
	Weld.Part1 = GauntClone

end)

tool.Activated:Connect(function()
	comboCounter += 1

	if comboCounter == 1 then
		print("1")
		Track1:Play()
		end

	
		if comboCounter == 2 then
			print("2")
			Track2:Play()
		end


		if comboCounter == 3 then
			print("3")
			Track3:Play()
		end


		if comboCounter == 4 then
			print("4")
			Track4:Play()
			comboCounter = 5
		end



		if comboCounter > 4 then
			comboCounter = 1
		end



end)

tool.Unequipped:Connect(function()
	GauntClone:Destroy()
	Weld:Destroy()
	idle:Stop()
end)

I am doing this in a local script just for practice. I do know how I could make this m1 system work so everyone in the game could see.

1 Like

What is your bug? What is wrong with your script? send the console? the bug?
Anything so i can help you

1 Like

There is no errors it’s just I can click really fast and the animations just all play