function fortuneFinder(player: player):
delete {_fortune.blocks::%uuid of {_player}%::*}
loop all blocks in radius 15 around {_player}:
if "%type of loop-block%" contains "ore":
GlowLib.setGlowing(loop-block, {_player}, ChatColor.GREEN)
add loop-block to {_fortune.blocks::%uuid of {_player}%::*}
wait 4 seconds
loop {_fortune.blocks::%uuid of {_player}%::*}:
GlowLib.setGlowing(loop-value, {_player}, ChatColor.GREEN) # force refresh
GlowLib.unsetGlowing(loop-value, {_player}) # now it actually clears```
#Why doesn't the glowing effect of the blocks get cleared?
1 messages · Page 1 of 1 (latest)
why are you using glowlib or wtv
skript has set glowing of player to true then you can use skbee teams to set color