I don't exactly want to test it, hehe.

local id = 388676640
local Click = script.Parent
local Service = game:GetService("MarketplaceService")

script.Parent.MouseClick:connect(function(click)
Service:PromptPurchase(click,id)
end)

Service.PromptPurchaseFinished:connect(function(plr, assetId, isPurchased)
	if isPurchased == true and assetId == id then
		local a = Instance.new("Sound",plr.PlayerGui)
		a.SoundId = "rbxassetid://334338070"
		a.Name = "Caching"
		a:Play()
		wait(1.3)
		a:Destroy()
	end
end)

4 comments

1

Test it.

0

Well test it if you don't know it'll work. It's quite simple.

0

If hes gonna test it hes gonna have to spend atleast 1 r$

0

not if he just prompts it