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

If not find?

Asked by 8 years ago

Can anyone tell me how to make if game.Workspace:FindFirstChild("BasePlate") work if it's not found instead?

1 answer

Log in to vote
0
Answered by 8 years ago

You said it in the title.

if not game.Workspace:FindFirstChild("BasePlate") then
    print("Ready to go sir!")
end
0
Thanks. ISellCows 2 — 8y
Ad

Answer this question