Wait has a minimum. Putting 0 as the wait time would not crash a game, it’d use the default time. It’s in times like this where the validity of avoiding the While-Wait-Do idiom is all the more apparent.
That being said - shouldn’t be crashing the player at all for any reason.