Way I made to speed up transferring animations to a group

I wanted to move my game to a group because it looks nicer and also its more customizable, but I had a problem: The animations on my account wouldn’t work on the game anymore. So I made this little bit of code:

local sel = game:GetService("Selection") local c = game:GetService("InsertService"):LoadAsset(tonumber(string.split(sel:Get()[1].AnimationId, "rbxassetid://")[2])):FindFirstChildOfClass("KeyframeSequence") 	c.Parent = game:GetService("Selection"):Get()[1] 	sel:set({c})

Just copy this, paste in command bar, then select an animation in explorer, press enter in the command bar, and a keyframe sequence will be generated. Just right click the keyframe sequence and click “save to roblox” and make sure to save it to the group. Then copy the ID and paste it in the animation object.

This is the fastest method I found, if anyone knows a better way, let me know!

7 Likes