Advertisement
Marlingaming

Payment Terminal

Oct 27th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. local Ag = {...}
  2.  
  3. local MKey = 0
  4. local MonitorID = 0
  5. local Credits = 0
  6. local Time = os.time()
  7. local Day = os.date()
  8.  
  9. local function GenCode()
  10. local SKey = (Time*MKey)/Day
  11. local Code = (MonitorID.."-"..SKey.."-"..(Credits*MKey))
  12. return Code
  13. end
  14.  
  15. local function Clear()
  16. term.setBackgroundColor(colors.white)
  17. term.setTextColor(colors.black)
  18. term.clear()
  19. term.setCursorPos(1,1)
  20. end
  21.  
  22. local function Menu()
  23. Clear()
  24. print("enter id")
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement