im entering this script into an animation controller in an npc and it wont work why wont it work?
local animController = Instance.new("AnimationController")
local animTrack = animController:LoadAnimation(animation)
animTrack:Play(337868735)
im entering this script into an animation controller in an npc and it wont work why wont it work?
local animController = Instance.new("AnimationController")
local animTrack = animController:LoadAnimation(animation)
animTrack:Play(337868735)
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
pls help i rlly need it
You don't type the ID in the parameters of Play... You should say animController.AnimationId = 337868735 before you call "Play()"
like this? local animController = Instance.new("AnimationController") local animTrack = animController:LoadAnimation(animation) animController.AnimationId = 337868735 animTrack:Play()
ima repost this