execute @s ~ ~ ~ tellraw @s { "rawtext" : [ { "text" : "§6Drop Block To Change Material" } ] }
replaceitem entity @s slot.hotbar 0 barrier
replaceitem entity @s slot.hotbar 1 dirt 1 0
replaceitem entity @s slot.hotbar 2 dirt 1 1
replaceitem entity @s slot.hotbar 3 grass 1 0
replaceitem entity @s slot.hotbar 4 air 1 0
replaceitem entity @s slot.hotbar 5 air 1 0
replaceitem entity @s slot.hotbar 6 air 1 0
replaceitem entity @s slot.hotbar 7 air 1 0
replaceitem entity @s slot.hotbar 8 air 1 0
scoreboard players set @s[r=3] wl 20
execute @s ~ ~ ~ function paint
