#sword equipping animation keeps looping

6 messages · Page 1 of 1 (latest)

willow crater
#

here is the script

local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = 16995576517'
local track

tool.Equipped:Connect(function()
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track:Play()

end)

tool.Unequipped:Connect(function()
if track then
track:Stop()
end
end)

#

how th do i fix this

#

i only want it to be 1 loop

sterile sable
#

u probably turned on looped in your animation

#

u can do track.Looped = false before playing

willow crater