Çözüldü Elma Toplama Skripti [Sadece 1 kod lazım]

  • Konuyu Başlatan Konuyu Başlatan eMrY
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 630
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

eMrY

Fırında Isıttığım İlk Taş
Katılım
10 Mart 2018
Mesajlar
86
Elmaslar
27
Puan
0
Minecraft
iLostYou

Discord:

eMrY#6174

Arkadaşlar böyle bir skript buldum bu skriptte sağ tıkladığım dalın silinmesini ve 3 saniye sonra elma gelmesini istiyorum.


Kod:
on join:
 set {elma.%player%} to on

on right click on leaves:
 if {elma.%player%} is on:
  set {elma.%player%} to off
  send "&83 saniye sonra bir elma alacaksın."
  wait 3 seconds
  give 1 red apple to player
  send "Elma topladın!"
  wait 3 second
  set {elma.%player%} to on
 else:
  cancel event
  send "&cŞu anda elma toplayamazsın!"
 
Kod:
set block to air

Dener misin?
 
Arkadaşlar böyle bir skript buldum bu skriptte sağ tıkladığım dalın silinmesini ve 3 saniye sonra elma gelmesini istiyorum.


Kod:
on join:
set {elma.%player%} to on

on right click on leaves:
if {elma.%player%} is on:
  set {elma.%player%} to off
  send "&83 saniye sonra bir elma alacaksın."
  wait 3 seconds
  give 1 red apple to player
  send "Elma topladın!"
  wait 3 second
  set {elma.%player%} to on
else:
  cancel event
  send "&cŞu anda elma toplayamazsın!"

Deneyebilir misiniz?

Kod:
on load:
    loop all players:
    set {elma:%loop-player%} to true
on join:
    set {elma:%player%} to true
rightclick on leaves:
    if {elma:%player%} is set:
        delete {elma:%player%}
        set event-block to air
        send "&8[&cSunucu&8] &c3 &7saniye sonra &6elma &7alacaksın&8." to player
        wait 1 second
        send "&8[&cSunucu&8] &e2 &7saniye sonra &6elma &7alacaksın&8." to player
        wait 1 second
        send "&8[&cSunucu&8] &a1 &7saniye sonra &6elma &7alacaksın&8." to player
        wait 1 second
        give 1 apple to player
        send "&8[&cSunucu&8] &6Elma &7aldın&8!" to player
        wait 3 seconds
        set {elma:%player%} to true
        stop
    else:
        send "&8[&cSunucu&8] &7Elma her &63 saniyede bir &7toplanabilir&8." to player
        stop
 
Deneyebilir misiniz?

Kod:
on load:
    loop all players:
    set {elma:%loop-player%} to true
on join:
    set {elma:%player%} to true
rightclick on leaves:
    if {elma:%player%} is set:
        delete {elma:%player%}
        set event-block to air
        send "&8[&cSunucu&8] &c3 &7saniye sonra &6elma &7alacaksın&8." to player
        wait 1 second
        send "&8[&cSunucu&8] &e2 &7saniye sonra &6elma &7alacaksın&8." to player
        wait 1 second
        send "&8[&cSunucu&8] &a1 &7saniye sonra &6elma &7alacaksın&8." to player
        wait 1 second
        give 1 apple to player
        send "&8[&cSunucu&8] &6Elma &7aldın&8!" to player
        wait 3 seconds
        set {elma:%player%} to true
        stop
    else:
        send "&8[&cSunucu&8] &7Elma her &63 saniyede bir &7toplanabilir&8." to player
        stop
malasef çalışmıyor
Gönderi otomatik olarak birleştirildi:

Kod:
set block to air

Dener misin?
ekledim çalıştı teşekkürler.
 
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