Hello everyone,
In my code, I would like to check if the parent doesn't an attachment. Since there is a :IsA, I tried to do the opposite. Here is what I can do in javascript:
Javascript:
if !(part.Name == "lkjhgd;") {
//random code....
}
Lua:
for _, v in ipairs(part:GetChildren()) do
if v:IsA("Attachment") then
end
end
So, is there a way I can do that in lua? Thanks for the help!
