SHARE
TWEET

HearthBar - herhor67

herhor67 Oct 16th, 2014 (edited) 952 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on damage:
  2.         name of victim is set:
  3.                 name of victim doesn't contain "❤":
  4.                         name of victim is set:
  5.                                 set {nazwa.%victim%} to coloured name of victim
  6.                         else:
  7.                                 set {nazwa.%victim%} to true
  8. #==================================================#
  9.         set {_hp} to health of victim * 2
  10.         set {_nazwa} to "♥"
  11.         loop {_hp}-2 times:
  12.                 set {_nazwa} to "%{_nazwa}%♥"
  13.         replace all "♥♥"  with "❤" in {_nazwa}
  14.         set the display name of victim to "&4%{_nazwa}%"
  15. #==================================================#
  16.         set {cd.%victim%} to now
  17.         wait 3 seconds
  18.         wait 1 tick
  19.         difference between {cd.%victim%} and now is greater than 3 seconds:
  20.                 {nazwa.%victim%} isn't true:
  21.                         set the display name of victim to "%{nazwa.%victim%}%"
  22.                 else:
  23.                         clear display name of victim
  24.  
  25. on death:
  26.         clear display name of victim
  27.         clear {nazwa.%victim%}
  28.         clear {cd.%victim%}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top