Advertisement
Marlingaming

CC Tweaked banking_public2 Kiosk Base

Feb 1st, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local BankScript = "BankingSystem-banking_public2"
  2.  
  3. local tArg = {...}
  4.  
  5. local function Purchase()
  6. shell.run(BankScript,"transfer",tArg[2],tArg[3])
  7. end
  8.  
  9. local function Setup()
  10. shell.run(BankScript,"CreateAccount",tArg[2])
  11. os.reboot()
  12. end
  13.  
  14. if tArg[1] == "setup" then
  15. Setup()
  16. elseif tArg[1] == "Purchase" then
  17. Purchase()
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement