This is a script that will show if you donate but it won't work. Please help.
local mps = game:GetService("MarketplaceService")
local id = 971534148
script.Parent.MouseButton1Click:Connect(function(player)
mps:PromptProductPurchase(game.Players.LocalPlayer,id)
if mps:UserOwnsGamePassAsync(player.UserId, id) then
script.Parent.Parent.Parent.Parent.DonatorsandAdminsGUI.MainFrame.Visible = true
else
script.Parent.Parent.Parent.Parent.DonatorsandAdminsGUI.MainFrame.Visible = false
end
end)
Thanks.

2 comments
Make a table and loop through it to check who has donated.
no, the gui will show for everyone and i don't know why