Pagamenti Premium

Roblox ti consente di guadagnare Robux in base al tempo che i membri Premium trascorrono nel tuo gioco. Questo sistema ti ricompensa indipendentemente da quanto sia grande o piccolo il tuo gioco, e i guadagni da questi pagamenti sono in aggiunta a ciò che guadagni con altri metodi come i Game Pass o gli acquisti in-game. Più tempo i membri Premium trascorrono nel tuo gioco, più Robux guadagni.

Controlla l'abbonamento e invita all'acquisto

local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local part = script.Parent
local showModal = true

part.Touched:Connect(function(otherPart)
	local player = Players:GetPlayerFromCharacter(otherPart.Parent)
	if not player then return end
	if player.MembershipType == Enum.MembershipType.Premium then
		print(player.Name .. " is a Premium user.")
	else
		if not showModal then return end
		showModal = false
		MarketplaceService:PromptPremiumPurchase(player)
		
		task.delay(5, function()  
			showModal = true
		end)
	end
end)

Se hai trovato utile questo tutorial e desideri supportare il mio lavoro, considera di offrirmi un caffè.

Grazie mille per il tuo supporto!

Offrimi un caffè