local x=script.Parent local e local P=nil e=x:WaitForChild("\073\100\108\101")script.Parent.Equipped:Connect(function(S)local j=x.Parent local s=(game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(j)local z=j:FindFirstChild("\072\117\109\097\110\111\105\100")if e then P=z:LoadAnimation(e)P.Priority=Enum.AnimationPriority.Movement end if P then P:Play()end end)script.Parent.Unequipped:Connect(function(x)if P then P:Stop()end end)
--//VIPERGUTZ
--//TASER ANIMATIONS

local Tool = script.Parent
local IdleAnimation
local IdleTrack = nil

IdleAnimation = Tool:WaitForChild("Idle")

script.Parent.Equipped:Connect(function(mouse)
	local MyCharacter = Tool.Parent
	local MyPlayer = game:GetService("Players"):GetPlayerFromCharacter(MyCharacter)
	local MyHumanoid = MyCharacter:FindFirstChild("Humanoid")

	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)
