pingpong = Animate[
x = -1;
If[t ≤ 10,
y = 10 - t;
If[y == 0,
shock = {
{RGBColor[255/255, 215/255, 0], Polygon[{{-6,-0.5}, {-2.5, 0.5}, {-1.5, -0.8}}]},
{RGBColor[255/255, 215/255, 0], Polygon[{{-6,1.5}, {-2, 1}, {-2.5, 0}}]},
{RGBColor[255/255, 215/255, 0], Polygon[{{-3,3}, {-1.5, 1.5}, {-2.5, 0.5}}]},
{RGBColor[255/255, 215/255, 0], Polygon[{{-1.5,4}, {-1, 1.5}, {-2, 1.5}}]}
};,shock = {};
];
,
y = t -10;
shock = {};
];
ball = {RGBColor[1, 0.65, 0], Disk[{x, y}, 1]};
racket = {
{RGBColor[0,0,0],Disk[{0, -0.5}, {4,2}]},
{RGBColor[229/255,216/255,192/255],Rectangle[{4,-1},{8,0.1}]},
{RGBColor[170/255,150/255,116/255],Rectangle[{4,-1},{8,-0.5}]},
{RGBColor[1, 0, 0], Disk[{0, 0}, {4,2}]}
};

Graphics[{ racket,shock, ball}, AspectRatio -> Automatic,
PlotRange -> {{-10, 10}, {-3, 30}}], {t, 0, 20, 1},
AnimationRunning -> False
]