command /setspawn: #eğer essentials falan kullanıyorsan hem essentialsın hemde skriptin spawnı belirlenmiş olur
permission: OP
trigger:
set {spawn} to location of player
command /ölümbekleme: #öldüğü zaman bekleme süresince nereye ışınlanmasını istiyorsan orada bu komutu yaz
permission: OP
trigger:
set {beklemea} to location of player
on damage:
attacker is a player:
victim is a player:
if damage > victim's health:
execute console command "gamemode 3 %victim%"
teleport victim to {beklemea}
send "&6Yeniden canlanmana son 3 saniye" to victim
wait 1 second
send "&6Yeniden canlanmana son 2 saniye" to victim
wait 1 second
send "&6Yeniden canlanmana son 1 saniye" to victim
wait 1 second
send "&6Yeniden canlandın!" to player
execute console command: "gamemode 0 %victim%" #oyun modunu sen ayarlayabilirsin eğer lobiye ışınlanıyorsa 0 yazan yere 2 yaz
teleport victim to {spawn}