daily pastebin goal
54%
SHARE
TWEET

Bandage (FortNite)

70sOn7 Jan 12th, 2018 (edited) 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick:
  2.     if player is holding redstone named "&cBandage" with lore "&fRight-Click to heal up||&fShift to cancel healing":
  3.         remove 1 redstone named "&cBandage" with lore "&fRight-Click to heal up||&fShift to cancel healing" from player
  4.         set {bandage.%player%} to true
  5.         set action bar of player to "&cTime: &f4 seconds"
  6.         if {bandage.%player%} is true:
  7.             wait 1 second
  8.             set action bar of player to "&cTime: &f3 seconds"
  9.             if {bandage.%player%} is true:
  10.                 wait 1 second
  11.                 set action bar of player to "&cTime: &f2 seconds"
  12.                 if {bandage.%player%} is true:
  13.                     wait 1 second
  14.                     set action bar of player to "&cTime: &f1 second"
  15.                     if {bandage.%player%} is true:
  16.                         wait 1 second
  17.                         set action bar of player to "&cTime: &fDone!"
  18.                         delete {bandage.%player%}
  19.                         wait 1 second  
  20.                         set action bar of player to ""
  21.  
  22. every tick:    
  23.     if player is sneaking:
  24.         if {bandage.%loop-player%} is true:
  25.             delete {bandage.%loop-player%}
  26.             set action bar of player to "&cTime: &fCanceled!"
  27.             give 1 redstone named "&cBandage" with lore "&fRight-Click to heal up||&fShift to cancel healing" to loop-player       
  28.     if player is walking:
  29.         if {bandage.%loop-player%} is true:
  30.             delete {bandage.%loop-player%}
  31.             set action bar of loop-player to "&cTime: &fCanceled!"
  32.             give 1 redstone named "&cBandage" with lore "&fRight-Click to heal up||&fShift to cancel healing" to loop-player   
  33.  
  34. on damage:
  35.     if {bandage.%victim%} is true:
  36.         delete {bandage.%victim%}
  37.         set action bar of victim to "&cTime: &fCanceled!"
  38.         give 1 redstone named "&cBandage" with lore "&fRight-Click to heal up||&fShift to cancel healing" to victim
  39.  
  40. on chat:
  41.     if message is ".bandage":
  42.         if player is op:
  43.             send "&cBandage:" to player
  44.             send "" to player
  45.             send "&f.bandage give" to player
  46.             send "&f.bandage link" to player
  47.             cancel event
  48.     if message is ".bandage give":
  49.         if player is op:
  50.             give 1 redstone named "&cBandage" with lore "&fRight-Click to heal up||&fShift to cancel healing" to player
  51.             send "&cBandage: &fYou have been given 1 Bandage!" to player
  52.             cancel event
  53.     if message is ".bandage link":
  54.         if player is op:
  55.             send "&cLink: &fhttps://pastebin.com/raw/5Wn3XV6i"
  56.             cancel event
RAW Paste Data
Top