#Picking up an item
1 messages · Page 1 of 1 (latest)
uhh
wha
lemme look-
I can't find it, can you just tell me?
This is what I have so far:
on player pickup of iron ingot:
if player has arrow named "&aPick up upgrader&a":
loop all entities in radius 2 around player:
kill loop-entity
cancel event
give player iron block
It doesn't work though, as it kills the player too for some reason.
players are entitys too yk
You dont have to kill the entities
Just let them pick it up
Take away the ingot
And give them the block
I already did that, but what if they pick up multiple? It won't work the way I want it to
Doesnt the event fire for each of them
If not just check the amount they picked up
Killing all the items wont give you the right amount either
Itll just give 1
yeah that's my problem
Nope