I am attempting to load a KeyFrameSequence into the player's humanoid, how to fix the error?
1 | local animation = workspace [ "animation" ] |
2 | local track = workspace.Dummy.Humanoid:LoadAnimation(animation) |
3 | while true do wait( 1.05 ) |
The error i get is
1 | 17 : 05 : 01.728 - LoadAnimation requires an Animation object |
2 | 17 : 05 : 01.774 - Stack Begin |
3 | 17 : 05 : 01.775 - Script 'Workspace.Script' , Line 2 |
4 | 17 : 05 : 01.776 - Stack End |
This is because im using a keyframesequence instead of a normal animation. and i dont wanna export the animation to roblox.