Как сделать геймпасс с выдачей предметов в Roblox Studio.

Аватар автора
Roblox Studio Уроки и Туториалы
В этом видео я расскажу как сделать геймпасс с выдачей предметов. скрипт starter GUI local player = game.Players.LocalPlayer local ownsGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId,236035051) ------ Your Gamepass ID here if ownsGamepass then local sword = game:GetService("ReplicatedStorage"):WaitForChild("BoomBox"):Clone() -------- Change "ClassicSword" to your tool&name sword.Parent = player.Backpack end скрипт text button in starter GUI script.Parent.MouseButton1Click:Connect(function() game:GetService("MarketplaceService"):PromptGamePassPurchase(game.Players.LocalPlayer,236032950) --------- Your Gamepass ID here end)

0/0


0/0

0/0

0/0