when i am trying to get the location of an item it doesn't work
this is my code rn:
on drop of diamond:
wait 10 ticks
set {_x} to x-coordinate of dropped item
set {_y} to y-coordinate of dropped item
set {_z} to z-coordinate of dropped item
broadcast "%{_x}%"
broadcast "%{_y}%"
broadcast "%{_z}%"
apply potion of resistance of tier 2 to all players in radius 100 around location({_x}, {_y}, {_z}) for 10 seconds