New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

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

Asked by 14 days ago
MoneyGui.Text = Money.Value

2 answers

Log in to vote
0
Answered by 13 days 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 14 days ago

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

Answer this question