Advertisement
Sungmingamerpro13

Coins(BUY SYSTEM) STORY GAME

Sep 26th, 2022 (edited)
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local Coins_Id = 0
  2.  
  3. --- 10 Coins for Buying ---
  4.  
  5. game.Players.PlayerAdded:Connect(function(player)
  6. if MPS:PromptProductPurchase(player, Coins_Id) then
  7. player.Coins.Value = player.Coins.Value + 10
  8. end
  9. end)
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement