local MarketPlaceService = game:GetService("MarketplaceService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Remotes = ReplicatedStorage.Remotes MarketPlaceService.PromptGamePassPurchaseFinished:Connect(function(Player: Instance, GamepassID: number, WasPurchased: boolean) if WasPurchased then Remotes.GamePassPurchased:FireClient(Player, GamepassID) end end)