КАК СДЕЛАТЬ Е ЧТОБЫ КУПИТЬ ГЕЙМПАСС? В РОБЛОХ СТУДИО?
Script : local ProximityPrompt = script.Parent -- This tells your script where the ProximityPrompt Is local id = 1234567890 -- Change to your Gamepass ID local player = game.Players.LocalPlayer local MarketplaceService = game:GetService("MarketplaceService") ProximityPrompt.Triggered:Connect(function(player) MarketplaceService:PromptGamePassPurchase(player,id) end)
Script : local ProximityPrompt = script.Parent -- This tells your script where the ProximityPrompt Is local id = 1234567890 -- Change to your Gamepass ID local player = game.Players.LocalPlayer local MarketplaceService = game:GetService("MarketplaceService") ProximityPrompt.Triggered:Connect(function(player) MarketplaceService:PromptGamePassPurchase(player,id) end)