game.Lighting.[G] Frost:clone().Parent = player.Backpack
The "[G] Frost" will not go through, how do I make it so I can keep the name of the gear and have this line work?
Note: I do believe it might be that you can't have spaces or special characters in the <name>
["[G] Frost"]
Using this allows for spaces in your items names. Not too sure about the square brackets tho
As Kritik stated, you cannot space String Names onto Lua in that format. The correct code would be:
game.Lighting["[G] Frost"]:Clone().Parent = player.Backpack