Deervil
Bir Kömür Göründü Kaptanım!
- Katılım
- 9 Mayıs 2020
- Mesajlar
- 154
- Elmaslar
- 9
- Puan
- 8.910
- Minecraft
- seytanbaba
Discord:
ciddi#5910
ciddi#5910
Melih Demirel#2076
Bana ait değil size böyle bir skript önerebilirim.
Öldüğünde istiyorsan on first join yerine 'death' yazman yeterlidir. dünya adı neyse misal orda 'world' senin dünya ismini yazabilirsin.Kod:on first join: if world is not "world": send "&c[ M.A.L.I.A ] Not the right world to random TP" else: set {_POSITION::OLD} to player's location while player's location is {_POSITION::OLD}: set {_POSITION::RANDOM} to location at random number between 9999 and -9999, 0, 400 # X, Y, Z loop blocks above {_POSITION::RANDOM}: if loop-block and block above loop-block are air: if block under loop-block is not air or water block or lava block: set {_POSITION::RANDOM} to location of loop-block teleport player to {_POSITION::RANDOM} stop loop
ciddi#5910
Melih Demirel#2076
evet.set {_POSITION::RANDOM} to location at random number between 9999 and -9999, 0, 400 # X, Y, Z
Bu komutta öldüğü yere, en uzak 9999 ile -9999 uzaklığında rastgele ışınla anlamına mı geliyor. Ben 2000 yapmak istiyorum da
Diocletianus
eventi on damage olarak yazmış olabilir misin?hata verdi
ciddi#5910
Bu işe yaradı fakat öldükten sonra saçma yerlere ışınlıyor, mesela denize,yerin altına, güvenli yerlere ışınlamak için bir komut falan yok mu?kendi sunucum yaptığımda böyle bir hatayla karşılaşmadım. şöyle bir konu buldum sizin için işinize yarayabilir. tıkla
ciddi#5910
on death olarak yazmışım bidaha deniyorumeventi on damage olarak yazmış olabilir misin?
ciddi#5910
yok yine olmadı, death yaptım sadeceeventi on damage olarak yazmış olabilir misin?
Stephan53#4195
options:
min.x: -2500
max.x: 2500
min.z: -2500
max.z: 2500
world: "world"
on player respawning:
rtp(player)
function rtp(p: player):
continueRtpLOOP({_p})
function continueRtpLOOP(p: player):
set {_loc::x} to random number between {@min.x} and {@max.x}
set {_loc::y} to 0
set {_loc::z} to random number between {@min.z} and {@max.z}
set {_loc::new} to location at {_loc::x}, {_loc::y}, {_loc::z} in world {@world}
loop blocks above {_loc::new}:
if loop-block and block above loop-block are air:
if block under loop-block is not air or water or lava:
set {_loc::new} to location of loop-block
teleport {_p} to {_loc::new}
delete {olum.%{_p}%}
if light level at {_p} <= 2:
set block at {_p} to torch
stop
stop
wait 2 ticks
continueRtpLOOP({_p})
ciddi#5910
Çalışmıyo, skript hata falan vermedi ama ölünce spawn da doğuyorum,Kod:options: min.x: -2500 max.x: 2500 min.z: -2500 max.z: 2500 world: "world" on player respawning: rtp(player) function rtp(p: player): continueRtpLOOP({_p}) function continueRtpLOOP(p: player): set {_loc::x} to random number between {@min.x} and {@max.x} set {_loc::y} to 0 set {_loc::z} to random number between {@min.z} and {@max.z} set {_loc::new} to location at {_loc::x}, {_loc::y}, {_loc::z} in world {@world} loop blocks above {_loc::new}: if loop-block and block above loop-block are air: if block under loop-block is not air or water or lava: set {_loc::new} to location of loop-block teleport {_p} to {_loc::new} delete {olum.%{_p}%} if light level at {_p} <= 2: set block at {_p} to torch stop stop wait 2 ticks continueRtpLOOP({_p})
kutaykeskin
options:
min.x: -2500
max.x: 2500
min.z: -2500
max.z: 2500
world: "world"
on death player:
rtp(player)
function rtp(p: player):
continueRtpLOOP({_p})
function continueRtpLOOP(p: player):
set {_loc::x} to random number between {@min.x} and {@max.x}
set {_loc::y} to 0
set {_loc::z} to random number between {@min.z} and {@max.z}
set {_loc::new} to location at {_loc::x}, {_loc::y}, {_loc::z} in world {@world}
loop blocks above {_loc::new}:
if loop-block and block above loop-block are air:
if block under loop-block is not air or water or lava:
set {_loc::new} to location of loop-block
teleport {_p} to {_loc::new}
delete {olum.%{_p}%}
if light level at {_p} <= 2:
set block at {_p} to torch
stop
stop
wait 2 ticks
continueRtpLOOP({_p})
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!