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

Space Between Name Of Object?

I have an Item in my game which has a space in it, My idea was: game.Workspace.["Item Here"] But that doesn't seem to work.

Anyway thanks in advance.

P.S Sorry for the Weird Title the site wouldn't let me title it how I wanted :/

2 answers

✓ Accepted answer

It's supposed to be workspace["Item Here"] - the period is to be excluded

3 comments

0

Thanks!

0

Sorry to ask But How do I make this post "Answered" Since I am very new.

0

Below this answer, there's a 'Accept Answer' button

When adding brackets, you do not do "game.Workspace.["Item Here"] You would do "game.Workspace["Item Here"] then proceed with the dot after the item.

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