The Script Editor

It’s really cool to see Roblox focusing on Quality of Life updates over just adding more features. I love more features just as everyone else, but I do spend quite a bit of time in the scripting window. Even if I don’t know fully what’s coming, I can’t wait. The easier it is to script, the faster I can make great games. Thank you to the team working on this.

30 Likes

As a power user, I wish Roblox would focus its efforts more on embracing the world of software that already exists rather than making Roblox Brand Everything. I am a Systems Engineer working a the studio behind Adopt Me, and we use Rojo for building our game which allows us to use tools that are standard in the industry like VSCode and Git with GitHub. It’s a vastly improved experience for a team of our size (25 people) than anything that Roblox currently provides.

Here’s the thing though: I don’t want Roblox to provide better tools. Roblox is a company with finite resources. You simply cannot compete with the existing tools that hundreds of thousands of developers use every day. Instead, I implore you to reconsider this vision for your product and stop ignoring your power users. Embrace the wide world of software. Make Studio a place where power users can have a great workflow and new users can have a great introduction to game development.

I wholeheartedly disagree with Roblox’s recent track record of trying to reinvent the wheel on every front. You don’t have the engineering capacity to do this, and this ends up making the experience for people who actually need these tools worse.

There’s a lot you can do right now to allow supporting these external tools that you aren’t doing. Unfortunately, the plugin API just simply does not exist to make the bridges to these third party tools happen.

Roblox Studio works best when it’s the final tool on the toolbelt that pulls all of the game’s resources together. When you try to make Roblox Studio the ONLY tool on the toolbelt, the experience for power users is severely crippled. Please reconsider your course of action.

182 Likes

Wow, this is exciting!

I’ve always found some parts of the script editor’s autocorrect to be a little wonkly, so I’m hoping this will fix some of that.

Definitely will be making sure I keep track of these updates as they come out, they are definitely going to go well with all the other updates being added to studio right now.

4 Likes

I’ve always found the autocomplete a little flawed since objects that are nested deep within the parent-child hierarchy do not get autocompletion for properties and functions. Hopefully, it’s going to get fixed now. :slightly_smiling_face:

I don’t know what code folding refers to, but I do know that block ending did have a little issue. For functions, the beginning part (near :Connect(function()) was a little awkward to type out because of the autocomplete for parentheses, which always added an extra one. Hopefully, this also gets fixed. :slightly_smiling_face:

We truly appreciate your effort! :heart:


I am loving these “convenience” updates that focus on the developer workflow. Keep it up Roblox! :roblox::roblox_light:

5 Likes

What does “native support for Luau” actually mean? Luau is just a Lua VM. What does natively supporting it actually entail?

7 Likes

Any chance these changes affected this?

I only ask because it started around the same time.

3 Likes

Hopefully “native support for Luau” in the editor includes something like this:

image

Without advanced insights like these, suggestions, and other code analysis and navigation tools, Luau types will end up being more of a nuisance than benefit.

20 Likes

Thank god. These bugs were crippling my workflow (in fact – I was planning on filing a bug report in the next few days). Very glad to see these fixed.

1 Like

I agree to an extent, I believe the time and resources they spend on re-inventing the wheel could be better spent elevating the platform in other ways to bring it closer to the industry and remove some of the restrictions/limitations it has.

On the other hand, I think a big reason why they do this is so brand new developers or kids learning how to code don’t have to jump through all these other hoops just to get something up and running.

I’m all for re-inventing the wheel and attaching roblox-brand stuff to things if it helps new developers grow and learn game creation concepts, it’ll ease their transition to other more professional tools.

It doesn’t make much sense from us from a professional/experienced developer’s perspective, but if you’re 11 years old and want to learn how to make a brick change color, it’s nicer to be able to just insert a script and use the editor rather than find the rojo plugin, install it, set up VSCode, etc…

This applies to other areas as well. Are unions almost always stupid? Probably. Is blender better? Yes. Does every brand new developer want to learn a ton of different software when they’re just starting out? Probably not.

Roblox can be a professional game development tool, but it’s also always been an innovative medium to get younger people into game development in a less daunting way.

(Also, this doesn’t mean I’m disagreeing with you about how they need to start adding better support for third party tools - I just believe it’s more fitting if they do both :slight_smile: )

41 Likes

This is true, but you have to remember that not everyone is a power user in the sense that they are not interested in using VSCode and Git with GitHub. Although implementing native support for external editors would be great, having everything you need to create a game in one place (Roblox Studio) is good for beginner and intermediate developers simply because it does not require you to download extra software and do extra work to get started.

That being said, it makes sense why they are prioritizing the advancement of their built in editor and other features that Roblox Studio provides instead of taking away their limited engineering power from the majority and putting it on the minority.

13 Likes

I am an animator, so although I don’t work with scripts much, I do need to sometimes. I am also trying to learn more about scripts and might start making games soon. This sounds pretty good and I hope it’s helpful.

1 Like

And what about the people who are just starting out on Roblox and don’t want to have to figure out multiple things to make a game? What if they just want to use Roblox studio to keep it all in one place?

You could just as easily go and create games with Unity or Unreal Engine if you want to get good usage as a power user.

I’m a computer science major who has been programming since I was 9. Roblox Studio works perfectly fine for me and many other users.

I do agree however that Roblox could do with a little sprucing up and make it more easily accessible to use third part software for development, but to the majority of the people on Roblox. They’re just starting out, don’t know what they’re doing, or don’t know how to use other tools, and may not want to learn them.

11 Likes

I noticed a few days ago that when I open a script, it opens from the last line. It’s kinda hard to deal with because all my variables are at the top and I have to scroll 600 lines at a time to add a new one; is there any way to make it open at the top?

2 Likes

I’m hoping for big changes that would streamline a lot of my work!

Is there really anything Roblox could do that Rojo currently technically cannot? I don’t see why native support for external editors would be worth the time investment, when Rojo is a perfectly capable solution to this issue.

Luau refers to the umbrella initiative that includes the new parser, linter, compiler, VM, type checker, and maybe more!

For example, one issue we’ve been running into is that the old editor has its own ideas about how to do syntax highlighting. As we extend the language with types, context keywords like continue, new number literal format, etc., this means the highlighting starts to diverge - this update (IIRC) starts using Luau lexer to do highlighting, which is better than what we used to do, but worse than what we can do in the future.

16 Likes

I’d say that at this point it would be safe to consider Luau almost a new language, correct?

1 Like

IntelliSense for objects in Workspace. That was the first thing that popped into my head. I’m sure there are many other things I could think of.

1 Like

I genuinely do not really understand this Update is it an update that makes the game smoother or is it a topic that is saying the game is too laggy with some scripts always running so Roblox will find a way to fix it I read it over and over 4 times.

Neither. It is about the piece of software Roblox provides you to write your scripts! Since the new script runtime arrived (what we call the Luau VM), there were features that were implemented but did not arrive to the script editor.

For regular players (i.e. non-developers), there should be absolutely no difference whatsoever.

6 Likes