Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I have a poroblem. When i donate something with the button it doesn't give the robux...?

I have a problem. When I donate something with the button it doesn't give the Robux, I have a working button but when I actually donate it won't give the Robux to the creator, can someone tell me what is the problem.

STORY: I donated ROBUX to my sister because she wanted me to make a donation button and then I tested it and it did not work.

script in ServerScriptService:

local debounce = false

game.Workspace.Touch.Touched:Connect(function(hit)
	if debounce == false then
		debounce = true
		if game.Players:GetPlayerFromCharacter(hit.Parent) then
			game.ReplicatedStorage.ShowGUI:FireClient(game.Players:GetPlayerFromCharacter(hit.Parent))
		end
	end
end)

script button in GUI:

local donate = 1058463785
script.Parent.MouseButton1Click:Connect(function()
   	game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer,donate)
end)

I also have a remote event in replacastorage ;-; help

3 comments

0

You need to give us a script so we can do something. We Are not going to create A Script for you !

0

Did you donate Robux to yourself? If so, you can check your pending robux in your robux summary. You are not able to make a free robux button.

0

You're not processing the purchase, so roblox will probally refund it

1 answer

You're not processing the purchase, so roblox will probally refund itLeamir 2650 — 5d

This discussion is preserved as it was. New answers, comments, and votes are closed.