local plr = "abcdefg" repeat Game:GetService("MarketplaceService"):PromptPurchase(game:GetService("Players")[plr], 2328072684) wait() until nil
How can I sell this to every player besides just one?
local plr = "abcdefg" repeat Game:GetService("MarketplaceService"):PromptPurchase(game:GetService("Players")[plr], 2328072684) wait() until nil
How can I sell this to every player besides just one?
#Events and functions.
In this case, use the PlayerAdded event and Connect a function to it, the player will always be the first parameter.
game.Players.PlayerAdded:Connect(function(plr)
game:GetService("MarketplaceService"):PromptPurchase(plr,2328072684)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.