step by step cframe animation (lua sandbox place 1

Run Settings
LanguageLua
Language Version
Run Command
local walktable = { ["Keyframes"] = { [0.29] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.31,0.42,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-31.59)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(-0.03,-0.03,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(-28.86)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-35.47)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-6.24),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-34.88)) } }, ["CFrame"] = CFrame.new(-0,0,0.09) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.13] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.52,0.2,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(34.14)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.39,0.01,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(16.52)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(20.12)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.81),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(21.46)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.46] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.41,-0.04,-0) * CFrame.Angles(math.rad(-0),math.rad(-0),math.rad(-26.08)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.37,0.06,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45.78)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-38.65)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-6.71),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-40.38)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.42] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.38,-0.02,-0) * CFrame.Angles(math.rad(-0),math.rad(-0),math.rad(-32.37)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.17,0.01,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-46.47)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-44.57)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-8.22),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-46.06)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.5] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.39,-0.03,-0) * CFrame.Angles(math.rad(-0),math.rad(-0),math.rad(-17.57)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.51,0.17,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-40.23)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-29.15)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.95),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30.89)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.33] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.3,0.23,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-35.95)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(-0.06,-0.02,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(-37.28)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-43.05)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-8.24),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-43.34)) } }, ["CFrame"] = CFrame.new(0,0,0.08) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.04] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.15,0.01,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(40.06)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.33,0.2,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(32.98)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(39.66)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-8.29),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(40.25)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.38] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.33,0.05,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-35.86)) }, ["Right Leg"] = { ["CFrame"] = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(-43.31)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-46.22)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-9.29),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-47.25)) } }, ["CFrame"] = CFrame.new(0,0,0.05) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.08] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.4,0.07,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(42.33)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.4,0.09,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(26.15)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(31.9)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-6.71),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(32.82)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.21] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.44,0.51,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-3.74)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.19,-0.05,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(-6.88)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-9.81)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.18),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-8.09)) } }, ["CFrame"] = CFrame.new(-0,0,0.05) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.63] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.21,-0.02,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(13.6)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.54,0.56,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-3.07)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(11.06)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.17),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(10.35)) } }, ["CFrame"] = CFrame.new(-0,0,0.06) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.67] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.13,-0.01,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(22.86)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.46,0.59,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(11.13)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(23.67)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.15),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(23.42)) } }, ["CFrame"] = CFrame.new(0,0,0.08) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.79] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(36.73)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.26,0.37,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(35.59)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(42.47)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-9.29),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(42.93)) } }, ["CFrame"] = CFrame.new(0,0,0.05) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.58] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.28,-0.02,-0) * CFrame.Angles(math.rad(-0),math.rad(-0),math.rad(3.16)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.58,0.46,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-17.46)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-2.96)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.25),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-4.14)) } }, ["CFrame"] = CFrame.new(-0,0,0.03) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.25] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.35,0.54,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-21.22)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.07,-0.05,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(-18.52)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-24.08)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.15),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(-22.72)) } }, ["CFrame"] = CFrame.new(0,0,0.08) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.17] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.51,0.38,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(16.9)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.31,-0.03,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(5.16)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(5.61)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.35),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(7.28)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(36.73)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.28,0.25,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(35.59)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(42.47)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-9.29),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(42.93)) } }, ["CFrame"] = CFrame.new(0,0,0.05) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.75] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(35)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.29,0.42,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(32.3)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(40.14)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-8.22),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(40.51)) } }, ["CFrame"] = CFrame.new(0,0,0.06) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.54] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.35,-0.03,-0) * CFrame.Angles(math.rad(-0),math.rad(-0),math.rad(-7.54)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.57,0.31,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30.38)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(-0),math.rad(-16.86)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-5.49),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(-18.41)) } }, ["CFrame"] = CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.71] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.06,-0.01,-0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(30.2)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.37,0.52,0) * CFrame.Angles(math.rad(-0),math.rad(0),math.rad(23.56)) }, ["Left Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(33.65)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(-6.23),math.rad(0),math.rad(0)) }, ["Right Arm"] = { ["CFrame"] = CFrame.Angles(math.rad(0),math.rad(0),math.rad(33.78)) } }, ["CFrame"] = CFrame.new(0,0,0.07) * CFrame.Angles(math.rad(9.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, } }, } local idleanim = { ["Keyframes"] = { [2.7] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.47,0.14,0.01) * CFrame.Angles(math.rad(-4.92),math.rad(3.3),math.rad(1.08)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.04,-0.07,-0.01) * CFrame.Angles(math.rad(-3.93),math.rad(-7.31),math.rad(-3.76)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.22),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.34,0.1,0.07) * CFrame.Angles(math.rad(-5.02),math.rad(-11.54),math.rad(-9.59)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.06,-0.05,0.01) * CFrame.Angles(math.rad(-2.76),math.rad(13.32),math.rad(0.57)) } }, ["CFrame"] = CFrame.new(-0,-0.03,-0.09) * CFrame.Angles(math.rad(2.74),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [2.83] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.45,0.14,0.01) * CFrame.Angles(math.rad(-4.87),math.rad(3.33),math.rad(0.07)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.04,-0.06,-0.01) * CFrame.Angles(math.rad(-3.97),math.rad(-7.29),math.rad(-4.09)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.07),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.32,0.1,0.07) * CFrame.Angles(math.rad(-4.92),math.rad(-11.58),math.rad(-8.57)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.05,-0.05,0.01) * CFrame.Angles(math.rad(-2.84),math.rad(13.31),math.rad(0.88)) } }, ["CFrame"] = CFrame.new(-0,-0.03,-0.08) * CFrame.Angles(math.rad(3.07),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [2.3] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.51,0.15,0.01) * CFrame.Angles(math.rad(-4.99),math.rad(3.27),math.rad(2.83)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.03,-0.07,-0.01) * CFrame.Angles(math.rad(-3.72),math.rad(-7.43),math.rad(-2.14)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.95),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.38,0.11,0.08) * CFrame.Angles(math.rad(-5.17),math.rad(-11.5),math.rad(-11.34)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.07,-0.05,0.01) * CFrame.Angles(math.rad(-2.36),math.rad(13.36),math.rad(-1)) } }, ["CFrame"] = CFrame.new(-0,-0.03,-0.1) * CFrame.Angles(math.rad(2.34),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [2.1] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.52,0.16,0.01) * CFrame.Angles(math.rad(-4.99),math.rad(3.3),math.rad(2.97)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.02,-0.07,-0.01) * CFrame.Angles(math.rad(-3.6),math.rad(-7.48),math.rad(-1.21)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(1.37),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.39,0.11,0.08) * CFrame.Angles(math.rad(-5.15),math.rad(-11.52),math.rad(-11.47)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.07,-0.05,0.01) * CFrame.Angles(math.rad(-2.13),math.rad(13.38),math.rad(-1.9)) } }, ["CFrame"] = CFrame.new(-0,-0.03,-0.11) * CFrame.Angles(math.rad(2.52),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.97] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.45,0.16,0.01) * CFrame.Angles(math.rad(-4.66),math.rad(3.65),math.rad(-3.14)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.02,-0.08,-0.01) * CFrame.Angles(math.rad(-3.56),math.rad(-7.5),math.rad(-0.92)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(1.51),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.31,0.12,0.07) * CFrame.Angles(math.rad(-4.21),math.rad(-11.88),math.rad(-5.06)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.07,-0.05,0.01) * CFrame.Angles(math.rad(-2.05),math.rad(13.38),math.rad(-2.19)) } }, ["CFrame"] = CFrame.new(-0,-0.07,-0.09) * CFrame.Angles(math.rad(5.92),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.23] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.41,0.14,0.01) * CFrame.Angles(math.rad(-4.72),math.rad(3.49),math.rad(-2.82)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.04,-0.07,-0.01) * CFrame.Angles(math.rad(-3.95),math.rad(-7.3),math.rad(-3.95)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.14),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.28,0.1,0.06) * CFrame.Angles(math.rad(-4.49),math.rad(-11.74),math.rad(-5.57)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.05,-0.05,0.01) * CFrame.Angles(math.rad(-2.81),math.rad(13.32),math.rad(0.74)) } }, ["CFrame"] = CFrame.new(-0,-0.05,-0.07) * CFrame.Angles(math.rad(4.62),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.6] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.42,0.15,0.01) * CFrame.Angles(math.rad(-4.65),math.rad(3.61),math.rad(-3.69)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.03,-0.07,-0.01) * CFrame.Angles(math.rad(-3.78),math.rad(-7.4),math.rad(-2.6)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.75),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.29,0.11,0.06) * CFrame.Angles(math.rad(-4.23),math.rad(-11.85),math.rad(-4.55)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.06,-0.05,0.01) * CFrame.Angles(math.rad(-2.47),math.rad(13.35),math.rad(-0.56)) } }, ["CFrame"] = CFrame.new(-0,-0.06,-0.08) * CFrame.Angles(math.rad(5.7),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [1.93] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.53,0.16,0.01) * CFrame.Angles(math.rad(-4.98),math.rad(3.34),math.rad(2.72)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.02,-0.08,-0.01) * CFrame.Angles(math.rad(-3.51),math.rad(-7.53),math.rad(-0.51)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(1.69),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.39,0.12,0.08) * CFrame.Angles(math.rad(-5.07),math.rad(-11.56),math.rad(-11.17)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.08,-0.05,0.01) * CFrame.Angles(math.rad(-1.95),math.rad(13.38),math.rad(-2.58)) } }, ["CFrame"] = CFrame.new(-0,-0.03,-0.11) * CFrame.Angles(math.rad(2.86),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [1.8] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.53,0.17,0.01) * CFrame.Angles(math.rad(-4.95),math.rad(3.39),math.rad(2.25)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.02,-0.08,-0.01) * CFrame.Angles(math.rad(-3.45),math.rad(-7.55),math.rad(-0.05)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(1.9),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.39,0.12,0.08) * CFrame.Angles(math.rad(-4.97),math.rad(-11.61),math.rad(-10.66)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.08,-0.05,0.01) * CFrame.Angles(math.rad(-1.84),math.rad(13.39),math.rad(-3.03)) } }, ["CFrame"] = CFrame.new(-0,-0.04,-0.11) * CFrame.Angles(math.rad(3.27),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [2.43] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.5,0.15,0.01) * CFrame.Angles(math.rad(-4.98),math.rad(3.27),math.rad(2.46)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.03,-0.07,-0.01) * CFrame.Angles(math.rad(-3.8),math.rad(-7.39),math.rad(-2.75)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.68),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.37,0.11,0.07) * CFrame.Angles(math.rad(-5.15),math.rad(-11.5),math.rad(-10.97)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.06,-0.05,0.01) * CFrame.Angles(math.rad(-2.51),math.rad(13.35),math.rad(-0.41)) } }, ["CFrame"] = CFrame.new(-0,-0.03,-0.1) * CFrame.Angles(math.rad(2.37),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [1.37] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.49,0.17,0.01) * CFrame.Angles(math.rad(-4.78),math.rad(3.56),math.rad(-0.78)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.01,-0.08,-0.01) * CFrame.Angles(math.rad(-3.4),math.rad(-7.57),math.rad(0.34)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(2.07),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.35,0.12,0.07) * CFrame.Angles(math.rad(-4.5),math.rad(-11.79),math.rad(-7.5)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.08,-0.05,0.01) * CFrame.Angles(math.rad(-1.74),math.rad(13.39),math.rad(-3.4)) } }, ["CFrame"] = CFrame.new(-0,-0.06,-0.1) * CFrame.Angles(math.rad(4.97),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [1.13] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.46,0.16,0.01) * CFrame.Angles(math.rad(-4.7),math.rad(3.63),math.rad(-2.38)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.02,-0.08,-0.01) * CFrame.Angles(math.rad(-3.48),math.rad(-7.54),math.rad(-0.26)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(1.8),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.33,0.12,0.07) * CFrame.Angles(math.rad(-4.29),math.rad(-11.86),math.rad(-5.85)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.08,-0.05,0.01) * CFrame.Angles(math.rad(-1.89),math.rad(13.39),math.rad(-2.82)) } }, ["CFrame"] = CFrame.new(-0,-0.06,-0.09) * CFrame.Angles(math.rad(5.67),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [3] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.41,0.13,0.01) * CFrame.Angles(math.rad(-4.8),math.rad(3.37),math.rad(-1.55)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.04,-0.06,-0.01) * CFrame.Angles(math.rad(-3.99),math.rad(-7.28),math.rad(-4.25)) }, ["Head"] = { ["CFrame"] = CFrame.new() }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.28,0.1,0.06) * CFrame.Angles(math.rad(-4.75),math.rad(-11.63),math.rad(-6.95)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.05,-0.05,0.01) * CFrame.Angles(math.rad(-2.88),math.rad(13.31),math.rad(1.04)) } }, ["CFrame"] = CFrame.new(-0,-0.04,-0.07) * CFrame.Angles(math.rad(3.59),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.41,0.13,0.01) * CFrame.Angles(math.rad(-4.8),math.rad(3.37),math.rad(-1.55)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.04,-0.06,-0.01) * CFrame.Angles(math.rad(-3.99),math.rad(-7.28),math.rad(-4.25)) }, ["Head"] = { ["CFrame"] = CFrame.new() }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.28,0.1,0.06) * CFrame.Angles(math.rad(-4.75),math.rad(-11.63),math.rad(-6.95)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.05,-0.05,0.01) * CFrame.Angles(math.rad(-2.88),math.rad(13.31),math.rad(1.04)) } }, ["CFrame"] = CFrame.new(-0,-0.04,-0.07) * CFrame.Angles(math.rad(3.59),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.37] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.41,0.14,0.01) * CFrame.Angles(math.rad(-4.69),math.rad(3.54),math.rad(-3.3)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.04,-0.07,-0.01) * CFrame.Angles(math.rad(-3.9),math.rad(-7.33),math.rad(-3.55)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.32),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.28,0.11,0.06) * CFrame.Angles(math.rad(-4.38),math.rad(-11.79),math.rad(-5.03)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.06,-0.05,0.01) * CFrame.Angles(math.rad(-2.71),math.rad(13.33),math.rad(0.36)) } }, ["CFrame"] = CFrame.new(-0,-0.06,-0.07) * CFrame.Angles(math.rad(5.09),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [2.57] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.49,0.15,0.01) * CFrame.Angles(math.rad(-4.95),math.rad(3.28),math.rad(1.88)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.04,-0.07,-0.01) * CFrame.Angles(math.rad(-3.87),math.rad(-7.35),math.rad(-3.3)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(0.43),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.36,0.1,0.07) * CFrame.Angles(math.rad(-5.1),math.rad(-11.52),math.rad(-10.39)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.06,-0.05,0.01) * CFrame.Angles(math.rad(-2.65),math.rad(13.34),math.rad(0.12)) } }, ["CFrame"] = CFrame.new(-0,-0.03,-0.09) * CFrame.Angles(math.rad(2.51),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [0.73] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.43,0.15,0.01) * CFrame.Angles(math.rad(-4.65),math.rad(3.64),math.rad(-3.67)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.03,-0.07,-0.01) * CFrame.Angles(math.rad(-3.7),math.rad(-7.44),math.rad(-1.98)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(1.02),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.29,0.11,0.06) * CFrame.Angles(math.rad(-4.19),math.rad(-11.88),math.rad(-4.55)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.07,-0.05,0.01) * CFrame.Angles(math.rad(-2.32),math.rad(13.37),math.rad(-1.16)) } }, ["CFrame"] = CFrame.new(-0,-0.07,-0.08) * CFrame.Angles(math.rad(5.9),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, }, [1.53] = { ["Poses"] = { ["HumanoidRootPart"] = { ["SubPoses"] = { ["Torso"] = { ["SubPoses"] = { ["Left Leg"] = { ["CFrame"] = CFrame.new(-0.51,0.17,0.01) * CFrame.Angles(math.rad(-4.85),math.rad(3.5),math.rad(0.59)) }, ["Right Arm"] = { ["CFrame"] = CFrame.new(-0.01,-0.08,-0.01) * CFrame.Angles(math.rad(-3.39),math.rad(-7.58),math.rad(0.44)) }, ["Head"] = { ["CFrame"] = CFrame.Angles(math.rad(2.12),math.rad(0),math.rad(-0)) }, ["Right Leg"] = { ["CFrame"] = CFrame.new(0.37,0.12,0.08) * CFrame.Angles(math.rad(-4.69),math.rad(-11.72),math.rad(-8.92)) }, ["Left Arm"] = { ["CFrame"] = CFrame.new(-0.08,-0.05,0.01) * CFrame.Angles(math.rad(-1.71),math.rad(13.39),math.rad(-3.5)) } }, ["CFrame"] = CFrame.new(-0,-0.05,-0.11) * CFrame.Angles(math.rad(4.31),math.rad(-0),math.rad(-0)) } }, ["CFrame"] = CFrame.new() } }, } }, } local frames = { 0; 0.04; 0.08; 0.13; 0.17; 0.21; 0.25; 0.29; 0.33; 0.38; 0.42; 0.46; 0.5; 0.54; 0.58; 0.63; 0.67; 0.71; 0.75; 0.79; } local idleframes = { 0; 0.23; 0.37; 0.6; 0.73; 0.97; 1.13; 1.37; 1.53; 1.8; 1.93; 2.1; 2.3; 2.43; 2.57; 2.7; 2.83; 3; } local character = owner.Character local hrp = character.HumanoidRootPart local function weld(name,parent,part0,part1,c0,c1) local weld = Instance.new("Weld") weld.Name = name weld.Part0 = part0 weld.Part1 = part1 weld.C0 = c0 weld.C1 = c1 weld.Parent = parent return weld end local welds = {} local naturalwelds = {} for i, v in pairs(character.Torso:GetChildren()) do if v:IsA("Motor6D") then welds[v.Part1.Name] = weld(v.Name,v.Parent,v.Part0,v.Part1,v.C0,v.C1) naturalwelds[v.Part1.Name] = welds[v.Part1.Name].C0 end end for i, v in pairs(hrp:GetChildren()) do -- im too lazy to type out the hrp bit manually :P if v:IsA("Motor6D") then welds[v.Part1.Name] = weld(v.Name,v.Parent,v.Part0,v.Part1,v.C0,v.C1) naturalwelds[v.Part1.Name] = welds[v.Part1.Name].C0 end end local pos = 0 local prevpos = 1 local idlepos = 0 local previdlepos = 1 while true do if character.Humanoid.MoveDirection ~= Vector3.zero then idlepos=0;previdlepos=1 pos+=1 if not frames[pos] then pos = 1 prevpos = 1 end local newpos = walktable["Keyframes"][frames[pos]].Poses.HumanoidRootPart.SubPoses local torsopos = newpos.Torso.SubPoses task.spawn(function() local curpos = pos while curpos == pos do for i, v in pairs(torsopos) do welds[i].C0 = welds[i].C0:Lerp(naturalwelds[i] * torsopos[i].CFrame,.2) end welds["Torso"].C0 = welds["Torso"].C0:Lerp(naturalwelds["Torso"] * newpos.Torso.CFrame,.1) task.wait() end end) task.wait(frames[pos]-frames[prevpos]) prevpos=pos else pos=0;prevpos=1 idlepos+=1 if not idleframes[idlepos] then idlepos = 1 previdlepos = 1 end local newpos = idleanim["Keyframes"][idleframes[idlepos]].Poses.HumanoidRootPart.SubPoses local torsopos = newpos.Torso.SubPoses task.spawn(function() local curpos = pos while curpos == pos do for i, v in pairs(torsopos) do welds[i].C0 = welds[i].C0:Lerp(naturalwelds[i] * torsopos[i].CFrame,.2) end welds["Torso"].C0 = welds["Torso"].C0:Lerp(naturalwelds["Torso"] * newpos.Torso.CFrame,.1) task.wait() end end) task.wait(idleframes[idlepos]-idleframes[previdlepos]) previdlepos=idlepos end end
Editor Settings
Theme
Key bindings
Full width
Lines