(script.Parent:WaitForChild("\067\108\105\099\107\068\101\116\101\099\116\111\114")).MouseClick:connect(OpenShop)script.Parent.Touched:connect(function(y)local J,K=FindCharacterAncestor(y)if J then local y=game.Players:GetPlayerFromCharacter(J)if y then OpenShop(y)end end end)
-- connections
script.Parent:WaitForChild("ClickDetector").MouseClick:connect(OpenShop)
script.Parent.Touched:connect(function(part)
	local hitCharacter, hitHumanoid = FindCharacterAncestor(part)
	--
	if hitCharacter then
		local player = game.Players:GetPlayerFromCharacter(hitCharacter)
		if player then
			OpenShop(player)
		end
	end
end)
