So im trying to make it so when a player places a block in a specific region the event waits 40 seconds and then removes the block how do i do it? i tried this code but it gives an error whats wrong? (if this is even possible)
Code:
on place:
player does not have permission "bypass.cpvp"
if event-Block is not obsidian or end crystal or respawn anchor or glowstone:
if "%region at event-Block%" contains "cpvp":
cancel the event
send "&c&lHey! &7Sorry, but you can't place that block here."
wait 40 seconds
remove event-block