--Returns an animation class for the given id.

local AnimationCache = {}
local function GetAnimation(AnimationId)
	if not AnimationCache[AnimationId] then
		local Animation = Instance.new("Animation")
		Animation.AnimationId = AnimationId
		AnimationCache[AnimationId] = Animation
	end
	
	return AnimationCache[AnimationId]
end
