#Works when I make them individually, but when I use a loop, it doesn't work

1 messages · Page 1 of 1 (latest)

dusk adder
#

So that's what I use to create the holograms.

#
on hologram touch:
    loop 3 times:    
        if event-string is "EXP_Pickup-%loop-number%":
            delete holo object "EXP_Pickup-%loop-number%"

            set {_XPGain} to random integer between 100 and 250

            broadcast "&d&lSPAWN: &b%player% &7picked up the &e&lEXP &7&o(&f&o+%{_XPGain}%&7&o)"

This is what I use to detect them and then delete when touched.
It works when I create the holo objects individually, but not when I use a loop to make them.

#

anyone know who it works when i create them individually, but not in a loop

undone geyser
#

Use location function
location(x, y, z, world "name")

dusk adder
#

didn't change anything

#

it's the on hologram touch that doesn't work.

undone geyser
#

Ik

#

I dont mess with holograms

#

Just wanted to fix your locations

dusk adder
#

oh lmao