I suggested an implementation of the Unity or Unreal Asset Store here on Roblox.
Any code that is closed-source would of course have to be reviewed first by Roblox first, or only trusted developers could publish closed-source items. The code to these items, if set by the uploader would be unable to be viewed or uploaded as a free asset by the buyer.