Multiplayer Treasure Grove JS Help!

Heading

You need to check for an item before you can get the position of it.

Put

if item:

before it.