Script: local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local subscriptionID = "EXP-11111111" -- replace with your subscription ID local function checkSubStatus(player) local subStatus = {} local success, message = pcall(function() -- returns IsRenewing and IsSubscribed subStatus = MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionID) end) if not success then warn("Error while checking if player has subscription: " .. tostring(message)) return end if subStatus["IsSubscribed"] then print(player.Name .. " is subscribed with " .. subscriptionID) player.leaderstats.Cash.Value += 100 -- change Cash to your currency and 100 with the amount end end Players.PlayerAdded:Connect(checkSubStatus)
local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local subscriptionID = "EXP-11111111" -- replace with your subscription ID local function checkSubStatus(player) local subStatus = {} local success, message = pcall(function() -- returns IsRenewing and IsSubscribed subStatus = MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionID) end) if not success then warn("Error while checking if player has subscription: " .. tostring(message)) return end if subStatus["IsSubscribed"] then print(player.Name .. " is subscribed with " .. subscriptionID) player.leaderstats.Cash.Value += 100 -- change Cash to your currency and 100 with the amount end end Players.PlayerAdded:Connect(checkSubStatus)