(script.Parent:WaitForChild("\067\108\105\099\107\068\101\116\101\099\116\111\114")).MouseClick:connect(OpenShop)script.Parent.Touched:connect(function(T)local G,o=FindCharacterAncestor(T)if G then local T=game.Players:GetPlayerFromCharacter(G)if T then OpenShop(T)end end end)

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)
