Beta Feature "Assistant" replaced my script to its own while trying to help and now i can't get it back

Ive got an error while scripting and i copied piece of the error and pasted it to the AI Assistant


What AI did is it made an example code and for some reason it pasted it into my other code “GatesScript” replacing it.

“GatesScript” had nothing to do with the error that ive got, the code that i had the error from was called “Resize” and its located in StarterPack inside a tool and a handle. While the script that got affected was in the ServerScriptService

image
image

Ive tried making AI return the script but it doesnt understand




I cannot undo the replacement in the script itself.

Thankfully i do have a copy of the studio place on my pc before the changes, but if i didnt, i dont think i could bring it back (maybe there is an option to bring it back but i dont know how) and starting over would be the only option.

I couldn’t imagine the pain that it can cause if someone is making an very advanced code and it gets replaced permanently by AI

Expected behavior

AI could just create a new script in ServerScriptService, actually it was doing that before, i dont know why this time was different.
Maybe a better way is for AI to ask us if we want a script created in the game, and if yes then where.

3 Likes

try just use chatgpt assistant ai isn’t that good yet

Thanks for your feedback, and I’m sorry to hear about your experience with nearly losing work due to AI’s failure. We understand how frustrating that must be.

To improve Assistant’s script iteration workflow, we’re planning to introduce a review step before it inserts or modifies scripts. Really appreciate your feedback. We’re committed to making Assistant more reliable and appreciate your patience as we work on these improvements!

Also, here are a few ways to recover work if something goes wrong in scripts:

  • Use Undo (Ctrl + Z) , which requires the script to be opened
  • Right-click the script in Explorer, select View Script History, find the previous version, and click “open all scripts from batch”. This allows you to see the earlier version in read-only mode and copy content as needed.
3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.