help with "item thefts" script

Hello.

help, i'm trying to put a locker that can be stolen in my game but i can't.

I used "Storage boxes" script from IMP1.

Link: https://forums.rpgmakerweb.com/index.php?threads/storage-boxes.27727/

put i don't know which exact script call should I put in the box so that the countdown appears and objects can be stolen?

I don't understand how "Item Thefts" script works. I put it, but doesn't work.

Link addon:
https://forums.rpgmakerweb.com/index.php?threads/storage-boxes.27727/page-3#post-333957

this is my script in a box:

box_id = 0
name= "box"
size= 20
$ game_boxes.setup (box_id, name, size)
open_sound = {
name: "chest",
volume: 80,
pitch: 100,
}
close_sound =
{
name: "chest",
volume: 80,
pitch: 60,
}
item = $data_items[1]
$game_boxes.box(0)[item] = 5

SceneManager.call (Scene_ItemStorage)
SceneManager.scene.prepare (0)

i can store and remove items but no steal.

I hope you can help me, thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-item-thefts-script.125091/