#anim not working

8 messages · Page 1 of 1 (latest)

loud latch
#

Im trying to make the npc play the script under the r15 dummy, this is the script:

local AnimationId = 658833139

local Animation = Instance.new("Animation")
Animation.AnimationId = ("rbxassetid://%d"):format(AnimationId)
local AnimationTrack = script.Parent.Humanoid:LoadAnimation(Animation)
AnimationTrack.Looped = true
AnimationTrack:Play()
vast ruin
#

First of all

#

You don't need to use string:format() you can just concetante the strings with ..

#

Alao

#

Load the animation on humanoids Animator, not the humanoid

loud latch
#

so Humanoid.Animator?