Bummer but at least hes ok.
Most new riders will crash at some point i guess, ive been there too a few times. Looks like the ground is damp there? If it was then that would be a big factor in the accident. I came off on a wet road while braking for a bend, front whee just slid away. After that a a few other little scares i splashed out for a decent set of tyres and that made a big difference. Stock tyres are good in the dry i found but got a bit slippy in the wet. Also always ride slower in the rain, brake softer (when possible) and do not lean as much on bends. In an emergemcy stoo scenario i now automatically pull harder on the rear brake, i dont want my front to lock up, if the rear does i can stikl control it, when the front goes its a lot harder to stay upright.
Hopefully he'll be back up and riding again soon, this experience will have shook him up but hope it doesnt put him off.
That panel that bust comes as a complete panel, footplate panel its called here, and can be ordered from a Kymco dealer/parts supplier. They are not so dear, i know because i bought one myself after my crash, was £42 here ($60?). That bar on the frame should pull out using a lever of somekind. Its a common damage point on Agilitys, if you lay it on its side down the road that metal bar just bust thro the plastic. I knkw at least 3 others round here and they all have the same damage. I stuck black Duct tape on mine while i waited for my new panel to arrive. Bend that metal support back 1st tho.
Hope the kid heals up soon