Gaming speed, cores and clocks
The Ryzen 5 2400 and the Ryzen 3 1300X are within a few percent of each other for gaming. In a game, you will not see the difference.
The Ryzen 5 2400 has 4 cores and 8 threads, and the Ryzen 3 1300X has 4 cores and 4 threads. Core counts are the same, so cache size and clock speed decide the difference. Boost clocks are 3.4 GHz and 3.7 GHz.