Assistant Updates: Giving you more control of Assistant

Hi Creators,

Since launching Assistant last December, we’ve been expanding its capabilities, and improving its performance. We’re committed to making it a useful resource in Studio with you in the driver’s seat, designed to accelerate your productivity and enhance your overall experience.

You should feel in control of what Assistant is doing in your game at all times, and be adjustable if it has made an error. With this in mind, you can now review the changes that it makes to scripts before they’re applied, undo/redo changes that Assistant makes with the standard cmd+z /cmd+shift+z hotkeys, and edit previous prompts.

Additionally, Assistant now has a script debugging capability! It’ll run a root cause analysis and attempt to identify problem areas with your code, provide recommended changes or point you in the right direction of why code may be failing.

Script Insertion & Iteration with review

Now, when you ask Assistant to tweak your scripts, you can preview all the changes before they’re applied. This gives you complete control and transparency over how Assistant modifies your code, ensuring your vision stays intact. Assistant can also modify multiple scripts at once.

AI suggests, you review. We want to make sure that you have full control and ownership over AI-generated scripts. The generated scripts will be presented as a script diff - green for addition, red for deletion - making it much easier to see the exact changes Assistant is making.

Meanwhile, you will be presented with the choice to either:

  • Approve: Upon approval, the script updates are integrated into the project’s Explorer tree, making it a part of the place and accessible for further use and modification.
  • Cancel: If canceled, the script will be discarded and excluded from the project. This process ensures that you have the final say in what content is included in your places, preventing unwanted AI-generated content from being incorporated.

If a prompt results in changes to multiple scripts, Assistant will guide you through the changes via chat output and generate a separate diff tab for each updated script. This allows for independent review of the specific modifications made to each script, giving you the flexibility to accept or cancel each change individually.

Here is a demo of Script iteration using AI.

In this scenario, the creator asks Assistant to change the colors of the tree every second. After seeing the result, they realized fall colors would be nicer and ask Assistant to modify the code. Assistant proposes a changes in the form of a diff, which the creator reviews and accepts.

Flexible Undo/Redo

Writing code is iterative, so is AI coding. We want to make sure all your changes are undoable and redoable. You can now undo/redo the changes in Assistant with the standard hotkeys (cmd+z /cmd+shift+z ).

Please note that there are some limitations with the current undo/redo. We will make it more intuitive in future updates.

  • To undo/redo script changes, the script must be open.
  • If you reject Assistant’s changes during the insertion/iteration process, you won’t be able to get these changes back with undo (Cmd+Z). You can prompt Assistant again to create similar changes, but they may be slightly different.
  • Assistant’s changes are included and syncing in script history in Places with Team Create enabled.
    1. To view a script’s history: right-click the script in Explorer, select View Script History, locate the desired version, and click “open all scripts from batch”. This opens the earlier version in read-only mode, allowing you to copy content.

|1176.1014462961605x661.0276435236943

Editing Previous Prompts

If you made a mistake or want to tweak your Assistant prompt, you can now click the prompt in the Assistant window to make any adjustments or corrections. When you click ‘Submit’, Assistant will automatically generate a new response based on the adjusted prompt.

|1089.646095717884x642.2206771179484

Debugging

Assistant can now run root cause analyses to understand why a script is erroring. In the Output log, right click on the error you’d like Assistant to analyze, and select ‘Ask Assistant’. Assistant will provide an explanation as to why it believes the error has occurred, and recommend how to resolve the issue.

You can ask Assistant to implement its recommended changes:

Coming soon

We’re excited to hear what you think, and would love your thoughts on which improvements are the most helpful for you. In the coming months, we also plan on releasing:

  • Summon Assistant from Script Editor: You will be able to select a snippet of code in Script editor and ask Assistant to edit, explain, or take any action you want for that specific selection of code.
  • Assistant Analytics: We also plan to test an analytics capability in Creator Hub, for Assistant to help you cut through the noise to highlight the most important insights and actions to grow your game.

We know there’s room to improve – we’d love your feedback on these changes and any other capabilities you believe should be added to Assistant to make it even more helpful. Happy creating!

88 Likes

This topic was automatically opened after 10 minutes.

Hope this ends well, instead of clogging my CPU (Definitely not :uhh:)

It’d be a miracle if AI was actually good at this task

Can you give more context on how this will work? Maybe it could be useful someday. (Not quite sure how that will hapen)

8 Likes

that’s cool and all… now add back the option to disable assistant

29 Likes

There was an option to disable the assistant?

3 Likes

when assistant was in beta you had to accept some tos in order to use it. unfortunately it’s now forced

5 Likes

Have you guys fixed the assistant where it wont believe anything you say to it or try to make stuff up or put depracted code?

1 Like

Even Roblox AI doesn’t recognize a deprecated function :skull:

3 Likes

Oh this is neat! Although, I don’t really make use of AI assistance that much.

You know what I would find a very useful AI feature?

An AI that can tell me early on if I made a typo or potential error somewhere (before I run the code).
Like linting, but with commentary and a potential “click this button to correct your typo” kinda thing.

Other than for telling me if my code might have mistakes, it’s not too useful to me since half the time the AI doesn’t even know what the structure of my code is.

9 Likes

image

Would Script Analysis work for you? Not the exact same, but it will tell you the error without having to run the game.

2 Likes

so you’re telling me it didn’t have these features before??? you couldn’t undo changes??

3 Likes

Nice update but I’ll still be using my own locally hosted AI instead as I’m actually able to train it to not use bad coding practices and deprecated features.

3 Likes

this isn’t assistant but i thought it was relevant i love this image

22 Likes

Ayo they need to shut this down cause that’s offensive :skull:

2 Likes

A cool addition would be integrating assistant to analytics so you can ask it questions about your game’s analytics and suggestions to improve

2 Likes

Just… don’t open it? I barely even notice the button

It would be nice to turn it off though, I can’t lie.

2 Likes

So true! I need a disable toggle. I have been dealing with this assistant and used it very little. There are also times here the assistant left me with empty lines and glitched out. The lines with numbers would be pushed down in place of lines without numbers so quite buggy.

1 Like

This is great, in particular the ability to see diff and to edit a prompt. Assistant has saved me a ton of time. I do see sometimes it includes deprecated code, though.

3 Likes

The only thing that’s “forced” is one 16x16 pixel icon in the top right to open the panel. That’s it if you don’t click it and open the panel. It’s not going to covertly slopify your place in the background, it only does stuff if you interact with it.

If even that icon is too much, I guess you’ll have to deal with it.

17 Likes

I think they talking about the in script editor. The thing that inserts code when you wait a second in an incomplete code line. The script helper I believe is enabled by default so people feel it was forced.

Is there a Keybind or button to disable that?

2 Likes