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
You need to give us a script so we can do something. We Are not going to create A Script for you !
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.
You're not processing the purchase, so roblox will probally refund it