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 4 years ago

Is this right?

local money = 10
money.value = 10
0
no you do money = newvalue Gameplayer365247v2 1055 — 4y

1 answer

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

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

local money = 10
money = 10
Ad

Answer this question