Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: [VengefulSpirits]
- on death of player:
- {VengefulSpirits} is true
- wait 1 tick
- spawn 1 ghast at location 1 above (location of event-player)
- set max health of last spawned entity to 15
- heal last spawned entity
- set name of last spawned entity to "%player%"
- on death of ghast:
- {VengefulSpirits} is true
- set {_Head} to name of victim
- drop 1 player head named "%{_Head}%" at location 1 above (location of victim)
- on right click:
- {VengefulSpirits} is true
- player's tool is name tag
- cancel the event
- message "§6You cannot name things in this gamemode!"
- command /vengefulspirits [<text>]:
- permission: skript.vengefulspirits
- trigger:
- if arg-1 is "on" or "enable":
- set {VengefulSpirits} to true
- broadcast "{@P} Enabled by a%command sender%§f."
- else if arg-1 is "off" or "disable":
- delete {VengefulSpirits}
- broadcast "{@P} Disabled by c%command sender%§f."
- else if arg-1 is "help":
- message "{@P} /vengefulspirits on/off/help"
- else if arg-1 is not set:
- command sender command "/vengefulspirits"
- else:
- command sender command "/vengefulspirits"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement