command /taşsat:
trigger:
wait 2 tick
open chest with 1 rows named "taşsat" to player
format slot 3 of player with green wool named "Taşsat" with lore "64 Kırıktaşı Otomatik 500'e Satar" to close then run [make player execute command "taşsatgercekleştir ac"]
format slot 5 of player with red wool named "Taşsat" with lore "Taşsatma İşlemini Kapatır" to close then run [make player execute command "taşsatgercekleştir kapat"]
command /taşsatgercekleştir [<text>]:
trigger:
if arg 1 is "ac":
set {tassatma.%player%} to true
send "Taşsatma Açıldı"
if arg 1 is "kapat":
set {tassatma.%player%} to false
send "Taşsatma Kapatıldı"
any move:
if {tassatma.%player%} is true:
if player have 64 of cobblestone:
remove 64 cobblestone from player
execute console command "money give %player% 500"
send "64 Kırıktaş Satıldı - 500 TL Cebte Bremin"