How to make a Admin Gamepass [ROBLOX]
Автор: Fraid
Загружено: 2023-08-16
Просмотров: 80980
this is how to make a admin game pass in roblox studio
Script📃: script.Parent.MouseButton1Click:Connect(function()
local MarketplaceService = game:GetService("MarketplaceService")
local id =
local hasgamepass
local player = game.Players.LocalPlayer
local success, message = pcall(function()
hasGamepass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, id)
end)
if hasGamepass then
local char = player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
else
MarketplaceService:PromptGamePassPurchase(player, id)
end
end)
MyGroup🏠:https://www.roblox.com/groups/1563825...
MyAvatar😁:https://www.roblox.com/users/31712133...
MyDiscord: / discord
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: