Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Commands:
- res:
- Override: true
- Script:
- - '@IF s <cmdarg:2> = W66X5pdR09ypxns'
- - '@AND s $Death.<cmdarg:1> = <playerloc>'
- - '@AND b $Death.<cmdarg:1> = True'
- - ' @SETBOOL $Revive.<cmdarg:1> true'
- - ' @TELL <cmdarg:1> &e<playername> is trying to revive you.'
- - ' @TELL <cmdarg:1> &eDo /RevAccept to accept the revive.'
- - ' @TELL <cmdarg:1> &eYou have 20 seconds to accept.'
- - ' @PAUSE 20'
- - ' @IF b $RevAccept.<cmdarg:1> = True'
- - ' @CMDCON tp <cmdarg:1> <playername>'
- - ' @SETBOOL $RevAccept.<cmdarg:1> = False'
- - ' @SETBOOL $Revive.<cmdarg:1> = False'
- - ' @SETBOOL $Death.<cmdarg:1> = False'
- - ' @ELSE'
- - ' @PLAYER &e<cmdarg:1> has refused your revival.'
- - ' @SETBOOL $Revive.<cmdarg:1> = False'
- - ' @ENDIF'
- - '@ELSE'
- - ' @EXIT'
- - '@ENDIF'
- revaccept:
- Override: true
- Script:
- - '@IF b $Revive.<playername> = True'
- - ' @SETBOOL $RevAccept.<playername> True'
- - ' @PLAYER &eYou have accepted the Revival!'
- - '@ELSE'
- - ' @PLAYER &eYou are not dead!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement