: Pop-up frames that trigger when a player either crosses the finish line or is caught moving during a red light. 2. UI Logic & Mechanics
: A central visual signal (often a large circle or traffic light icon) that alternates between green and red. Red Light, Green Light GUI
The GUI must be synchronized with the back-end game script via events to ensure the visuals match the physics. : Pop-up frames that trigger when a player