The Baby Cricket Cranes paid back Scotland in the same currency they were paid in the warm-up games as they were able to clinch 13th place with a 51 run win.
Uganda came into the game on the back of a nervy win over PNG but this time the batting which has been missing for most of the tournament won them the game.
Despite losing Fahad Mutagana early, Ronald Opio (34) and Ronald Lutaaya (64) dug deep to put on a good partnership and the departure of Opio didn’t stop the run-scoring as Pascal Murungi (49) got stuck in to help Uganda post a decent 226 in 36 overs.
A late order collapse denied Uganda a chance to get at least 300 after being ahead for most of the game, Uganda left 14 overs unused a lesson for the technical team when they return.
In the chase, Juma Miyagi (4/25) went hunting aggressively and got support from medium-pacer Christopher Kidega (3/23) and the rain helped Uganda as Scotland was never allowed to create any meaningful partnerships.
It was a second win for Uganda at the World Cup which ensured they finish 13th out of the 16 teams an improvement from the previous two editions where Uganda finished 14th at both.
Uganda now has four World Cup wins at the U-19 World Cup from 18 games.
The youngsters will return to Kampala on Tuesday after an experience that has eluded Uganda for the last 16 years.
The work starts immediately for Uganda as they will have to go through the qualifiers if they want to be at the 2024 World Cup.