Auze01
options:
prefix: &eSunucu&6Adı
on damage:
if y-coordinate of victim is below 0:
cancel event
teleport victim to {spawnelien}
send "{@prefix} &7Spawndan düştüğün için başlangıç noktasına geri döndün." to victim
on first join:
wait 1 tick
teleport player to {spawnelien}
on join:
wait 1 tick
teleport player to {spawnelien}
command /spawnset:
trigger:
if player is an op:
set {spawnelien} to player's location
send "{@prefix} &8>> Spawnı &aBaşarıyla Ayarladın!"
on respawn:
teleport player to {spawnelien}
command /spawn:
trigger:
execute console command "effect %player% minecraft:blindness 24 9"
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c15 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c14 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c13 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c12 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c11 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c10 &eSaniye"
wait 5 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c5 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c4 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c2 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% &6Spawna Işınlanıyorsun \n&eSon &c1 &eSaniye"
wait 2 seconds
execute console command "tm msg %player% {@prefix} \n &7Başarıyla Spawna Gittin"
wait 1 tick
teleport player to {spawnelien}
on damage:
if damage cause is void:
cancel event
teleport victim to {spawnelien}
En kısa sürede ilgileneceğim.hayir cozulmedi halen bekliyorum skript yazilmasini
command /spawn [<text>] [<player>]:
cooldown: 5 second
cooldown message: &7Bu komut &a5 &7saniyede bir kullanılabilir.
cooldown bypass: spawn.bypass
trigger:
if arg 1 isn't set:
if player has permission "spawn.bypass":
teleport player to {SpawnLocation}
message "&7Işınlandın!"
stop
message "&e5 &7saniye sonra ışınlanacaksın.." to player
set {SpawnLocation::PlayerLocation::%player%} to player's location
loop 5 times:
if checkLocation(player) is false:
message "&cHareket ettiğin için ışınlanma iptal edildi."
delete {SpawnLocation::PlayerLocation::%player%}
stop trigger
wait 1 second
{SpawnLocation::PlayerLocation::%player%} is set
teleport player to {SpawnLocation}
message "&7Işınlandın!"
delete {SpawnLocation::PlayerLocation::%player%}
player is op
if arg 1 is "ayarla":
set {SpawnLocation} to player's location
message "&aSpawn noktası ayarlandı."
if arg 1 is "ışınla":
arg 2 is set
teleport arg 2 to {SpawnLocation}
function checkLocation(p: player) :: boolean:
if distance between {_p} and {SpawnLocation::PlayerLocation::%{_p}%} is smaller than 1:
return true
if distance between {_p} and {SpawnLocation::PlayerLocation::%{_p}%} is bigger than 1:
return false
on damage:
if {SpawnLocation::PlayerLocation::%attacker%} is set:
delete {SpawnLocation::PlayerLocation::%attacker%}
message "&cHareket ettiğin için ışınlanma iptal edildi." to attacker
if {SpawnLocation::PlayerLocation::%victim%} is set:
delete {SpawnLocation::PlayerLocation::%victim%}
message "&cHareket ettiğin için ışınlanma iptal edildi." to victim
on teleport:
if {SpawnLocation::PlayerLocation::%player%} is set:
delete {SpawnLocation::PlayerLocation::%player%}
message "&cHareket ettiğin için ışınlanma iptal edildi." to player
on first join:
teleport player to {SpawnLocation}
on join:
teleport player to {SpawnLocation}
on respawn:
teleport player to {SpawnLocation}
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!