Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Whats wrong with this Print?

I will be expanding this to do bigger things. But for now I am testing

local o1 = game.Workspace.o1
if o1.Name == o1 then
	print("Coming Soon")
end

The game I will use it for is map changing. So I am trying to test and have this check if o1 is in Workspace, if it is not then loop until it is detected in workspace

1 answer

local map = game.Workspace:WaitForChild("o1") -- What this will do is make the script wait until there is something named "o1" in Workspace :D
if map then
	print("Coming Soon!")
end

2 comments

0

It works fine. But it only works once, may you add a loop please?

0

How would I make it so it can be used unlimited times??????????

This discussion is preserved as it was. New answers, comments, and votes are closed.