I need help with GoldenForge addon

  1. Is there a function to give players scrap metal every 5 minutes they’ve been on the server?
  2. Is there a function to sell items?
  3. How do I add a models category?
  4. If any of those above are yes than what are they?

*btw thanks shadow for the help on my last thread, it worked.

For the first thing, you can do:
hook.Add(“PlayerInitialSpawn”, “GiveScrapmetalHook”, function(ply)
timer.Create(ply:EntIndex()…“givescrapmetal”, 5*60, 0, function(pl)
if ValidEntity(pl) then
pl:GiveScrapMetal(INSERTAMOUNTHERE, “Playtime”)
end, ply)