COMO FAZER UMA PORTA VIP NO ROBLOX COM GAMEPASS 🤑 !
Вставка
- Опубліковано 28 лип 2024
- Caso tiver alguma dúvida, pode comentar aí ;)
♦ AVALIE O VÍDEO!
♦DEIXE O SEU LIKE!
♦DEIXE O SEU COMENTÁRIO!
♦ CONTO COM O APOIO DE VOCÊS! :)
♦Músicas:
▸ Tom Doolie - Lemon
▸ SwuM - Stay
▸ / chillhopdotcom
♦ SCRIPT:
❗ - ❕ - ❗ - ❕ - ❗ - ❕ - ❗ - ❕
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local mps = game:GetService("MarketplaceService")
local gamepassID = SEU ID
local gamepassOwned = false
pcall(function()
gamepassOwned = mps:UserOwnsGamePassAsync(plr.UserId, gamepassID)
end)
if gamepassOwned == true then
workspace.PortaVip.Transparency = 0.5
workspace.PortaVip.CanCollide = false
end
humanoid.Touched:Connect(function(touchedPart)
if gamepassOwned == true then return end
if touchedPart == workspace.PortaVip then
mps:PromptGamePassPurchase(plr, gamepassID)
end
end)
mps.PromptGamePassPurchaseFinished:Connect(function(playerPurchased, purchasedID, purchaseSuccess)
if not purchaseSuccess then return end
if playerPurchased == plr and purchasedID == gamepassID then
gamepassOwned = true
workspace.PortaVip.Transparency = 0.5
workspace.PortaVip.CanCollide = false
end
end)
❗ - ❕ - ❗ - ❕ - ❗ - ❕ - ❗ - ❕
♦Nome no roblox: gui007duktn
Vídeo PT-BR - Ігри