on rightclick with paper:
if display name of tool is "&4&lZindan Bileti ":
send "5 saatlik zindanın başladı!."
remove a paper named "&4&l4Zindan Bileti" from player
execute console command "/tp %player% xyz"
wait 5 hours
execute console command "/spawn %player%"
wait 1 second
execute console command "/msg %player% Zindan süren bitti!"
teşekkür ederimJavaScript:on rightclick with paper: if display name of tool is "&4&lZindan Bileti ": send "5 saatlik zindanın başladı!." remove a paper named "&4&l4Zindan Bileti" from player execute console command "/tp %player% xyz" wait 5 hours execute console command "/spawn %player%" wait 1 second execute console command "/msg %player% Zindan süren bitti!"
XYZ yerine zindan dediğin yerin koordinatlarını DÜZGÜN bir şekilde yaz.