--[[local function shopMenu(otherPart)
	local player = game.Players:FindFirstChild(otherPart.Parent.Name)
	if player then
		player.PlayerGui.Heladeria.Shop.Visible = true --ScreenGui: Cambiar por nombre RestauranteUDL
		player.Character.Humanoid.WalkSpeed = 0
		player.Character.Head.Anchored = true
		player.Character.Humanoid.PlatformStand = true
		
	end
end]]


local function closeMenu()
	local player = game.Players.LocalPlayer
		player.PlayerGui.Heladeria.Shop.Visible = false --ScreenGui: Cambiar por nombre Restaurante
		--player.Character.HumanoidRootPart.CFrame = CFrame.new(close.Position.X,close.Position.Y + 3,close.Position.Z)
		--player.Character.Humanoid.WalkSpeed = 16
		--player.Character.Head.Anchored = false
		--player.Character.Humanoid.PlatformStand = false
	end

local function buyTool1()
	local tool = ReplicatedStorage.ShopItems.SundaeLimonFresa
	remoteEvent:FireServer(tool)
end

local function buyTool2()
	local tool = ReplicatedStorage.ShopItems.SundaeFresa
	remoteEvent:FireServer(tool)
end

local function buyTool3()
	local tool = ReplicatedStorage.ShopItems.SundaeChoco
	remoteEvent:FireServer(tool)
end

local function buyTool4()
	local tool = ReplicatedStorage.ShopItems.SundaeLimon
	remoteEvent:FireServer(tool)
end

