Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /damageview [<boolean>]:
- trigger:
- if arg 1 is not set:
- send "&bあなたのダメージ表示状況:%{dmg.%player%}%"
- stop
- if arg 1 is true:
- set {dmg.%player%} to true
- send "&bダメージ表示をtrueに設定しました。"
- send "&b/damageview falseで無効化できます。"
- stop
- if arg 1 is false:
- set {dmg.%player%} to false
- send "&bダメージ表示をfalseに設定しました。"
- send "&b/damageview trueで有効化できます。"
- on damage:
- if {dmg.%attacker%} is true:
- wait 1 tick
- send "&a<<<%damage * 2% &7%health of victim * 2%/%max health of victim * 2%" to attacker
- if {dmg.%victim%} is true:
- wait 1 tick
- send "&c>>>%damage * 2% &7%health of victim * 2%/%max health of victim * 2%" to victim
- on script load:
- broadcast "ダメージ表示Skriptがロードされました。"
- on join:
- if {dmg.%player%} is not set:
- set {dmg.%player%} to true
- send "&dダメージ表示をtrueに設定しました。"
- send "&d/damageview falseで無効化できます。"
Advertisement
Add Comment
Please, Sign In to add comment