--Don't Change

local MarketplaceService = game:GetService("MarketplaceService");
local Players = game:GetService("Players");

local Player = Players.LocalPlayer

script.Parent.FocusLost:connect(function()
	if not Player then
		return
	end
	local BundleID = tonumber(script.Parent.Text);
	if not BundleID then
		return
	end
	if not require(script.ModuleScript)(BundleID) then
		return
	end
	pcall(function()
		MarketplaceService:PromptBundlePurchase(Player,BundleID)
	end)
end)
