Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What would the script be to be able to deposit / withdraw money?

Hello, can someone tell me what the script would be to be able to deposit and withdraw money, I have made the ATM model. The script also has to be so people can't steal money from other people. That way if someone else uses the ATM afterwards they can withdraw /deposit their money. Please help. I'm not asking for someone to do the work, I'm simply asking what coding I would put into the script

1 answer

✓ Accepted answer

You should put a value in the players leaderboard called money in bank and access that as the players money. When you use the ATM you should check which player is interacting with the ATM probabaly using a click detector. If you are using filtering you can make it only seen client side. Then subtract any amount or add any amount to a second leaderboard stat under the name of something like money being held using a GUI.

Hope this helps!

This discussion is preserved as it was. New answers, comments, and votes are closed.