[SOLVED] Enable a script when a model is in workspace

Check if a model is in workspace, if it is, it will enable another script. How can I do this?

image

You’re getting the error because you need “==”

1 Like

Run a loop btw to constantly checking, doing that will make it only checks once.

1 Like
while task.wait() do
    if game.Workspace:FindFirstChild("ObjectHere") then 
--do code
    end
end

Or, you can use FindFirstChild() or WaitForChild() for that script in workspace.