Facebook
From sosnax1, 9 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 720
  1. #Skrypt by sosnax1
  2. #Licencja Open Surce
  3. #Miłej zabawy z kodem!
  4.  
  5.  
  6.  
  7. on skript load:
  8.         wait 2 seconds
  9.         send "&9>> &aba_bilety &8- &7zostal uruchomiony..." to the console
  10. command /daj:
  11.         description: Sets message of the day
  12.         trigger:
  13.                 message "Otrzymales bileset {motd} to argument"
  14.                 give paper of unbreaking 10 named "bilet" to the player
  15. command /check:
  16.     description: Sets message of the day
  17.     trigger:
  18.         if player's money > 5:
  19.             send "&6&o >> &AMasz %player's money%!"
  20.         if player's money < 5:
  21.             send "&6&o >> &4Masz tylko %player's money%!"
  22. on leftclick on a dropper:
  23.     if name of the player's tool is "bilet":
  24.     if player's tool is enchanted with unbreaking 10:
  25.         remove 1 paper named "bilet" from the player
  26.         send "&6&o >> &7Uzyles biletu!."
  27.         teleport the player 1 meter south the player
  28. On Sign Change:
  29.     if line 1 is "&1[Bilety]":
  30.         send "&6&o >> &Stworzyles sklep z biletami!."
  31. on rightclick on a sign:
  32.     if line 1 is "&1[Bilety]":
  33.         if player's money > 35:
  34.             send "&6&o >> &AOtrzymales Bilet!."
  35.             remove 35 from player's account
  36.             give paper of unbreaking 10 named "bilet" to the player
  37.         if player's money < 35:
  38.             send "&6&o >> &4Nie stac cie na bilet!"