Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I use the animation converter plugin? (Using animation data in a script.)

https://www.roblox.com/library/442028078/Animation-Converter

For example, it gives me this output when I converted an animation:

return {
 	Properties = {
 		Looping = false,
 		Priority = Enum.AnimationPriority.Core
 	},
 	Keyframes = {
 		[0] = {
 			["HumanoidRootPart"] = {
 				["Torso"] = {
 				},
 			},
 		},
 		[0.2] = {
 			["HumanoidRootPart"] = {
 				["Torso"] = {
 					CFrame = CFrame.new(5, 0, 0) * CFrame.Angles(0, 0, math.rad(-15.011)),
 				},
 			},
 		},
 		[0.4] = {
 			["HumanoidRootPart"] = {
 				["Torso"] = {
 				},
 			},
 		},
 	}
 }

How do I use this in a script?

2 comments

0

Fixed Formatting

0

@Its_707 i left an answer on your another question

1 answer

I don't know if you've received an answer yet on another forum but I'll share mine anyway. These are how you can use this: In Keyframes the number is basically when the motion occurs and the CFrame is how the .Transform of the specific Motor6D in the character's body is modified.

This discussion is preserved as it was. New answers, comments, and votes are closed.