|
| 04 Feb 2017 03:31 PM |
How do I load animations into the humanoid? I want the animation to run when the player clicks a button.
local Tool = script.Parent Animation = script.Parent.Animations.Lunge
Tool.Equipped:connect(function(Mouse) Mouse.Button1Down:connect(function() --idk
repeat wait() until Mouse.Button1Up:connect(function() -- animation would stop end) end) end) |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2017 03:33 PM |
animtrack = *Players Humanoid*:LoadAnimation(Animation) animatrack:Play() |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Feb 2017 05:45 PM |
| How would I parent to the humanoid tho |
|
|
| Report Abuse |
|
|
| |
|