Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &7[&4Ripped Pants&7]&r
- command /rippedpants <text>:
- permission: skript.pants
- usage: /rippedpants <on:off>
- trigger:
- if arg 1 is "on":
- set {Pants} to true
- broadcast "%{@P}% Yo pants will be ripped!"
- if arg 1 is "off":
- set {Pants} to false
- broadcast "%{@P}% Yo pants are safe!"
- on sneak toggle:
- {Pants} is true
- player is wearing leggings
- chance of 5%:
- set the leggings of the player to air
- execute console command "/playsound random.break %player%"
- message "&c&lYou ripped yo pants!" to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement