Advertisement
scanlon7

MARKETPLACE SCRIPT IN GAME !

Jan 9th, 2020
3,216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- MADE BY scanlon7
  2. -- FOLLOW ON ROBLOX : scanlon7
  3. -- FOLLOW ME ON TWEETER : @scanlon7RBLX
  4. -- HOPE THIS SCRIPT WILL HELP YOU :)
  5. -- IF YOU HAVE ANNY QUESTION ABOUT THIS SCRIPT JUST DM ME ON TWEETER
  6.  
  7.  
  8. local wat=                --PUT THE ID IN HERE
  9. script.Parent=game.ServerScriptService
  10. local market=game:GetService("MarketplaceService")
  11. for i,v in pairs(game.Players:GetChildren()) do
  12.     if not market:PlayerOwnsAsset(v,wat) then
  13.         market:PromptPurchase(v,wat)
  14.     end
  15. end
  16. game.Players.PlayerAdded:connect(function(player)
  17.     if not market:PlayerOwnsAsset(player,wat) then
  18.         market:PromptPurchase(player,wat)
  19.     end
  20. end)
  21. while wait(120) do --U CAN CHANGE THIS
  22.     for i,v in pairs(game.Players:GetChildren()) do
  23.         if not market:PlayerOwnsAsset(v,wat) then
  24.             market:PromptPurchase(v,wat)
  25.         end
  26.     end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement