LuckyLucario99

Poisoned Gapple Skript by LuckyLucario99

Oct 5th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. PG : &7[&2Poisoned&6Gapple&7]
  3. D : &cDisabled!
  4. E : &cEnabled!
  5. NS : &c/poisonedgapple <enable/disable/toggle>
  6.  
  7. command /poisonedgapple [<text>]:
  8. usage: /poisonedgapple <enable/disable/toggle>
  9. permission: poisonedgapple.admin
  10. aliases: /pg
  11. trigger:
  12. if arg 1 is not set:
  13. message "{@PG} {@NS}"
  14. else if arg 1 is "enable":
  15. set {poisonedgapple} to true
  16. message "{@PG} {@E}"
  17. else if arg 1 is "disable":
  18. set {poisonedgapple} to false
  19. message "{@PG} {@D}"
  20. else if arg 1 is "toggle":
  21. if {poisonedgapple} is true:
  22. set {poisonedgapple} to false
  23. message "{@PG} {@D}"
  24. stop
  25. if {poisonedgapple} is false:
  26. set {poisonedgapple} to true
  27. message "{@PG} {@E}"
  28. stop
  29. else:
  30. message "{@PG} {@NS}"
  31.  
  32. on consume of golden apple:
  33. if {poisonedgapple} is true:
  34. chance of 5%:
  35. apply poison 2 to the player for 6 seconds
  36.  
  37. # Skript made by LuckyLucario99
  38. # Gamemode Idea by iLatios
Advertisement
Add Comment
Please, Sign In to add comment