# This is a simple Verse script # It shows a message to the player using /Fortnite.com/Devices using /Engine/Systems # This is the main script block # It runs when the game starts @editor_only Edit := struct: # This connects our code to the HUD device # We call it 'welcome_message' welcome_message: HudMessageDevice = "" # This function runs when the game begins OnBegin(): # This line tells the device to show the message # The device will show it to everyone welcome_message.Trigger() # This is needed for the script to work properly OnEnd(): # Nothing to do here for now pass