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

How would I make a money subtracting script (Citation) ? [closed]

Asked by 5 years ago

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?

0
use tonumber() Lazarix9 245 — 5y

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?

1 answer

Log in to vote
0
Answered by 5 years ago

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
0
just if you are using text label instead, use tonumber for it too megamanyoutuber 25 — 5y
0
the answer should be reversed Luka_Gaming07 534 — 5y
Ad