hey so I've been looking through this code and it keeps saying this "loop-block is not a location" no matter what i do
on place:
set {blockOwner::%location of event-block%} to player's uuid
set {blockplaced::%location of event-block%} to true
on break:
if {blockplaced::%location of event-block%} is true:
delete {blockplaced::%location of event-block%}
else if {blockplaced::%location of event-block%} is set:
cancel event
on death of player:
loop all blocks:
if {blockOwner::%location of block at loop-block%} is victim's uuid:
execute console command "setblock %location of block at loop-block% air"
delete {blockplaced::%location of block at loop-block%}
delete {blockOwner::%location of block at loop-block%}
[doublepost=1602614961,1602614485][/doublepost]o wait it didnt send the tabs lmao how do you send code
on place:
set {blockOwner::%location of event-block%} to player's uuid
set {blockplaced::%location of event-block%} to true
on break:
if {blockplaced::%location of event-block%} is true:
delete {blockplaced::%location of event-block%}
else if {blockplaced::%location of event-block%} is set:
cancel event
on death of player:
loop all blocks:
if {blockOwner::%location of block at loop-block%} is victim's uuid:
execute console command "setblock %location of block at loop-block% air"
delete {blockplaced::%location of block at loop-block%}
delete {blockOwner::%location of block at loop-block%}
[doublepost=1602614961,1602614485][/doublepost]o wait it didnt send the tabs lmao how do you send code
Code:
on place:
set {blockOwner::%location of event-block%} to player's uuid
set {blockplaced::%location of event-block%} to true
on break:
if {blockplaced::%location of event-block%} is true:
delete {blockplaced::%location of event-block%}
else if {blockplaced::%location of event-block%} is set:
cancel event
on death of player:
loop all blocks:
if {blockOwner::%location of block at loop-block%} is victim's uuid:
execute console command "setblock %location of block at loop-block% air"
delete {blockplaced::%location of block at loop-block%}
delete {blockOwner::%location of block at loop-block%}