How can i get my roblox game link from in game?

so basically i want to have a referral system but how do i get the link for my game, in-game?

1 Like

I don’t think you are able to make unique links in-game for a referral system. The closest you can get is where Players have to use the “Invite Friends” feature in-game to invite their friends, and you can check whether the Player who just joined is a newcomer. If they are, you can give the referrer rewards.

See:

2 Likes

I think Deeplinking is what your looking for.

Here is a quick example:

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
    local launchData = player:GetJoinData().LaunchData
    -- Use launchdata here
end)

The documentation also gives a referral system example.

The teleportData can take any of the following forms:

  • A table without mixed keys (all keys are strings or integers)
  • A string
  • A number
  • A bool

You can utilize this to make a referral system by calling GetLocalPlayerTeleportData() and checking by who was this user referred by. Use any method you would like (Code system/Joined a friend, etc etc)

how can i get the link of the roblox game the model is in?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.