Skyblock için Adakit / Adareklam Skripti

Larwiax

Kömür madencisi
Katılım
27 Ocak 2021
Mesajlar
18
Beğeni
1
Puanları
30
#Larwiax Scripts
command /adakit:
trigger:
{adi.%player%} isn't set:
set {adi.%player%} to true
give 640 diamond block to player
give 120 emerald block to player
give 120 iron block to player
give 120 gold block to player
execute console command "give %player% 52 3 name:&fDemir_&8-_&aSpawner"
execute console command "tm message %player% &aAdakit verildi."
else:
execute console command "tm message %player% &cZaten adakit almışsın!"



command /adareklam:
trigger:
set {_beklemesurresi} to difference between {adareklamsure::%player%} and now
if {_beklemesurresi} is less than 5 minutes:
set {_beklemesurresi} to difference between {_beklemesurresi} and 5 minutes
set {_beklemesurresi} to "%{_beklemesurresi}%"
replace all "minutes" with "dakika" in {_beklemesurresi}
replace all "minute" with "dakika" in {_beklemesurresi}
replace all "seconds" with "saniye" in {_beklemesurresi}
replace all "second" with "saniye" in {_beklemesurresi}
replace all " and " with " " in {_beklemesurresi}
send "&3Hata &8» &7Adareklam için &c%{_beklemesurresi}% &7beklemelisin."
else:
if player's balance is greater than or equal to 5000000:
remove 50000000 from player's balance
set {adareklamsure::%player%} to now
send "&8&l&m----------------[&6&lSUNUCU_ISMI&8&l&m]----------------" to players
send "" to players
send " &8» &c%player% &eadlı oyuncu sizi adasına davet ediyor" to players
send " &8» &egitmek için &c/is warp %player%" to players
send "" to players
send "&8&l&m----------------[&6&lSUNUCU_ISMI&8&l&m]----------------" to players
else:
send "&3Hata &8» &7Yetersiz para &c50M &7paran olması lazım!"

on first join:
wait 1 second
execute console command "warp spawn %player%"

on join:
wait 1 second
execute console command "warp spawn %player%"
 

Zysio

Oduncu
Katılım
11 Şub 2021
Mesajlar
3
Beğeni
0
Puanları
10
Kodları hem gözümüze kötü gözükmemesi hem de kopyalandığında tonlarca Tab, Space hatası alınmaması için şu şekilde paylaşırsan herkes için daha iyi olur:
JavaScript:
command /adakit:
    trigger:
    if {adi.%player%} isn't set:
        set {adi.%player%} to true
        give 640 diamond block to player
        give 120 emerald block to player
        give 120 iron block to player
        give 120 gold block to player
        execute console command "give %player% 52 3 name:&fDemir_&8-_&aSpawner"
        execute console command "tm message %player% &aAdakit verildi."
    else:
        execute console command "tm message %player% &cZaten adakit almışsın!"



command /adareklam:
    trigger:
        set {_beklemesurresi} to difference between {adareklamsure::%player%} and now
        if {_beklemesurresi} is less than 5 minutes:
            set {_beklemesurresi} to difference between {_beklemesurresi} and 5 minutes
            set {_beklemesurresi} to "%{_beklemesurresi}%"
            replace all "minutes" with "dakika" in {_beklemesurresi}
            replace all "minute" with "dakika" in {_beklemesurresi}
            replace all "seconds" with "saniye" in {_beklemesurresi}
            replace all "second" with "saniye" in {_beklemesurresi}
            replace all " and " with " " in {_beklemesurresi}
            send "&3Hata &8» &7Adareklam için &c%{_beklemesurresi}% &7beklemelisin."
        else:
            if player's balance is greater than or equal to 5000000:
                remove 50000000 from player's balance
                set {adareklamsure::%player%} to now
                send "&8&l&m----------------[&6&lSUNUCU_ISMI&8&l&m]----------------" to players
                send "" to players
                send " &8» &c%player% &eadlı oyuncu sizi adasına davet ediyor" to players
                send " &8» &egitmek için &c/is warp %player%" to players
                send "" to players
                send "&8&l&m----------------[&6&lSUNUCU_ISMI&8&l&m]----------------" to players
            else:
                send "&3Hata &8» &7Yetersiz para &c50M &7paran olması lazım!"

on first join:
    wait 1 second
    execute console command "warp spawn %player%"

on join:
    wait 1 second
    execute console command "warp spawn %player%"
 
Üst