File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,15 @@ kickAnimation.AnimationId = "rbxassetid://2515090838"
3939-- Load the animation onto the animator
4040local kickAnimationTrack = animator :LoadAnimation (kickAnimation )
4141
42- -- Play the animation track
43- kickAnimationTrack :Play ()
44-
4542-- If a named event was defined for the animation, connect it to "GetMarkerReachedSignal()"
4643kickAnimationTrack :GetMarkerReachedSignal (" KickEnd" ):Connect (function (paramString )
4744 print (paramString )
4845end )
46+
47+ task .wait (4 )
48+
49+ -- Play the animation track
50+ kickAnimationTrack :Play ()
4951```
5052
5153### Non-humanoids
@@ -69,13 +71,15 @@ animator.Parent = animationController
6971-- Load the animation onto the animator
7072local kickAnimationTrack = animator :LoadAnimation (kickAnimation )
7173
72- -- Play the animation track
73- kickAnimationTrack :Play ()
74-
7574-- If a named event was defined for the animation, connect it to "GetMarkerReachedSignal()"
7675kickAnimationTrack :GetMarkerReachedSignal (" KickEnd" ):Connect (function (paramString )
7776 print (paramString )
7877end )
78+
79+ task .wait (4 )
80+
81+ -- Play the animation track
82+ kickAnimationTrack :Play ()
7983```
8084
8185## Replace default animations
You can’t perform that action at this time.
0 commit comments