Ok, so I have a script, it is inside of a TextButton, This is the script----can someone tell me why it will not work? Script:
local Click = script.Parent game.Players.PlayerAdded:Connect(function(player) if Click.MouseButton1Click then game:GetService("MarketplaceService"):PromptGamePassPurchase(player,123) end end)
But yeah, I think it works, but it will not run.