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

How to make a keep money GUI? [closed]

Asked by 9 years ago

Okay so I have tried to make an ATM and withdraw / deposit GUI, it hasn't worked so now I'm trying to make a GUI where you can store money. It has to be different for everyone so if someone else uses the GUI they can't steal another player's money. It has to be a GUI where you type in an amount you have on your character, if that player does have the value of money then they can deposit it for later. And then if they want to take $20 out they can type $20 into withdraw. Please help I have tried many many times to try and make these.

0
Sorry. Script requests aren't allowed on the site. yumtaste 476 — 9y

Closed as Not Constructive by yumtaste, woodengop, and Goulstem

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
1
Answered by 9 years ago

You could use a ModuleScript, or just IntValues.

IntValues would be easier:

game.Players.PlayerAdded:connect(function(Player)
    Instance.new("IntValue", Player).Name = "Deposit"
end)

Whenever you want to check how much is deposited:

print(game.Players.LocalPlayer:WaitForChild("Deposit").Value)
Ad