Roblox Studio Tutorial: How to Make A Donate GUI!

Аватар автора
Игровые Моменты HD
Scripts: Robux Button Script: local Player = game.Players.LocalPlayer local MarketPlaceService = game:GetService("MarketplaceService") local DevproductId = script.Parent.DevproductId.Value local PurchaseButton = script.Parent PurchaseButton.MouseButton1Click:Connect(function() MarketPlaceService:PromptProductPurchase(Player, DevproductId) end) Open/Close Script: local DonateButton = script.Parent local DonateFrame = script.Parent.Parent.DonateFrame DonateFrame.Visible = false DonateButton.MouseButton1Click:Connect(function() if DonateFrame.Visible == false then DonateFrame.Visible = true DonateButton.Text = "Close" else DonateFrame.Visible = false DonateButton.Text = "Donate" end end)

0/0


0/0

0/0

0/0