I am trying to identify a tool in a script so that it would clone the tool from Replicated Storage and into the player backpack only I cannot identify the tool if the name has spaces in it. It of course works fine without the spaced name, but I wanted to know if it were possible to identify the tool if it had spaces in its name. Help?
Tool=game.ReplicatedStorage.GuavaIceTea -- Is it possible to still identify this tool if it were named Guava Ice Tea?
It is possible. I'd do it like this:
Tool=game.ReplicatedStorage["Guava Ice Tea"]
Easy enough, you could do
Tool=game.ReplicatedStorage:FindFirstChild("Guava Ice Tea")