Advertisement
fleft17

Untitled

Jul 6th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. options:
  2.  
  3. P: &7[&4Ripped Pants&7]&r
  4.  
  5. command /rippedpants <text>:
  6. permission: skript.pants
  7. usage: /rippedpants <on:off>
  8. trigger:
  9. if arg 1 is "on":
  10. set {Pants} to true
  11. broadcast "%{@P}% Yo pants will be ripped!"
  12. if arg 1 is "off":
  13. set {Pants} to false
  14. broadcast "%{@P}% Yo pants are safe!"
  15.  
  16.  
  17. on sneak toggle:
  18. {Pants} is true
  19. player is wearing leggings
  20. chance of 5%:
  21. set the leggings of the player to air
  22. execute console command "/playsound random.break %player%"
  23. message "&c&lYou ripped yo pants!" to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement