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
Kod:
respawn:
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