Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Head Hunters for Grrr Angery S1
- Options:
- P: &8[&3GrrrrAngery&8]&3
- command /grrrhunters <text>:
- permission: skript.op
- trigger:
- if arg-1 is equal to "enable" or "on" or "yes" or "true" or "start":
- set {GrrrHunters::Enabled} to true
- message "{@P} Head Hunters Enabled!"
- if arg-1 is equal to "disable" or "stop" or "no" or "false" or "off":
- delete {GrrrHunters::Enabled}
- message "{@P} Head Hunters Disabled!"
- on death of player:
- {GrrrHunters::Enabled} is true
- set {GrrrHunters::XCoord} to x coordinate of player
- set {GrrrHunters::ZCoord} to z coordinate of player
- set {GrrrHunters::YCoord} to a random integer between 70 and 150
- set {GrrrHunters::Location} to location of (block at location at {GrrrHunters::XCoord}, {GrrrHunters::YCoord}, {GrrrHunters::ZCoord})
- while block at {GrrrHunters::Location} is not air:
- add 1 to y-coord of {GrrrHunters::Location}
- wait 1 tick
- wait 1 tick
- set block at {GrrrHunters::Location} to victim's skull
- broadcast "%{GrrrHunters::Location}%"
- wait 1 second
- delete {GrrrHunters::XCoord}
- delete {GrrrHunters::YCoord}
- delete {GrrrHunters::ZCoord}
- delete {GrrrHunters::Location}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement