Çözüldü Skript yanlış çalışıyor

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

farukalpay

Odunlara Vur Vur Vur!
Katılım
8 Eylül 2014
Mesajlar
48
Elmaslar
36
Puan
0
Yaş
46
Konum
Türkiye, Almanya
Minecraft
Devils_666
Facebook
https://www.facebook.com/faruk.alpay.90

Discord:

Devils_666#8380

Bu skriptte adam ölüyor yatağın yanına doğuyor sonra adamı spawna ışınlıyor. Nedenini bir türlü çözemedim.
Kod:
Options:
    TeleportCountdown: true
    CountdownSecond: 3
    TpJoin: false
    FirstJoinTp: true
    BedSupport: true
    #About BedSystem: Recommed 1. But if your player's bed near to the spawn change this to 2.
    BedSystem: 2
    RespawnTp: true

on respawn:
    if {spawn} is set:
        if {@BedSystem} is not 2:
            if {@BedSupport} is true:
                if {@RespawnTp} is true:
                    wait 0.30 seconds
                    if the distance between the player and {spawn} is smaller than 100:
                        teleport player to {spawn}
                        wait 1 second
                        If location of player is not equal to {_spawnnear}:
                            teleport player to {spawn}
        else:
            if {@BedSystem} is not 1:
                if {@BedSupport} is true:
                    if {@RespawnTp} is true:
                        wait 2 seconds
                        loop all blocks in radius 10 of player:
                            if loop-block isn't White Bed or Orange Bed or Magenta Bed or Light Blue Bed or Yellow Bed or * Bed or Pink Bed or Gray Bed or Light Gray Bed or Cyan Bed or Purple Bed or Blue Bed or Brown Bed or Green Bed or Red Bed or Black Bed:
                                teleport player to {spawn}
                                wait 2 seconds
                                If location of player is not equal to {_spawnnear}:
                                    teleport player to {spawn}
                                    stop
            else:
                if {@BedSupport} is false:
                    if {@RespawnTp} is true:
                        teleport player to {spawn}
                        wait 1 second
                        if the distance between the player and {spawn} isn't smaller than 100:
                            teleport player to {spawn}
 
Skriptte bekletme işlemi var silersen düzelecektir.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst