this is part 2 and if you want to see part one here is the link https://scratch.mit.edu/projects/997448670/
thanks to @satyasundar for giving me some ideas