Wheemangga

Soda Sign Skript

May 23rd, 2014
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.89 KB | None | 0 0
  1. #By Wheemangga
  2. options:
  3.     L: &7[&BSoda&7]
  4. on rightclick on sign:
  5.     line 1 of block is "&1[Soda]":
  6.         line 2 of block is "&eHealing Soda":
  7.             set line 2 of block to "&fBuy"
  8.             set line 3 of block to "&eHealing Soda"
  9.             set line 4 of block to "&a$5000"
  10.             player's money is above or equal to 5000:
  11.                 remove 5000 from player's money
  12.                 set line 2 of block to "&fProcessing. . ."
  13.                 wait 3 seconds
  14.                 execute console command "/give %player% 373:8229 1 name:&aHealing_Soda"
  15.                 send "{@L} &aSelamat menikmati :*"
  16.                 set line 2 of block to "&aSuccess!"
  17.                 wait 3 seconds
  18.                 set line 2 of block to "&fBuy"
  19.                 set line 3 of block to "&eHealing Soda"
  20.                 set line 4 of block to "&a$5000"
  21.             else:
  22.                 send "{@L} Tidak ada Uang!"
  23.                 set line 2 of block to "&cTidak ada Uang!"
  24.                 wait 3 seconds
  25.                 set line 2 of block to "&fBuy"
  26.         line 2 of block is "&eFlash Soda":
  27.             set line 2 of block to "&fBuy"
  28.             set line 3 of block to "&eHealing Soda"
  29.             set line 4 of block to "&a$5000"
  30.             player's money is above or equal to 5000:
  31.                 remove 5000 from player's money
  32.                 set line 2 of block to "&fProcessing. . ."
  33.                 wait 3 seconds
  34.                 execute console command "/give %player% 373:8258 1 name:&bFlash_Soda"
  35.                 send "{@L} &aSelamat menikmati :*"
  36.                 set line 2 of block to "&aSuccess!"
  37.                 wait 3 seconds
  38.                 set line 2 of block to "&fBuy"
  39.                 set line 3 of block to "&eHealing Soda"
  40.                 set line 4 of block to "&a$5000"
  41.             else:
  42.                 send "{@L} Tidak ada Uang!"
  43.                 set line 2 of block to "&cTidak ada Uang!"
  44.                 wait 3 seconds
  45.                 set line 2 of block to "&fBuy"
  46.         line 2 of block is "&fBuy":
  47.             line 3 of block is "&eHealing Soda":
  48.                 player's money is above or equal to 5000:
  49.                     remove 5000 from player's money
  50.                     set line 2 of block to "&fProcessing. . ."
  51.                     wait 3 seconds
  52.                     execute console command "/give %player% 373:8229 1 name:&aHealing_Soda"
  53.                     send "{@L} &aSelamat menikmati :*"
  54.                     set line 2 of block to "&aSuccess!"
  55.                     wait 3 seconds
  56.                     set line 2 of block to "&fBuy"
  57.                     set line 3 of block to "&eHealing Soda"
  58.                     set line 4 of block to "&a$5000"
  59.                 else:
  60.                     send "{@L} Tidak ada Uang!"
  61.                     set line 2 of block to "&cTidak ada Uang!"
  62.                     wait 3 seconds
  63.                     set line 2 of block to "&fBuy"
  64.         line 2 of block is "&fBuy":
  65.             line 3 of block is "&eFlash Soda":
  66.                 player's money is above or equal to 5000:
  67.                     remove 5000 from player's money
  68.                     set line 2 of block to "&fProcessing. . ."
  69.                     wait 3 seconds
  70.                     execute console command "/give %player% 373:8258 1 name:&bFlash_Soda"
  71.                     send "{@L} &aSelamat menikmati :*"
  72.                     set line 2 of block to "&aSuccess!"
  73.                     wait 3 seconds
  74.                     set line 2 of block to "&fBuy"
  75.                     set line 3 of block to "&eHealing Soda"
  76.                     set line 4 of block to "&a$5000"
  77.                 else:
  78.                     send "{@L} Tidak ada Uang!"
  79.                     set line 2 of block to "&cTidak ada Uang!"
  80.                     wait 3 seconds
  81.                     set line 2 of block to "&fBuy"
Advertisement
Add Comment
Please, Sign In to add comment