# This is our main script. # It connects the launcher to the game. using { /Fortnite.com/Devices } # This is the launcher device. # We give it a name: LaunchPad. LaunchPad: D_LauncherDevice = D_LauncherDevice{} # This is the event that fires. # It fires when a player is launched. OnLaunch := func(event: LaunchPad.LaunchedEvent): # This runs when a player flies! # We can add more code here later. print("Player launched!") # This sets up the connection. # When LaunchPad launches someone, # run the OnLaunch function. LaunchPad.LaunchedEvent += OnLaunch