command /uçuşbileti:
permission : op
trigger:
give 1 paper named "&aUçuş Bileti &8(&e30 Saniye&8)" to player
rightclick with paper:
if tool's display name is "&aUçuş Bileti &8(&e30 Saniye&8)":
cancel event
remove paper named "&aUçuş Bileti &8(&e30 Saniye&8)" from players
wait 0.50 seconds
execute console command "fly %player%"
send "&aUçuş Bileti &8► &7Uçuş bileti kullanıldı. Şimdi &8(&d30&8) &7saniye boyunca istediğin kadar uçabilirsin!"
execute console command "tm msg %player% &a&lUçuş Bileti\n &7Uçma özelliğinin &e30 &7saniyesi kaldı!"
wait 15 seconds
execute console command "tm msg %player% &a&lUçuş Bileti\n &7Uçma özelliğinin &e15 &7saniyesi kaldı!"
wait 5 seconds
execute console command "tm msg %player% &a&lUçuş Bileti\n &7Uçma özelliğinin &e10 &7saniyesi kaldı!"
wait 7 seconds
execute console command "tm msg %player% &a&lUçuş Bileti\n &7Uçma özelliğinin &e3 &7saniyesi kaldı!"
wait 1 seconds
execute console command "tm msg %player% &a&lUçuş Bileti\n &7Uçma özelliğinin &e2 &7saniyesi kaldı!"
wait 1 seconds
execute console command "tm msg %player% &a&lUçuş Bileti\n &7Uçma özelliğinin &e1 &7saniyesi kaldı!"
wait 1 seconds
execute console command "tm msg %player% &a&lUçuş Bileti\n &7Uçma özelliğinin süresi doldu!"
execute console command "fly %player%"