Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- if player has permission "mvp":
- stop
- set block at location of victim to chest
- loop blocks in radius 1 of victim:
- if loop-block is chest:
- set {_a} to location of loop-block
- set {death::%{_a}%} to "%victim%"
- loop all items in victim's inventory:
- add loop-item to {_loop::*}
- add {_loop::*} to inventory of block at {_a}
- remove {_loop::*} from victim
- on rightclick on chest:
- if {death::%location of block%} is set:
- set block to air
- send "&7[&bLoot&7]&fKamu Mengambil barang milik &6%{death::%location of block%}%"
- console command "/mail send %{death::%location of block%}% %player% telah mengambil Inventory mu yang terjatuh"
- on leftclick on chest:
- if {death::%location of block%} is set:
- set block to air
- send "&7[&bLoot&7]&fKamu Mengambil barang milik &6%{death::%location of block%}%"
- console command "/mail send %{death::%location of block%}% %player% telah mengambil Inventory mu yang terjatuh"
Advertisement
Add Comment
Please, Sign In to add comment