local ItemListTable = {
Instances = {
"Part",
"MeshPart",
"Folder",
"Script",
"Model",
"Decal",
"Texture",
"SpecialMesh",
"BlockMesh",
"Attatchment",
"Weld"
},
NilInstances = {
-- This is where the incorrect bois go
},
Verified = {
-- Where the cool bois go
}
}
local function CheckCreations(item)
wait(1)
local bool = false
for i, v in pairs(ItemListTable.Instances) do
if v[item] then
bool = true
else
bool = false
end
end
if bool then
print("Verified new global instance.\n")
table.insert(ItemListTable.Verified, item)
else
print("Faild to verfiy the new attempted instance.\n")
table.insert(ItemListTable.NilInstances, item)
end
end
local function Create(instance, name, parent)
--[[local new = Instance.new(instance)
new.Name = name
new.Parent = parent--]]
print("Creating new global instance...\n")
if CheckCreations(instance) then
print("Successfully verified new global instance.\n")
wait(1)
print("New global instance\nInstance: " .. tostring(instance) .. "\nName: " .. tostring(name) .. "\nParent: " .. tostring(parent))
else
print("Could not successfully verify the attempted new global instance.\n")
end
return new
end
function wait(seconds)
local wait_time = os.time()
repeat until os.time() > wait_time + seconds
end
local function RandomMath(n1, n2)
local rand_num = math.random(n1, n2)
return rand_num
end
Create("Part", "The Funny Part", "Bing_Bong")
Create("Weld", "Weld", "Bing_Bong")
print("Verified Instances:")
for i, v in pairs(ItemListTable.Verified) do
if ItemListTable.Verified[v] then
print("[" .. i .. "]: " .. v)
else
print("No instances found in ItemListTable.Verified [table]")
end
end
print("Nil Instances:")
for i, v in pairs(ItemListTable.NilInstances) do
print("[" .. i .. "]: " .. v)
end
To embed this project on your website, copy the following code and paste it into your website's HTML: