scoreboard players remove @s trapped_timer 1

effect give @s minecraft:weakness 1 10 true
particle minecraft:item_cobweb ~ ~1 ~ 0.5 0.5 0.5 0 1 normal @a

execute if score @s trapped_timer matches 1 run function pctf:logic/items/lucky_block/effects/trapped/end