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.

1 comment

0

Lol, I am now more experienced and know that the click event on line 3 was wrong lol.