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

How would I use type a name with spaces in a function?

So I have a part named "Evil Brick" I tried to delete it by typing "game.Workspace.Evil Brick:Destroy()" but it just said error. How would I type it into the function without changing the name of it?

1 comment

0

You could also use :FindFirstChild("Evil Brick") or :WaitForChild("Evil Brick")

1 answer

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