#Works when I make them individually, but when I use a loop, it doesn't work
1 messages · Page 1 of 1 (latest)
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
Use location function
location(x, y, z, world "name")
oh lmao