# This is a simple Verse script for a Baller Race # It uses the "Rename" function to make devices easier to find # Step 1: Define the Baller Spawner # We give it a variable name "my_baller_spawner" # A variable is like a label on a box. my_baller_spawner := Baller_Spawner{} # Step 2: Define the Racing Checkpoint # We give it a variable name "finish_line" finish_line := Racing_Checkpoint{} # Step 3: Rename the devices # This makes them appear with clear names in the Event Browser # The Event Browser is a list of all game events. my_baller_spawner.Set_Name("Start_Baller_Spawner") finish_line.Set_Name("Race_Finish_Line") # Step 4: Connect the Start to the Finish # When the game starts, we want the race to begin. # We use an "Event" called "On_Game_Start". On_Game_Start: # This line prints a message in the debug console. # It helps us know the code is working. Print("Race Started! Drive to the finish!") # We can also enable the checkpoints here. # This ensures the race logic is active. finish_line.Enable()