Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------------------------------------#
- # #
- # Custom Death Messages #
- # #
- # Created by Fake / CraftageSetups #
- # #
- #---------------------------------------------------#
- #---------------------------------------------------#
- # #
- # Main Options - Edit Below! #
- # #
- # prefix = &8[&bFactions&3X&8] #
- # main-color = &b #
- # secondary-color = &3 #
- # #
- #---------------------------------------------------#
- options:
- heart: ❤
- prefix: &f[&5Death&f]
- main-color: &d
- secondary-color: &f
- #---------------------------------------------------#
- # #
- # Skript - Do not touch! #
- # #
- #---------------------------------------------------#
- on death:
- if attacker is a player:
- if projectile is set:
- set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was shot by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
- else:
- set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
- if attacker is not a player:
- if attacker is set:
- set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
- if damage was caused by potion:
- set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by magic."#
- else:
- set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
Advertisement
Add Comment
Please, Sign In to add comment