Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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

Log in to vote
0
Answered by 4 years ago

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

-- code


-- last line of code
game.ReplicatedStorage.BoolValue.Value = false
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 krimsinTV -5 — 4y
0
You can't change code via scripts, you can only add code (from what I've seen with free model viruses.) Dovydas1118 1495 — 4y
Ad

Answer this question