Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Idle animation when i walk dont stop?

Asked by 2 years ago

local tool = script.Parent local anim = Instance.new("Animation") anim.AnimationId = "http://www.roblox.com/Asset?ID=7875253536" local track tool.Equipped:Connect(function() track = script.Parent.Parent.Humanoid:LoadAnimation(anim) track.Priority = Enum.AnimationPriority.Action track.Looped = true track:Play() end) tool.Unequipped:Connect(function() if track then track:Stop() end end)

when i walk the animation dont stop what i do

0
First you tell us what exactly is the problem. It seems like you have to unequip a tool for the animation to stop. Miniller 562 — 2y
0
Yes is this NinjaHyperG_ames 0 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

Unequip the tool for the animation to stop.

Ad

Answer this question