local i=script.Parent local M local Y=nil script.Parent.Equipped:Connect(function(U)local X=i.Parent local C=(game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(X)local I=X:FindFirstChild("\072\117\109\097\110\111\105\100")M=i:WaitForChild("\073\100\108\101")if M then Y=I:LoadAnimation(M)Y.Priority=Enum.AnimationPriority.Movement end if Y then Y:Play()end end)script.Parent.Unequipped:Connect(function(i)if Y then Y:Stop()end end)
--//VIPERGUTZ
--//TASER ANIMATIONS

local Tool = script.Parent
local IdleAnimation
local IdleTrack = nil
script.Parent.Equipped:Connect(function(mouse)
	local MyCharacter = Tool.Parent
	local MyPlayer = game:GetService("Players"):GetPlayerFromCharacter(MyCharacter)
	local MyHumanoid = MyCharacter:FindFirstChild("Humanoid")
	IdleAnimation = Tool:WaitForChild("Idle")
	if IdleAnimation then
		IdleTrack = MyHumanoid:LoadAnimation(IdleAnimation)
		IdleTrack.Priority = Enum.AnimationPriority.Movement
	end
	if IdleTrack then
		IdleTrack:Play()
	end
end)

script.Parent.Unequipped:Connect(function(mouse)
	if IdleTrack then
		IdleTrack:Stop()
	end
end)
