so i'm making a skript where two ability types, primary and secondary. the code below is one of my primary abilities, but it seems it doesn't work when I tested it with friends. should I just check my formatting or do i somehow do smth wrong? tysm!
Code:
loop all players within 8 blocks around player:
if {trusted.%player%.%loop-player%} is false:
add potion effect of darkness for 30 seconds to potion effects of loop-player
add potion effect of slowness 2 for 30 seconds to potion effects of loop-player