def shop_from_grocery_list(budget, grocery_list, *products_and_prices):
bought_products = []
for product, price in products_and_prices:
if product not in grocery_list:
continue
local TweenService = game:GetService("TweenService")
local player = game.Players.LocalPlayer
local TransitionEvent = game.ReplicatedStorage.TransitionEvent
local MainGui = player.PlayerGui:waitForChild("MainGui")
local Transition = MainGui.Transition