Tommo5261

your face 2

Dec 31st, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.54 KB | None | 0 0
  1. while true do
  2.     term.clear
  3.     print("Welcome to the Meth Star Delivery Service. Would you like to place an order (1) or see upcoming deliveries (2)")
  4.     option = read()
  5.     if option == "1" then
  6.         print("The prices and items will be listed momentarily, please type your requested quantity after each item is said, your bill will be said at the end, thankyou")
  7.         sleep(5)
  8.         print("$10/1 Weed Plant")
  9.         weedplant = read() * 10
  10.         print("$4/1 Flower Pot")
  11.         flowerpot = read() * 4
  12.         print("$12/1 Harvested Weed")
  13.         harvestedweed = read() * 12
  14.         print($15/1 Mani Blunt")
  15.         maniblunt = read() * 15
  16.         print("$20/1 Mani Bundle")
  17.         manibundle = read() * 20
  18.         print("$25/1 Liquid Shrooms Bundle")
  19.         liquidshrooms = read() * 25
  20.         print("$22/1 Whiskey Drug")
  21.         whiskeydrug = read() * 22
  22.         print($28/1 Liquid Ice")
  23.         liquidice = read() * 28
  24.         print("$18/1 Cooled Pyro Bottle")
  25.         cooledpyro = read() * 18
  26.         print("Please enter an order name")
  27.         name = read()
  28.         term.clear
  29.         term.setCursorPos(1,1)
  30.         print("Thankyou! Please wait while we process your order.")
  31.         final = weedplant + flowerpot + harvestedweed + maniblunt + manibundle + liquidshrooms + whiskeydrug + liquidice + cooledpyro
  32.         sleep(3)
  33.         print("Your final price comes to" + final + "gold coins")
  34.         order1 = (name) + (final)
  35.         end
  36.     end
  37.     elseif option == "2" then
  38.         print("Please input administrator password.")
  39.         option2 = read("*")
  40.         if option2 == "yourface007" then
  41.             print("Access granted.")
  42.             sleep(2)
  43.             print(order1)
  44.         else
  45.             print("Access denied.")
  46.             sleep(2)
  47.         end
  48.     end
  49. end
Add Comment
Please, Sign In to add comment