Help, loading screen error? (beginner here)

Godot Version



Hi, my current problem in Godot is this code for the loading screen (the one above & the line 1 has “extends controls” just fyi qvq). I just used AI for this, ik it’s stupid, but I modified some to make it work (pls don’t attack me, I’m still learning how to code wahh). The code here actually makes the progress bar reach to 100%. However, it WON’T transition to the desired scene or where the game is supposed to be.

So I’m just wondering why this code won’t work despite having the progress bar reach a 100% but still won’t transition to another scene. Your comments will very be much appreciated! Thank you qvq.

Try to use this code: