Dul Bırakan
Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
- En iyi cevaplar
- 0
şöyle bi kod buldum bu kod ama item verio cheste tıklarsa ama ben tıkladıgı çestte item olsun ve sadece 1 kere alınabilrsin hg icin anlarsınz bu kodum
Kod:
on rightclick on chest:
if player's world is "world":
cancel event
chance of 90%:
set {_item} to "%{ctool::%random integer between 1 and 29%}%"
give {_item} parsed as itemtype to the chest
chance of 90%:
set {_armor} to "%{carmor::%random integer between 1 and 9%}%"
give {_armor} parsed as itemtype to the chest
chance of 30%:
set {_potion} to Potion of Swiftness, Potion of Healing, Potion of Strength, or Golden Apple
give {_potion} to the player
chance of 60%:
set {_tool} to Bow, Sword, or Axe
give {_tool} named "%{cprefix::%random integer between 1 and 29%}% %{csuffix::%random integer between 1 and 29%}% " to the player
set clicked block to air
wait 360 seconds
set clicked block to chest