Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 4 years ago
Edited 4 years 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 243 — 4y
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 61 — 4y
0
You're not processing the purchase, so roblox will probally refund it Leamir 3138 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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

Ad

Answer this question