Hi Roblox Creators,
Today we are introducing Live Scripting beta! This has been a long time coming and we are super excited to finally share it with you!
Collaboration results in more sophisticated Roblox experiences and our goal has always been to make it as easy as possible. Live Scripting is a big step in this direction enabling you to code together in real-time. Live Scripting is based on Team Create and it will resolve many of the current friction points in Studio: no need to apply changes anymore, no locking hurdles, and no need for script recovery popups!
Live Scripting automatically saves your scripts every 5 minutes and upon closing (similar to Team Create). You can also save your scripts any time by pressing ctrl/cmd + s. These saved versions will be accessible in the Script Version History. As a result of these autosaves, we are removing the script recovery feature in live scripting mode.
Of course, we know that it’s not always good to immediately propagate changes to others, especially when working on very complex experiences. As a result, Collaborative Editing mode (soon to be renamed to “Drafts” mode) will be available and we are committed to making it better. Live Scripting will be the new default script editing mode for Studio in Team Create. In the long term we plan to make switching between Live Scripting and Drafts as easy and seamless as possible.
How to try it
To ensure cohesive collaboration among your team while working on the same experience, the Live Scripting beta opt-in is configured at the place level, rather than the account level. This approach guarantees that you and your teammates engage in the Beta environment simultaneously. You can enroll in Live Scripting by going to workspace properties and enabling EditorLiveScript under Scripting. (Make sure that Collaborative Editing (aka Drafts) mode is off). The first time you turn Live Scripting on, you will need to restart the place (all collaborators need to close the place at the same time and once everybody is out, they can reopen it to restart the server).
Live Scripting is based on the new ScriptEditorService:UpdateSourceAsync API as it’s our recommended method for editing script source. Plugins that use script.Source there will face discrepancies in script values. You can find more information about this change here.
Many thanks to @yohooyohoo,@idevride,@swmaniac,@code4xp,@BobaTops,@sleepyguyray,@iamyourblackjack,@ignotuscaligo,@cruiser_forever,@yipiokay,@Dogekidd2012,@tnavarts,@montximontxi,@lovedanihonjin,@HugoBLH,@altisaltaccount,@ResetVector and @Rusi_002 for making this possible!
This is a beta and as always your feedback is greatly appreciated and crucial for improvement.
Thank you!