Hello,
I have a problem in my code, and I'm trying to loop blocks that people place and certain blocks, then when they die the blocks get removed.
The error is
Can't loop {block::%the UUID of the attacked entity%} because it's only a single value (core.sk, line 58: loop {block::%uuid of victim%}:')
Please, help me as soon as possible, Thanks.
I have a problem in my code, and I'm trying to loop blocks that people place and certain blocks, then when they die the blocks get removed.
Code:
on place:
add location of event-block to {block::%uuid of player%::*}
on death:
if attacker is a player:
if victim is a player:
loop {block::%uuid of victim%}:
if loop-value is set:
set block at loop-value to air
The error is
Can't loop {block::%the UUID of the attacked entity%} because it's only a single value (core.sk, line 58: loop {block::%uuid of victim%}:')
Please, help me as soon as possible, Thanks.
Last edited: