My animation won’t run when I touch the part.
Here is the error "Play is not a valid member of KeyframeSequence “Workspace.AnimatedGrass.GrassAnimation”
Here is the script:
You are trying to “Play” a “KeyframeSequence”, only AnimationTrack has Play() method.
You need to upload an animation to Roblox, create an Animation instance using the ID provided by Roblox, then load that animation into an Animator instance to get a an AnimationTrack in which you can use :Play() to play your animation
Keyframe sequences cannot be played, unless you use KeyframeSequenceProvider:RegisterKeyframeSequence().
You probably don’t want this though, right click on the keyframe sequence and press Save to Roblox. Then, copy that into a Animation instance’s AnimationId, load it onto the animation controller’s animator, and THEN you can play it.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.