Zonix Sandbox Tycoon - Open shop NPC

Hello, I want to make the shop from Zonix Offical Sanbox open when speaking to an NPC. I followed howtoroblox’s tutorial on the NPC which can be found Here

I found in the input module these lines of code which prompt for the shop to open

if not PLACEMENT.PLACING_ITEMS then
	Main.OPEN_MENU(script.Parent.Parent.Shop)
end

This may also be useful. It is located at the top of the input module

local module = {}

function module.LOAD(MODULE_INFO)
	-- Basic Needs
	local MODULES = MODULE_INFO["MODULES"]
	local SERVICES = MODULE_INFO["SERVICES"]
	-- Services
	local InputService = SERVICES["UserInputService"]
	local RepStorage = SERVICES["ReplicatedStorage"]
	local Plrs = SERVICES["Players"]
	-- Modules
	local ItemSelection = MODULES["ItemSelection"]
	local PlacementLib = MODULES["PlacementLib"]
	local PLACEMENT = MODULES["Placement"]
	local Main = MODULES["Main"]
	-- Plr Info
	local Plr = Plrs.LocalPlayer
	local Mouse = Plr:GetMouse()
	local PLR_PLOT = Plr.SetPlot.Value
	-- Variables
		-- Booleans
	local DB = true
	module.MOUSE_DOWN = false

I have tried adding the module section at the top to my local chat handler script but this causes the handlemessage function to break.

if message.Value == "Hello! Would you like to see what i have for sale?" and option.Value == "Yes!" then
					print("It does register like")
					--if not PLACEMENT.PLACING_ITEMS then
					Main.OPEN_MENU(script.Parent.Parent.MainUi.Shop)
					--end

image

Any suggestions?

Also worth adding that i have tried doing

script.parent.parent.MainUi.Scripts.Main.OPEN_MENU(script.Parent.Parent.MainUi.Shop)