Advertisement
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: &8[&bFactions&3X&8]
- 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!"
- command /freeze [<player>]:
- permission: freezer.freeze
- trigger:
- if arg 1 is not set:
- send "&4Error >> &cdo /freeze (player)"
- if arg 1 is set:
- set {freeze.move.%arg-1%} to true
- send "&a&o%arg-1% has been frozen"
- broadcast "&7&4%arg-1% &7has been frozen by &4%player% &7for hacking, &4do not logout!"
- message "&4You were frozen by %player% for hacking, do not logout or you will be permanently banned %newline%. You can admit for a shorter ban or accept a screenshare! %newline% &4Join our discord and join Requesting Staff if you wish to do a screenshare and prove your innocence! %newline% &4Here is the discord link! -> https://discord.gg/A59nAy2 <- %newline%" to arg 1
- command /unfreeze [<player>]:
- permission: freezer.freeze
- trigger:
- if arg 1 is not set:
- send "&4Error >> &cdo /unfreeze (player)"
- if arg 1 is set:
- set {freeze.move.%arg-1%} to false
- send "&a&o%arg-1% has been unfrozen"
- broadcast "&7&a%arg-1% &7has been unfrozen by &a%player%!"
- message "&2You were unfrozen by %player%! Sorry about that. Have a nice day &cā¤" to arg 1
- on any movement:
- if {freeze.move.%player%} is true:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement