so im making a thing where if you right click on a green concrete you only get it if you are the one who placed it but it gets an error.
Heres my code:
Heres my code:
Code:
on right click:
if clicked block is green concrete:
if player placed event-block:
give player green concrete
set event-block to light gray stained glass
else:
send "&cYou Don't Own This!" to player
cancel event