The line of a script gone i did a playtest

I tried to update my script,But when i did playtest, its gone

This is the script during editing (Works before and Not a fms):

The script when playtest(in studio):

That is confusing as it never happened before (And the code works,it doest print the Try) at line 34

Additionally,saving does not work

If you’re playtesting and you applied script changes, they won’t save unless you specifically tell it to. Try to make edits only in edit mode. If you’re working on a team game, make sure collaborative editing is on, or that you’re the only one editing at that time. Open the drafts dialog at all times to apply changes. Check the output for anything odd as well.

1 Like

If saving doesn’t work, try saving it to a file on your computer, then opening that file, and publishing(or saving) as your current game.

1 Like

alr,ill see. Maybe its some bug or something

Worst case scenario Roblox Studio may make a backup file of your work (but I wouldn’t rely on that) I’d try to get it to save in some way.

The thing is that, No one is scripting other than me. (its a collaborative). Im the only scripter

its a group game. Its Hidden Studio

So you’re the only scripter, but is collaborative editing on?

yes ofc,but no one editing now

So have you commited the drafts?

hmm,ima try that. Maybe that was the problem. Theres nothing in the output as well.

Collaborative editing can be forgotten when you’re the only one editing (happens to me sometimes)

Close the topic if you got your answer, please.

Ah,it fixed now. By commit draft.(So weird tho)

Thanks to @WindingTheRopesit it fixed

1 Like

Please close this topic, thank you.