# This is our game script! # It lives on the Star Prop. # This function runs when the game starts. OnBegin(): void= # We say hello to the console. Print("Game started! Find the star!") # This function runs when something touches the star. OnBeginOverlap(Other: Entity): void= # Check if the thing touching is a player. if Is(Other, Player): # Great job! You found the star! Print("You won! Good job!") # Here is where you would add more code. # Like showing a "You Win" screen.