You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
Like the title says, I want to somehow change a saved value variable’s instance to a specific value.**
What is the issue? Include screenshots / videos if possible!
Not really an issue.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have searched and searched and searched but yeah, I dont think anyone would and feel the need to do what I am trying to do right now.
Example of what I mean:
local Value = workspace.NumberValue.Value
Value = 8
The code above would not change the NumberValue’s value given the fact its simply an already saved variable.
local Value = workspace.NumberValue
Value.Value = 8
The code above would thought.
Is there anyway the value can be changed through the use of an already given value like the first script? Also please refrain from asking questions related to why I need to do this, please.
The reason it does this is because variables are reassigned when you do that. Example:
local variable = "apple"
variable = "orange" -- variable is now orange as it has been reassigned
It would reassign the variable like that if you don’t say variable.Value.
I hope I explained this well.
Adding a .Value to your code may be annoying, but unfortunately I think it’s unavoidable while working with value instances.