i was making progress on this and currently the issue im having is that i see litterally zero numbers in coming, so i just see nil for the resulting “number”
code for big table of properties
local ClassProperties = {}
local Properties = {}
local Data = -- apparently im not allowed to show this on devforum, its just a api dump
function hasProperty(object, propertyName)
local success, _ = pcall(function()
object[propertyName] = object[propertyName]
end)
return success
end
for _, v in Data.Classes do
local propertyTable = {Name = v.Name, Properties = {}}
for _, v2 in pairs(v.Members) do
if v2.MemberType == "Property" then
if v2.Security.Read == "RobloxScriptSecurity" or v2.Security.Read == "PluginSecurity" or v2.Security.Read == "RobloxSecurity" or v2.Security.Read == "LocalUserSecurity" then
continue
end
if hasProperty(v2, "Capabilities") then
if hasProperty(v2.Capabilities, "Read") then
if table.find(v2.Capabilities.Read, "PluginOrOpenCloud") then
continue
end
end
end
table.insert(propertyTable.Properties, v2.Name)
end
end
if #propertyTable.Properties > 0 then
ClassProperties[v.Name] = propertyTable.Properties
end
end
function Properties:GetProperties(className)
if ClassProperties[className] then
return ClassProperties[className]
else -- somehow the check fails
return {}
end
end
return Properties
specific function
[20] = function(number:number)
header[tostring(number)].SurfaceGui.TextLabel.Text = "The Largest Number In Game Ten Seconds Ago."
local numbers = {}
for _, v in game:GetDescendants() do
local prop = Properties:GetProperties(v.ClassName)
if prop ~= {} then
for i, g in prop do
local forbidden = {
"AuthorityMode",
"AvatarUnificationMode",
"FluidForces",
"IKControlConstraintSupport",
"MeshPartHeadsAndAccessories",
"Scale",
"LoadStringEnabled",
"ExtendLightRangeTo120",
}
local function checkIfContains(toCheck)
for _, e in forbidden do
if string.match(toCheck, e) then
return true
end
end
return false
end
if checkIfContains(tostring(g)) or v:IsA("Workspace") or v:IsA("Terrain") or v:IsA("SoundService") or v:IsA("Players") or v:IsA("StarterPlayer") or v:IsA("StarterGui") then continue end
if v:IsA("InsertService") or v:IsA("Motor6D") or v:IsA("HumanoidDescription") or v:IsA("Lighting") then continue end
local p = v[g]
print(p)
task.wait()
if type(p) ~= "number" or type(p) ~= "string" then continue end
task.wait()
table.insert(numbers, tonumber(p))
end
end
daft:RemoveTableDupes(numbers)
print(numbers)
table.sort(numbers)
feet[tostring(number)].SurfaceGui.TextLabel.Text = tostring(numbers[1])
end
end,
(the excluded ones were the ones who kept on complaining about not finding anything when searched through)
side note: how do i implment vector3 checks cuz while printing i saw stuff like
" -47.4047737, 12.4996643, -66.6774139, -1, 0, 0, 0, 1, 0, 0, 0, -1"
and
" -180, 0, -180 "
so what’s the deal with that?