Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i access a model inside a part?

Asked by 5 years ago
Edited 5 years ago

The Map is a folder than i access the map model which contains the Spawner Part, how do i access the model part called ZED inside the Spawner Part with this script?

for i, v in pairs(workspace.Map:FindFirstChildOfClass("Model"):GetChildren()) do if v.Name == "Spawner" then collectionservice:AddTag(v, "Spawner")

end end

0
if v:IsA(“Model”) and v.Name == “ZED” then DeceptiveCaster 3761 — 5y

Answer this question