Marlingaming

Aperture Science OS System - AppStore_UserProfile

Sep 17th, 2021 (edited)
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. --APpStore User Profile
  2. --this script shows the Users Profile, Downloaded Applications, Uploaded Applications, etc
  3. --this program is for minecraft 1.16.5, CC Tweaked
  4.  
  5. local ProfileName = "Guest"
  6. local ProfileID = nil
  7. local ProfileState = -1
  8. local w,h = term.getSize()
  9.  
  10. Clear()
  11.  
  12. function Clear()
  13. term.clear()
  14. term.setCursorPos(1,1)
  15. end
  16.  
  17. function CenterText(y,text)
  18. local x = math.floor((w - string.len(text)) /2)
  19. term.setCursorPos(x,y)
  20. term.clearLine()
  21. term.write(text)
  22. end
  23.  
  24. function DrawMenu()
  25. Clear()
  26. term.setBackground(colors.white")
  27. print("PROFILE")
  28. CenterText(3,ProfileName)
  29. print("this script is WIP")
  30. print("current plans for the future are:")
  31. print("1. allow user to login to account from any computer, in any server")
  32. print("2. Allow user to upload any custom made Applications to a doc to allow")
  33. print("access from any server")
  34. print("3. allow the User to Update Already Uploaded Apps")
  35. print("-----------------------------------------------------------------------")
  36. print("to exit, please Press e")
  37. end
  38.  
  39. drawMenu()
  40. while true do
  41. local event, key = os.pullEvent("key")
  42. if key == keys.e then
  43. break
  44. end
  45. end
  46.  
  47. shell.run("ApertureDL_AppStore")
Add Comment
Please, Sign In to add comment