Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Local Script on the Donation Buttons --
- local productId = 0 -- Put the Developer Product or Gamepass ID
- local player = game.Players.LocalPlayer
- script.Parent.MouseButton1Click:connect(function()
- Game:GetService("MarketplaceService"):PromptPurchase(player, productId)
- end)
- -- Open Button Script--
- script.Parent.MouseButton1Click:Connecct(function()
- script.Parent.Parent.Parent.Frame.Visible = true
- end)
- -- Close Button Script--
- script.Parent.MouseButton1Click:Connecct(function()
- script.Parent.Parent.Parent.Frame.Visible = false
- end)
- --YouTube Video https://youtu.be/ftZvRwXuJPM --
Add Comment
Please, Sign In to add comment