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

How to name an object with a space?

I want to show where the tool is but I can't figure out how to keep the spaces in.

knives = game .Lighting.Throwing Knives

I know this is really simple and I think it has to do with strings but I'm lost. Thanks!

1 answer

knives = game.Lighting["Throwing Knives"]

2 comments

0

Its says expected near "("

0

Or, you could use game.Lighting:FindFirstChild("Throwing Knives")

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