I think what you're missing is fundamentally misunderstand what an "item" is in this context.
If I say x = 1
Then x is a number
If x = "boomerang"
Then x is a string
If x = y
Then x is whatever the variable y is.
Right now you're saying
`if item_used == x then`
But you haven't defined the variable x. You have to tell the code that by the variable x, you mean the equipment item named boomerang, so you need to use a game method to get that equipment item.
```
local x = game:get_item("boomerang")
if item_used == x then ...
```
If I say x = 1
Then x is a number
If x = "boomerang"
Then x is a string
If x = y
Then x is whatever the variable y is.
Right now you're saying
`if item_used == x then`
But you haven't defined the variable x. You have to tell the code that by the variable x, you mean the equipment item named boomerang, so you need to use a game method to get that equipment item.
```
local x = game:get_item("boomerang")
if item_used == x then ...
```