#not sure where I went wrong here (im learning skript and messed up)

1 messages · Page 1 of 1 (latest)

fiery lily
#
on right click:
    player's held item is purple dye named "<##762DC3>ᴅᴏᴍᴀɪɴ ᴇхᴘᴀɴѕɪᴏɴ: ɪɴꜰɪɴɪᴛᴇ ᴠᴏɪᴅ":
        set {_voidx} to 0
        set {_voidy} to 1
        set {_voidz} to 0
        set {_voidworld} to world "InfiniteVoid"
    
    loop players within 4 blocks of clicked player:
        teleport loop-player to location({_voidx}, {_voidy}, {_voidz}, world({_voidworld}))
        
        if loop-player is not player:
            add effect slowness 255 to loop-player for 10 seconds
            add effect jump boost 200 to loop-player for 10 seconds
            send "&kiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii" to loop-player
command /giveinfinitevoid:
    permission: op
    trigger:
        give player 1 purple dye named "<##762DC3>ᴅᴏᴍᴀɪɴ ᴇхᴘᴀɴѕɪᴏɴ: ɪɴꜰɪɴɪᴛᴇ ᴠᴏɪᴅ" with lore "&7" and "&7A Domain Expansion used by Satoru Gojo."```
plush heron
#

I don't think

fiery lily
#

fixed

#

it needed to be apply instead of add effect

viscid surge
#

Also, youre looping around the clicked player