Guest User

skript

a guest
Nov 2nd, 2019
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. on right click on villager holding a cauldron:
  2. set {_chance} to a random integer between 1 and 200
  3. if {_chance} is between 1 and 24:
  4. make console execute command "/msg %player% &2Treat! &7>> &2Take some Golden Candy"
  5. give golden apple to player
  6. if {_chance} is between 25 and 48:
  7. make console execute command "/msg %player% &2Treat! &7>> &2Take some Sour Candy"
  8. give apple to player
  9. if {_chance} is between 49 and 72:
  10. make console execute command "/msg %player% &2Treat! &7>> &2Take some Crunchy Candy"
  11. give gold nugget to player
  12. if {_chance} is between 73 and 96:
  13. make console execute command "/msg %player% &2Treat! &7>> &2Take some Fluffy Candy"
  14. give cake to player
  15. if {_chance} is between 97 and 119:
  16. make console execute command "/msg %player% &2Treat! &7>> &2Take some Sweet Candy"
  17. give pumpkin pie to player
  18. if {_chance} is between 119 and 120:
  19. make console execute command "/cc give physical basic 1 %player%"
  20. make console execute command "/bc &2&l%player%&r &2Has won the &lGRAND PRIZE!"
  21. if {_chance} is between 121 and 200:
  22. make console execute command "/eco take %player% 30"
  23. make console execute command "/msg %player% &cTrick! &7>> &cYour money is mine now!"
Advertisement
Add Comment
Please, Sign In to add comment