How to store points earned in a Quiz app in Firebase authenticated ID

This is the logic of my app:

Screen1 - Firebase authentication with Phone number

If successfully done, then open Screen 2.

Screen2 - Quiz, where the points are displayed after the user takes the quiz.

My question: How do I assign the points earned from the quiz to the user’s ID used for Firebase authentication and prevent the same user from taking the quiz again?

Please try to explain with blocks.

Thanks in advance!

Points_Countdown.aia (38.9 KB)
It is point system by deep host I downloaded it from deep host app here is aia link
Try this if not work or you face any problem then tell us