15:23:18.248 > print(workspace.SkrubDaNub.Humanoid.Status:IsA("Model")) - Studio
15:23:18.248 true - Client
I’m trying to get all models in the Workspace (I realise I should use .ClassName
in this case).
15:23:18.248 > print(workspace.SkrubDaNub.Humanoid.Status:IsA("Model")) - Studio
15:23:18.248 true - Client
I’m trying to get all models in the Workspace (I realise I should use .ClassName
in this case).
I think roblox assigns the model class to a bunch of other stuff
Workspace is also a model
That’s right, an instance has its own ClassName, but IsA() also confirms the classes it inherits from. For example, Terrain does not inherit from Model, however, it does inherit some members of BasePart and PVInstance, so IsA() returns true when passed either of those.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.