I’m currently working on a rhythm game, though, it’s a bit more complex than other ones, so I made a tutorial for it in another separate game. Between songs loading, I have a splash screen with the thumbnail of the song, the name of the song, who mapped it, etc. The only problem is, I’m not sure how to change the screen depending on the song data, and If I make a splash screen for every song there is, it’ll cause a lot of unnecessary lag.
My main question is if there is a way to send data between two places, so the main ‘Lobby’ sends the song data to the ‘Tutorial’ place.
When you use :Teleport() function, it has 2 required arguments and 2 optional arguments.
They are: teleportData and customLoadingScreen, just add some data table to the third argument which is teleportData, and access it from the other place using :GetLocalPlayerTeleportData().
Read about it more in this article.