How To Make A Donation GUI 🛠️ Roblox Studio Tutorial [2025]

Опубликовано: 18 Май 2026
на канале: Leo
239
6

In today’s video I will show you how to make a Donation GUI, Donation GUIs are an awesome way for your fans can donate you robux. If you have any questions just ask!

Script 1 (Main Menu, Ui Open) :

script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.DonationFrame.Visible = not script.Parent.Parent.Parent.DonationFrame.Visible
end)


-- Depending what your Donation Frame is called you will need to change the "DonationFrame" part to whatever your DonationFrame is called.

Script 2 (DonationFrame, Text Button, Local Script):

local MarketplaceService = game:GetService("MarketplaceService")
local ProductId = 1234567890-- Change this ID with your Developer Product ID

script.Parent.MouseButton1Click:Connect(function()
MarketplaceService:PromptProductPurchase(game.Players.LocalPlayer, ProductId)
end)