Advertisement
ERROR_CODE

Donate button

Sep 12th, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Open = Instance.new("TextButton")
  3. ScreenGui.Parent = game.CoreGui
  4. Open.Name = "Open"
  5. Open.Parent = ScreenGui
  6. Open.Draggable = false
  7. Open.Size = UDim2.new(0.05,0,0.114,0)
  8. Open.Position = UDim2.new(0.95, 0, 0.4, 0)
  9. Open.Text = "Open"
  10. Open.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  11. Open.TextColor3 = Color3.fromRGB(255, 255, 255)
  12. Open.TextScaled = true
  13. Open.TextSize = 20
  14. Open.Visible = true
  15. Open.BackgroundTransparency = .5
  16. local id = 174743021
  17. Open.MouseButton1Click:connect(function() game.MarketplaceService:PromptProductPurchase(id)
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement