Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

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

Asked by 3 days ago
Edited 3 days ago

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

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

Answer this question