Advertisement
Guest User

script

a guest
Jan 31st, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. on rightclick holding a Paper:
  2. if "%name of player's held item%" is "&9Gauze" or "Gauze":
  3. if target block is a chest:
  4. stop
  5. if target block is a furnace:
  6. stop
  7. if target block is a sign:
  8. stop
  9. if target block is a ender chest:
  10. stop
  11. if target block is a crafting table:
  12. stop
  13. if target block is a dispenser:
  14. stop
  15. if player's health is 10:
  16. send "Your health is full" to player
  17. stop
  18. apply regeneration to player for 10 seconds
  19. remove 1 paper from player
  20.  
  21. /////////////////////////////////////////////////////////////////////////////////////////////////////////
  22. What I tried:
  23.  
  24.  
  25. on rightclick holding a Paper:
  26. if "%name of player's held item%" is "&9Gauze" or "Gauze":
  27. if target block is a chest:
  28. stop
  29. if target block is a furnace:
  30. stop
  31. if target block is a sign:
  32. stop
  33. if target block is a ender chest:
  34. stop
  35. if target block is a crafting table:
  36. stop
  37. if target block is a dispenser:
  38. stop
  39. if player's health is 10:
  40. send "Your health is full" to player
  41. stop
  42. apply regeneration to player for 10 seconds
  43. remove 1 paper from player
  44. wait 2 minutes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement