Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Thanks for using this script
- This script is made by Joriangames/Problox Studio Scripts
- Want to know how to use this and script explanation?
- Watch my tutorial: https://youtu.be/0o7hDOslenk
- ]]
- local MPS = game:GetService("MarketplaceService")
- local devId = 1175418618
- local discoBall = game.ReplicatedStorage.DiscoBall
- MPS.ProcessReceipt = function(info)
- local purchased = game.Players:GetPlayerByUserId(info.PlayerId)
- if not purchased then
- return Enum.ProductPurchaseDecision.NotProcessedYet
- end
- if info.ProductId == devId then
- local clone = discoBall:Clone()
- clone.Parent = workspace
- wait(10)
- clone:Destroy()
- return Enum.ProductPurchaseDecision.PurchaseGranted
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment