Advertisement
DanilYoutuber

AppStore

Oct 25th, 2015
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. function desktop()
  2. background = paintutils.loadImage("YoutuberOS/Backgrounds/AppStore")
  3. paintutils.drawImage(background, 1, 1)
  4. end
  5. desktop()
  6. while true do
  7. local event, button, xPos, yPos = os.pullEvent("mouse_click")
  8. if xPos>=5 and xPos<=12 and yPos>=2 and yPos<=6 then
  9. shell.run("cd","/")
  10. shell.run("cd","/YoutuberOS/Programs")
  11. shell.run("pastebin", "get", "TXEezndm", "BackgroundChanger")
  12. end
  13. local event, button, xPos, yPos = os.pullEvent("mouse_click")
  14. if xPos>=1 and xPos<=1 and yPos>=1 and yPos<=1 then
  15. shell.run("cd","/")
  16. shell.run("cd","/YoutuberOS/")
  17. shell.run("StartTheSys")
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement