Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MPS = game:GetService("MarketplaceService")
- local Players = game:GetService("Players")
- local subscriptionID = "EXP-8674810404853776611"
- local function checksubStatus(player)
- local subStatus = {}
- local success, message = pcall(function()
- subStatus = MPS:GetUserSubscriptionStatusAsync(player, subscriptionID)
- end)
- if not success then
- print("Error while checking if player has subscription: " .. tostring(message))
- end
- if subStatus["IsSubscribed"] then
- print(player.Name .. " is subscribed with " .. subscriptionID)
- player.Money.Value = player.Money.Value + 15000
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement