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

How can you change the value of a variable?

Asked by 5 years ago

Is this right?

1local money = 10
2money.value = 10
0
no you do money = newvalue Gameplayer365247v2 1055 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

If the value is the definition of the "money", just remove the .value from it. Example below:

1local money = 10
2money = 10
Ad

Answer this question