Gold script (for collecting candy

So, The sketchy cat found the house inside a park. The information that was provided had been lost for a few decades ago but the alligator managed to UwU the aligned starts to make it just right. The issue about that script though, is that it will not function correctly, I can’t figure out why. : local currency = “Candy”

game.Players.PlayerAdded:Connect(function(plr)

local leaderstats = Instance.new("Folder")

leaderstats.Name = "leaderstats"

leaderstats.Parent = plr



local gold = Instance.new("IntValue")

gold.Name = currency

gold.Parent = leaderstats

end)

Though the scripts attached to this did work, it was only this one that I was struggling with.