local function playerHasItem(type)
local bool = false
local combinedtable = {}
table.insert(combinedtable, Player.Character:GetChildren())
table.insert(combinedtable, Player.Backpack:GetChildren())
if type then
for _, tool in pairs(combinedtable) do
if tool:IsA("Tool")and tool:WaitForChild("Config").Type.Value == e then
bool = true
return bool, tool, tool.Config.ID.Value
end
end
end
end
wtf went wrong it says IsA is nil
lol
-=Robo=- |