Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Module.New("change coins", function()
- local cont = Container.GetFirst()
- while (cont:isOpen()) do
- for spot = 0, cont:ItemCount() do
- local item = cont:GetItemData(spot)
- if (item.id == 3606 or item.id == 3035) then
- if (item.count >= 1) then
- cont:UseItem(spot)
- end
- end
- end
- cont = cont:GetNext()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement