I don’t think that you would have been able to do anything on your end to cause that to occur, as that error is appearing from a script inside of the CoreGui (based off of the error), which cannot be modified directly (at least without forking it, as far as I’m currently aware of). As I have not worked with that in the past, if anyone else corrects me, I would advise listening to them instead.
You can file a report in #platform-feedback:engine-bugs or find a related bug and add this on. This is an error out of your control, it’s related to CoreScripts. You didn’t break anything on your end but some Roblox features may break if they’re dependent on this script or anything related to it.
It says Infinite yield possible when you have a While true do loop running, it says that because well, the loop will run endlessly. It means nothing and won’t effect the game at all!
It has been a month and it still says it for me! It seems my forum rank isn’t enough to post on #platform-feedback:engine-bugs
The error message is nothing major but it has been driving me nuts because it’s blocking most of my output messages.