-- Update position of all confetti.

svcRun.RenderStepped:Connect(function()
	for _,val in pairs(confetti) do
		if (confettiColors) then val:SetColors(confettiColors); end;
		val.Enabled = confettiActive;
		val:Update();
	end;
end);

local fire = function(paramColors)
	confettiColors = paramColors;
	spawn(function()
		confettiActive = true;
		wait(tick);
		confettiActive = false;
	end);
end;
while wait(5) do
	fire({Color3.fromRGB(255,0,0), Color3.fromRGB(0,255,0), Color3.fromRGB(0,0,255)});
end;
