Hey guys, so this scanner is not working correctly and I have no idea what im doing wrong!
local scanlocation = workspace:GetChildren()
knownmodels = {"PalmTree","AppleTree","OrangeTree"}
for i,v in pairs(knownmodels) do
if scanlocation.Name == v then
print("Found Known Model")
end
end
I have the model called PalmTree in the workspace, yet it's not printing

1 comment
Theres no Errors or prints.