La riproduzione carica il player incorporato di YouTube (modalità privacy avanzata).
Tutorial Roblox - Come creare e usare i Gamepass
CanaleEppobotDescrizione dell’autore
In questo video ti spiego passo passo come creare un Gamepass per il tuo gioco, come realizzare un'interfaccia (Screengui) che permetta ai giocatori di acquistarlo e come fornire contenuti esclusivi solo a chi lo possiede.
Primo Script:
lua
script.Parent.MouseButton1Click:Connect(function()
game:GetService("MarketplaceService"):PromptGamePassPurchase(game.Players.LocalPlayer, 8222423)
end)
Secondo Script:
lua
local player = game.Players.LocalPlayer
local ownsGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 8222423)
if ownsGamepass then
local sword = game:GetService("ReplicatedStorage"):WaitForChild("Sword"):Clone()
sword.Parent = player.Backpack
end
Primo Script:
lua
script.Parent.MouseButton1Click:Connect(function()
game:GetService("MarketplaceService"):PromptGamePassPurchase(game.Players.LocalPlayer, 8222423)
end)
Secondo Script:
lua
local player = game.Players.LocalPlayer
local ownsGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 8222423)
if ownsGamepass then
local sword = game:GetService("ReplicatedStorage"):WaitForChild("Sword"):Clone()
sword.Parent = player.Backpack
end
Informazioni su questo tutorial
Eppobot ha pubblicato questo video tutorial di 3:02 il 28 febbraio 2020. È stato visto 452.756 volte su YouTube.
- Canale
- Eppobot
- Categoria
- Videogiochi
- Durata
- 3:02
- Pubblicato
- 28 febbraio 2020
- Visualizzazioni
- 452.756
- Mi piace
- 11.030
Condividi
Questo tutorial in altre lingue
- ENRoblox Tutorial - How to make and use Gamepasses
- FRRoblox Tutoriel - Comment faire et utiliser Gamepasses
- ESRoblox Tutorial - Cómo hacer y usar Gamepasses
- PTRoblox Tutorial - Como fazer e usar Gamepasses
- DERoblox Tutorial - Wie herzustellen und zu verwenden Gamepass
- NLRoblox Tutorial - Hoe te maken en te gebruiken Gamepasses
- RURoblox Учебник - Как сделать и использовать Gamepasses
- PLRoblox Tutorial - Jak tworzyć i wykorzystywać Gamepasses
- JAROBLOXチュートリアル - 作成し、使用する方法Gamepasses
- ARRoblox دروس - كيفية صنع واستخدام Gamepasses
- HIRoblox ट्यूटोरियल - बनाने के लिए और का उपयोग कैसे करें Gamepasses
- IDRoblox Tutorial - Cara membuat dan menggunakan Gamepasses