I noticed this game on youtube and wanted to test it, I downloaded the source code from github, but it didn't work, it was caused by the absence of the initial_warning attribute in the App class, it turned out it was commented out. After I uncommented it, an error appeared about the absence of the sprites folder, and more specifically sprites/menu/logos/4.png, after which I looked at youtube again and found the video "How to configure fnaf in python and run it on python" and here I am
P.S. I'm using google translater