YasirUS
Obsidyen Madencisi
- En iyi cevaplar
- 0
PHP:
#Sandik Skript V1
#Author: YasirUS
#Version: 1.0
#To: Oktay_TR
Options:
Prefix: &6[&5Yasir&6]
Swad: &7Yasir
On Death Of Wither:
Attacker is Player:
Drop 1 Stick Named "&aAnahtar" With Lore "&2Kasa Anahtari!" To Victim's Location
Send "{@Prefix}&cWither Öldürdüğün Icin Anhatar Kazandin Anahtari Spawndaki Kasayi Açmak Icin Kullanabilirsin" To Attacker
Command /SandikSec:
Permission: OP
Trigger:
Set {Sandik.%Target Block%} To Aktif
Send "{@Prefix}&7Sandik Seçildi!" To Player
On Right Click On Chest With Stick:
if Player Tool'S Named "&aAnahtar":
if {Sandik.%Event Block%} is set:
Remove 1 Stick named "&aAnahtar" From Player
Send "&aSandik Aciliyor..." To Player
Wait 3 Tick
open chest with 1 rows named "{@Swad}" to player
Format Slot 5 of Player With Diamond Named "&6Sans..." To unstealable
Wait 2 Tick
Format Slot 5 of Player With Iron Named "&6Sans..." To unstealable
Wait 2 Tick
Format Slot 5 of Player With Gold Named "&6Sans..." To unstealable
Wait 2 Tick
Format Slot 5 of Player With Diamond Named "&6Sans..." To unstealable
Wait 2 Tick
Format Slot 5 of Player With Iron Named "&6Sans..." To unstealable
Wait 2 Tick
Format Slot 1 of Player With Gold Named "&6Sans..." To unstealable
Chance of 25%:
Format Slot 5 of Player With Diamond Named "&6Sans..." To unstealable
Give 1 Diamond To Player
Close Player'S Inventory
Send "&6Hayirli Olsun!" To Player
Else:
Chance of 25%:
Format Slot 5 of Player With Gold Named "&6Sans..." To unstealable
Give 1 Gold To Player
Close Player'S Inventory
Send "&6Hayirli Olsun!" To Player
Else:
Format Slot 5 of Player With Iron Named "&6Sans..." To unstealable
Give 1 Iron To Player
Close Player'S Inventory
Send "&6Hayirli Olsun!" To Player
/SandikSec İle Sandigini Seç