Basically, I Made This Collection Service Text Animation And I Did A Function For The Animation, When I Play The Game I See That The Animation Plays Per Text And I Have No Idea How To Fix It :/

How To Play The Animation For All The Text All At Once?

Script:

local CollectionService = game:GetService("CollectionService")

function Rotate(taggedPart)
	local floatActive = true
	local Start, End = 0, 15
	print(taggedPart.Name)
		for i = Start, End, 0.1 do
			taggedPart.Rotation = i
			wait(.01)
		end
		wait(.50)
		for i = End, Start, -0.1 do
			taggedPart.Rotation = i
			wait(.01)
		end		
end 
for _, TaggedPart in pairs(CollectionService:GetTagged("FloatAnim")) do
	Rotate(TaggedPart)
end