I want to check if there 2 Gold Ore to make 1 Gold ingot
Do you guys know how to count how many “Gold Ore” in player’s backpack?
Thanks later!
I want to check if there 2 Gold Ore to make 1 Gold ingot
Do you guys know how to count how many “Gold Ore” in player’s backpack?
Thanks later!
local goldOre = 0
for i, v in pairs(player.Backpack:GetChildren()) do
if v.Name == "Gold Ore" then
goldOre += 1
end
end
if goldOre >= 2 then
-- make ingot
end
Thank you it works!! ofdmpameropwmropew
i just want to repiled but it doesnt let me reply if it not Thirty Long so yeah [roblox doesnt allow that word Imao]
Anyway Thank you!