Hey!
I've been trying to make a skript, but I ran into a problem that I can't solve.
(Been using skript for about 2 weeks)
How could I loop blocks in radius 5 of player and then select a random block from the looped blocks
and I used "on any movement:" from SkQuery, but I'd like to change that just to movement, not mouse movement aswell, but I have no idea how.
I tried (Didn't work):
I would appreciate any sort of help <3
I've been trying to make a skript, but I ran into a problem that I can't solve.
(Been using skript for about 2 weeks)
How could I loop blocks in radius 5 of player and then select a random block from the looped blocks
and I used "on any movement:" from SkQuery, but I'd like to change that just to movement, not mouse movement aswell, but I have no idea how.
I tried (Didn't work):
code_language.skript:
on any movement:
loop all blocks in radius 3 around player:
set {block} to random loop-block
if {variable.%player%} is set:
make {variable.%player%} pathfind to {block} with speed 1.25
I would appreciate any sort of help <3