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."```
#not sure where I went wrong here (im learning skript and messed up)
1 messages · Page 1 of 1 (latest)
You checked if loop-player is not a player so no longer a loop-player
I don't think
Also, youre looping around the clicked player