Is this possible?

So lets say I have a value in a plugin,

local value = true

And lets say I press a button for the plugin that changes the value to false:

button.click:Connect(function(()
     value = false
end

Lets say I then go into another studio file. Would the Value be the default value? Or would it be the last value that it was?

default value, but you can save it
image
^ ^ ^ i think this is how you do it, but you can read yourself

1 Like