Advertisement
oopsrainbow4

NPC Dancing

Apr 1st, 2023
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. -- Put script in Dummy and add animation in script
  2.  
  3. --  You need to get asset animation link from RelicatedStorage you already put it
  4.  
  5. local animationId = -"Animation ID"-   
  6.     game.InsertService:LoadAsset(animationId).Parent = game.ReplicatedStorage
  7.  
  8. -- You may don't need it the local animationId
  9.  
  10. ->
  11. local controller = script.Parent.Humanoid
  12. controller:LoadAnimation(script.Animation):Play()
  13.  
  14. -- Make sure Dummy is unanchor expect HumanoidrootPart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement