Confused on where to put things.

Hello, I have some code that I got off the internet which lets people get 5 scrap metal every 5 minutes for golden forge.


timer.Create( "gsmem", 300, 0, function()
    for k, v in pairs(GF.GetPlayers()) do
        if v:IsAdmin() or v:IsSuperAdmin() then
            v:GiveScrapMetal(10, "Thanks for administrating, you receive 10 more scrap metal in 5 minutes!")
        else
            v:GiveScrapMetal(5, "Thanks for playing, you recieve 5 more scrap metal in 5 minutes!")
        end
    end
end)

Where should I put this code though?