on break of cobblestone:
chance of 1%:
give a lead named "&6&lFlyBelgesi" to player
send "&7> &aTas kazarken FlyBelgesi dusurdunuz."
on rightclick with a lead:
if display name of player's tool contains "&6&lFlyBelgesi":
cancel event
remove 1 lead named "&6&lFlyBelgesi" from player
set {fly.%player%} to 1
execute console command "fly %player%"
wait 2 minutes
send "&cUcus modunun bitmesine son 1 dakika!"
wait 30 seconds
send "&cUcus modunun bitmesine son 30 saniye"
wait 10 seconds
send "&cUcus modunun bitmesine son 10 saniye"
wait 5 seconds
send "&cUcus modunun bitmesine son 5 saniye"
wait 1 seconds
send "&cUcus modunun bitmesine son 4 saniye"
wait 1 seconds
send "&cUcus modunun bitmesine son 3 saniye"
wait 1 seconds
send "&cUcus modunun bitmesine son 2 saniye"
wait 1 seconds
send "&cUcus modunun bitmesine son 1 saniye"
if {fly.%player%} is 1:
execute console command "fly %player%"
send "&cUcus modunuz bitmiştir."
delete {fly.%player%}
stop
else:
stop
on teleport:
delete {fly.%player%}
on death:
delete {fly.%player%}