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

Can you tell me "Value" means in this string of code, I am confused?

Asked by 4 years ago
MoneyGui.Text = Money.Value

2 answers

Log in to vote
0
Answered by 4 years ago

So basically if you were to just do script.Parent.Text = Money then you wouldn't be returning anything, by putting the value in there, you are basically returning the VALUE of the money variable, for example if a player had 300 money, it would do 300, if you had just done script.Parent.Text = Money, you would get an error

Hope this helped!

Ad
Log in to vote
0
Answered by 4 years ago

Value is Money.Value. The value of money is Value

Answer this question