프리미엄 지불

Roblox는 프리미엄 회원이 게임에서 보내는 시간에 따라 Robux를 벌 수 있도록 허용합니다. 게임의 규모에 상관없이 이 시스템은 보상을 제공하며, 이러한 지불 수익은 게임 패스나 게임 내 구매와 같은 다른 방법으로 벌어들이는 수익에 추가됩니다. 프리미엄 회원이 게임에서 보내는 시간이 길수록 더 많은 Robux를 벌 수 있습니다.

멤버십 확인 및 구매 유도

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)

이 튜토리얼이 도움이 되셨다면, 저의 작업을 지원하기 위해 커피 한 잔을 사주시면 감사하겠습니다.

지원해 주셔서 정말 감사합니다!

커피 한 잔 사주기