replaceitem entity @s slot.hotbar 0 barrier
replaceitem entity @s slot.hotbar 1 cobblestone 1 0
replaceitem entity @s slot.hotbar 2 stone 1 0
replaceitem entity @s slot.hotbar 3 stone 1 1
replaceitem entity @s slot.hotbar 4 stone 1 2
replaceitem entity @s slot.hotbar 5 stone 1 3
replaceitem entity @s slot.hotbar 6 stone 1 4
replaceitem entity @s slot.hotbar 7 stone 1 5
replaceitem entity @s slot.hotbar 8 stone 1 6 
scoreboard players set @p[r=3] st 1
execute @s ~ ~ ~ function paint
