So what I have is a money script, then I want the money to be subtracted according to what numbers (money) was typed into a text box. So then after another text button is clicked the amount of money written in the text box will be subtracted from the player's money. So it's basically a citation script. How would I do that?
Well, i found how to do it
text = [YOUR TEXTBOX HERE] value = [SOMEWHERE WHERE YOU HOLD YOUR MONEY VALUE THING] answer = tonumber(text.Text) - value.Value
Closed as Not Constructive by hiimgoodpack and BashGuy10
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?