How to make money from a Roblox script
Script authors earn in two ways: players complete ad checkpoints for a free key, or they pay for one. Many hubs do both, with a free tier from ads and a paid tier with more in it.
Ad links
A player opens your key page and completes one or more checkpoints from an ad link provider such as Work.ink, Lootlabs or Linkvertise. The provider pays you for that traffic, at its own rates.
Two settings decide most of what you earn. The key's length decides how often a player comes back: a 24-hour key brings them through your checkpoints once a day. The number of checkpoints decides how many finish. Each one is another step, and some players leave at every step.
On Forge the money is paid into your own provider accounts, and the Ad System page shows how many players leave at each checkpoint. More on the ad links page.
Sales
A player pays once for a length, such as 30 days or lifetime, or pays monthly. A paid tier needs something the free one doesn't have, such as more features, no checkpoints or a longer key.
On Forge, players buy through your own Stripe account and get their key when they pay. Forge keeps 3% of each sale on Free and nothing on Forge+ or Forge Pro. More on the selling page.
Both at once
Make two tiers, such as Basic and Pro. Give Basic keys from the Ad System and sell Pro. In your script, check the tier before the paid features:
if Forge_TierRank >= 1 then
-- Pro features
endWith builds per tier, the code inside that check isn't in the Basic build at all.