#One time use right click event

1 messages · Page 1 of 1 (latest)

viscid pulsar
#

just set the block to air?

#

also use uuid variables

tepid flint
#

No, I don't want it to disappear. I'll use that tomorrow cuz it's late in my time zone

viscid pulsar
#

so you want them to only be clickable once?

#

also i would use the location function

tepid flint
#

Like fairy souls from hypixel skyblock

#

Yes

viscid pulsar
#

once per player, or once period?

jolly orchid
#

I am asuming he means per player

#

as he refered to hypixel

#

which does itlike that

#

I am also interested in this

#

would you need to set a variable on the click of each soul

#

and check if the variable is true on click

#

it wouldwork

#

but seems inefficient

#

to set 1 variable for every single "soul"

viscid pulsar
#

just add it to the player's list

#

and use the size of expression for the count

tepid flint
jolly orchid
#

if list variable is >= 1:

#

send "you already collected this soul" to player

#

else:

#

add 1 to list variable

#

for the next soul

#

on right click:
if list variable is >= 2:
send "you already collected this soul" to player
else:
add 1 to list variable

viscid pulsar
#

no

#

just add the event-loc as the index