#Lava Rise Minigame
1 messages · Page 1 of 1 (latest)
command /test:
trigger:
set {_y} to 0
loop 10 times:
broadcast "&cLava Is Rising To &4%{y}%"
set {_location1} to location(1, {_y}, 1, world "world")
set {_location2} to location(1, {_y}, 1, world "world")
set (all blocks within {_location1} and {_location1} where [input is air]) to lava
add 1 to {_y}```
I haven't tried it, but it's should looks something like this
I'll try thanks <3
Line 10 doesn't work for me .-.
Lava aint spawning
oh mb all blocks within {_location1} and {_location1}
it's should be all blocks within {_location1} and {_location2}
just change the sec {_location1} to {_location2}
why
command /test:
trigger:
set {_y} to 0
loop 10 times:
broadcast "&cLava Is Rising To &4%{y}%"
set {_location1} to location(1, {_y}, 1, world "world")
set {_location2} to location(1, {_y}, 1, world "world")
set (all blocks within {_location1} and {_location2} where [input is air]) to lava
add 1 to {_y}
That's what I have atm
It didn't spawn lava and set the spawning place to Y 256
can you debug the code?
How do I? xd
and you have to change the location(1, {_y}, 1, world "world")
to the one you wants
Every 6 seconds just set a variable to it's value + 1 and then do lava and raise the y value using variable
my friend you need to debug it I just gave you an example how it's should work
Basscialy
on load:
set {yLava} to 10
every 6 seconds:
set {yLava} to {yLava} + 1
execute console command "fill cords here {yLava} lava"
broadcast "&4&lLava rising!"
Just an example i don't actually recommend using this
@short mountain try it and see
Yes I will thanks <3
This will also set the whole world to lava btw and won't stop
If u want it to stop check if the y level is at certain point
Yea thanks :D
For me the lava doesn't even spawn
Do I need any other plugins than just skript?
Don't expect spoonfeeding here, try to do it by yourself first and we will help, you can start by trying to put 2 locations through variables I already gave you an example