Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is it possible to permanently edit a script from within itself?

I want to make a script that when the code inside it is fully executed it changes a bool value to false permanently. Is this possible if so how can I achieve this?

1 answer

That's not possible, but there are some ways to do the exact same

-- code


-- last line of code
game.ReplicatedStorage.BoolValue.Value = false

2 comments

0

that is not what I am exactly asking for I am making a script and I want it to execute one time for the first player to join the game and then if a new server is made it does not execute because the the script has updated

0

You can't change code via scripts, you can only add code (from what I've seen with free model viruses.)

This discussion is preserved as it was. New answers, comments, and votes are closed.