Create animation and upload to roblox studio

How would I animate parts like this in blender:

and export the animation to roblox studio?